Thursday, March 15, 2012

Citrix Web Interface - Slow login

Symptoms: When a user logs in to the web interface, the login page clocks and it takes a long time to display the published applications. This problem is observed when the same web interface site is used to access multiple farms or retired servers.

Cause: All the servers listed to contact one of the specified farms are not responding. This causes the web interface server to continue attempting to contact that farm during a confgurable time before it fails and display the published resources for the available farms. Possible causes for the servers not responding: Servers are down, the Citrix XML service is not running.

Resolution: Change the servers used to contact the non responding farm for working servers or remove the farm from the web interface site if it's not longer required. Remove retired servers from the web interface farm web sites and Services site. 

Wednesday, February 8, 2012

Useful RUN Commands

Here are the few commands for System Administrators:

To Access… Run Command
Accessibility Controls access.cpl
Accessibility Wizard accwiz
Add Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Tools control admintools
Adobe Acrobat (if installed) acrobat
Adobe Designer (if installed) formdesigner
Adobe Distiller (if installed) acrodist
Adobe ImageReady (if installed) imageready
Adobe Photoshop (if installed) photoshop
Automatic Updates wuaucpl.cpl
Bluetooth Transfer Wizard fsquirt
Calculator calc
Certificate Manager certmgr.msc
Character Map charmap
Check Disk Utility chkdsk
Clipboard Viewer clipbrd
Command Prompt cmd
Component Services dcomcnfg
Computer Management compmgmt.msc
Control Panel control
Date and Time Properties timedate.cpl
DDE Shares ddeshare
Device Manager devmgmt.msc
Direct X Control Panel (if installed)* directx.cpl
Direct X Troubleshooter dxdiag
Disk Cleanup Utility cleanmgr
Disk Defragment dfrg.msc
Disk Management diskmgmt.msc
Disk Partition Manager diskpart
Display Properties control desktop
Display Properties desk.cpl
Display Properties (w/Appearance Tab Preselected) control color
Dr. Watson System Troubleshooting Utility drwtsn32
Driver Verifier Utility verifier
Event Viewer eventvwr.msc
Files and Settings Transfer Tool migwiz
File Signature Verification Tool sigverif
Findfast findfast.cpl
Firefox (if installed) firefox
Folders Properties folders
Fonts control fonts
Fonts Folder fonts
Free Cell Card Game freecell
Game Controllers joy.cpl
Group Policy Editor (XP Prof) gpedit.msc
Hearts Card Game mshearts
Help and Support helpctr
HyperTerminal hypertrm
Iexpress Wizard iexpress
Indexing Service ciadv.msc
Internet Connection Wizard icwconn1
Internet Explorer iexplore
Internet Properties inetcpl.cpl
Internet Setup Wizard inetwiz
IP Configuration (Display Connection Configuration) ipconfig /all
IP Configuration (Display DNS Cache Contents) ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents) ipconfig /flushdns
IP Configuration (Release All Connections) ipconfig /release
IP Configuration (Renew All Connections) ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS) ipconfig /registerdns
IP Configuration (Display DHCP Class ID) ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid
Java Control Panel (if installed) jpicpl32.cpl
Java Control Panel (if installed) javaws
Keyboard Properties control keyboard
Local Security Settings secpol.msc
Local Users and Groups lusrmgr.msc
Logs You Out Of Windows logoff
Malicious Software Removal Tool mrt
Microsoft Access (if installed) msaccess
Microsoft Chat winchat
Microsoft Excel (if installed) excel
Microsoft Frontpage (if installed) frontpg
Microsoft Movie Maker moviemk
Microsoft Paint mspaint
Microsoft Powerpoint (if installed) powerpnt
Microsoft Word (if installed) winword
Microsoft Syncronization Tool mobsync
Minesweeper Game winmine
Mouse Properties control mouse
Mouse Properties main.cpl
Nero (if installed) nero
Netmeeting conf
Network Connections control netconnections
Network Connections ncpa.cpl
Network Setup Wizard netsetup.cpl
Notepad notepad
Nview Desktop Manager (if installed) nvtuicpl.cpl
Object Packager packager
ODBC Data Source Administrator odbccp32.cpl
On Screen Keyboard osk
Opens AC3 Filter (if installed) ac3filter.cpl
Outlook Express msimn
Paint pbrush
Password Properties password.cpl
Performance Monitor perfmon.msc
Performance Monitor perfmon
Phone and Modem Options telephon.cpl
Phone Dialer dialer
Pinball Game pinball
Power Configuration powercfg.cpl
Printers and Faxes control printers
Printers Folder printers
Private Character Editor eudcedit
Quicktime (If Installed) QuickTime.cpl
Quicktime Player (if installed) quicktimeplayer
Real Player (if installed) realplay
Regional Settings intl.cpl
Registry Editor regedit
Registry Editor regedit32
Remote Access Phonebook rasphone
Remote Desktop mstsc
Removable Storage ntmsmgr.msc
Removable Storage Operator Requests ntmsoprq.msc
Resultant Set of Policy (XP Prof) rsop.msc
Scanners and Cameras sticpl.cpl
Scheduled Tasks control schedtasks
Security Center wscui.cpl
Services services.msc
Shared Folders fsmgmt.msc
Shuts Down Windows shutdown
Sounds and Audio mmsys.cpl
Spider Solitare Card Game spider
SQL Client Configuration cliconfg
System Configuration Editor sysedit
System Configuration Utility msconfig
System File Checker Utility (Scan Immediately) sfc /scannow
System File Checker Utility (Scan Once At The Next Boot) sfc /scanonce
System File Checker Utility (Scan On Every Boot) sfc /scanboot
System File Checker Utility (Return Scan Setting To Default) sfc /revert
System File Checker Utility (Purge File Cache) sfc /purgecache
System File Checker Utility (Sets Cache Size to size x) sfc /cachesize=x
System Information msinfo32
System Properties sysdm.cpl
Task Manager taskmgr
TCP Tester tcptest
Telnet Client telnet
Tweak UI (if installed) tweakui
User Account Management nusrmgr.cpl
Utility Manager utilman
Windows Address Book wab
Windows Address Book Import Utility wabmig
Windows Backup Utility (if installed) ntbackup
Windows Explorer explorer
Windows Firewall firewall.cpl
Windows Magnifier magnify
Windows Management Infrastructure wmimgmt.msc
Windows Media Player wmplayer
Windows Messenger msmsgs
Windows Picture Import Wizard (need camera connected) wiaacmgr
Windows System Security Tool syskey
Windows Update Launches wupdmgr
Windows Version (to show which version of windows) winver
Windows XP Tour Wizard tourstart
Wordpad write


