Solved

AIX server File permission & date

Posted on 2010-09-01
10
602 Views
Last Modified: 2013-11-17
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
0
Comment
Question by:sivakumar_experts
  • 5
  • 5
10 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33575192
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
 
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33575206
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!
0
 

Author Comment

by:sivakumar_experts
ID: 33575468
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
0
 

Author Comment

by:sivakumar_experts
ID: 33575590
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
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33575627
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
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:sivakumar_experts
ID: 33587194
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.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 33587324
Sorry, that's another question.
You can find all about partitioning here -
http://publib.boulder.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/iphat/iphbllparwithhmcp6.htm
wmp
 
0
 

Author Comment

by:sivakumar_experts
ID: 33587750
Hi sir,

Thanks for the link.

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

sivaji
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 250 total points
ID: 33587891
  1. Log in to HMC as hscroot.
  2. Click "Systems Management".
  3. Click "Servers".
  4. Click on your managed system.
  5. Mark the checkbox at the left.
  6. Click on ">>" at the right.
  7. Choose "Properties"
  8. Click the I/O tab.
  9. See all your I/O adapters.
    1. A partition name under "Owner" means it's assigned.
    2. "Unassigned" under "Owner" means it's free. (Attention - ignore the "I/P Pool ID" column!)
  10. Be happy.
wmp
0
 

Author Closing Comment

by:sivakumar_experts
ID: 33663535
a
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now