cancel
Showing results for 
Search instead for 
Did you mean: 

Logs in /work directory outdated.

Former Member
0 Kudos

Hi all.

I´m facing a curious case.

The logs in /usr/sap/<sid>/DVEBMGS00/work are outdated.

Only available file is updating.

In AL11, logs are outdated too,

In ST11, logs is ok, updated at current date/time.

To check if there is log files in another directory, i run a find in root (/), searching for dev_w0 file, and do not find any other file.

(find ./ -name dev_w0, in / directory)

Landscape:

SAP ECC 606, Suse Linux + Sybase.

DEV System.

Any hint?

Regards.

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

After a SAP/OS reboot, the issue was normalized.

But the root cause is unknow.

Thank you all!!

Former Member
0 Kudos

Hi Marcos,

Can you check what is current value of DIR_SAPUSERS in rz11.

Thanks,

Surojit

Former Member
0 Kudos

Hi Surojit.

The value is "."(dot).

Thanks!

Former Member
0 Kudos

More ideas?

Former Member
0 Kudos

Hi Marcos,

Can you check is there any soft link for  /usr/sap/<sid>/DVEBMGS00/work? ,if ther is no soft link then stope the SAP instance , take backup of work directory and delete all files under work directory.

then start SAP instance.

Thanks,

Prakash

Former Member
0 Kudos

Look at this.

~ # cd /

/ # find ./ -name dev_w0

./usr/sap/ECD/DVEBMGS00/work/dev_w0

ls -l ./usr/sap/ECD/DVEBMGS00/work/dev_w0

-rw-r--r-- 1 ecdadm sapsys 90132 Oct 25  2013 ./usr/sap/ECD/DVEBMGS00/work/dev_w0

Former Member
0 Kudos

Enhancing:

cd /usr/sap/ECD/DVEBMGS00/work/

:ecdadm 52> ls –ltr

......

....

-rw-r--r-- 1 ecdadm sapsys 72272 Nov  2  2013 dev_w20

-rw-r--r-- 1 ecdadm sapsys 68048 Nov  2  2013 dev_disp

-rw-r--r-- 1 ecdadm sapsys 7211847 Nov  2  2013 dev_w19

-rw-r--r-- 1 ecdadm sapsys 1026 Nov  2  2013 available.log

-rw-r--r-- 1 ecdadm sapsys       0 Oct 3 14:40 testfile

-rw-r--r-- 1 ecdadm sapsys 179608 Oct  3 14:43 VMCavailable.log

ecdadm 53>

AL11 TCODE:

ST11:

alwina_enns
Employee
Employee
0 Kudos

Hello Marcos,

this is strange. And if you try to open dev_disp in AL11 from 2013 and dev_disp in ST11 from 2014, do you see the same entries in the trace?

Regards
Alwina

Former Member
0 Kudos

No, they are different files.

alwina_enns
Employee
Employee
0 Kudos

for ST11 report RSTR0006 is used, if you can debug it, you can find out, where ST11 is looking for traces

Former Member
0 Kudos

I´m debugging, but can not find out where ST11 looking for.

Can you guide me to find?

Former Member
0 Kudos

Hi,

Please check if rdisp/workdir is set to the desired location i.e. /usr/sap/<sid>/DVEBMGS00/work

also check if the DIR_HOME in A11 is set to the same path.

Regards,

Prithviraj.

Former Member
0 Kudos

Hi Prithviraj Rajpurohi.

Yes, the parameter and DIR_HOME point to /usr/sap/ECD/DVEBMGS00/work

alwina_enns
Employee
Employee
0 Kudos

Hello Marcos,

how old are the entries in the traces - were traces updated after the last system restart? What is the trace level? If it is set to 0, then the files will not be updated.

Regards,
Alwina

Former Member
0 Kudos

Hi Alwina.

Please check images below.

former_member185239
Active Contributor
0 Kudos

Hi Macros,

Goto the work directory and try to run the below command

touch testfile

Letme know the output.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh Chaturvedi.

The file was successfully created.

ecdadm 54> touch testfile

ecdadm 55> ls -l testfile

-rw-r--r-- 1 ecdadm sapsys 0 Oct  3 14:40 testfile

Thanks.

former_member215961
Contributor
0 Kudos

Hi Rafael,

Is a Hight Availability enviroment? Did you check if sap is running in that host?

At A11 tx then go to -> directory is the right path for Instance Work directory?

Please check the following:

- Filesystems ocupation ( maybe there is a filesystem full )

- SAP disp+work process are running

- Check that the sap disp+work process are writing to the filesystem: lsof +D /usr/sap/<SID>/DVEBMGS00

Cheers

Former Member
0 Kudos

Hi Sargan.

Is not HA System, is a CI installation.

SAP is running normal, filesystem is ok, and process are running ok too.

At AL11, go to -> directory doesn´t exist, but in ST11, in file details, in directory field there is just a . (dot) in path of log file.

Thanks.