XML Sitemaps Generator

Author Topic: Run from Cron Issues  (Read 23395 times)

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Run from Cron Issues
« on: July 18, 2006, 02:27:57 PM »
Hello,

I think everything is setup and working well... Google sitemaps likes my sitemap.xml. Just one thing that i am not sure about. I have set up a cron to automatically run the script once per week and it get the below errors.

Below is part of the email that my server sends me when it completes...the warnings go on and on and on...  also I guess the cookie expires 19 NOV 1981 and resuming the last update: 1969-12-31. Should I worry about the dates? (When I run it from the webpage, I don't see these warnings anywhere.)  Should I worry about the warnings?

Cron Daemon wrote:

X-Powered-By: PHP/4.4.1
Set-Cookie: PHPSESSID=cc480da817d07fc809dff75105c62a6f; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html

<html>
<head>
<title>XML Sitemaps - Generation</title>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-15" />
<link rel=stylesheet type="text/css" href="pages/style.css">
</head>
<body>
Resuming the last session (last updated: 1969-12-31 18:00:00)1 | 3 | 4.9 | 0:04 | 0:12 | 1 | - | 1 | 0 | 0
20 | 42 | 104.3 | 0:07 | 0:16 | 2 | - | 20 | 55 | 0
40 | 22 | 203.4 | 0:11 | 0:06 | 2 | - | 40 | 85 | 0
60 | 2 | 308.3 | 0:15 | 0:00 | 2 | - | 60 | 198 | 0
80 | 177 | 408.4 | 0:19 | 0:42 | 3 | - | 80 | 47 | 0
100 | 157 | 508.8 | 0:23 | 0:36 | 3 | - | 100 | 83 | 0
120 | 137 | 608.6 | 0:27 | 0:31 | 3 | - | 120 | 116 | 0
140 | 117 | 708.2 | 0:31 | 0:26 | 3 | - | 140 | 144 | 0
160 | 97 | 807.9 | 0:35 | 0:21 | 3 | - | 160 | 178 | 0
180 | 77 | 907.4 | 0:39 | 0:17 | 3 | - | 180 | 203 | 0
200 | 57 | 1,006.9 | 0:44 | 0:12 | 3 | - | 200 | 228 | 0
220 | 37 | 1,106.2 | 0:49 | 0:08 | 3 | - | 220 | 250 | 0
240 | 17 | 1,206.0 | 0:53 | 0:03 | 3 | - | 240 | 277 | 0
260 | 254 | 1,309.0 | 0:58 | 0:57 | 4 | - | 260 | 7 | 0
280 | 234 | 1,447.8 | 1:01 | 0:51 | 4 | - | 280 | 57 | 0
300 | 214 | 1,587.4 | 1:04 | 0:46 | 4 | - | 300 | 99 | 0
320 | 194 | 1,723.7 | 1:07 | 0:41 | 4 | - | 320 | 148 | 0
340 | 174 | 1,857.4 | 1:10 | 0:36 | 4 | - | 340 | 193 | 0
360 | 154 | 1,986.0 | 1:13 | 0:31 | 4 | - | 360 | 249 | 0
380 | 134 | 2,121.0 | 1:16 | 0:26 | 4 | - | 380 | 307 | 0
400 | 114 | 2,250.4 | 1:19 | 0:22 | 4 | - | 400 | 347 | 0
420 | 94 | 2,406.0 | 1:23 | 0:18 | 4 | - | 420 | 406 | 0
440 | 74 | 2,544.5 | 1:26 | 0:14 | 4 | - | 440 | 458 | 0
460 | 54 | 2,699.3 | 1:30 | 0:10 | 4 | - | 460 | 517 | 0
480 | 34 | 2,841.7 | 1:34 | 0:06 | 4 | - | 480 | 571 | 0
500 | 14 | 3,000.6 | 1:37 | 0:02 | 4 | - | 500 | 625 | 0
520 | 374 | 3,130.7 | 1:40 | 1:12 | 5 | - | 520 | 14 | 0
540 | 354 | 3,285.0 | 1:44 | 1:08 | 5 | - | 540 | 44 | 0
560 | 334 | 3,438.6 | 1:47 | 1:04 | 5 | - | 560 | 76 | 0
580 | 314 | 3,574.1 | 1:50 | 1:00 | 5 | - | 580 | 107 | 0
600 | 294 | 3,732.1 | 1:53 | 0:55 | 5 | - | 600 | 140 | 0
620 | 274 | 3,866.6 | 1:56 | 0:51 | 5 | - | 620 | 177 | 0
640 | 254 | 3,996.9 | 1:59 | 0:47 | 5 | - | 640 | 210 | 0
660 | 234 | 4,139.3 | 2:02 | 0:43 | 5 | - | 660 | 243 | 0
680 | 214 | 4,271.2 | 2:06 | 0:39 | 5 | - | 680 | 281 | 0
700 | 194 | 4,443.3 | 2:09 | 0:35 | 5 | - | 700 | 312 | 0
720 | 174 | 4,597.6 | 2:13 | 0:32 | 5 | - | 720 | 340 | 0
740 | 154 | 4,728.8 | 2:18 | 0:28 | 5 | - | 740 | 371 | 0
760 | 134 | 4,885.1 | 2:21 | 0:25 | 5 | - | 760 | 400 | 0
780 | 114 | 5,036.1 | 2:25 | 0:21 | 5 | - | 780 | 431 | 0
800 | 94 | 5,203.0 | 2:30 | 0:17 | 5 | - | 800 | 456 | 0
820 | 74 | 5,353.5 | 2:34 | 0:13 | 5 | - | 820 | 486 | 0
840 | 54 | 5,489.6 | 2:38 | 0:10 | 5 | - | 840 | 516 | 0
860 | 34 | 5,664.7 | 2:43 | 0:06 | 5 | - | 860 | 543 | 0
880 | 14 | 5,806.8 | 2:47 | 0:02 | 5 | - | 880 | 572 | 0
894 | 0 | 5,900.0 | 2:49 | 0:00 | 6 | - | 894 | 0 | 0
<h4>Completed</h4>Total pages indexed: 894<br>Calculating changelog...<br />
<b>Warning</b>:  fopen(/home/texas/public_html/generator/data/urllist.txt): failed to open stream: Permission denied in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>111</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/texas/public_html/generator/pages/class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code</b> on line <b>166</b><br />

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Run from Cron Issues
« Reply #1 on: July 18, 2006, 10:05:37 PM »
Hello,

make sure that you have set the following permissions:
data/ folder - 0777
all files inside data/ folder - 0666
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Run from Cron Issues
« Reply #2 on: July 18, 2006, 11:49:43 PM »
Hello,

The data folder was 777 ... I changed the sitemap.xml file to 666 in the /data folder but the other files are not letting me change them.

The other files are the .log & .proc files ... plus the urllist.txt, sitemap.html.

The error returned is:
550 Could not change perms on 2006-07-14 08-02-53.proc: Bad file descriptor or similar for each of the other files.

Any ideas?

Thanks
Randy

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Run from Cron Issues
« Reply #3 on: July 20, 2006, 01:01:01 AM »
Hello Randy,

this sometimes happens when hosting config is changed (userids are changed in the filesystem) - you should eitehr modify file permissions with root user or try just to remove these files instead of changing the permissions.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2