* Problems rotating logs...
@ 2000-12-19 6:12 Eric Brown
2000-12-19 13:40 ` Speedracer
0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2000-12-19 6:12 UTC (permalink / raw)
To: axp-list
I'm running a (very) hacked version of Redhat 5.2 on an Alpha Personal
Workstation (Avanti). It's been running great for quite some time, but
recently, syslogd has started acting very oddly.
In particular, it doesn't seem to be logging anything. All the logs are 0
bytes, owned by root, and mode 600. When the log rotation script runs, I
get the following error:
Subject: errors rotating logs
errors occured while rotating /var/log/maillog
syslogd: no process killed
error running postrotate script
And, in fact, at this point, syslogd is no longer running. I can restart
it, and it seems to continue running, but no logs seem to be kept.
Any ideas?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems rotating logs...
2000-12-19 6:12 Problems rotating logs Eric Brown
@ 2000-12-19 13:40 ` Speedracer
2000-12-19 16:19 ` Eric Brown
0 siblings, 1 reply; 6+ messages in thread
From: Speedracer @ 2000-12-19 13:40 UTC (permalink / raw)
To: axp-list
This is very very very bad. Usually the sign of a hacked box. Have you
tried to re-install syslog and see if it starts working? (I assume you
checked /etc/syslog.conf to make sure it wasn't futzed with) If it does
start working after you re-install, it's probably time to do some serious
updating as your system may have been compromised. Of course if your
system is sitting off in the corner wiht no outside world contact, then
ignore:) I'm paranoid, but that doesn't mean they aren't out to get me!
As an aside, I have a RH 5.1 system that was updted to 5.2 years ago. It
deals with a lot of trffic daily, and is still logging :)
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 446 1186 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Problems rotating logs...
2000-12-19 13:40 ` Speedracer
@ 2000-12-19 16:19 ` Eric Brown
2000-12-20 17:23 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2000-12-19 16:19 UTC (permalink / raw)
To: axp-list
Well, I updated to the latest syslogd (from updates.redhat.com), and I'm
still having problems with syslogd dying after a kill -HUP. (I also updated
to the latest glibc 2.0, which syslogd seems to require.) I guess my next
stop is the debugger, eh?
Eric
-----Original Message-----
From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
Behalf Of Speedracer
Sent: Tuesday, December 19, 2000 5:40 AM
To: axp-list@redhat.com
Subject: Re: Problems rotating logs...
This is very very very bad. Usually the sign of a hacked box. Have you
tried to re-install syslog and see if it starts working? (I assume you
checked /etc/syslog.conf to make sure it wasn't futzed with) If it does
start working after you re-install, it's probably time to do some serious
updating as your system may have been compromised. Of course if your
system is sitting off in the corner wiht no outside world contact, then
ignore:) I'm paranoid, but that doesn't mean they aren't out to get me!
As an aside, I have a RH 5.1 system that was updted to 5.2 years ago. It
deals with a lot of trffic daily, and is still logging :)
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 446 1186 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems rotating logs...
2000-12-19 16:19 ` Eric Brown
@ 2000-12-20 17:23 ` Michal Jaegermann
2000-12-21 13:45 ` Eric Brown
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2000-12-20 17:23 UTC (permalink / raw)
To: axp-list
On Tue, Dec 19, 2000 at 08:19:07AM -0800, Eric Brown wrote:
> Well, I updated to the latest syslogd (from updates.redhat.com),
Can we have precise versions, please? As reported by 'rpm -q sysklogd'.
"The latest" leaves everybody guessing.
> and I'm
> still having problems with syslogd dying after a kill -HUP.
Hm, "works for me" (TM). On a RH 5.2 based system I have
# rpm -q sysklogd
sysklogd-1.3.31-1.6
and for 'rpm -q --changelog sysklogd' those few top entries are:
* Thu Sep 14 2000 Bill Nottingham <notting@redhat.com>
- more fixes from solar@false.com, dan@debian.org; fix the security fix
* Tue Sep 12 2000 Jakub Jelinek <jakub@redhat.com>
- never ever pass an user supplied string as 2nd arg to syslog
* Tue Nov 16 1999 Bill Nottingham <notting@redhat.com>
- fix ECONNRESETs
......
I guess that the latest one is your trouble.
> I guess my next
> stop is the debugger, eh?
Did you try 'strace'? You may attach it to a running 'syslogd' process,
send HUP to 'syslogd' and watch what happens. Collect results in a file
and you will have an easier time to look at it later.
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Problems rotating logs...
2000-12-20 17:23 ` Michal Jaegermann
@ 2000-12-21 13:45 ` Eric Brown
2000-12-22 16:12 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Eric Brown @ 2000-12-21 13:45 UTC (permalink / raw)
To: axp-list
[root@megalon log]# rpm -q sysklogd
sysklogd-1.3.31-1.6
The strace log looks like this:
select(1, [], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted)
--- SIGHUP (Hangup) ---
Not terribly useful.
-----Original Message-----
From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
Behalf Of Michal Jaegermann
Sent: Wednesday, December 20, 2000 9:24 AM
To: axp-list@redhat.com
Subject: Re: Problems rotating logs...
On Tue, Dec 19, 2000 at 08:19:07AM -0800, Eric Brown wrote:
> Well, I updated to the latest syslogd (from updates.redhat.com),
Can we have precise versions, please? As reported by 'rpm -q sysklogd'.
"The latest" leaves everybody guessing.
> and I'm
> still having problems with syslogd dying after a kill -HUP.
Hm, "works for me" (TM). On a RH 5.2 based system I have
# rpm -q sysklogd
sysklogd-1.3.31-1.6
and for 'rpm -q --changelog sysklogd' those few top entries are:
* Thu Sep 14 2000 Bill Nottingham <notting@redhat.com>
- more fixes from solar@false.com, dan@debian.org; fix the security fix
* Tue Sep 12 2000 Jakub Jelinek <jakub@redhat.com>
- never ever pass an user supplied string as 2nd arg to syslog
* Tue Nov 16 1999 Bill Nottingham <notting@redhat.com>
- fix ECONNRESETs
......
I guess that the latest one is your trouble.
> I guess my next
> stop is the debugger, eh?
Did you try 'strace'? You may attach it to a running 'syslogd' process,
send HUP to 'syslogd' and watch what happens. Collect results in a file
and you will have an easier time to look at it later.
Michal
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems rotating logs...
2000-12-21 13:45 ` Eric Brown
@ 2000-12-22 16:12 ` Michal Jaegermann
0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 2000-12-22 16:12 UTC (permalink / raw)
To: axp-list
On Thu, Dec 21, 2000 at 05:45:38AM -0800, Eric Brown wrote:
> [root@megalon log]# rpm -q sysklogd
> sysklogd-1.3.31-1.6
> The strace log looks like this:
> select(1, [], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted)
> --- SIGHUP (Hangup) ---
>
> Not terribly useful.
For what is worth with the same version of sysklogd package I see
the following after HUP to syslogd:
select(1, [0], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted)
--- SIGHUP (Hangup) ---
sigaction(SIGHUP, {0x120006788, [], SA_RESTART}, {0x120006788, [], SA_RESTART}, 0x1200067b4) = 0
sigreturn() = ? (mask now [])
SYS_5(0x200002fce58, 0, 0x1b6, 0, 0x400) = 92
SYS_0(0x5, 0x1, 0, 0, 0x400) = 92
SYS_0(0x5, 0x2, 0x1, 0, 0x400) = -1 EL3RST (Level 3 reset)
SYS_0(0x5, 0x11fffd490, 0x11fffd510, 0, 0) = -1 EREMOTE (Object is remote)
read(5, "#\n# services\tThis file describes"..., 8192) = 4551
...................
fsync(2) = 0
sigaction(SIGHUP, {0x120006788, [], SA_RESTART}, {0x120006788, [], SA_RESTART}, 0x120005740) = 0
select(1, [0], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) ---
sigaction(SIGALRM, {0x120004a78, [], SA_RESTART}, {0x120004a78, [], SA_RESTART}, 0x120004bf0) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
sigreturn() = ? (mask now [])
and syslogd happilly runs after re-reading its config and restarting logs.
Maybe this will help to find out where is your problem?
Michal
p.s. Why are you qouting messages in this annoyingly unreadable
"Jeopardy style"? Too much TV?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-12-22 16:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-19 6:12 Problems rotating logs Eric Brown
2000-12-19 13:40 ` Speedracer
2000-12-19 16:19 ` Eric Brown
2000-12-20 17:23 ` Michal Jaegermann
2000-12-21 13:45 ` Eric Brown
2000-12-22 16:12 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox