Forums

×

Warning

JUser: :_load: Unable to load user with ID: 348281
JUser: :_load: Unable to load user with ID: 350451
Medium
Offline
Resolved
0 votes
ClearOS user for a year or two, been lurking in these forums. Now have a problem I cannot solve. Most of my logs are frozen in time, not updating. Couple of examples are maillog and messages. However, still can send and receive mail and everything seems fine except for the logs. What could the problem be?
Sunday, January 22 2023, 12:55 PM
Share this post:

Accepted Answer

Wednesday, January 25 2023, 01:42 PM - #Permalink
Resolved
0 votes

Will I break anything if I reinstall rsyslog?


Shouldn't...
yum reinstall rsyslog

systemctl status rsyslog.service

systemctl restart rsyslog.service


You can find your logs in /var/log. You can manually rotate your logs using
logrotate -f /etc/logrotate.d/syslog
for example, which would rotate your cron, maillog, messages, secure, and spooler logs. Other logs that can be rotated in said fashion can be found in /etc/logrotate.d.
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    Monday, February 06 2023, 05:33 AM - #Permalink
    Resolved
    0 votes
    Thanks Alan, That's shocking and looking back in these forums it seems those who have paid for support are simply not getting it either. In my book paying a company for goods or services and then that product not being suppied is fraud. Fortunately I have the Community Edition, so am not out of pocket. Sorry for those that are.
    Time to find an alternative as ClearOs is now a liability.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 05 2023, 09:25 AM - #Permalink
    Resolved
    0 votes
    Ronald John Hedges wrote:

    All OK now except for yum.log which is still stuck in last year. "yum update" appears to work but never fetches any updates. What can be wrong with my system?
    From what I have read, there is nothing wrong with your system. There have been no updates to ClearOS since last July and ClearOS is becoming increasingly insecure. Centos and EPEL have been regularly releasing security updates, including quite a number of Important rated CVEs fixes, since then but none of them have made it to ClearOS. ClearOS is really looking like an abandoned operating system now.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 05 2023, 12:46 AM - #Permalink
    Resolved
    0 votes
    All OK now except for yum.log which is still stuck in last year. "yum update" appears to work but never fetches any updates. What can be wrong with my system?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 26 2023, 06:16 AM - #Permalink
    Resolved
    0 votes
    Thanks again Dirk. Re-install went OK as did the restart. Some logs are already updating, will wait a few days before checking the remaining ones.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2023, 02:29 AM - #Permalink
    Resolved
    0 votes
    Thanks Dirk, It has failed, tried a restart and same thing

    systemctl status rsyslog
    ● rsyslog.service - System Logging Service
    Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
    Active: failed (Result: start-limit) since Tue 2024-01-23 9:18:52 EST; 9s ago
    Docs: man:rsyslogd(8)
    http://www.rsyslog.com/doc/
    Process: 6742 ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS (code=exited, status=1/FAILURE)
    Main PID: 6742 (code=exited, status=1/FAILURE)

    Jan 24 18:18:52 ron.mysystem.com systemd[1]: Failed to start System Logging Service.
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: Unit rsyslog.service entered failed state.
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: rsyslog.service failed.
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: start request repeated too quickly for rsyslog.service
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: Failed to start System Logging Service.
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: Unit rsyslog.service entered failed state.
    Jan 24 18:18:52 ron.mysystem.com systemd[1]: rsyslog.service failed.

    Will I break anything if I reinstall rsyslog?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2023, 04:21 PM - #Permalink
    Resolved
    0 votes
    What do you get at your shell prompt when you check the service?

     systemctl status rsyslog.service
    The reply is currently minimized Show
Your Reply