The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
backup and restore without losing pkinfo kiem SUN Solaris 3 04-01-2009 07:23 PM
Losing ownership with gzip superdelic UNIX for Dummies Questions & Answers 3 07-24-2006 12:36 PM
losing time kburrows UNIX for Dummies Questions & Answers 9 01-02-2004 12:50 AM
IBM losing its Unix license? Neo News, Links, Events and Announcements 0 06-16-2003 09:24 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2009
smatherly smatherly is offline
Registered User
  
 

Join Date: May 2009
Posts: 11
losing /usr/bin directory

I need help figuring out why I lose /usr/bin directory sometimes it goes down 3-4 times a day and I have to link them back using ln - /usr/bin bin I cannot figure out why this is happenning
  #2 (permalink)  
Old 05-13-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
Why are you linking to the /usr/bin directory ... and where??
  #3 (permalink)  
Old 05-13-2009
smatherly smatherly is offline
Registered User
  
 

Join Date: May 2009
Posts: 11
We are not linking to it or should I say our backoffice system does. I had IBM look at it and our software vendor. They only tell me that someone or program according to the logs is deleting the links. No one as of yet can tell me why or how to stop it...
  #4 (permalink)  
Old 05-13-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
What do you mean "linking" to it???
  #5 (permalink)  
Old 05-13-2009
smatherly smatherly is offline
Registered User
  
 

Join Date: May 2009
Posts: 11
I should correct myself I don't if the backoffice system is linking to it or not. I just know that something is deleting the /usr/bin and don't know why
  #6 (permalink)  
Old 05-13-2009
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 430
check the filemon utility, or write a script that checks if the directory is still there in periodic intervals, and write to a logfile with timestamp

then you have the specific time


I would check first:

1. automated process on the machine, per cron perhaps
check every users crontab (crontab -l) that has the rights to delete the folder, and check for user created scripts running

2. automated process outside the machine
triggered per ssh, telnet, rsh...
you can compare the time from your scripts logfile I wrote above with the login logs on your server an find out the IP (last, syslog)

3. manually triggered by a user, but seems not very likely
like step 2, analyse login logs for that


very scary
  #7 (permalink)  
Old 05-14-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
I still don't get how something is deleting /usr/bin ! 1. Hoes does it "reappear"? 2. When it's deleted, can you still run commands?
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0