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-25, 10:19:05

Author Topic: Problems after upgrade to Kloxo MR  (Read 28371 times)

0 Members and 1 Guest are viewing this topic.

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Problems after upgrade to Kloxo MR
« on: 2014-01-10, 09:49:27 »
Hello,

My first post related to errors after upgrade from kloxo offical to kloxo MR.
Code: [Select]
*** Restart services - BEGIN ***
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: /bin/bash: php-fpm: command not found
                                                           [FAILED]
*** Restart services - END ***

As you can see I cannot run mysql -or - PHP

AND one more problem  I can access to Kloxo MR login page but it says no access password is incorrect .

I have tried to change master password but still stuck and I have no chance in fixing this thing.

I tried to read all topics related but no change yet !
« Last Edit: 2014-01-10, 12:15:34 by aneeshtan »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #1 on: 2014-01-10, 09:59:40 »
Inform here 'yum list installed php* mysql* qmail* *-toaster'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #2 on: 2014-01-10, 11:44:02 »
Code: [Select]
Loaded plugins: fastestmirror, priorities, protectbase, replace
Installed Packages
autorespond-toaster.i386                2.0.5-1.4.0                    installed
courier-authlib-toaster.i386            0.59.2-1.3.10                  installed
courier-imap-toaster.i386               4.1.2-1.8.7                    installed
daemontools-toaster.i386                0.76-1.3.6                     installed
ezmlm-toaster.i386                      0.53.324-1.3.6                 installed
libdomainkeys-toaster.i386              0.68-1.3.3                     installed
libsrs2-toaster.i386                    1.0.18-1.3.6                   installed
maildrop-toaster.i386                   2.0.3-1.3.8                    installed
php.i686                                5.2.17-37.el5                  installed
php-bcmath.i686                         5.2.17-37.el5                  installed
php-cli.i686                            5.2.17-37.el5                  installed
php-common.i686                         5.2.17-37.el5                  installed
php-devel.i686                          5.2.17-37.el5                  installed
php-fpm.i686                            5.2.17-37.el5                  installed
php-gd.i686                             5.2.17-37.el5                  installed
php-imap.i686                           5.2.17-37.el5                  installed
php-mbstring.i686                       5.2.17-37.el5                  installed
php-mcrypt.i686                         5.2.17-37.el5                  installed
php-mysql.i686                          5.2.17-37.el5                  installed
php-pdo.i686                            5.2.17-37.el5                  installed
php-pear.noarch                         1:1.9.1-1.el5                  installed
php-pecl-geoip.i386                     1.0.8-3.el5                    installed
php-pecl-imagick.i386                   2.2.1-3.el5                    installed
php-pgsql.i686                          5.2.17-37.el5                  installed
php-xcache.i386                         1:5.2.17-1.3.2.el5             installed
php-xml.i686                            5.2.17-37.el5                  installed
php52s.i386                             5.2.17-10.mr.el5               installed
qmail.i386                              1.03-1.5.15                    installed
ripmime-toaster.i386                    1.4.0.6-1.3.6                  installed
ucspi-tcp-toaster.i386                  0.88-1.3.9                     installed

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #3 on: 2014-01-10, 11:49:41 »
Try update Kloxo-MR with 'yum clean all; yum update kloxomr' and then run 'sh /script/disable-mysql-aio'. MySQL 5.5 latest version have a trouble if running in OpenVZ VPS.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #4 on: 2014-01-10, 12:06:25 »
Still mysql-php- not working . 

Here is what I got when I ran /script/fix-all
Code: [Select]
[root@199960 ~]# /script/fix-all

- For help, type '/script/fixdns --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config

- For help, type '/script/fixphp --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing php.ini

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
PHP Warning:  PHP Startup: geoip: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

Warning: PHP Startup: geoip: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

- For help, type '/script/fixftpuser --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing FTP User

Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
chown: cannot access `/home/vpopmail/bin/vchkpw': No such file or directory
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
chmod: cannot access `/home/vpopmail/bin/vchkpw': No such file or directory
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-lxcenter - fix '/home/lxadmin/mail/etc/vpopmail.mysql'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib
/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib
/mysql/mysql.sock' (2)
--------------------------
--------------------------

- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Mail accounts (also 'lists' if exists)
--------------------------
Preparing Horde database
- Fix MySQL commands in import files of Horde
cp: cannot stat `/home/kloxo/httpd/webmail/horde/scripts/sql/horde_groupware.mys
ql.sql': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/horde/config/horde_conf.php': No such
 file or directory
- Generating password
- Add password to configuration file
Could not grant privileges. Script Aborted

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #5 on: 2014-01-10, 13:25:48 »
if I can't solve these problems at least please tell me I can go back to official Kloxo and same old mysql and php version
One more thing mysql.sock doesn't exists in var/lib/mysql/ folder
« Last Edit: 2014-01-10, 14:07:44 by aneeshtan »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #6 on: 2014-01-10, 14:35:54 »
If not exist, try 'mksock /var/lib/mysql/mysql.sock'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #7 on: 2014-01-10, 14:56:40 »
i changed the dir to tmp/ in my.cnf and now i have mysql service running

but what about php ? how can I solve this one ?
Code: [Select]
[root@199960 ~]#  /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: /bin/bash: php-fpm: command not found
                                                           [FAILED]

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #8 on: 2014-01-10, 14:58:59 »
Where is httpd (Apache) ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #9 on: 2014-01-10, 15:46:27 »
Go to 'switch program' and 'php config' and 'webserver config' to configure your KLoxo-MR.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #10 on: 2014-01-10, 15:55:47 »
Oh Please !!!  I said I can't login to kloxo because it says Alert: Login Unsuccessful

I tried to reset the password but it says :
Quote
Notice : The resource you have requested doesn't exist. The server returned the
error message: <br>  not_admin_cannot_modify_general   <br>

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #11 on: 2014-01-10, 16:01:30 »
Oh Please !!!  I said I can't login to kloxo because it says Alert: Login Unsuccessful

I tried to reset the password but it says :
Quote
Notice : The resource you have requested doesn't exist. The server returned the
error message: <br>  not_admin_cannot_modify_general   <br>


Try this:
Code: [Select]
yum clean all
yum update kloxomr -y
qmailctl stop

# need force install again
sh /script/upcp -y
reboot
« Last Edit: 2014-01-10, 16:37:16 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #12 on: 2014-01-10, 16:57:57 »
problem with php_fpm and mysql is solved but still can't login to kloxo mr admin

Alert: Login Unsuccessful


and still error message: <br>  not_admin_cannot_modify_general   <br> when I want to change the password


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrade to Kloxo MR
« Reply #13 on: 2014-01-10, 17:04:44 »
Try:
Code: [Select]
sh /script/reset-mysql-root-password YOURMYSQLROOTPASSWORD
sh /script/resetpassword master YOURKLOXOMRPASSWORD
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrade to Kloxo MR
« Reply #14 on: 2014-01-10, 17:48:35 »
Code: [Select]
[root@199960 ~]# sh /script/resetpassword master test
Notice : The resource you have requested doesn't exist. The ser
error message: <br>  not_admin_cannot_modify_general   <br>

As you see I can't change the master password for kloxo login page

Still I get this error on login page :

Alert: Login Unsuccessful

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.068 seconds with 21 queries.

web stats analysis