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.
Fix errors in commands in Sun ILOM
There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM
-> reset /SP
Are you sure you want to reset /SP (y/n)? y
Performing hard reset on /SP failed
reset: No such inventory
or when you try to reset the ILOM password, you may get the error “Set: No such object value”
Read more
How to find System Serial Number in x86 using ipmitool
As we discussed earlier here, you can find the serial number of a Sun Hardware using the utility “sneep”. However, in Sun X86 systems, you can use the pre-installed tool “ipmitool” to find the system serial number. It is not as straight forward as sneep but still is simpl procedure.
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!!!!
Install Sybase Perl module in Solaris 10
Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well. Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.
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 find list of files installed by a package
“pkginfo” command can be useful in Solaris to give a detailed listing of a package including the details of number of installed files, pathnames, directories and executables as follows:
OBP Error: FATAL: system is not bootable, boot command is disabled
When you run any boot command like “boot net” or “boot -s” from the OK prompt (OBP), you may end up with the error
FATAL: system is not bootable, boot command is disabled
Don’t panic!!!
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.
dladm – Display Link status,speed,duplex,statistics,MTU
In the past we have to mess around with the NDD commands and stats tools like kstat to find the network link status, speed, duplex information in Sun Solaris. With Solaris 10, this has become much easier with the dladm utility.
dladm is the admin utility for Data-Link Interface which helps to display informarthe like Link Status (UP/DOWN), Speed, Duplex, MTU, VLAN Tagged and crucially statistics of network traffic on each of the interfaces historically as well as in real time. dladm can also configure and admin Link Aggregation on multiple NICs which we will not focus here.
Read more

