on 10-26-2007 3:25 PM
Hi!
I have a problem with pmpadm user. A few days ago it was working fine
but now when i change from root to pmpadm, the user is not laoding all
the sap env variables and I dont know why.
The files .sh and csh are not missing. Fisrt I watch that the
filesystem was 99% full because a core file (../SYS/work) so I delete
it and now I have 55% free but the user still doesn't working.
I don't know what else I can do, and I need to stopsap but I can't
because the env variables.
I tried to manually set the SAPSYTEMNAME but after that I get a error
that start profile is missing and I have checked and I have it.
This is my production system and like I already told you, the user was
working fine a few days ago.
Greetings,
Wadih Saad
Hi Wadih
Just to make sure: are you doing a <b>su - pmpadm</b> ?
The minus is critical, to process the env files. If you do su - then please let us know:
- are you using csh?
- which OS, HP-UX, AIX, Solaris?
- can you post an <b>ls -al</b> of the /home/pmpadm ?
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
$ ls -la
total 416
drwxrwxr-x 2 pmpadm sapsys 8192 Oct 26 08:36 .
dr-xr-xr-x 6 bin bin 96 Nov 1 2006 ..
-rw-rr 1 pmpadm sapsys 1085 Mar 24 2007 .cshrc
-rw-r-xr-x 1 pmpadm sapsys 4110 Mar 24 2007 .dbenv_productivo.csh
-rw-r-xr-x 1 pmpadm sapsys 4105 Mar 24 2007 .dbenv_productivo.sh
-rw-rr 1 pmpadm sapsys 250 Feb 27 2007 .dbsrc_productivo.csh
-rw-rr 1 pmpadm sapsys 232 Feb 27 2007 .dbsrc_productivo.sh
-rw-rr 1 pmpadm sapsys 1085 Mar 24 2007 .login
-rw-rr 1 pmpadm sapsys 3494 Mar 24 2007 .profile
-rw-rr 1 pmpadm sapsys 8545 Aug 16 20:01 .sapenv_productivo.csh
-rwxrwxrwx 1 pmpadm sapsys 7838 Aug 16 20:02 .sapenv_productivo.sh
-rw-rr 1 pmpadm sapsys 834 Feb 27 2007 .sapsrc_productivo.csh
-rw-rr 1 pmpadm sapsys 687 Feb 27 2007 .sapsrc_productivo.sh
-rw------- 1 pmpadm sapsys 2508 Oct 26 09:28 .sh_history
-rw-rr 1 pmpadm sapsys 240 Oct 8 10:01 dev_sapstart
-rwxr-xr-x 1 pmpadm sapsys 25 Oct 31 2003 rfcexec.sec
-rw-rr 1 pmpadm sapsys 10276 Jul 3 19:14 sqlnet.log
-rw-rr 1 pmpadm sapsys 2870 Oct 8 10:01 startdb.log
-rw-rr 1 pmpadm sapsys 1752 Oct 8 10:02 startsap_DVEBMGS00.log
-rw-rr 1 pmpadm sapsys 1215 Oct 8 10:01 stopdb.log
-rw-rr 1 pmpadm sapsys 549 Oct 8 10:01 stopsap_DVEBMGS00.log
-rw-rr 1 pmpadm sapsys 25487 Jul 3 19:57 trans.log
you need to put a space between the dots:
[code]. .sapenv_productivo.sh[/code]
If this works, then you need to check:
pmpadm$ <b>hostname</b> -> should return productivo
if the .sapenv_productivo.sh is called in your .profile:
[code]# SAP environment
if [ -f $HOME/.sapenv_`hostname`.sh ]; then
. $HOME/.sapenv_`hostname`.sh[/code]
regards
Michael
I could "source" it with c shell, but nothing changes as you can see:
% pwd
/home/pmpadm
% source .sapenv_productivo.csh
-l:pmpadm 5> startsap
no start profiles found
-l:pmpadm 14> pwd
/sapmnt/PMP/profile
-l:pmpadm 17> ls -l
total 66
-rw-rr 1 root sys 5467 Apr 21 2007 ACTUAL_PMP_DVEBMGS00_productivo
-rw-rr 1 root sys 0 Mar 24 2007 DEFAULT.1.PFL
-rw-rr 1 pmpadm sapsys 1581 Mar 24 2007 DEFAULT.PFL
-rw-rr 1 root sys 4473 Apr 17 2007 OLDFINE1_PMP_DVEBMGS00_productivo
-rw-rr 1 pmpadm sapsys 8106 Oct 25 18:08 PMP_DVEBMGS00_productivo
-rw-rr 1 root sys 0 Mar 24 2007 PMP_DVEBMGS00_productivo.1
-rw-rw---- 1 pmpadm sapsys 7925 Oct 25 18:08 PMP_DVEBMGS00_productivo.BAK
-rw-rr 1 pmpadm sapsys 3110 Mar 24 2007 START_DVEBMGS00_productivo
-rw-rr 1 root sys 0 Mar 24 2007 START_DVEBMGS00_productivo.1
I'm using AIX.
On root I'm using sh and in <sid>adm ksh.
In my development system I'm using the same combination and everything is ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.