Broken-pipe (Again)

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Fri Sep 01, 2006 3:41 am    Post subject: Broken-pipe (Again) Reply with quote

G'day all,

Doesn't take long for something to go does it? :P
Server has been up 'n going for about a week now, no issues, everything working well.
I got a message this morning that it wasn't working, no biggie, as usually its some minor thing thats easily fixed.

Checked things out, the IP had been re-assigned, no big problem, just re-direct people to the new IP.
Checked the phpbb forum thats run, and got a HTTP 500 Internal Server Error - Crap.

Went through the logs, and the bloody pipe has broken again.
Nothings changed in the configuration of the server, none of the scripts have changed (There's several that're run - all were fine about 8 hours ago) and I'm left wondering whats going on.
And to make things all the more interesting - phpinfo still loads.

I'm using Abyss 2.3.2 on Win98SE, with the pre-compiled PHP 5.1.4 package from Aprelium (And its been working fine) with PHP setup as a standard CGI interpreter (FastCGI isn't supported on Win98SE) and am using php-cgi.exe.
As per Aprelium's suggestion in my former thread, I tried running php-cgi from a DOS prompt and there weren't any errors there.
(It waited for me to enter information, I tried throwing in a few things, but to no effect, was like a blank text editor - until I hit Ctrl-C to quit)

Any suggestions? As if this's going to be a recurring theme, then it might be time to try 'n squeeze XP Pro onto this old P2. (Haven't got any Win 2000 Server gear handy)

Thanks in advance

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Sep 01, 2006 3:46 am    Post subject: Reply with quote

Try restarting your MySQL server. I believe it could be MySQL that is not
responding and causes PHP to spit out an Error 500.

This could also be a Memory Usage Problem with your Windows 98.
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Fri Sep 01, 2006 4:38 am    Post subject: Reply with quote

G'day,

I've tried re-starting the MySQL server (Its on a different machine to the Abyss server) but to no effect.
I'm going to try re-starting both machines later on - Gotta go to class now.

Thanks for ya help.

Cheers,

Pottsie
_________________
Cheers and Beers


Last edited by Pottsie on Fri Sep 01, 2006 12:13 pm; edited 1 time in total
Back to top View user's profile Send private message
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Fri Sep 01, 2006 12:12 pm    Post subject: **UPDATE** Reply with quote

G'day,

Tried restarting both machines, but to the same effect - Still getting the broken pipe error.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Sep 01, 2006 2:33 pm    Post subject: Reply with quote

Make sure your MySQL is listed in the processes list, if not, you will need to
start it up manually since Windows 98 has no NT Service feature.
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Fri Sep 01, 2006 3:22 pm    Post subject: Reply with quote

G'day,

MySQL Server is actually running on a separate machine (A more public one) and I've verified that its up 'n going, got connectivity etc.
Thanks for ya help, its appreciated.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Sep 01, 2006 4:30 pm    Post subject: Reply with quote

This seems more of a script error than a MySQL error. A MySQL error would give an error related to not being able to connect to the server. A 500 is normally a script error.

Try reinstalling PHP. If that fails try a downgrade or different version. This can often fix issues.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Sep 01, 2006 8:43 pm    Post subject: Reply with quote

I think AbyssUnderground is right. A parse error is usually the cause of this.
Maybe one of your PHP files got corrupted some how.
Back to top View user's profile Send private message Visit poster's website
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Wed Sep 06, 2006 5:40 am    Post subject: Reply with quote

G'day,

An update for you all.
Thanks for your help (Once again) - the issue has been solved for the meantime.
I've moved the whole site onto the MySQL server, and since Apache didn't like a couple of the scripts, I simply installed Abyss, and all is well.

I'm going to get stuck into the old server when I get the time, and eventually move it all back there when its working.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group