Wednesday, June 30, 2010

Send Mail through UNIX HP-UX

For sending mail through HP-UX please use the following command

#uuencode (filename) (filename) | mailx -s "subject" (email ID)

eg:

#uuencode FBISacc1 FBISacc1 | mailx -s "Filesend" manaskv@in.ibm.com

Additionally we can zip and unzip files in HP-UX with below commands:

#zip (zipfilename) (original filename)

#uzip (zipfilename)

Saturday, June 12, 2010

Netstat to find out if the port is open or closed

You may use the below command to find if the port is open or closed on a UNIX system:
-) netstat -a grep PID
if the porcess says CLOSE_WAIT, it means that the port is blocked.

Friday, June 4, 2010

Shared memory error in java

If Java engine doesn't start and there is shared memory error and the java logs says that ORA-28000 Account is locked, then check by command desc dba_users and fire query
-) select username, account_status from dba_users;

to find out the status for sapsr3db user; If it is locked then unlock the same with command;
-) Alter user sapsr3db account unlock; ( Here sapsr3db is for Java alternatively sapsr3 will be for ABAP)
After the same gets unlocked there is a SAP Note 951167- ORA-28000; the account is locked you can prevent the same from unlocking again;
To check FAILED_LOGIN_ATTEMPTS profile ;

Select limit from dba_profiles where profile='DEFAULT' and resource_name ='FAILED_LOGIN_ATTEMPTS';

If the limit is not set to unlimited, you may set the same with the following command;
Alter profile DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
:)

Monday, April 26, 2010

tail command to follow the log file continuous upgrade

tail -f (name of log file)
( The tail -f command can be used to monitor the growth of a file being written by another process)

Tuesday, April 20, 2010

What to monitor on Java System - nutshell

You may quickly monitor the java system by :
1) Accessing the URL
2) System Info - All processes are running
3) Default trace and application trace for Server0 and Dispatcher
4) JCMON
5) sappfparcheck for all java profiles

Thursday, April 15, 2010

Standalone TREX Installation

If you are using a standalone TREX installation then configure the RFC with the central instance of ABAP not with the application server ( the same can happen if you have installed TREX on sam application server)

Other thing to keep in mind is that the https:// service should be running and if you install 32-bit TREX on a 64-bit system then there is a work around to do the same.