IBM AIX

The ABAP Detective Presses On

Last time I popped my detective hat above the cubicle wall was 6 months or so ago, in the last episode called I Carry A Spool or How The ABAP Detective Found His LP. That was a software lifetime ago. Since then, I’ve been in one dark and dusty network tunnel and late night low spots after another, picking up the paper tape while trying to keep a least a touch …

Read More »

Incorrect status of SAP processes with IBM Tivoli System Automation

I recently learned that SAP central service handling of TSA may work a bit differently than the classic way. Affected instances ASCS (ABAP SAP Central Services) SCS (SAP Central Services – this on is required for Java) Affected processes message server, this appears in process list this way: ms.sap<SID>_<instance> enqueue server, in process list en.sap<SID>_<instance> How a classic SAP startup procedure looks like startsap command is called startsap starts sapstartsrv …

Read More »

Useful ftp script for some daily transfers.

Useful ftp script to transfer files from SAP server daily to another file server. In my case I transferred daily audit logs from SAP ERP server to another file server. 1)Create a .netrc file under root user $HOME directory / .  There is sample netrc file under /usr/samples/tcpip/ . Register file server IP and login credentials: machine <IP> login <username> password <password> Its rights should be 600 (rw- — —) …

Read More »

AIX useful commands related to SAP

Devices commands: List all devices on a system #lsdev List all disk devices on a system (See next item for a list of classes) #lsdev -Cc disk List all customized (existing) device classes (-P for complete list) #lsdev -C -r class Remove hdisk5 #rmdev -dl hdisk5 Get device address of hdisk1 #getconf DISK DEVNAME hdisk1 (or) bootinfo -o hdisk1 Get the size (in MB) of hdisk1 #getconf DISK SIZE /dev/hdisk1 …

Read More »

To Find UNLINKED files

To Find UNLINKED files (Files that was removed but still holds space on filesystem) A while back i had the problem with a core file was deleted but the space on the OS was not released, I followed the following to procedure to clear the error Following command find the UNLINKED files find /proc -links 0 -type f -size +XXXXc -ls > /tmp/list.txt Edit the /tmp/list.txt file which will give …

Read More »

Running cleanipc on AIX

The cleanipc command is used to clear the shared memeory occupied by the SAP system. Mostly, this command is used (by <sid>adm user) while restarting an SAP system. So, you stop the system using stopsap, run the cleanipc command to clear the memory and then start the system using startsap. Command: cleanipc <instance_nr> remove However, sometimes, cleanipc fails to cleanup some semaphores saying: Semaphore Key: XX remove failed **** – …

Read More »

[SAP] R3trans error on AIX with async i/o

I have seen this situation while creating a new application server in a 6.40 system landscape on AIX 5L. The startup of the dialog instance failed, because of the database could not be reached. A closer look at the log files shows the following situation. shell> R3trans -dThis is R3trans version 6.13 (release 640 - 07.03.08 - 11:26:00).unicode enabled version--- Unicode interface [nlsui1.c line 1907] pid = 176430 :Function dlerrorU16 …

Read More »