Current time: 05-07-2024, 09:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
debian errors
Author Message
redrack Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #1
Question debian errors
Hello i made the installation on debian and when i browse the http://my-srv-ip/ i got this:

Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /var/www/ispcp/gui/include/class.database.php:21 Stack trace: #0 /var/www/ispcp/gui/include/i18n.php(66): Database::getInstance() #1 /var/www/ispcp/gui/include/system-message.php(49): tr('ispCP Error') #2 /var/www/ispcp/gui/include/ispcp-config.php(62): system_message('ERROR: The php-...') #3 /var/www/ispcp/gui/include/sql.php(26): decrypt_db_password('NH9ji5P+Odo=') #4 /var/www/ispcp/gui/include/ispcp-lib.php(54): require_once('/var/www/ispcp/...') #5 /var/www/ispcp/gui/index.php(21): require('/var/www/ispcp/...') #6 {main} thrown in /var/www/ispcp/gui/include/class.database.php on line 21


and on http://my-srv-ip/admin/

i got this:


Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /var/www/ispcp/gui/include/class.database.php:21 Stack trace: #0 /var/www/ispcp/gui/include/i18n.php(66): Database::getInstance() #1 /var/www/ispcp/gui/include/system-message.php(49): tr('ispCP Error') #2 /var/www/ispcp/gui/include/ispcp-config.php(62): system_message('ERROR: The php-...') #3 /var/www/ispcp/gui/include/sql.php(26): decrypt_db_password('NH9ji5P+Odo=') #4 /var/www/ispcp/gui/include/ispcp-lib.php(54): require_once('/var/www/ispcp/...') #5 /var/www/ispcp/gui/admin/index.php(21): require('/var/www/ispcp/...') #6 {main} thrown in /var/www/ispcp/gui/include/class.database.php on line 21


any ideea?
08-07-2008 09:17 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: debian errors
http://www.isp-control.net/documentation...n_this_faq
08-07-2008 09:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
redrack Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #3
RE: debian errors
that is pretty nice , but that does not help me much , i try google and onther things and i can't find a good answer, maybe someone from this forum got same problem and he got the solving commands , so if anyone know , a reply with a good answer will be good welcome.
08-07-2008 09:27 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: debian errors
Boa, read the Link. Without the Informations, we CAN'T Help you!
08-07-2008 09:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
redrack Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #5
RE: debian errors
gOOvER Wrote:Boa, read the Link. Without the Informations, we CAN'T Help you!
right true ,

VPS with Xen , 2 GB RAM 20 GB HDD
Debian 4.0 /32

Fresh Install,
ispcp-omega-1.0.0-rc6

hope this info will help you.
(This post was last modified: 08-07-2008 09:34 PM by redrack.)
08-07-2008 09:33 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: debian errors
Did you follow the guide step by step? When did you download your copy of ispcp? Before or after 10am today?
08-07-2008 09:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
redrack Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #7
RE: debian errors
yes i did, 40-50 minutes ago , dont know that .
08-07-2008 09:39 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #8
RE: debian errors
This tells us normally that either your Database is down or ispCP cannot access it.

Quote:'Exception' with message 'Database error: Not connected to default'
So please test if you can access your db with the user & pw you set for ispCP.
08-07-2008 09:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
redrack Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #9
RE: debian errors
root@server daemon mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
works fine , i set the user root Big Grin is that a problem?

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| ispcp |
| mysql |
+--------------------+
3 rows in set (0.00 sec)

mysql>

Database changed
mysql> show tables;
+---------------------+
| Tables_in_ispcp |
+---------------------+
| admin |
| auto_num |
| config |
| custom_menus |
| domain |
| domain_aliasses |
| domain_traffic |
| email_tpls |
| error_pages |
| ftp_group |
| ftp_users |
| hosting_plans |
| htaccess |
| htaccess_groups |
| htaccess_users |
| lang_EnglishBritain |
| log |
| login |
| mail_users |
| orders |
| orders_settings |
| quotalimits |
| quotatallies |
| reseller_props |
| server_ips |
| server_traffic |
| sql_database |
| sql_user |
| straff_settings |
| subdomain |
| suexec_props |
| tickets |
| user_gui_props |
+---------------------+
33 rows in set (0.00 sec)

mysql>


all mysql info is here , but in ispcp.conf is this password: DATABASE_PASSWORD = NH9ji5P+Odo=


should i change that?
08-07-2008 10:02 PM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #10
RE: debian errors
I got the same error exactly....

i installed a fresh copy of ispcp on a new test server.... rc6

all seemd to go ok, except for the install of the packages, as that command
apt-get install $(cat ./docs/Debian/debian-packages-etch)
ALways crapped out, so i had to manually add some packages....

but now my issue is the same as the guy above, i am using Etc also...

ANy ideas? i had to run the perl ispcp-setup 3 times, so i am wondering if the mysql password got messed up, and the one in the ispcp.conf file is no longer correct....

i tried using /var/www/ispcp/engine/ispcp-db-passwd to reset this but it did not work....

Thanks..
redrack Wrote:root@server daemon mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
works fine , i set the user root Big Grin is that a problem?

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| ispcp |
| mysql |
+--------------------+
3 rows in set (0.00 sec)

mysql>

Database changed
mysql> show tables;
+---------------------+
| Tables_in_ispcp |
+---------------------+
| admin |
| auto_num |
| config |
| custom_menus |
| domain |
| domain_aliasses |
| domain_traffic |
| email_tpls |
| error_pages |
| ftp_group |
| ftp_users |
| hosting_plans |
| htaccess |
| htaccess_groups |
| htaccess_users |
| lang_EnglishBritain |
| log |
| login |
| mail_users |
| orders |
| orders_settings |
| quotalimits |
| quotatallies |
| reseller_props |
| server_ips |
| server_traffic |
| sql_database |
| sql_user |
| straff_settings |
| subdomain |
| suexec_props |
| tickets |
| user_gui_props |
+---------------------+
33 rows in set (0.00 sec)

mysql>


all mysql info is here , but in ispcp.conf is this password: DATABASE_PASSWORD = NH9ji5P+Odo=


should i change that?
08-28-2008 12:20 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)