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.

/etc/valiases/ are being re-written automatically, hourly?? Help???

Discussion in 'General Discussion' started by jpfour23, Oct 9, 2005.

  1. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    I have a PHP script that I use to update the valiases b/c I organize them in a database. The problem is that they are automatically being re-written at XX:01 on an hourly basis.

    I assume CRON has something to do with this, but don't have any idea what's really going on. Can anyone help? Please? Some of my clients are getting upset.

    Thanks,
    JP

    WHM 10.6.0 cPanel 10.8.0-S59
    CentOS 4.1 i686 - WHM X v3.1.0
     
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    Did you check the cron log?. If not check it first also check the cron tab, it will help you to solve this issue.
     
  3. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    I believe it has something to do with

    /etc/cron.hourly/aol.pl

    This is the only thing I see running hourly? But I don't understand it except that its running the system command /scripts/fixvaliases

    Where is the cron log?

    Thx,
    jp
     
  4. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    Check the following file

    /var/log/cron
     
  5. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Naturally, I would look there... but most of the files are always 0 empty... I think CPanel does something with them...
     
  6. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Well, since I assumed the /etc/cron.hourly/aol.pl was the problem, i just moved the file elsewhere... since I did that, it hasn't done any errors.

    Anyone have a clue as to what that program was doing. It looked like it had somethiing to do with aol.com subscribers... but it was also running /scripts/fixvaliases and so I think it was that script that was making the changes to my /etc/valiases/ file.

    Thx,
    jp
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That script has been mentioned before (/etc/cron.hourly/aol.pl) it is nothing at all to do with cPanel and must have been put their by your server provider for some reason. There's no need for it.
     
  8. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Sweet. Thanks for the help!
     
Loading...

Share This Page