Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Problems rotating logs...
Date: Fri, 22 Dec 2000 09:12:43 -0700	[thread overview]
Message-ID: <20001222091243.C5294@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <017c01c06b54$4e30cda0$6664a8c0@MECHAGHIDRA>; from Eric Brown on Thu, Dec 21, 2000 at 05:45:38AM -0800

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?




      reply	other threads:[~2000-12-22 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox