Error ’shmget’ call failed with error number 22 (Invalid argument)
The following error on the Sybase ASE intalled on Sun Solaris can occur if the Maximum shared memory allocated is max’d out or if none is allocated, it takes the default value which is “Total Physical Memory /4″.
Backup Server: 4.142.2.58: [0] The ’shmget’ call failed with error number 22 (Invalid argument). Refer to your operating system documentation for further details.
Error Could not get shadow information for NOUSER
Have you ever had the following error popup on your /var/adm/messages:
Oct 8 12:26:14 myserver sshd[29288]: [ID 800047 auth.error] error: Could not get shadow information for NOUSER
It would look like a security incident with the “nouser” system account but not so to be. The error gets written to /var/adm/messages when a user tries to SSH to the server using a user account which doesn’t exist on the system (a typo error can contribute) or on your NIS/NIS+ systems.
So no panic!!!!
How to find the package which installed a file
If you have a file and need to know the package that installed the file on the system then the following procedure using “pkgchk” should help.
How to remove ^M characters from file in Unix/Solaris
When you sometimes copy a file from Windows to UNIX/Solaris or even Linux systems, you can find these anooying ^M characters everywhere. This is because, the file from Windows is in DOS (ASCII) format and needs to be converted to ISO format.
psrinfo – Find number of Physical & Virtual Processors in Solaris 10
In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you.
Error: Your “crontab” on unexpected end of line. This entry has been ignored
Everytime you edit your crontabe file, the error “Your “crontab” on <server> unexpected end of line. This entry has been ignored” is sent to the users email. This happens if there is a blank line in your crontab file.
How to mount an ISO image in SUN Solaris
In Sun Solaris, we can use the Loopback File driver to mount an ISO image without having to write the ISO image onto a CD or DVD.
Following procedure should help you mount an ISO image in Sun Solaris
Howto Take Screenshots in Solaris 7/8/9/10 (CDE)
This is one of those not so technical tip but certainly the one we need when it comes to talk to Sun Support or creating a documentation. yes, its taking screenshots in Sun Solaris Operating Environment using CDE. Sun Solaris X utilities uses “xwd“, an application that is standard among the X utilities can be used to take screenshots.
xwd dumps the output of a window into a file that can be viewed with xwud, or converted with convert (part of ImageMagick package), xv or another tool to a more usable image type, like png.
A quick guide to At jobs in Sun Solaris
A quick reference guide for “at” utility in Sun Solaris. “at” utility in unix is similar to the “cron” daemon except for that “at” jobs are run only once while cron jobs are recurring. “at” is primarily used to schedule a job which can be command or a script to run once at a particular time although it can be made to reschedule the job. This could be immediatly or at a later time.
The at utility reads commands from standard input and groups them together as an at job, to be executed at a later time.
Manually Mount local/remote CDROM in Sun Solaris
The Volume Manager (vold) daemon in Sun Solaris will automatically detect and mount a CDROM when inserted on Sun Solaris under /cdrom (if CD is not labelled )or /cdrom/<label> where <label> is the label of the CD
In instances where vold is not running or when there is a need to manually mount the CDROM the following the procedure should help.

