The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Root Cronjob

Discussion in 'General Discussion' started by cyclone, Apr 12, 2007.

  1. cyclone

    cyclone Active Member

    Joined:
    Jul 15, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I'm having a small problem with horde. This is the email I get every night.. It is coming from the subject: Cron <root@server1> run-parts /etc/cron.daily

    /etc/cron.daily/logrotate:

    error: failed to open config file horde: No such file or directory

    Does anyone know how to fix this?

    Thanks,
    Dennis
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    check the /etc/logrotate.conf file, maybe something in there that is mis-configured.

    Mickalo
     
  3. cyclone

    cyclone Active Member

    Joined:
    Jul 15, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    Hi, thanks a lot.. I checked the /etc/logrotate.conf file, and the following is whats in there:

    root@server1 [/usr]# vi /etc/logrotate.conf
    # rotate log files weekly
    weekly

    # keep 4 weeks worth of backlogs
    rotate 4

    # create new (empty) log files after rotating old ones
    create

    # uncomment this if you want your log files compressed
    #compress

    # RPM packages drop log rotation information into this directory
    include /etc/logrotate.d

    # no packages own wtmp -- we'll rotate them here
    /var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
    }

    # system-specific logs may be also be configured here.



    I'm not sure what I am supposed to be looking for. It doesn't seem like this file is pointing to the horde conf file. Would I need some sort of code to point to it maybe in here?

    Thanks,
    Dennis
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    check in the /etc/logrotate.d folder to see what's calling up the horde file rotation. I'm not aware of any type of log rotation regarding horde, as horde uses MySQL to store data.

    Mickalo
     
  5. cyclone

    cyclone Active Member

    Joined:
    Jul 15, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    I'm not sure if this is something.. But here is what I get when I try to get the directory of contents in the /etc/logrotate.d folder:


    root@server1 [/etc/logrotate.d]# dir
    /bin/ls: openwebmail: No such file or directory
    /bin/ls: horde: No such file or directory
    /bin/ls: mailman: No such file or directory
    ./ ../ exim httpd mysql named rpm samba snmpd syslog


    Seems as though it is missing a few files there and one of them includes horde

    Any other ideas? :) I really appreciate you trying to help me out here. My data center has been trying to figure this out, so now I'm working at it because whatever they do doesnt help lol

    Thanks,
    Dennis
     
  6. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    best thing to do is examine those files in the folder:
    Code:
    openwebmail: No such file or directory
    horde: No such file or directory
    mailman: No such file or directory
    
    possibly symbolic links that are incorrect, never seen the horde or openwebmail that folder before, unless some sort of a custom setup.

    Mickalo
     
  7. cyclone

    cyclone Active Member

    Joined:
    Jul 15, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    I examined

    root@server1 [/etc/logrotate.d]# vi exim
    root@server1 [/etc/logrotate.d]# vi httpd
    root@server1 [/etc/logrotate.d]# vi mysql
    root@server1 [/etc/logrotate.d]# vi named
    root@server1 [/etc/logrotate.d]# vi rpm
    root@server1 [/etc/logrotate.d]# vi samba
    root@server1 [/etc/logrotate.d]# vi snmpd
    root@server1 [/etc/logrotate.d]# vi syslog


    And all of those do not have openwebmail, horde or mailman in them. lol

    Any other suggestions? This is what I been trying to figure out for weeks now, just figured I would hit the cpanel forums and hopefully get help here since I am clueless lol

    Thanks,
    Dennis
     
Loading...

Share This Page