MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: XManager on 2014-01-23, 12:10:17
-
Hello, i have problem with kloxo-mr
I was installing on centos 6.5
Installed, got some errors for qmail
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
Got it somehow to ignore that, after that i try to login into admin with admin/admin says password incorrect
Tried sh /script/resetpassword master <newpassword>
its doing it without error
I get blank page now on my serverip:7778
Solutions??
Spening over 12 hours to do this.
-
What's steps to follow for installing?.
-
https://github.com/mustafaramadhan/kloxo/blob/release/how-to-install.txt
-
Inform here 'sh /script/sysinfo'.
-
[root@server ~]# sh /script/sysinfo
[root@server ~]#
-
Try reinstall with:
yum clean all
yum update
sh /script/upcp -y
-
Run 'sh /script/restart-all' to make sure all services running well
[root@server ~]# sh /script/restart-all
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
Stopping kloxo-phpcgi: [FAILED]
Starting kloxo-phpcgi: [ OK ]
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
Stopping kloxo-hiawatha: supervise: fatal: unable to start pop3/run: file does n ot exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
[ OK ]
Starting kloxo-hiawatha: multilog: fatal: unable to lock directory /var/log/qmai l/clamd: access denied
[ OK ]
Stopping php-fpm: [ OK ]
Starting php-fpm: [23-Jan-2014 06:50:52] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - libm ysqlclient.so.16: cannot open shared object file: No such file or directory in U nknown on line 0
[23-Jan-2014 06:50:52] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Jan-2014 06:50:52] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so. 16: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Jan-2014 06:50:52] NOTICE: PHP message: PHP Deprecated: Comments starting w ith '#' are deprecated in Unknown on line 1 in Unknown on line 0
[ OK ]
[root@server ~]# supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
[root@server ~]# supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
-
Try: reboot first and then
rm -f /etc/rc.d/init.d/qmail
sh /script/upcp -y
-
Again
[root@Enisin ~]# sh /script/cleanup
Loaded plugins: fastestmirror, priorities, protectbase
Loading mirror speeds from cached hostfile
* base: mirror.muntinternet.net
* extras: ftp.nluug.nl
* mratwork-epel: mirror.muntinternet.net
* mratwork-ius: ius.cu.be
* updates: mirror.muntinternet.net
23 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
*** Restart services - BEGIN ***
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
Stopping kloxo-phpcgi: supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
[FAILED]
Starting kloxo-phpcgi: [ OK ]
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
Stopping kloxo-hiawatha: supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
[ OK ]
Starting kloxo-hiawatha: supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
[ OK ]
Stopping php-fpm: [ OK ]
Starting php-fpm: [23-Jan-2014 07:12:08] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Jan-2014 07:12:08] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Jan-2014 07:12:08] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Jan-2014 07:12:08] NOTICE: PHP message: PHP Deprecated: Comments starting with '#' are deprecated in Unknown on line 1 in Unknown on line 0
[ OK ]
*** Restart services - END ***
Process Time: 00:00:00:11.11071 (dd:hh:mm:ss:xxxxxx)
[root@Enisin ~]# supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
multilog: fatal: unable to lock directory /var/log/qmail/clamd: access denied
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start pop3/run: file does not exist
supervise: fatal: unable to start authlib/run: file does not exist
-
BTW, what's step you follow?. For new/fresh install, just enough follow step B.2.
Also, please no other repos except CentOS*.repo (possible many repo with 'CentOS' prefix) and mratwork/kloxo-mr.repo. If you have other repos, rename to *.nonrepo first.
Better reinstall your OS and then KLoxo-MR.
-
Ok got it, now i cant access my mail via mail.domain.com
or webmail.domain.com, its giving me default kloxo page?
-
Also, what web server do you prefered and what dns you prefered, i have being tried nsd and i get message nsd not ready to use
-
If you found 'nsd not ready to use' that mean this feature not ready in Kloxo-MR version. This feature designed for next version.
For your issue:
1. check your domain in intodns.com
2. try run 'sh /script/restart-all'. If you found error message that mean something wrong.
-
Okay, now i cannot reset my password via
sh /script/resetpassword master <newpassword>
-
Also, no errors where giving by
sh /script/restart-all
-
Can you give what's information from 'sh /script/sysinfo; sh /script/fix-all; sh /script/restart-all'.
You can save information to will like 'sh /script/sysinfo > /tmp/sysinfo.txt'.
-
Here is, sysinfo is in attachment.
sh /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
- 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
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
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)
--------------------------
Horde webmail no exists
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
Process Time: 00:00:00:03.3770 (dd:hh:mm:ss:xxxxxx)
sh /script/restart-all
Stopping mysqld: [ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone enisin.com/IN: NS 'pv1.domin.com' has no address records (A or AAAA)
zone enisin.com/IN: NS 'pv2.domain.com' has no address records (A or AAAA)
zone enisin.com/IN: not loaded due to errors.
_default/enisin.com/IN: bad zone
zone shopstyleicon.com/IN: loaded serial 2014012301
[FAILED]
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using x.x.x.x for ServerName
[ 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: [ OK ]
Starting php-fpm: [ OK ]
-
There are still wrong in 'named' and 'httpd'.
For 'named', check your domain dns in intodns.com. For httpd, inform here 'hostname -f; hostname -s; cat /etc/hosts'.
-
I check on intodns and i get only error
SOA Serial Your SOA serial number is: 2014231755. This can be ok if you know what you are doing.
For httpd:
# hostname -f; hostname -s; cat /etc/hosts
Enisin-2
Enisin-2
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
### begin - add by Kloxo-MR
x.x.x.x Enisin-2 Enisin-2
### end - add by Kloxo-MR
-
Your hostname is wrong. It's must in FQDN (full qualified domain name) like 'server.domain.com' instead 'server'. Use hostname based on your primary/main domain.
So, change hostname in your VPS panel, reboot your VPS and then running 'sh /script/cleanup'.
Also read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/%28tip%29-how-to-setup-qmail-on-kloxo-mr/
-
sh /script/cleanup why is mysql doesnt want to start
I run hostname now its
Stopping mysqld: [ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
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: [ OK ]
Starting php-fpm: [ OK ]
*** Restart services - END ***
Fixing Web server config
[root@server ~]# sh /script/convert-to-qmailtoaster
Mail server already use qmail-toaster
[root@server ~]# Mysql password reset
-bash: Mysql: command not found
[root@server ~]# sh /script/fix-chownchmod; sh /script/fixmail-all
- For help, type '/script/fix-chownchmod --help'
- No argument supplied. Defaulting to all
Fixing Chown and Chmod
Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
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)
--------------------------
Horde webmail no exists
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
-
So, something wrong with your mysql.
Inform here /etc/my.sql and attach your /var/log/mysql.log. If mysql.log so big, just enough 10 lines of content of mysql.log.
-
[root@server ~]# cat /etc/my.sql
cat: /etc/my.sql: No such file or directory
[root@server ~]# cat /etc/my.sql
cat: /etc/my.sql: No such file or directory
[root@server ~]# cat /var/log/mysql.log
cat: /var/log/mysql.log: No such file or directory
[root@server ~]#
-
Sorry, I mean /etc/my.cnf and /var/log/mysqld.log
-
# cat /etc/my.cnf
[mysqld]
#OpenVZ AIO bug fix
innodb_use_native_aio=0
# Settings user and group are ignored when systemd is used (fedora >= 15).
# If you need to run mysqld under different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
user=mysql
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Semisynchronous Replication
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
# uncomment next line on MASTER
;plugin-load=rpl_semi_sync_master=semisync_master.so
# uncomment next line on SLAVE
;plugin-load=rpl_semi_sync_slave=semisync_slave.so
# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1
# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
;performance_schema
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Log in attachment.
-
Sorry wrong log.
-
Try add 'innodb_force_recovery = 2' under '[mysqld]' and try restart. If mysql running after restart that mean your certain database(s) are corrupt where this certain database(s) using innodb as storage-engine.
-
# service mysqld restart
Stopping mysqld: [ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
-
Try change 'innodb_force_recovery = 2' to 'innodb_force_recovery = 4'.
-
Again.
-
Again.
same message
-
Inform here 'yum list installed mysql*'.
-
# yum list installed mysql*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.muntinternet.net
* extras: mirror.1000mbps.com
* mratwork-epel: mirror.muntinternet.net
* mratwork-ius: mirrors.ircam.fr
* updates: centos.mirror1.spango.com
0 packages excluded due to repository protections
Installed Packages
mysql.x86_64 5.5.34-1.el6 @mratwork-centalt
mysql-libs.x86_64 5.5.34-1.el6 @mratwork-centalt
mysql-server.x86_64 5.5.34-1.el6 @mratwork-centalt
mysqlclient16.x86_64 5.1.61-4.ius.el6 @mratwork-ius
-
From log file, look like something wrong with innodb.
Try remove 'innodb_force_recovery = 2' and add 'skip-innodb' under '[mysqld]'. Inform here again your /etc/my.cnf.
-
[mysqld]
skip-innodb
#OpenVZ AIO bug fix
innodb_use_native_aio=0
# Settings user and group are ignored when systemd is used (fedora >= 15).
# If you need to run mysqld under different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
user=mysql
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Semisynchronous Replication
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
# uncomment next line on MASTER
;plugin-load=rpl_semi_sync_master=semisync_master.so
# uncomment next line on SLAVE
;plugin-load=rpl_semi_sync_slave=semisync_slave.so
# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1
# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
;performance_schema
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
-
Anyone?
-
Did you restart mysql after add 'skip-innodb'?.
-
Yes and its goes failed.
I think the server doesnt have ram to start the mysql, now httpd down went down, when i try i get unknow service
-
Kloxo-MR able in VPS with 128MB RAM. But, in OpenVZ, sometimes have weird behaviour.
To know how much RAM, run 'sh /script/sysinfo' or 'free -m'.
-
Upgraded to 1 GB
Memory:
total used free shared buffers cached
Mem: 996 717 279 0 10 283
-/+ buffers/cache: 422 573
Swap: 0 0 0