Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    42

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

    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. #2
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    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.
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    42

    Default

    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. #4
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Hello,

    Check the following file

    /var/log/cron
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  5. #5
    Member
    Join Date
    Jul 2003
    Posts
    42

    Default

    Naturally, I would look there... but most of the files are always 0 empty... I think CPanel does something with them...

  6. #6
    Member
    Join Date
    Jul 2003
    Posts
    42

    Default

    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. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member
    Join Date
    Jul 2003
    Posts
    42

    Default

    Sweet. Thanks for the help!

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 03-28-2011, 08:48 AM
  2. root run-parts /etc/cron.hourly -- Hourly error messages!
    By n1zyy in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-15-2004, 04:23 PM
  3. Why is alias file in etc/valiases deleted automatically?
    By Wolli in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-02-2004, 04:52 AM
  4. What is cPanel written in?
    By ee99ee in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-13-2004, 01:53 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube