Error on CRON?
« on: July 24, 2007, 08:40:08 AM »
When I tried to initiate my first cron, since I can't get my sitemap to complete in a conventional manner, I got emailed this error:


Resuming the last session (last updated: 2007-07-23 23:14:10)53500 | 3042 | 1,132,431.8 | 1889:45 | 107:27 | 5 | - | 48437 | 22578 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53520 | 3022 | 1,132,662.0 | 1891:25 | 106:47 | 5 | - | 48452 | 22688 | 0 53540 | 3002 | 1,132,755.0 | 1891:56 | 106:04 | 5 | - | 48472 | 22716 | 0 53560 | 2982 | 1,132,803.5 | 1892:21 | 105:21 | 5 | - | 48492 | 22730 | 0 53580 | 2962 | 1,133,865.8 | 1894:31 | 104:43 | 5 | - | 48512 | 22786 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53600 | 2942 | 1,133,914.3 | 1894:53 | 104:00 | 5 | - | 48532 | 22800 | 0 53620 | 2922 | 1,134,627.9 | 1896:45 | 103:21 | 5 | - | 48551 | 22827 | 0 53640 | 2902 | 1,135,794.4 | 1899:34 | 102:46 | 5 | - | 48568 | 22927 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53660 | 2882 | 1,136,948.5 | 1902:43 | 102:11 | 5 | - | 48586 | 22935 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53680 | 2862 | 1,138,180.5 | 1905:41 | 101:36 | 5 | - | 48605 | 22940 | 0 53700 | 2842 | 1,139,271.2 | 1908:31 | 101:00 | 5 | - | 48621 | 23025 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53720 | 2822 | 1,140,406.6 | 1911:36 | 100:25 | 5 | - | 48639 | 23045 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53740 | 2802 | 1,141,497.9 | 1914:48 | 99:50 | 5 | - | 48656 | 23049 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53760 | 2782 | 1,142,214.5 | 1916:40 | 99:11 | 5 | - | 48674 | 23066 | 0 53780 | 2762 | 1,142,313.3 | 1916:52 | 98:26 | 5 | - | 48694 | 23066 | 0 53800 | 2742 | 1,142,412.2 | 1917:04 | 97:42 | 5 | - | 48714 | 23066 | 0 53820 | 2722 | 1,142,511.1 | 1917:18 | 96:58 | 5 | - | 48734 | 23066 | 0 53840 | 2702 | 1,142,644.6 | 1917:32 | 96:14 | 5 | - | 48753 | 23082 | 0 53860 | 2682 | 1,142,743.1 | 1917:50 | 95:30 | 5 | - | 48773 | 23082 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15 53880 | 2662 | 1,142,841.8 | 1918:03 | 94:45 | 5 | - | 48793 | 23082 | 0 53900 | 2642 | 1,142,975.3 | 1918:17 | 94:01 | 5 | - | 48812 | 23096 | 0 53920 | 2622 | 1,143,073.9 | 1918:30 | 93:17 | 5 | - | 48832 | 23096 | 0 53940 | 2602 | 1,143,172.6 | 1918:43 | 92:33 | 5 | - | 48852 | 23096 | 0 53960 | 2582 | 1,143,306.3 | 1918:55 | 91:49 | 5 | - | 48871 | 23110 | 0 53980 | 2562 | 1,143,405.8 | 1919:07 | 91:05 | 5 | - | 48891 | 23110 | 0 54000 | 2542 | 1,143,505.2 | 1919:21 | 90:21 | 5 | - | 48911 | 23110 | 0 54020 | 2522 | 1,143,604.7 | 1920:33 | 89:39 | 5 | - | 48931 | 23110 | 0 54040 | 2502 | 1,143,738.3 | 1920:47 | 88:55 | 5 | - | 48950 | 23124 | 0 54060 | 2482 | 1,143,836.9 | 1920:58 | 88:11 | 5 | - | 48970 | 23124 | 0 Warning: fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13 Warning: fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15


Any idea how I can resolve this?  ???
Re: Error on CRON?
« Reply #1 on: July 24, 2007, 10:12:25 PM »
Hello,

make sure to set permissions:
data/ folder to 0777
all files inside data/ folder to 0666.
Re: Error on CRON?
« Reply #2 on: July 25, 2007, 05:24:14 AM »
Ok, I updated the permissions, now the cron error that gets emailed to me is:

-----------
An error occured: There was an error while retrieving the URL specified: [ External links are visible to forum administrators only ]
HTTP headers follow:

HTTP output:
---------

Re: Error on CRON?
« Reply #3 on: July 26, 2007, 01:26:04 AM »
Hello,

did you change something in server configuration? (since it was crawled before)
Re: Error on CRON?
« Reply #4 on: July 26, 2007, 01:55:12 AM »
Nope, and my web host isn't being much help. They told me to check the error log, here's their response:


------
Hello,

Please note that this is a coding issue.

Please check the error log /home2/johninja/public_html/generator/error_log for
more details.

Also note that we do not provide support to manually installed third party
softwares and to coding issues.

------------------------
Regards,
Tom
Technical Team
------------------------


....hrrm what to do now.
Re: Error on CRON?
« Reply #6 on: July 26, 2007, 12:11:45 PM »
[24-Jul-2007 03:03:43] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:03:43] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:03:43] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:08:25] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:08:25] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:08:25] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:13:29] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:13:29] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:13:29] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:16:39] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:16:39] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:16:39] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:22:26] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:22:26] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:22:26] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:25:31] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:25:31] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:25:31] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:28:43] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:28:43] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:28:43] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:31:45] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:31:45] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:31:45] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
[24-Jul-2007 03:34:53] PHP Warning:  fopen(/home2/johninja/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13
[24-Jul-2007 03:34:53] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 14
[24-Jul-2007 03:34:53] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home2/johninja/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15
Re: Error on CRON?
« Reply #7 on: July 26, 2007, 12:21:35 PM »
Seems like this is an older log (from previous rung), try to remove error_log and re-execute it. Do yuo execute is in command line?
Re: Error on CRON?
« Reply #8 on: July 26, 2007, 12:47:11 PM »
I just execute it from the generator crawling tab, for cron I let it auto generate unless you know another way?