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.
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.
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!!!
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
Find Chasis Serial Number using sneep
sneep (Serial Number in EEPROM) is a cool utility for Solaris that can retreive the Chasis Serial Number (CSN) or the Product Serial Number (PSN). This comes real handy when taking inventory or when having to work with Sun Support. sneep can also store useful information like system Assett Tag or Location into the EEPROM which can be retreived later on.
Read more
PCP script to find open TCP ports and PIDs related in Solaris
PCP is a very useful security and adminitration script that can help you quickly find Processes (PIDs) having particular TCP Port(s) open, TCP ports open by specific PIDs or even list all the TCP Ports open by all PIDs running on your system.
How to find the WWN (World Wide Name) in Sun Solaris
World Wide Name (WWN) are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC).
Talking about the WWN names, there are also
World Wide port Name (WWpN), a WWN assigned to a port on a Fabric which is what you would be looking for most of the time.
World Wide node Name (WWnN), a WWN assigned to a node/device on a Fibre Channel fabric.
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.

