1833704 Members
3197 Online
110062 Solutions
New Discussion

Re: /bin link missing

 
SOLVED
Go to solution
Yvonne Butler
Regular Advisor

/bin link missing

The /bin link to /usr/bin appears to be missing on one of our servers. I've put the link back (using ln -s) but I can't change any permissions on the new link.

A process somewhere must also be removing this link at approximately 55 minutes past each hour. I've turned off cron processes at these times, but its still happening.

Any ideas anyone? I'm running out of patience with this one ;-)
6 REPLIES 6
Victor BERRIDGE
Honored Contributor
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: /bin link missing

Hi Yvaonne,

You can use the tlinstall command to regenerate the /bin link.

# tlinstall

# ll | grep bin

Best regards,
Robert-Jan
Yvonne Butler
Regular Advisor

Re: /bin link missing

Robert you're a genius. Many many thanks.
Yvonne Butler
Regular Advisor

Re: /bin link missing

Although "tlinstall" puts the links back in and they work perfectly, I'm still getting the /bin link being completely removed at approximately 55 minutes past each hour. Does anyone know why this might be happening? I can't find any entries in the syslog.log and I've disabled cron entirely but it still happens...
John Palmer
Honored Contributor

Re: /bin link missing

It must be a process owned by root that's already running then.

Do you have some sort of application that removes files and may be misconfigured in some way?

Unless it's pretty obvious, it'll be a pig to find. Can you stop any processes to see if you can eliminate them?

Regards,
John
Yvonne Butler
Regular Advisor

Re: /bin link missing

The "tlinstall" command replaced all the missing links but a little while later they were removed by something. I set tlinstall running every 30 minutes via cron and after being replaced twice, they have now stayed. Don't know why but there you go!!

Thanks everyone.