PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 04-05-2004, 03:25 AM   #1
unknown
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?
unknown is offline   Reply With Quote
Old 04-10-2004, 02:57 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 04-11-2004, 02:02 AM   #3
unknown
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
a little problem i have, the spider.php hang after some hours (6-15) and i must kill the PID on shell
is it maybe that the spider autorefresh when an time x no working is detecting?
unknown is offline   Reply With Quote
Old 04-11-2004, 01:03 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 04-11-2004, 01:19 PM   #5
unknown
Green Mole
 
Join Date: Apr 2004
Posts: 9
no sorry no inserts in the error-log
unknown is offline   Reply With Quote
Old 04-11-2004, 01:22 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 04-11-2004, 01:32 PM   #7
unknown
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
unknown is offline   Reply With Quote
Old 04-11-2004, 01:37 PM   #8
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 04-11-2004, 01:42 PM   #9
unknown
Green Mole
 
Join Date: Apr 2004
Posts: 9
ok i test it thx for your help
unknown is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search.php suddenly stops parsing during "extract vars" jackmoring Troubleshooting 1 08-25-2006 11:27 AM
Segmentation fault, phpDig 1.8.9 RC1 shockfreezer Bug Tracker 0 05-12-2006 01:46 AM
Segmentation fault (core dumped) GunMuse Bug Tracker 0 02-20-2006 08:59 PM
no msword to txt parsing lolodev External Binaries 13 07-10-2004 02:11 PM
Problems with URL parsing apdejong Troubleshooting 6 11-20-2003 02:35 AM


All times are GMT -8. The time now is 02:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.