Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: CDbConnection failed to open the DB connection

CDbConnection failed to open the DB connection 1 Jahr 4 Wochen her #97522

  • kerry
  • kerrys Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
I have two different Limesurvey applications installed. The first has been running successfully for over a year, the second I successfully installed yesterday, imported surveys into it, and everything seemed to work.

The problem that I'm now having with both is that I am getting this error message: "CDbConnection failed to open the DB connection"

This happened a week ago for the older installation of Limesurvey but I waited a couple of days and it subsequently worked just fine--as it has since it was installed. I did not change anything. I wrote to my server host (Dreamhost) and they sent me their error logs and said it was nothing on their end.

Anyway, the web browser receives the message below. Is this being reported by anyone else with new, successful installs?

Pat


"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein! and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
Der Administrator hat öffentliche Schreibrechte deaktiviert.

CDbConnection failed to open the DB connection 1 Jahr 4 Wochen her #97544

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6207
  • Dank erhalten: 788
  • Karma: 238
Hello,

Error 500: need web server error log.

And : what is your LS version ?

You can try (with the last version)
- rename .htaccess to htacces.text

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

CDbConnection failed to open the DB connection 1 Jahr 4 Wochen her #97551

  • kerry
  • kerrys Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
Denis,
Thanks for responding. fyi, this morning both installations of LS are working. However, either or both could stop working at any time, so I'm going to document this so you know the answer to your questions. Obviously I have not yet tried your suggested solution of changing the htaccess doc name but I will if it happens again.
I hope this helps you.
Pat

LS version from version.php of the most recent installation is:
$config = "2.00+";
$config = 164;
$config = '130611';

I set the error log in config.php to debug and received the attached doc (in pdf: CDbException.pdf) when attempting, but failing, to use the application yesterday.

The version of the older installation of LS for which I have the error logs sent to me by my host (Dreamhost) is:
$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9642';

My report to them and the error log they sent follows. My report begins [To Dreamhost] and their reply begins at [From Dreamhost]:

[To Dreamhost]
I'm getting this error when I try to go to an application I've gone to
hundreds of times at
polls.pacificrime.org/limesurvey/index.php?sid=39819&lang=en:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!
and inform them of the time the error occurred, and anything you might
have done that may have caused the error.

More information about this error may be available in the server error
log.

Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.


Another error I get that's more specific is that this file
(class_mysql.php, located at polls.pacificrime.org/poll/include/)
causes the error at line 34 (see line 34 below):

$this->conn_id =
mysql_connect($this->db.":".$this->port,$this->db,$this->db['pas
s']);


I am at a total loss as to what's happening here. This
directory/subdirectory isn't passworded, I've not changed anything
whatsoever. Is there something happening at Dreamhost?
<<

[From Dreamhost]

Thank you for contacting us. We are not showing any server side issues
and nothing has changed on our end. The domain error logs show the
scripts failing within the application:

root@ironwood:/home/pacrime/logs/polls.pacificrime.org/http# tail -40
error.log
[Tue Jun 25 14:52:39 2013] [error] [client 208.54.5.165] Premature end of
script headers: admin.php
[Tue Jun 25 14:52:39 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 14:56:22 2013] [error] [client 208.54.5.165] Premature end of
script headers: admin.php
[Tue Jun 25 14:56:22 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 14:56:47 2013] [error] [client 208.54.5.165] Premature end of
script headers: admin.php
[Tue Jun 25 14:56:47 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 14:58:39 2013] [error] [client 208.54.5.165] Premature end of
script headers: admin.php
[Tue Jun 25 14:58:39 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:01:36 2013] [error] [client 208.54.5.165] Premature end of
script headers: admin.php
[Tue Jun 25 15:01:36 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:03:06 2013] [error] [client 208.54.5.165] Premature end of
script headers: index.php
[Tue Jun 25 15:03:06 2013] [error] [client 208.54.5.165] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:04:26 2013] [error] [client 67.161.36.6] Premature end of
script headers: admin.php
[Tue Jun 25 15:04:26 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:07:44 2013] [error] [client 67.161.36.6] Premature end of
script headers: index.php, referer:
www.sonoma.edu/ccjs/intern.shtml
[Tue Jun 25 15:07:44 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html, referer:
www.sonoma.edu/ccjs/intern.shtml
[Tue Jun 25 15:08:48 2013] [error] [client 67.161.36.6] Premature end of
script headers: index.php, referer:
www.sonoma.edu/ccjs/intern.shtml
[Tue Jun 25 15:08:48 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html, referer:
www.sonoma.edu/ccjs/intern.shtml
[Tue Jun 25 15:09:12 2013] [error] [client 67.161.36.6] Premature end of
script headers: index.php
[Tue Jun 25 15:09:12 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:09:50 2013] [error] [client 67.161.36.6] Premature end of
script headers: admin.php
[Tue Jun 25 15:09:50 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:31:53 2013] [error] [client 67.161.36.6] Premature end of
script headers: admin.php
[Tue Jun 25 15:31:53 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 15:33:01 2013] [error] [client 67.161.36.6] Premature end of
script headers: admin.php
[Tue Jun 25 15:33:01 2013] [error] [client 67.161.36.6] File does not
exist: /home/pacrime/polls.pacificrime.org/internal_error.html
[Tue Jun 25 20:51:03 2013] [error] [client 12.248.40.138] client denied
by server configuration:
/home/pacrime/polls.pacificrime.org/poll/include/
[Tue Jun 25 20:51:03 2013] [error] [client 12.248.40.138] File does not
exist: /home/pacrime/polls.pacificrime.org/forbidden.html
[Tue Jun 25 21:03:33 2013] [error] [client 12.248.40.138] client denied
by server configuration:
/home/pacrime/polls.pacificrime.org/poll/include/
[Tue Jun 25 21:03:33 2013] [error] [client 12.248.40.138] File does not
exist: /home/pacrime/polls.pacificrime.org/forbidden.html
root@ironwood:/home/pacrime/logs/polls.pacificrime.org/http#

We can not troubleshoot or debug third party software for you. We can
only recommend that you contact the software author as they can help you
with their product.
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

CDbConnection failed to open the DB connection 1 Jahr 3 Wochen her #97559

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6207
  • Dank erhalten: 788
  • Karma: 238
Hello,

Seem really some DB connection error. Unsure here .....
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.170 Sekunden
Donation Image