Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After making some new scriptfiles (/etc/ssl/perl) or changing text in some of these files, I shutdown debian (lenny), custom kernel 2.6.31.1. The next day I start the computer and the files and/or the changes in text are gone!!! If I reboot the next day the computer again, the files are restored (it's repeatable).
When I started this morning the computer the first time:
situation 1: listing of /etc/ssl/perl/lib:
-rw-r--r-- 1 root root 12288 Nov 11 14:23 .Distribute.pm.swp
-rw-r--r-- 1 root root 3901 Nov 17 21:51 Certificates.pm
-rw-r--r-- 1 root root 1800 Nov 11 14:23 Distribute.pm
-rw-r--r-- 1 root root 2991 Nov 17 21:18 Include.pm
-rw-r--r-- 1 root root 1376 Nov 10 00:35 ListMenu.pm
-rw-r--r-- 1 root root 1521 Nov 17 21:42 Manager.pm
-rw-r--r-- 1 root root 1292 Nov 10 00:56 Miscellaneous.pm
-rw-r--r-- 1 root root 701 Nov 9 23:39 ModTemplate.pm
-rw-r--r-- 1 root root 1156 Nov 10 21:02 System.pm
-rw-r--r-- 1 root root 566 Nov 17 21:40 temp001
-rwxr-xr-x 1 root root 425 Nov 9 22:11 test
-rwxr-xr-x 1 root root 234 Nov 10 00:56 test2
-rwxr-xr-x 1 root root 253 Nov 9 23:12 test3
I restarted the computer with shutdown -r:
I didn't anything else but a cd, ls and shutdown.
After a restart I got a correct listing (see below).
situation 2: listing of /etc/ssl/perl/lib:
-rw-r--r-- 1 root root 5640 Nov 22 23:14 Certificates.pm
-rw-r--r-- 1 root root 2093 Nov 20 23:57 Distribute.pm
-rw-r--r-- 1 root root 3754 Nov 22 23:14 Include.pm
-rw-r--r-- 1 root root 1393 Nov 20 18:58 ListMenu.pm
-rw-r--r-- 1 root root 1925 Nov 20 23:57 Manager.pm
-rw-r--r-- 1 root root 1309 Nov 15 22:59 Miscellaneous.pm
-rw-r--r-- 1 root root 701 Nov 9 23:39 ModTemplate.pm
-rw-r--r-- 1 root root 1984 Nov 22 23:14 System.pm
-rw-r--r-- 1 root root 430 Nov 15 20:53 temp
-rw-r--r-- 1 root root 195 Nov 15 20:55 temp2
-rw-r--r-- 1 root root 653 Nov 15 20:57 temp3
-rwxr-xr-x 1 root root 441 Nov 11 22:26 test
-rwxr-xr-x 1 root root 197 Nov 17 22:15 test2
-rwxr-xr-x 1 root root 253 Nov 9 23:12 test3
There is a difference in the number of files and differences in filesizes between the two listings.
Now the test.txt:
etc/ssl/perl/lib# touch test.txt
I verified the existence of test.txt.
I got a test.txt in the listing
I restart the computer with both
etc/ssl/perl/lib# shutdown -h now
etc/ssl/perl/lib# shutdown -r now
and in both cases:
situation 3: listing of /etc/ssl/perl/lib:
-rw-r--r-- 1 root root 5640 Nov 22 23:14 Certificates.pm
-rw-r--r-- 1 root root 2093 Nov 20 23:57 Distribute.pm
-rw-r--r-- 1 root root 3754 Nov 22 23:14 Include.pm
-rw-r--r-- 1 root root 1393 Nov 20 18:58 ListMenu.pm
-rw-r--r-- 1 root root 1925 Nov 20 23:57 Manager.pm
-rw-r--r-- 1 root root 1309 Nov 15 22:59 Miscellaneous.pm
-rw-r--r-- 1 root root 701 Nov 9 23:39 ModTemplate.pm
-rw-r--r-- 1 root root 1984 Nov 22 23:14 System.pm
-rw-r--r-- 1 root root 430 Nov 15 20:53 temp
-rw-r--r-- 1 root root 195 Nov 15 20:55 temp2
-rw-r--r-- 1 root root 653 Nov 15 20:57 temp3
-rwxr-xr-x 1 root root 441 Nov 11 22:26 test
-rw-r--r-- 1 root root 0 Nov 23 11:29 test.txt
-rwxr-xr-x 1 root root 197 Nov 17 22:15 test2
-rwxr-xr-x 1 root root 253 Nov 9 23:12 test3
test.txt still exists after a reboot and I expect that it's gone tomorrow when I startup the computer. And, after a reboot tomorrow, I think I will get test.txt back.
It's not only my /etc/ssl/perl/lib directory but certainly also my root directory liable to this strange behaviour.
Hmm, this one is really weird.. I would almost suspect that different mount points are being loaded somehow? I dont suppose that this is a multi-os system is it?
No, just a plain debian standalone server configuration. I think it has something to do with the journaling-system (ext3, writeback mode). Otherwise I have no idea where it gets it's faulty listing from. But there are no relevant errors about ext3 and inodes in the logs.
The other strange thing is that it often happens after a few hours or overnight and it's not always the case (that generally means hardware, but I don't think so). I also looked for crond-items. But there are no suspicious entries in the cron-directories. It looks like I am hunting a ghost which has a party with impact.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.