Have a nice day!

Thursday, October 20, 2011

Set PATH variable in UNIX

The PATH environment variable is a colon-delimited list of directories that your shell searches through when you enter a command.

Program files (executables) are kept in many different places on the Unix system. Your path tells the Unix shell where to look on the system when you request a particular program. Having more directories in your path will reduce the number of times you get "Command not found" errors, but might put you at greater risk of activating a Trojan horse.
To find out what your path is, at the Unix shell prompt, enter:
echo $PATH
Your path will look something like the following.
/usr2/username/bin:/usr/local/bin:/usr/bin:.

You will see your username in place of username. Using the above example path, if you enter the ls command, your shell will look for the appropriate executable file in the following order: first, it would look through the directory /usr2/username/bin, then /usr/local/bin, then /usr/bin, and finally the local directory, indicated by the . (a period).

To modify your path
If you are using csh or tcsh, at the shell prompt, enter:
setenv PATH $PATH\:/dir/path

If you are using sh, ksh, or bash, at the shell prompt, enter:
PATH=$PATH\:/dir/path ; export PATH

In all cases, replace /dir/path with the directory you want the shell to search.

Note: The earlier entries in the path take precedence over the later ones. If you want the directories you add to your path to take precedence, in the examples above, replace $PATH\:/dir/path with /dir/path:$PATH .

To make these changes permanent, add the commands described above to the end of your .cshrc file (for csh and tcsh), .profile file (for sh and ksh), or .bash_profile file (for bash).

Source: http://kb.iu.edu/data/acar.html
Have a nice day!

Solaris "sys-unconfig" to modify basic settings


Sometimes, we run into chnaging hostname, ipaddress and network settings on Sun Solaris servers. We can do it by modifying /etc/hosts, /etc/hostname."nic", netmasks, nodename and etc. But modyfying these files won't change network settings or hostname in some situations. In these situations our best tool is "sys-unconfig".


