Results 1 to 6 of 6

Thread: Cron Daemon error in cmd.php

  1. #1
    Prometheus
    Guest

    Default Cron Daemon error in cmd.php

    I keep getting this error. The folder permissions are correct and the cmd.php
    permissions are the same as notifies and yet notifies works fine.
    I have checked everything including the paths and they all look fine.
    Any ideas?

    Could not open input file: /usr/home/todd/html/cageme/periodic/cmd.php

  2. #2
    Prometheus
    Guest

    Default Found the problem in CMD file acces errors.

    Well.. should have know this. The job does not run if you are in promotional or "free for all" mode. After changing, coming out out this mode, we noticed the job began to run normally. We looked at the code and sure enough this job is restricted when in free mode.
    Peace.

    Hope this helps someone

    Todd

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    This sounds like a bug... if this is really the case.

    I dont see how being in or out of free mode would result in the inability of cron to open a file:

    Could not open input file: /usr/home/todd/html/cageme/periodic/cmd.php

    What version of aedating are you running (and patch number)?

    Smoge




    Quote Originally Posted by Prometheus
    Well.. should have know this. The job does not run if you are in promotional or "free for all" mode. After changing, coming out out this mode, we noticed the job began to run normally. We looked at the code and sure enough this job is restricted when in free mode.
    Peace.

    Hope this helps someone

    Todd
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4
    Vanessa Stretton's Avatar
    Join Date
    Jan 2006
    Posts
    27

    Default Cron error

    I have been having troubles with my cron jobs geting this error every 15 min for the last 3 days !
    <br />
    <b>Warning</b>: main(db.inc.php): failed to open stream: No such file or directory in <b>/home/vanessa/public_html/periodic/notifies.php</b> on line <b>12</b><br />
    <br />
    <b>Fatal error</b>: main(): Failed opening required 'db.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/vanessa/public_html/periodic/notifies.php</b> on line <b>12</b><br />

    I am running 4.1 4 have checked and replaced periodic files did take it out of free mode. was hopeing that would work but it did not so I am stating to think there is another bug in aedating Regards Vanessa

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Check permissions on your files in periodic... you may need to set them to chmod 755. Also check ownership... may matter depending on what user your cron runs under.

    Also, remember, you need to edit the path to your inc directory and header.inc.php at the top of your php files in the periodic directory.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6
    Vanessa Stretton's Avatar
    Join Date
    Jan 2006
    Posts
    27

    Thumbs up Cron error

    Thanks Smoge Its all running fine now!! Had the wrong path and ownership not set after the last up date to version .004 Was a simple fault that got the best of me Regards Vanessa

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cron job error on 6.1.4
    By birkenstam in forum Dolphin General Discussion v6.00 and above
    Replies: 4
    Last Post: 07-16-2009, 08:34 AM
  2. Cron error
    By Troy in forum Bugs Dolphin 6.03 CLEAN
    Replies: 3
    Last Post: 01-15-2008, 01:33 PM
  3. Cron Job Error
    By Greggers in forum General Issues, Comments, Questions
    Replies: 4
    Last Post: 04-16-2006, 01:24 PM
  4. Cron Daemon
    By lochdhu in forum General Troubleshooting
    Replies: 0
    Last Post: 10-24-2005, 02:35 PM
  5. Cron Daemon
    By lochdhu in forum Open Talk
    Replies: 0
    Last Post: 10-24-2005, 02:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •