Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 13:25:44

Author Topic: Could not open database connection after upgrade  (Read 6195 times)

0 Members and 1 Guest are viewing this topic.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Could not open database connection after upgrade
« on: 2013-04-07, 14:19:52 »
I tried to upgrade from v6.5.0.c.2013031301 to final version by below steps:
Code: [Select]
# cd /etc/yum.repos.d/
# wget https://github.com/mustafaramadhan/kloxo/raw/release/kloxo-mr.repo --no-check-certificate
# cd /
# yum install kloxomr
# sh /usr/local/lxlabs/kloxo/install/setup.sh
Then I tried to run 'sh /script/cleanup' but it stops in this part:
Code: [Select]
Preparing RoundCube database
- Mysql root password incorrect
(In this step I had able access to Kloxo-MR panel)

Then I retry 'sh /usr/local/lxlabs/kloxo/install/setup.sh'
Now when I try 'sh /script/cleanup' or access to Kloxo-MR panel bellow error appeared:
Code: [Select]
Could not open database connection.Also I have tried bellows:
Code: [Select]
# sh /script/reset-mysql-root-password xxxxxxxx
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
Password unsuccessfully reset
Code: [Select]
# sh /script/fix-program-mysql xxxxxxxx
grant all on kloxo.* to kloxo@localhost identified by 'xxxxxxxxxx'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Could not open database connection after upgrade
« Reply #1 on: 2013-04-07, 14:39:43 »
If you have a problem with access to webmail, use 'sh /script/fixmail-all' instead other script.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Could not open database connection after upgrade
« Reply #2 on: 2013-04-07, 14:44:01 »
Quote from: "MRatWork"
If you have a problem with access to webmail, use 'sh /script/fixmail-all' instead other script.
I hve problem with access to kloxo-mr panel and all with "Could not open database connection." error!
Code: [Select]
# sh /script/fixmail-all
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Could not open database connection.Could not open database connection.[root ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Could not open database connection after upgrade
« Reply #3 on: 2013-04-07, 15:56:13 »
Emergency:

Until you find solution of this issue and I get access to kloxo-mr control panel again, If possible please give SSH code suggestion instead this instruction for solve 500 Internal Server Error on secondary php after every kloxo-mr upgrade.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.067 seconds with 18 queries.

web stats analysis