Friday, October 7, 2011

Moving /usr, /var & /opt to a different partition in Solaris

1. Add new hard drive to make new partitions


2. Boot server with cdrom in single user mode # boot cdrom –s

3. Mount the partition where we are copying from # mount –o rw /dev/dsk/c1t0d0s0 /mnt

4. Mount the partition where we are copying to # mount –o rw /dev/dsk/c1t2d0s0 /mnt/test

5. Go to /mnt/test folder – # cd /mnt/test

6. Run this command to copy stuff # ufsdump 0f - /mnt/usr | ufsrestore rf –

7. Go to # cd /mnt/test/usr and run “mv * ..”

8. The above step copy all files form usr sub folder to root folder

9. Go to # cd /mnt/test

10. Make a dir local # mkdir /mnt/test/local

11. Type cd /

12. # umount /mnt/test

13. DO above steps from 4 to 9 for moving var folder

14. Creat a subfolder “run” under /var folder on new partition /mnt/test # mkdir /mnt/test/run . This is very critical for coming root in multiuser mode.

15. Type cd /

16. #umount /mnt/test

17. Do above steps for moving “opt” folder for steps 4 to 12 except step 10

18. Type cd / ; #umount /mnt/test

19. Now go to the /mnt folder (Which is the main root file system)

20. Move directories to # mv usr usr.bak ; # mv var var.bak ; # mv opt opt.bak to roll back all changes if needed

21. Create usr, var and opt folders # mkdir usr, #mkdir var; #mkdir opt

22. Some time the newly created usr folder needs these parameters to set # chown root /mnt/usr; #chgrp sys /mnt/sys; #chmod 755 /mnt/usr

23. Modify the vfstab file # EDITOR=vi; # export vi; # TERM=vt100; # export TERM; # vi /mnt/etc/vfstab and do respect changes

24. Do not forget “-“ mount option at the end and it looks like

25. “ /dev/dsk/c1t2d0s0 /dev/rdsk/c1t2d0s0 /usr ufs 1 no - “

26. Reboot or STOP +a boot -ar

Friday, September 30, 2011

VMWARE Free Tools


Here is the link for free VMWare tools:

http://vsphere-land.com/vinfo/free-tools

I like "rvtools" tool. It helps in reporting and installing or upgrading VMware Tools on Guest systems.


Have a nice day! 


Wednesday, September 28, 2011

pcieb: cannot load driver in Solaris


If you get thsi following error:
Rebooting with command: boot

Use is subject to license terms.
pcieb: cannot load driver
pcieb: cannot load driver
Cannot load drivers for /pci@0,600000/pci@0/pci@0/scsi@0/disk@0,0:d
Can't load the root filesystem
Type 'go' to resume
{0} ok

SPARC Enterprise



Recommended Action:

If the messages showed in are displayed, please edit both the

/etc/name_to_major file and the /etc/driver_aliases file by the

following procedure before rebooting the system.


1) Change the driver names in the /etc/name_to_major file as shown
below by using vi editor.

Before Changing - -  After Changing

-------------------------------------
pcieb - - px_pci
pcieb_bcm - - pxb_bcm
nulldriver - -  pxb_plx
-------------------------------------

# TERM=vt100
# export TERM
# cd /etc
# vi name_to_major

pcieb 242
^^^^^ Change to "px_pci"
pcieb_bcm 264
^^^^^^^^^ Change to "pxb_bcm"
nulldriver 265
^^^^^^^^^^ Change to "pxb_plx"

2) Change the driver names in the /etc/driver_aliases file as shown
below by using vi editor.

Before Changing - - After Changing
-------------------------------------
pcieb -  -  px_pci
pcieb_bcm - -  pxb_bcm
-------------------------------------

# cd /etc
# vi driver_aliases

pcieb "pciexclass,060400"
^^^^^ Change to "px_pci"
pcieb_bcm "pciex1166,103"
^^^^^^^^^ Change to "pxb_bcm"

3) Reboot system
# shutdown -y -i6 -g0

If are unable to do on a server, try rebooting the server with CD. Mount the root file system and do the above actions.

Have a nice day!