Bugs » Socket error: [100]

added on May 28, 2009 by Jose
Hi guys, im trying to check the linkbacks to my site and im getting the following errors

Socket error: [100] 0 >= 0 No Suspended

always get the same error in ALL the domains, someone know what it means?

Thanks
added on May 28, 2009 by jim
100 = Network is down

Google knows....

And what that means to you is that PHP scripts may not be allowed to make outside connections on your server. You need
to check the basics first.
added on May 28, 2009 by Jose
How is that possible? that was working in the past... what you means with basics? i re-read the manual , check my conf
and all are OK.
added on May 28, 2009 by Jose
noone?
added on May 28, 2009 by v0id
Hi,

as Jim wrote, 100 means "Network is down", it's a standard error message from the operating system, meaning
that it's not a LinkEX problem, but rather an issue with the network.

If you have shell access to your host, try do a traceroute to the sites. Otherwise try ask your hosting company why it
does not work anymore.

Let me know what you find out :)

v0id
added on May 28, 2009 by Jose
Well, i dont have problem with the shell, i have shell access all traceroutes works, i get the same error in all my
domains, and with all the trades.

I really cant figure whats wrong :S

added on May 28, 2009 by Jose
[28-May-2009 06:50:13] PHP Notice: Undefined variable: perc in /usr/home/www/tradescript/index.php on line 3226
[28-May-2009 06:50:13] PHP Notice: Undefined variable: pr in /usr/home/www/tradescript/index.php on line 3226

the errors that i have into the logs
added on May 29, 2009 by jim
What version are you running? At line 3226 there's nothing to do with "perc", go look at your source. You
might want to download the latest version and install it, make sure you back up linkex/data/ folder just in case...

It looks like your PHP settings on your system won't allow outside network access, but yet you can ping and all that
from a shell?

Do you own the server or is it shared? It's also possible someone got in and modified the code.

You can compare the source you download to the one you have now and see what's going on.

The variables "perc" and "pr" are used in the code so that seems valid but just not near line 3226.

It's possible for you to start clean and then swap the data folder for the one you backed up and see if that works --- I
NEVER TRIED THAT so don't blame me if it screws up, use your own skills, but that's what I would do.

It's probably easier to upgrade to the latest version and see how that goes first.
added on May 29, 2009 by Jose
im running latest version...

I can ping everything from shell, and its an dedicated server, i have full access.


i checked php and look OK too, i really dont understand what happend, will delete all the files, and will start a fresh
install to see what happend.
added on May 30, 2009 by jim
I hope you save some of your traded links before you delete everything.

If you were running the latest version then the database file should be OK and I don't see why it would cause this
problem so maybe just update the script first and see how that goes.

Did you recently change the firewall? Maybe it doesn't allow PHP scripts to access outside stuff.
added on May 30, 2009 by Jose
is strange, i dont make any change in PHP or in firewall, i flush the firewall and sitll get the same error....
added on May 31, 2009 by v0id
hm this sounds really strange.. Can you send me a link to a phpinfo(), perhaps there is something special
configuration.

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.