Link to home
Start Free TrialLog in
Avatar of Maddy
MaddyFlag for India

asked on

AIX server File permission & date

Hi Experts,

We have AIX 5.3 TL10 Lpar , one of SAP related file system showing unbelievable DATE's for files. following files and same attached for your reference.
Location: /usr/sap/trans2/tmp
Files: pls see attached image.

More info: SAP team will export this files unders /usr/sap/trans2/tmp files for some perpose, while exporting they found this wired files permission and DATE. Why its showing like 1973 & 1941 and no file permission.

Thanks in advance.

sivaji.
Untitled.png
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Nice to meet you again, sivaji.
It seems that your server simply had a wrong date/time and/or timezone setting during creation of those files.
What does "date" say now?
What happens when you "touch" one of those files?
Also, the umask of the user creating them seems to have been "000".
If you can rule out all of the above, I fear there could be a serious filesystem problem, and you will have to dismount it and run a "fsck -y" against it as soon as possible! Take care to have a valid backup beforehand!
wmp
 
umask 0000 for the files having rwxrwxrwx, umask 777 for the files having ------
OK, this sounds a bit improbable!
If "touch" and possibly "chmod" don't work or even throw errors, actually do the "fsck" immediately!
Avatar of Maddy

ASKER

Hi sir my pleasure,

I have cross check every think wich u said to check , all look fine !

1. Date looks fine: Wed 1 sep 11:26:05 2010
2. If i try to change file permission its changing ,
 3. if i try to " touch" file its creating  no error found

What will be the cause sir??

Thanks
sivaji

sivaji
Avatar of Maddy

ASKER

Hi sir

I can see below modified date on istat command:

sapsmp1:/usr/sap/trans2/tmp >istat EP1.LOB_old
Inode 122508 on device 39/2     File
Protection: ---------
Owner: 3400(ep1adm)             Group: 203(sapsys)
Link count:   1         Length 0 bytes

Last updated:   Sun  7 Mar 10:11:20 2010
Last modified:  Sun  5 Oct 10:52:12 1941
Last accessed:  Wed  1 Sep 11:59:55 2010
What happens when you "touch" one of the files in question? Does the file's date change to now?
As for the causes - if it's not a wrong date setting in the past or corrupt filesystem I don't have any idea, sorry!
wmp
Avatar of Maddy

ASKER

Hi sir,

Its ok we logged call with IBM for further progress. Can i ask diffrent questions? if its ok with you sir?i  need to give you points?

1. How can i check in a managed servers free disk & ehternet adapters in there or not?
2. can you give me steps to create new lpar using VIOS(disk & ethernet adapters coming form vio)?

sivaji.
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Maddy

ASKER

Hi sir,

Thanks for the link.

1. How can i check in a managed servers free disk & ehternet adapters in there or not?

sivaji
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Maddy

ASKER

a