* [gentoo-user] syslogd hibernating
@ 2021-01-15 8:47 n952162
2021-01-15 9:24 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: n952162 @ 2021-01-15 8:47 UTC (permalink / raw
To: Gentoo User list
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
Hello,
can anyone explain this?
I noticed today (15. January) that the /var/log/{messages,kern.log,etc.}
files on a box were last touched on 22. November.
sysklogd was in the rc-open /started/ state and was running.
The configuration file, /etc/syslog.conf matches completely that file on
another machine of mine, where the logs are properly updated.
/etc/syslog.d/ was empty on both machines.
I sent the process a HUP signal, as follows
sudo kill -HUP $(cat /var/run/syslogd.pid )
and all the log files were immediately updated and reporting.
I rebooted my machine, and the log files are untouched, it is again
hibernating.
[-- Attachment #2: Type: text/html, Size: 1068 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 8:47 [gentoo-user] syslogd hibernating n952162
@ 2021-01-15 9:24 ` Michael
2021-01-15 15:08 ` n952162
0 siblings, 1 reply; 9+ messages in thread
From: Michael @ 2021-01-15 9:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
> Hello,
>
> can anyone explain this?
>
> I noticed today (15. January) that the /var/log/{messages,kern.log,etc.}
> files on a box were last touched on 22. November.
>
> sysklogd was in the rc-open /started/ state and was running.
>
> The configuration file, /etc/syslog.conf matches completely that file on
> another machine of mine, where the logs are properly updated.
>
> /etc/syslog.d/ was empty on both machines.
>
> I sent the process a HUP signal, as follows
>
> sudo kill -HUP $(cat /var/run/syslogd.pid )
>
> and all the log files were immediately updated and reporting.
>
> I rebooted my machine, and the log files are untouched, it is again
> hibernating.
Do you get something like this on your system?
$ rc-update -s -v | grep syslog
syslog-ng | default
and,
$ rc-service -v syslog-ng status
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/
syslog-ng status
* status: started
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 9:24 ` Michael
@ 2021-01-15 15:08 ` n952162
2021-01-15 15:23 ` Peter Humphrey
0 siblings, 1 reply; 9+ messages in thread
From: n952162 @ 2021-01-15 15:08 UTC (permalink / raw
To: gentoo-user
On 1/15/21 10:24 AM, Michael wrote:
> On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
>> Hello,
>>
>> can anyone explain this?
>>
>> I noticed today (15. January) that the /var/log/{messages,kern.log,etc.}
>> files on a box were last touched on 22. November.
>>
>> sysklogd was in the rc-open /started/ state and was running.
>>
>> The configuration file, /etc/syslog.conf matches completely that file on
>> another machine of mine, where the logs are properly updated.
>>
>> /etc/syslog.d/ was empty on both machines.
>>
>> I sent the process a HUP signal, as follows
>>
>> sudo kill -HUP $(cat /var/run/syslogd.pid )
>>
>> and all the log files were immediately updated and reporting.
>>
>> I rebooted my machine, and the log files are untouched, it is again
>> hibernating.
> Do you get something like this on your system?
>
> $ rc-update -s -v | grep syslog
> syslog-ng | default
>
> and,
>
> $ rc-service -v syslog-ng status
> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/
> syslog-ng status
> * status: started
>
$ rc-service -v syslog-ng status
* rc-service: service `syslog-ng' does not exist
$ rc-service -v syslog status
* rc-service: service `syslog' does not exist
$ rc-service -v syslogd status
* rc-service: service `syslogd' does not exist
$ rc-service -v sysklogd status
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
/etc/init.d/sysklogd status
* status: started
$ rc-update -s -v | grep syslog
$ rc-update -s -v | grep sysklog
sysklogd | default sysinit
I ran that as a script on a machine where the logs are properly updated:
01~>bash -x /tmp/test
+ rc-service -v syslog-ng status
* rc-service: service `syslog-ng' does not exist
+ rc-service -v syslog status
* rc-service: service `syslog' does not exist
+ rc-service -v syslogd status
* rc-service: service `syslogd' does not exist
+ rc-service -v sysklogd status
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
/etc/init.d/sysklogd status
* status: started
+ rc-update -s -v
+ grep syslog
+ rc-update -s -v
+ grep sysklog
sysklogd | default
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 15:08 ` n952162
@ 2021-01-15 15:23 ` Peter Humphrey
2021-01-15 15:30 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: Peter Humphrey @ 2021-01-15 15:23 UTC (permalink / raw
To: gentoo-user
On Friday, 15 January 2021 15:08:15 GMT n952162 wrote:
> On 1/15/21 10:24 AM, Michael wrote:
> > On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
> >> Hello,
> >>
> >> can anyone explain this?
> >>
> >> I noticed today (15. January) that the /var/log/{messages,kern.log,etc.}
> >> files on a box were last touched on 22. November.
> >>
> >> sysklogd was in the rc-open /started/ state and was running.
> >>
> >> The configuration file, /etc/syslog.conf matches completely that file on
> >> another machine of mine, where the logs are properly updated.
> >>
> >> /etc/syslog.d/ was empty on both machines.
> >>
> >> I sent the process a HUP signal, as follows
> >>
> >> sudo kill -HUP $(cat /var/run/syslogd.pid )
> >>
> >> and all the log files were immediately updated and reporting.
> >>
> >> I rebooted my machine, and the log files are untouched, it is again
> >> hibernating.
> >
> > Do you get something like this on your system?
> >
> > $ rc-update -s -v | grep syslog
> >
> > syslog-ng | default
> >
> > and,
> >
> > $ rc-service -v syslog-ng status
> >
> > * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> > /etc/init.d/
> >
> > syslog-ng status
> >
> > * status: started
>
> $ rc-service -v syslog-ng status
> * rc-service: service `syslog-ng' does not exist
>
> $ rc-service -v syslog status
> * rc-service: service `syslog' does not exist
>
> $ rc-service -v syslogd status
> * rc-service: service `syslogd' does not exist
>
> $ rc-service -v sysklogd status
> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> /etc/init.d/sysklogd status
> * status: started
>
> $ rc-update -s -v | grep syslog
>
> $ rc-update -s -v | grep sysklog
> sysklogd | default sysinit
>
>
> I ran that as a script on a machine where the logs are properly updated:
>
> 01~>bash -x /tmp/test
> + rc-service -v syslog-ng status
> * rc-service: service `syslog-ng' does not exist
> + rc-service -v syslog status
> * rc-service: service `syslog' does not exist
> + rc-service -v syslogd status
> * rc-service: service `syslogd' does not exist
> + rc-service -v sysklogd status
> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> /etc/init.d/sysklogd status
> * status: started
> + rc-update -s -v
> + grep syslog
> + rc-update -s -v
> + grep sysklog
> sysklogd | default
Substitute your syslog program's name for syslog-ng. Michael did say
"something like."
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 15:23 ` Peter Humphrey
@ 2021-01-15 15:30 ` Michael
2021-01-15 15:39 ` Peter Humphrey
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Michael @ 2021-01-15 15:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3161 bytes --]
On Friday, 15 January 2021 15:23:34 GMT Peter Humphrey wrote:
> On Friday, 15 January 2021 15:08:15 GMT n952162 wrote:
> > On 1/15/21 10:24 AM, Michael wrote:
> > > On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
> > >> Hello,
> > >>
> > >> can anyone explain this?
> > >>
> > >> I noticed today (15. January) that the
> > >> /var/log/{messages,kern.log,etc.}
> > >> files on a box were last touched on 22. November.
> > >>
> > >> sysklogd was in the rc-open /started/ state and was running.
> > >>
> > >> The configuration file, /etc/syslog.conf matches completely that file
> > >> on
> > >> another machine of mine, where the logs are properly updated.
> > >>
> > >> /etc/syslog.d/ was empty on both machines.
> > >>
> > >> I sent the process a HUP signal, as follows
> > >>
> > >> sudo kill -HUP $(cat /var/run/syslogd.pid )
> > >>
> > >> and all the log files were immediately updated and reporting.
> > >>
> > >> I rebooted my machine, and the log files are untouched, it is again
> > >> hibernating.
> > >
> > > Do you get something like this on your system?
> > >
> > > $ rc-update -s -v | grep syslog
> > >
> > > syslog-ng | default
> > >
> > > and,
> > >
> > > $ rc-service -v syslog-ng status
> > >
> > > * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> > > /etc/init.d/
> > >
> > > syslog-ng status
> > >
> > > * status: started
> >
> > $ rc-service -v syslog-ng status
> >
> > * rc-service: service `syslog-ng' does not exist
> >
> > $ rc-service -v syslog status
> >
> > * rc-service: service `syslog' does not exist
> >
> > $ rc-service -v syslogd status
> >
> > * rc-service: service `syslogd' does not exist
> >
> > $ rc-service -v sysklogd status
> >
> > * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> >
> > /etc/init.d/sysklogd status
> >
> > * status: started
> >
> > $ rc-update -s -v | grep syslog
> >
> > $ rc-update -s -v | grep sysklog
> >
> > sysklogd | default sysinit
> >
> > I ran that as a script on a machine where the logs are properly updated:
> >
> > 01~>bash -x /tmp/test
> > + rc-service -v syslog-ng status
> >
> > * rc-service: service `syslog-ng' does not exist
> >
> > + rc-service -v syslog status
> >
> > * rc-service: service `syslog' does not exist
> >
> > + rc-service -v syslogd status
> >
> > * rc-service: service `syslogd' does not exist
> >
> > + rc-service -v sysklogd status
> >
> > * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
> >
> > /etc/init.d/sysklogd status
> >
> > * status: started
> >
> > + rc-update -s -v
> > + grep syslog
> > + rc-update -s -v
> > + grep sysklog
> >
> > sysklogd | default
>
> Substitute your syslog program's name for syslog-ng. Michael did say
> "something like."
Yes, quite, other log daemons are available. :-)
It seems your PC on which sysklogd works as expected has its rc script only on
'default' runlevel, rather than default +sysinit. I don't know if sysinit is
required. If you remove sysinit and restart sysklogd from a terminal does it
spew out any errors?
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 15:30 ` Michael
@ 2021-01-15 15:39 ` Peter Humphrey
2021-01-15 16:29 ` n952162
2021-01-15 16:50 ` [gentoo-user] syslogd hibernating n952162
2 siblings, 0 replies; 9+ messages in thread
From: Peter Humphrey @ 2021-01-15 15:39 UTC (permalink / raw
To: gentoo-user
On Friday, 15 January 2021 15:30:08 GMT Michael wrote:
> It seems your PC on which sysklogd works as expected has its rc script only
> on 'default' runlevel, rather than default +sysinit. I don't know if
> sysinit is required. If you remove sysinit and restart sysklogd from a
> terminal does it spew out any errors?
Syslog-ng is not in sysinit here.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 15:30 ` Michael
2021-01-15 15:39 ` Peter Humphrey
@ 2021-01-15 16:29 ` n952162
2021-01-15 16:36 ` [gentoo-user] syslogd hibernating [RESOLVED] n952162
2021-01-15 16:50 ` [gentoo-user] syslogd hibernating n952162
2 siblings, 1 reply; 9+ messages in thread
From: n952162 @ 2021-01-15 16:29 UTC (permalink / raw
To: gentoo-user
On 1/15/21 4:30 PM, Michael wrote:
> On Friday, 15 January 2021 15:23:34 GMT Peter Humphrey wrote:
>> On Friday, 15 January 2021 15:08:15 GMT n952162 wrote:
>>> On 1/15/21 10:24 AM, Michael wrote:
>>>> On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
>>>>> Hello,
>>>>>
>>>>> can anyone explain this?
>>>>>
>>>>> I noticed today (15. January) that the
>>>>> /var/log/{messages,kern.log,etc.}
>>>>> files on a box were last touched on 22. November.
>>>>>
>>>>> sysklogd was in the rc-open /started/ state and was running.
>>>>>
>>>>> The configuration file, /etc/syslog.conf matches completely that file
>>>>> on
>>>>> another machine of mine, where the logs are properly updated.
>>>>>
>>>>> /etc/syslog.d/ was empty on both machines.
>>>>>
>>>>> I sent the process a HUP signal, as follows
>>>>>
>>>>> sudo kill -HUP $(cat /var/run/syslogd.pid )
>>>>>
>>>>> and all the log files were immediately updated and reporting.
>>>>>
>>>>> I rebooted my machine, and the log files are untouched, it is again
>>>>> hibernating.
>>>> Do you get something like this on your system?
>>>>
>>>> $ rc-update -s -v | grep syslog
>>>>
>>>> syslog-ng | default
>>>>
>>>> and,
>>>>
>>>> $ rc-service -v syslog-ng status
>>>>
>>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>> /etc/init.d/
>>>>
>>>> syslog-ng status
>>>>
>>>> * status: started
>>> $ rc-service -v syslog-ng status
>>>
>>> * rc-service: service `syslog-ng' does not exist
>>>
>>> $ rc-service -v syslog status
>>>
>>> * rc-service: service `syslog' does not exist
>>>
>>> $ rc-service -v syslogd status
>>>
>>> * rc-service: service `syslogd' does not exist
>>>
>>> $ rc-service -v sysklogd status
>>>
>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>
>>> /etc/init.d/sysklogd status
>>>
>>> * status: started
>>>
>>> $ rc-update -s -v | grep syslog
>>>
>>> $ rc-update -s -v | grep sysklog
>>>
>>> sysklogd | default sysinit
>>>
>>> I ran that as a script on a machine where the logs are properly updated:
>>>
>>> 01~>bash -x /tmp/test
>>> + rc-service -v syslog-ng status
>>>
>>> * rc-service: service `syslog-ng' does not exist
>>>
>>> + rc-service -v syslog status
>>>
>>> * rc-service: service `syslog' does not exist
>>>
>>> + rc-service -v syslogd status
>>>
>>> * rc-service: service `syslogd' does not exist
>>>
>>> + rc-service -v sysklogd status
>>>
>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>
>>> /etc/init.d/sysklogd status
>>>
>>> * status: started
>>>
>>> + rc-update -s -v
>>> + grep syslog
>>> + rc-update -s -v
>>> + grep sysklog
>>>
>>> sysklogd | default
>> Substitute your syslog program's name for syslog-ng. Michael did say
>> "something like."
> Yes, quite, other log daemons are available. :-)
>
> It seems your PC on which sysklogd works as expected has its rc script only on
> 'default' runlevel, rather than default +sysinit. I don't know if sysinit is
> required. If you remove sysinit and restart sysklogd from a terminal does it
> spew out any errors?
Oh, I missed that sysinit way out there on the left ;-)
It looks like that was it, no errors after removing runlevel sysinit,
and /var/log/messages has like the current time.
Thanks, that was great!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating [RESOLVED]
2021-01-15 16:29 ` n952162
@ 2021-01-15 16:36 ` n952162
0 siblings, 0 replies; 9+ messages in thread
From: n952162 @ 2021-01-15 16:36 UTC (permalink / raw
To: gentoo-user
On 1/15/21 5:29 PM, n952162 wrote:
> On 1/15/21 4:30 PM, Michael wrote:
>> On Friday, 15 January 2021 15:23:34 GMT Peter Humphrey wrote:
>>> On Friday, 15 January 2021 15:08:15 GMT n952162 wrote:
>>>> On 1/15/21 10:24 AM, Michael wrote:
>>>>> On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
>>>>>> Hello,
>>>>>>
>>>>>> can anyone explain this?
>>>>>>
>>>>>> I noticed today (15. January) that the
>>>>>> /var/log/{messages,kern.log,etc.}
>>>>>> files on a box were last touched on 22. November.
>>>>>>
>>>>>> sysklogd was in the rc-open /started/ state and was running.
>>>>>>
>>>>>> The configuration file, /etc/syslog.conf matches completely that
>>>>>> file
>>>>>> on
>>>>>> another machine of mine, where the logs are properly updated.
>>>>>>
>>>>>> /etc/syslog.d/ was empty on both machines.
>>>>>>
>>>>>> I sent the process a HUP signal, as follows
>>>>>>
>>>>>> sudo kill -HUP $(cat /var/run/syslogd.pid )
>>>>>>
>>>>>> and all the log files were immediately updated and reporting.
>>>>>>
>>>>>> I rebooted my machine, and the log files are untouched, it is again
>>>>>> hibernating.
>>>>> Do you get something like this on your system?
>>>>>
>>>>> $ rc-update -s -v | grep syslog
>>>>>
>>>>> syslog-ng | default
>>>>>
>>>>> and,
>>>>>
>>>>> $ rc-service -v syslog-ng status
>>>>>
>>>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>>> /etc/init.d/
>>>>>
>>>>> syslog-ng status
>>>>>
>>>>> * status: started
>>>> $ rc-service -v syslog-ng status
>>>>
>>>> * rc-service: service `syslog-ng' does not exist
>>>>
>>>> $ rc-service -v syslog status
>>>>
>>>> * rc-service: service `syslog' does not exist
>>>>
>>>> $ rc-service -v syslogd status
>>>>
>>>> * rc-service: service `syslogd' does not exist
>>>>
>>>> $ rc-service -v sysklogd status
>>>>
>>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>>
>>>> /etc/init.d/sysklogd status
>>>>
>>>> * status: started
>>>>
>>>> $ rc-update -s -v | grep syslog
>>>>
>>>> $ rc-update -s -v | grep sysklog
>>>>
>>>> sysklogd | default sysinit
>>>>
>>>> I ran that as a script on a machine where the logs are properly
>>>> updated:
>>>>
>>>> 01~>bash -x /tmp/test
>>>> + rc-service -v syslog-ng status
>>>>
>>>> * rc-service: service `syslog-ng' does not exist
>>>>
>>>> + rc-service -v syslog status
>>>>
>>>> * rc-service: service `syslog' does not exist
>>>>
>>>> + rc-service -v syslogd status
>>>>
>>>> * rc-service: service `syslogd' does not exist
>>>>
>>>> + rc-service -v sysklogd status
>>>>
>>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>>
>>>> /etc/init.d/sysklogd status
>>>>
>>>> * status: started
>>>>
>>>> + rc-update -s -v
>>>> + grep syslog
>>>> + rc-update -s -v
>>>> + grep sysklog
>>>>
>>>> sysklogd | default
>>> Substitute your syslog program's name for syslog-ng. Michael did say
>>> "something like."
>> Yes, quite, other log daemons are available. :-)
>>
>> It seems your PC on which sysklogd works as expected has its rc
>> script only on
>> 'default' runlevel, rather than default +sysinit. I don't know if
>> sysinit is
>> required. If you remove sysinit and restart sysklogd from a terminal
>> does it
>> spew out any errors?
>
>
> Oh, I missed that sysinit way out there on the left ;-)
>
(correction: way out there on the right)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] syslogd hibernating
2021-01-15 15:30 ` Michael
2021-01-15 15:39 ` Peter Humphrey
2021-01-15 16:29 ` n952162
@ 2021-01-15 16:50 ` n952162
2 siblings, 0 replies; 9+ messages in thread
From: n952162 @ 2021-01-15 16:50 UTC (permalink / raw
To: gentoo-user
On 1/15/21 4:30 PM, Michael wrote:
> On Friday, 15 January 2021 15:23:34 GMT Peter Humphrey wrote:
>> On Friday, 15 January 2021 15:08:15 GMT n952162 wrote:
>>> On 1/15/21 10:24 AM, Michael wrote:
>>>> On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
>>>>> Hello,
>>>>>
>>>>> can anyone explain this?
>>>>>
>>>>> I noticed today (15. January) that the
>>>>> /var/log/{messages,kern.log,etc.}
>>>>> files on a box were last touched on 22. November.
>>>>>
>>>>> sysklogd was in the rc-open /started/ state and was running.
>>>>>
>>>>> The configuration file, /etc/syslog.conf matches completely that file
>>>>> on
>>>>> another machine of mine, where the logs are properly updated.
>>>>>
>>>>> /etc/syslog.d/ was empty on both machines.
>>>>>
>>>>> I sent the process a HUP signal, as follows
>>>>>
>>>>> sudo kill -HUP $(cat /var/run/syslogd.pid )
>>>>>
>>>>> and all the log files were immediately updated and reporting.
>>>>>
>>>>> I rebooted my machine, and the log files are untouched, it is again
>>>>> hibernating.
>>>> Do you get something like this on your system?
>>>>
>>>> $ rc-update -s -v | grep syslog
>>>>
>>>> syslog-ng | default
>>>>
>>>> and,
>>>>
>>>> $ rc-service -v syslog-ng status
>>>>
>>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>> /etc/init.d/
>>>>
>>>> syslog-ng status
>>>>
>>>> * status: started
>>> $ rc-service -v syslog-ng status
>>>
>>> * rc-service: service `syslog-ng' does not exist
>>>
>>> $ rc-service -v syslog status
>>>
>>> * rc-service: service `syslog' does not exist
>>>
>>> $ rc-service -v syslogd status
>>>
>>> * rc-service: service `syslogd' does not exist
>>>
>>> $ rc-service -v sysklogd status
>>>
>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>
>>> /etc/init.d/sysklogd status
>>>
>>> * status: started
>>>
>>> $ rc-update -s -v | grep syslog
>>>
>>> $ rc-update -s -v | grep sysklog
>>>
>>> sysklogd | default sysinit
>>>
>>> I ran that as a script on a machine where the logs are properly updated:
>>>
>>> 01~>bash -x /tmp/test
>>> + rc-service -v syslog-ng status
>>>
>>> * rc-service: service `syslog-ng' does not exist
>>>
>>> + rc-service -v syslog status
>>>
>>> * rc-service: service `syslog' does not exist
>>>
>>> + rc-service -v syslogd status
>>>
>>> * rc-service: service `syslogd' does not exist
>>>
>>> + rc-service -v sysklogd status
>>>
>>> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
>>>
>>> /etc/init.d/sysklogd status
>>>
>>> * status: started
>>>
>>> + rc-update -s -v
>>> + grep syslog
>>> + rc-update -s -v
>>> + grep sysklog
>>>
>>> sysklogd | default
>> Substitute your syslog program's name for syslog-ng. Michael did say
>> "something like."
> Yes, quite, other log daemons are available. :-)
>
> It seems your PC on which sysklogd works as expected has its rc script
> only on
> 'default' runlevel, rather than default +sysinit. I don't know if
> sysinit is
> required. If you remove sysinit and restart sysklogd from a terminal
> does it
> spew out any errors?
Oh, I missed that sysinit way out there on the left ;-)
It looks like that was it, no errors after removing runlevel sysinit,
and /var/log/messages has like the current time.
Thanks, that was great!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-01-15 16:50 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-15 8:47 [gentoo-user] syslogd hibernating n952162
2021-01-15 9:24 ` Michael
2021-01-15 15:08 ` n952162
2021-01-15 15:23 ` Peter Humphrey
2021-01-15 15:30 ` Michael
2021-01-15 15:39 ` Peter Humphrey
2021-01-15 16:29 ` n952162
2021-01-15 16:36 ` [gentoo-user] syslogd hibernating [RESOLVED] n952162
2021-01-15 16:50 ` [gentoo-user] syslogd hibernating n952162
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox