LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-25-2003, 12:54 PM   #16
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Original Poster
Rep: Reputation: 15

Cron.hourly:

[root@praesto1 cron.hourly]# ls -la | more
total 12
drwxr-xr-x 2 root root 4096 Jan 3 2002 .
drwxr-xr-x 59 root root 8192 Nov 25 08:16 ..


Cron.Daily:

[root@praesto1 cron.daily]# ls -la | more
total 44
drwxr-xr-x 2 root root 4096 Nov 6 13:12 .
drwxr-xr-x 59 root root 8192 Nov 25 08:16 ..
-rwxr-xr-x 1 root root 276 Jun 24 2001 0anacron
-rwxr-xr-x 1 root root 51 Sep 4 2001 logrotate
-rwxr-xr-x 1 root root 402 Aug 31 2001 makewhatis.cron
-rwxr-xr-x 1 root root 104 Sep 6 2001 rpm
-rwxr-xr-x 1 root root 132 Oct 24 2002 run_nohup.sh
-rwxr-xr-x 1 root root 132 Jun 24 2001 slocate.cron
-rwxr-xr-x 1 root root 91 Aug 13 2001 sysstat
-rwxr-xr-x 1 root root 193 Nov 28 2001 tmpwatch

Cron.Weekly:

[root@praesto1 cron.weekly]# ls -la | more
total 20
drwxr-xr-x 2 root root 4096 Nov 6 13:12 .
drwxr-xr-x 59 root root 8192 Nov 25 08:16 ..
-rwxr-xr-x 1 root root 277 Jun 24 2001 0anacron
-rwxr-xr-x 1 root root 399 Aug 31 2001 makewhatis.cron

Cron.Monthly:

[root@praesto1 cron.monthly]# ls -la | more
total 16
drwxr-xr-x 2 root root 4096 Nov 6 13:12 .
drwxr-xr-x 59 root root 8192 Nov 25 08:16 ..
-rwxr-xr-x 1 root root 278 Jun 24 2001 0anacron
 
Old 11-25-2003, 01:12 PM   #17
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Last time you did that, gpm was already running. Do..
killall -9 gpm
rm /var/run/gpm.pid
Then try the strace again.
This time it should show what it's missing.
 
Old 11-25-2003, 01:18 PM   #18
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Original Poster
Rep: Reputation: 15
New Output....

execve("/usr/sbin/gpm", ["gpm"], [/* 51 vars */]) = 0
uname({sys="Linux", node="praesto1", ...}) = 0
brk(0) = 0x805a500
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
x40017000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or dire
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=69846, ...}) = 0
old_mmap(NULL, 69846, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\307\1"..., 1024
4
fstat64(3, {st_mode=S_IFREG|0755, st_size=5779542, ...}) = 0
old_mmap(NULL, 1291464, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002a
mprotect(0x4015c000, 38088, PROT_NONE) = 0
old_mmap(0x4015c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
1000) = 0x4015c000
old_mmap(0x40162000, 13512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|M
YMOUS, -1, 0) = 0x40162000
close(3) = 0
munmap(0x40018000, 69846) = 0
brk(0) = 0x805a500
brk(0x805a680) = 0x805a680
brk(0x805b000) = 0x805b000
open("/var/run/gpm.pid", O_RDONLY) = -1 ENOENT (No such file or dire
open("/dev/tty0", O_WRONLY) = 3
ioctl(3, 0x541c, 0x8056fa0) = 0
close(3) = 0
fork() = 1830
_exit(0) = ?
 
Old 11-25-2003, 01:26 PM   #19
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
That's wierd... well it dies, but that didn't write to the log file at all
My only suggestion is to recompile the newest gpm, or to get the rpm for it.
 
Old 11-25-2003, 01:53 PM   #20
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
# run-parts
01 * * * * root run-parts /etc/cron.hourly
(etc)

Is it me or do the times look a bit wonky? I mean (running Vixie-cron) I always thought the fields where: "minutes, hours, day of month, month, day of week"? Not that it will help you solve your problem, but the times they're run at look weird.

If you can verify the contents of the other cronjobs are "sane" by your standards, then at least you can say your problem probably hasn't got to do with one of these. Only thing I can't recognize is the /etc/cron.daily/run_nohup.sh, but then it's run at such a time it couldn't be part of killing the box.

Definately weird problem, especially because of the period you mention.
Doesn't sysstat show wierd fluctuations in CPU or memory usage over that period?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Jobs XaViaR Linux - General 1 06-23-2005 06:57 PM
cron jobs working2hard Linux - Software 0 07-28-2004 05:31 PM
CRON Jobs scottpioso Linux - Software 63 11-28-2003 06:45 PM
cron jobs Zyanid Linux - Software 0 08-27-2002 05:10 AM
creating cron jobs jonfa Linux - General 5 05-26-2002 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:35 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