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

Title: Problems with installing
Post 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

Code: [Select]
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
Code: [Select]
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.
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-23, 12:26:16
What's steps to follow for installing?.
Title: Re: Problems with installing
Post by: XManager on 2014-01-23, 12:29:01
https://github.com/mustafaramadhan/kloxo/blob/release/how-to-install.txt
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-23, 12:32:16
Inform here 'sh /script/sysinfo'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-23, 12:38:58
[root@server ~]# sh /script/sysinfo






[root@server ~]#
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-23, 12:45:31
Try reinstall with:

Code: [Select]
yum clean all
yum update
sh /script/upcp -y
Title: Re: Problems with installing
Post by: XManager on 2014-01-23, 12:53:43
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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-23, 13:04:24
Try: reboot first and then

Code: [Select]
rm -f /etc/rc.d/init.d/qmail
sh /script/upcp -y
Title: Re: Problems with installing
Post by: XManager on 2014-01-23, 13:15:02
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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-23, 14:19:05
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.
Title: Re: Problems with installing
Post by: XManager on 2014-01-25, 13:02:07
Ok got it, now i cant access my mail via mail.domain.com
or webmail.domain.com, its giving me default kloxo page?
Title: Re: Problems with installing
Post by: XManager on 2014-01-25, 13:11:25
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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-25, 13:35:37
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.
Title: Re: Problems with installing
Post by: XManager on 2014-01-25, 15:41:12
Okay, now i cannot reset my password via

sh /script/resetpassword master <newpassword>
Title: Re: Problems with installing
Post by: XManager on 2014-01-25, 15:41:39
Also, no errors where giving by
sh /script/restart-all
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-25, 15:55:50
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'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-25, 16:47:17
Here is, sysinfo is in attachment.
sh /script/fix-all
Code: [Select]


- 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
Code: [Select]
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  ]
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 08:29:22
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'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 12:42:12
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:
Code: [Select]
# 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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 13:00:09
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/
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 13:15:15
sh /script/cleanup why is mysql doesnt want to start

I run hostname now its

Code: [Select]
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 ***


Code: [Select]

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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 13:28:58
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.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 13:36:32

[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 ~]#
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 13:40:13
Sorry, I mean /etc/my.cnf and /var/log/mysqld.log
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:13:02
Code: [Select]
# 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.


Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:16:05
Sorry wrong log.
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 14:17:55
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.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:24:34
# service mysqld restart
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 14:25:37
Try change 'innodb_force_recovery = 2' to 'innodb_force_recovery = 4'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:27:35
Again.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:28:01
Again.
same message
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 14:29:57
Inform here 'yum list installed mysql*'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:31:18
Code: [Select]
# 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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 14:45:18
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.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 14:47:31
Code: [Select]
[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

Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 18:51:18
Anyone?
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-26, 19:15:57
Did you restart mysql after add 'skip-innodb'?.
Title: Re: Problems with installing
Post by: XManager on 2014-01-26, 19:19:08
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
Title: Re: Problems with installing
Post by: MRatWork on 2014-01-27, 04:25:15
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'.
Title: Re: Problems with installing
Post by: XManager on 2014-01-27, 12:28:25
Upgraded to 1 GB
Code: [Select]
Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        717        279          0         10        283
   -/+ buffers/cache:        422        573
   Swap:            0          0          0