Socket Errors

Back to PHP-IRC Support

Page: 1  
From User Message Body
Sneo
Post #554
Member
Date: 3:31 pm, Jul 7 2007
Posts: 2


Hi, I was using PHPirc on windows and then moved over to linux, i've installed php5 and what not and no problems loading it, but the bot won't connect to the server, all i get is socket errors, can anyone ehlp me? I'm running Ubuntu. The output is:

sean@sean-desktop:~/Desktop/PHPirc$ php bot.php bot.conf
Rehashing Function File, please wait...
Successfully loaded 31 functions into memory.
Socket Opened: 25
[04:27:10] (GameBot@irc.jaundies.com) > STATUS: Connecting to server...
Marking socket dead: 25
Killing socket: 25
Closed socket: 25
[04:27:10] (GameBot@irc.jaundies.com) > STATUS: Error
[04:27:10] (GameBot@irc.jaundies.com) > Error: Could not connect: [115]:Operation now in progress
Socket Opened: 26
[04:28:10] (GameBot@irc.jaundies.com) > STATUS: Connecting to server...
Marking socket dead: 26
Killing socket: 26
Closed socket: 26
[04:28:10] (GameBot@irc.jaundies.com) > STATUS: Error
[04:28:10] (GameBot@irc.jaundies.com) > Error: Could not connect: [115]:Operation now in progress
Socket Opened: 27
[04:29:10] (GameBot@irc.jaundies.com) > STATUS: Connecting to server...
Marking socket dead: 27
Killing socket: 27
Closed socket: 27
[04:29:10] (GameBot@irc.jaundies.com) > STATUS: Error
[04:29:10] (GameBot@irc.jaundies.com) > Error: Could not connect: [115]:Operation now in progress
Socket Opened: 28
[04:30:10] (GameBot@irc.jaundies.com) > STATUS: Connecting to server...
Marking socket dead: 28
Killing socket: 28
Closed socket: 28
[04:30:10] (GameBot@irc.jaundies.com) > STATUS: Error
[04:30:10] (GameBot@irc.jaundies.com) > Error: Could not connect: [115]:Operation now in progress


Mad_Clog
Post #558 - Reply to (#554) by Sneo
user avatar
Member
Date: 7:22 am, Jul 9 2007
Posts: 176


Did you change OS in defines.php?
Most likely this is still set to windows
Code
define('OS', 'windows');

Change this to the appropriate OS and things should work again.

   

Back to PHP-IRC Support