|
04-05-2004, 04:25 AM | #1 |
Green Mole
Join Date: Apr 2004
Posts: 9
|
Segmentation Fault / errors parsing
hello,
i have an problem when i start phpdig from the command line then i get two errors when i start from root with "php -f /home/domain/www/admin/spider.php -all" then i get an error "Errors parsing /home/domain/www/admin/spider.php" when i now change to directory /home/domain/www/admin/ and start with "php -f spider.php -all" the errormessage is "Segmentation Fault" have someone an fix for this problem? |
04-10-2004, 03:57 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Not sure this is specific to PhpDig. Perhaps this thread might help.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-11-2004, 03:02 AM | #3 |
Green Mole
Join Date: Apr 2004
Posts: 9
|
i have fix the problem with an little script
insert this im /etc/cron.weekly Code:
#!/bin/bash cd /full/path/to/phpdig_admin ./cronspider insert this as cronspider (chown 755) in /full/path/to/phpdig_admin Code:
/path/to/php/php -f spider.php all >> /var/log/spider.log is it maybe that the spider autorefresh when an time x no working is detecting? |
04-11-2004, 02:03 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Not sure about the hang thing. Is there anything showing in your error logs?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-11-2004, 02:19 PM | #5 |
Green Mole
Join Date: Apr 2004
Posts: 9
|
no sorry no inserts in the error-log
|
04-11-2004, 02:22 PM | #6 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. When you tail -f spider.log do entries keep appearing in the spider.log or what happens?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-11-2004, 02:32 PM | #7 |
Green Mole
Join Date: Apr 2004
Posts: 9
|
in the spider.log insert the uri's where spider, when the spider.php hang up no more inserts and no error-insert in the spider.log... and after some hours (i have wait up to 12 hours) whitout an insert in spider.log i kill the prozess
|
04-11-2004, 02:37 PM | #8 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Try uncommenting //print $answer."<br>\n"; in the robot_functions.php file and maybe this output on next index will give a clue.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-11-2004, 02:42 PM | #9 |
Green Mole
Join Date: Apr 2004
Posts: 9
|
ok i test it thx for your help
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
search.php suddenly stops parsing during "extract vars" | jackmoring | Troubleshooting | 1 | 08-25-2006 12:27 PM |
Segmentation fault, phpDig 1.8.9 RC1 | shockfreezer | Bug Tracker | 0 | 05-12-2006 02:46 AM |
Segmentation fault (core dumped) | GunMuse | Bug Tracker | 0 | 02-20-2006 09:59 PM |
no msword to txt parsing | lolodev | External Binaries | 13 | 07-10-2004 03:11 PM |
Problems with URL parsing | apdejong | Troubleshooting | 6 | 11-20-2003 03:35 AM |