Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR al intentar acceder a la consola
#1
Hoy no podia acceder al servidor. Tras reiniciar, al intentar acceder a la consola me sale:

""Cannot connect to the database, please check your database setup in the include/config.php file.

Probably your database, hostname, user or password values are incorrect or the database server is not running.

DB ERROR: No such file or directory
If you have modified auth system, this problem could be because Pandora cannot override authorization variables from the config database. Remove them from your database by executing:
DELETE FROM tconfig WHERE token = "auth";"""

He obtenido las siguientes salidas al intentar arrancar mysql:

[email protected]:~> su
Password:
pandora:/home/artica # (Bcd /
pandora:/ # (B/etc/init.d/mysql status
redirecting to systemctl
mysql.service - LSB: Start the MySQL database server
  Loaded: loaded (/etc/init.d/mysql)
  Active: failed (Result: exit-code) since Thu, 11 Apr 2013 11:18:22 +0000; 13min ago
Process: 1167 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
  CGroup: name=systemd:/system/mysql.service
  ├ 1388 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --use...
  └ 1988 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib...

Apr 11 11:17:47 pandora mysql[1167]: /etc/rc.status: line 57: /dev/stderr: ...ss
Apr 11 11:18:22 pandora mysql[1167]: Starting service MySQL warning: /var/r...ds
Apr 11 11:18:22 pandora mysql[1167]: chmod: cannot access '/var/run/mysql/m...ry
Apr 11 11:18:22 pandora mysql[1167]: ..failed
pandora:/ # (Bhead /srv/www/htdocs/pandora_console/include/config.php
<?php
// Begin of automatic config file
$config["dbname"]="pandora"; // MySQL DataBase name
$config["dbuser"]="pandora"; // DB User
$config["dbpass"]="pandora"; // DB Password
$config["dbhost"]="localhost"; // DB Host
$config["homedir"]="/srv/www/htdocs/pandora_console"; // Config homedir
$config["homeurl"]="/pandora_console"; // Base URL
// End of automatic config file
?><?php
pandora:/ # (Bmysql -upandora -ppandora pandora -h loclahostalhost
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)


Un saludo
 Reply
Messages In This Thread
ERROR al intentar acceder a la consola - by jfcarpi - 04-11-2013, 11:41 AM


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes