Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2008
Posts: 16
T
stranger
stranger
T Offline
Joined: Oct 2008
Posts: 16
I am running UBB.classicâ„¢ 6.7.3

Suddenly today I got this error:

Script:
Line#:
SQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Please verify that your MySQL server is running
SQL Error #: 2002
Query: Unable to connect to the database!

Going to the backend I got this error:

StandardHTML stack trace:
at /home/cluster1/data/h/s/a1332841/html/ubb/Templates/cp2_common.pl line 96

main::StandardHTML called at /home/cluster1/data/h/s/a1332841/html/ubb/Templates/cp2_common.pl line 131

main::StandardHTML2() called at /home/cluster1/data/h/s/a1332841/cgi-bin/cp2_lib.cgi line 756

main::CatchException() called at cp.cgi line 492

main::__ANON__() called at Modules/Error.pm line 303

eval {...} called at Modules/Error.pm line 294

Error::subs::run_clauses() called at Modules/Error.pm line 386

Error::subs::try() called at cp.cgi line 493


Extra information:

Can't EXlock '/home/cluster1/data/h/s/a1332841/html/ubb/cache-ZPKTTRJB/lock/global.cgi'.

The operating system has run out of file locks to give me.

Please ask the administrator to contact the web hosting provider.

The exact error returned by the operating system is:
No locks available


The hosting company has no idea what is wrong, and neither do I.

For weeks we had been getting a sporadic error:

"No input file specified."

Any help on where to start or what to tell the hosting company?

Thanks.

Oh, the site is http://www.belizeforum.com

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
From the error it looks like possible the MySQL server isn't running since the error is stating that it can't connect to it. I'd have them verify that it's running and that it's accepting connections.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Also if you are having a MYSQL issue. This is not a classic version. Classic is a flat file system without the use of MYSQL.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2008
Posts: 16
T
stranger
stranger
T Offline
Joined: Oct 2008
Posts: 16
Sorry, I am running 7.3.1.

The problem was that the config file got overwritten to 0 bytes. Not sure how that could have happened as no one was working in the forum backend at the time. Once I restored the config file all was ok.

But we are still getting the sporadic:

"No input file specified."

Any idea what that might be?

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
There was a issue with older versions like yours. Depends on what feature was used to generate the error but I recall it was a simple fix that a field was missing on the form tags.
If the error occurs on just browsing the forums not posting something. You may want to open a support ticket.

As far as the config file going to 0 bytes. I would suppect that is a issue with your host provider. So you may want to keep a current backup to re-upload if it happens again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
And this topic does not belong here.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2008
Posts: 16
T
stranger
stranger
T Offline
Joined: Oct 2008
Posts: 16
well, wasn't sure if it was a bug or something easy that I was overlooking ... where should it go? I am sure an admin will move it.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
This topic is already moved.
Thanks to Gizmo.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
You're running threads, why even bother going to the old UBB control panel?

Quote
Script:
Line#:
SQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Please verify that your MySQL server is running
SQL Error #: 2002
Query: Unable to connect to the database!

This is your UBB threads having a problem connecting to your MySQL, which, as you determined was a 0 byte config file.

Quote
Going to the backend I got this error:

StandardHTML stack trace:
at /home/cluster1/data/h/s/a1332841/html/ubb/Templates/cp2_common.pl line 96

main::StandardHTML called at /home/cluster1/data/h/s/a1332841/html/ubb/Templates/cp2_common.pl line 131

main::StandardHTML2() called at /home/cluster1/data/h/s/a1332841/cgi-bin/cp2_lib.cgi line 756

main::CatchException() called at cp.cgi line 492

main::__ANON__() called at Modules/Error.pm line 303

eval {...} called at Modules/Error.pm line 294

Error::subs::run_clauses() called at Modules/Error.pm line 386

Error::subs::try() called at cp.cgi line 493


Extra information:

Can't EXlock '/home/cluster1/data/h/s/a1332841/html/ubb/cache-ZPKTTRJB/lock/global.cgi'.

The operating system has run out of file locks to give me.

Please ask the administrator to contact the web hosting provider.

The exact error returned by the operating system is:
No locks available

This is the backend to an entirely different software package, UBB.classic. They have nothing to do with each other in any way.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,018 guests, and 215 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)