Error ’shmget’ call failed with error number 22 (Invalid argument)

January 18, 2010 · Filed Under General · Comment 

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.

Read more

How to find System Serial Number in x86 using ipmitool

January 12, 2010 · Filed Under hardware · Comment 

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.

Read more

Install Sybase Perl module in Solaris 10

October 15, 2009 · Filed Under Package Management, Solaris 10 · Comment 

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.

Read more

How to find list of files installed by a package

August 25, 2009 · Filed Under Package Management · Comment 

“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:

Read more

OBP Error: FATAL: system is not bootable, boot command is disabled

July 29, 2009 · Filed Under hardware · 1 Comment 

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!!!

Read more

How to remove ^M characters from file in Unix/Solaris

July 21, 2009 · Filed Under General · 2 Comments 

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.

Read more

Find Chasis Serial Number using sneep

June 19, 2009 · Filed Under hardware · 3 Comments 

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

May 12, 2009 · Filed Under Networking, Solaris 10, Solaris 8, Solaris 9, security · 3 Comments 

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.

Read more

How to find the WWN (World Wide Name) in Sun Solaris

February 10, 2009 · Filed Under hardware · 1 Comment 

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.

Read more

psrinfo – Find number of Physical & Virtual Processors in Solaris 10

January 2, 2009 · Filed Under General · 7 Comments 

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.

Read more

Next Page »