- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Files corrupt - larger then supposed to be - r...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 08:02 AM
04-22-2004 08:02 AM
Files corrupt - larger then supposed to be - redhat 9
Noticed cron hasn't been starting - get tis in boot.log:
Apr 22 13:06:56 dune crond: crond startup failed
Apr 22 13:06:57 dune xfs: xfs startup succeeded
Apr 22 13:06:57 dune anacron: execvp: File too large
Apr 22 13:06:57 dune anacron: anacron startup failed
So, I went to /usr/sbin and look at what an ls -al returns:
# ls -al anacron
-rwxr-xr-x 1 root root 2251804108673568 Jan 24 2003 anacron
How did that happen???
There a re a few others:
-rwxr-xr-x 129 8388608 8388736 74309398146588960 Dec 8 12:57 rotatelogs
-r-xr-xr-x 1 root 8388608 2251804108662572 Jan 25 2003 yppoll
-r-xr-xr-x 129 8388608 8388736 2251804108660196 Jan 25 2003 ypset
-r-xr-xr-x 129 8388608 128 74309398146593192 Jan 25 2003 yptest
When I try to restore :
Message from syslogd@dune at Thu Apr 22 12:29:40 2004 ...
dune kernel: Assertion failure in journal_forget_R89e31bd9() at transaction.c:1255: "!jh->b_committed_data"
Same if I try rm, or cat /dev/null > anacron
Please, tell me I can recover somehow without having to re-install.....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 09:14 AM
04-22-2004 09:14 AM
Re: Files corrupt - larger then supposed to be - redhat 9
shutdown -r -F now
which forced a fsck - and that cleared it up - had to be on the console though...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 11:57 AM
04-22-2004 11:57 AM
Re: Files corrupt - larger then supposed to be - redhat 9
'anacron' is designed for people who don't have the machine on 24/7, allowing for people to turn machine on, and have out-standing scheduled jobs to run (so you can have the weekly log rotation, even if you only turn it on twice a week).
'crond' is still the same beast on most other unicies, being the core system scheduler (combined with 'at').
Both have different configuration files ('/etc/anacrontab' for anacron, '/etc/crontab'+'/var/spool/cron/'+'/etc/cron.d/' for crond)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 02:00 PM
04-22-2004 02:00 PM
Re: Files corrupt - larger then supposed to be - redhat 9
I'd be very careful about backing up data on this box and watch ir really closely for signs.
Anything in /var/log/messages
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 02:11 PM
04-22-2004 02:11 PM
Re: Files corrupt - larger then supposed to be - redhat 9
Thanks...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 04:54 PM
04-22-2004 04:54 PM
Re: Files corrupt - larger then supposed to be - redhat 9
Did you try to fsck ( forced ) that filesystem ?
regards,
U.SivaKumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 05:02 PM
04-22-2004 05:02 PM
Re: Files corrupt - larger then supposed to be - redhat 9
I strongly suspect that your journal is corrupt. Recreate the journal.
Boot in single user mode.
#tune2fs -O ^has_journal /dev/sdX
#tune2fs -j /dev/sdX
regards,
U.SivaKumar.