LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2010, 06:32 PM   #1
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Rep: Reputation: Disabled
Files disappear & are reverted to original


After 2 weeks of work to restore my server to working condition (after a failed HDD) I am facing a very strange problem.

Basically, random files (config, scripts, etc) are either going mising or are reverted to original states...

Example1: This morning, I went to use VNC to remote login in my server. I couldnt start the VNC server. I used ssh to login and searched for a lock file (.pid) or anything else preventing VNC from starting, only a few minutes later to open rc.local_shutdown and discover that it was only containing:

Code:
#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local startup commands in here.  Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
All my custom commands were gone...

Example2: Yesterday, I was still using my NFS shares to play music and movies. All worked perfectly. A few minutes ago, I tried to mount the NFS shares on my laptop but it did not work. I used ssh again to login in the server and discovered that nfsd was not running. I tried to start it and it said that there were no exports to share (or something like that). I opened /etc/exports and it was PLAIN empty!! However, I had a export.orig file in /etc... SO somehow, something erased my exports file but care to create a backup of it!

Question: What could do such stupid stuff?
Hints: I did not install anything. I did not fool around with anything. The server was unpowered between yesterday and today.
 
Old 10-12-2010, 07:31 PM   #2
SuperTico
LQ Newbie
 
Registered: Sep 2010
Location: Costa Rica
Distribution: SalineOS 1.5
Posts: 20

Rep: Reputation: 1
Try this in the terminal as root.
update-mime-database /usr/share/mime
Reboot and have a look.
 
Old 10-12-2010, 09:09 PM   #3
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
its not getting worst than it was, but I found other files that have been moved to .orig .... What does the update-mime-database actually does?

I just think I would have been better to restart fresh with that server rather than trying to salvage the install... Live & learn!
 
Old 10-20-2010, 11:44 AM   #4
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
It seems to have stopped... Still a mystery but who knows. I am marking this thread as solved since it did not happen since oct 12.

Thanks SuperTico.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert many files to individual .bz2 files retaining original name? touser Linux - Newbie 5 03-29-2010 12:58 AM
New kernel made files disappear Silvr Linux - Newbie 1 05-10-2009 07:40 PM
/var/mail files disappear turbo_acura Linux - Software 4 11-29-2007 08:13 AM
files.. disappear?? dongmin Linux - Newbie 3 06-26-2004 12:50 PM
CDRom Files Disappear after install wcn Mandriva 9 05-19-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration