I did accordingly
then
*** Process for MYSQL/MARIADB service ***
Starting MariaDB.190706 23:51:55 mysqld_safe Logging to '/var/lib/mysql/SERVER.MYSERV.COM.err'.
190706 23:51:55 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/etc/init.d/mysql: line 260: kill: (2896) - No such process
ERROR!
- Process: restart
ERROR! MariaDB server PID file could not be found!
Starting MariaDB.190706 23:51:57 mysqld_safe Logging to '/var/lib/mysql/SERVER.MYSERV.COM.err'.
190706 23:51:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/etc/init.d/mysql: line 260: kill: (3061) - No such process
ERROR!
-------------------------------------------------------------------
then
-------------------------------------------------------------------
- For help, type '/script/restart-mysql [--help|-h]'
Execute fixlxphpexe for php56s...
*** Execute Update (cleanup) - BEGIN ***
>>> Execute fixDataBaseIssues() <<<
Fix Database Issues
- Fix admin account database settings
- Set default database settings
- Fix resourceplan settings in database
- Alter some database tables to fit that of Kloxo
- Set default welcome text at Kloxo login page
- Remove default db password if exists
>>> Execute doUpdates() <<<
- Create flag dir
Fix IP Address
- Fix process
Create domain backup dirs
- Create process
- Create OS system user admin
- User admin exists
Fix php.ini
- Fix process
Fix MySQL root password
- Fix process
Set admin contact email
- Set process
Get Kloxo License info
- Get process
- Create database interface template (Forced)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
>>> Execute driverload.php <<<
>>> Execute update_all_slave() <<<
>>> Execute cp_dbfile() <<<
>>> Execute updatecleanup() <<<
Prepare for Kloxo
- OS Create Kloxo init.d service file
- OS Fix programroot path permissions
- OS Restart Kloxo service
Remove Old dirs
- Remove process
Initialize Some Binary files
- Symlink /usr/local/bin/php already exists
Remove lighttpd errorlog
- Remove process
Fix the secure logfile
- Fix process
Clean hosts.deny
- Clean process
Synchronize driver between table and slavedb
- Synchronize for 'web' to 'apache'
- Synchronize for 'webcache' to 'none'
- Synchronize for 'dns' to 'bind'
- Synchronize for 'pop3' to 'courier'
- Synchronize for 'smtp' to 'qmail'
- Synchronize for 'spam' to 'bogofilter'
Update Services Branch List
- Wait to process...
Check for rpm packages
- autorespond-toaster package already installed
- courier-imap-toaster package already installed
- dovecot-toaster package already installed
- daemontools-toaster package already installed
- ezmlm-toaster package already installed
- libdomainkeys-toaster package already installed
- libsrs2-toaster package already installed
- maildrop-toaster package already installed
- qmail-toaster package already installed
- ripmime package already installed
- ucspi-tcp-toaster package already installed
- vpopmail-toaster package already installed
- fetchmail package already installed
- bogofilter package already installed
- spamdyke package already installed
- pure-ftpd package already installed
- webalizer package already installed
- dos2unix package already installed
- rrdtool package already installed
- xinetd package already installed
- lxjailshell package already installed
Initialize /script/ dir
- Initialize processes
Install jailshell to system
- Already exists
Set /home permission to 0755
- Set process
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeinput binary
- Set permissions for phpsuexec.sh script
- Set permissions for /var/lib/php/session/ dir
chmod: cannot access `/var/lib/php/session/': No such file or directory
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Execute/remove/initialize/install script
- Execute vpopmail.sh
- Initialize /home/kloxo/httpd/script dir
- Remove /home/kloxo/httpd/script dir
- Set ownership apache:apache for /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Remove cache dir
- Remove process
Initialize awstats dirdata
- Initialize process
Update Kloxo database
- Update process
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Remove old lxlabs ssh key
- Remove process
Prepare MySQL/MariaDB service
- MariaDB activated
- Updating Main services
Update All packages
- WAIT to process...
- No update found/not installed
Remove /home/httpd/*/httpdocs
- Remove process
Add 'hostname' information to '/etc/hosts'
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- robots.txt for default web page
- Php files for disable web page
- Skeleton for disable web page
- robots.txt for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- robots.txt for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- robots.txt for cp web page
- Skeleton for error web page
- robots.txt for error web page
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
- Php files for login web page
- Skeleton for panel login web page
- Skeleton for panel root web page
- Files for error web pages
- Skeleton for error web pages
- Copy error web pages to '/home/kloxo/httpd/error'
- No exists user-skeleton
- No exists user-logo
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Copy all contents from ../file/bind
- Copy to /opt/configs/bind
- Copy etc/named.conf to /etc/named.conf
Copy all contents from ../file/djbdns
- Copy to /opt/configs/djbdns
Copy all contents from ../file/pdns
- Copy to /opt/configs/pdns
- Copy etc/conf/pdns.conf to /etc/pdns/pdns.conf
Prepare PowerDNS database
- Install MySQL and Geo Backend
- Fix MySQL commands in import files
- Generate password
- Add Password to configuration file
Copy all contents from ../file/nsd
- Copy to /opt/configs/nsd
- Copy etc/conf/nsd4.conf to /etc/nsd/nsd.conf
Copy all contents from ../file/yadifa
- Copy to /opt/configs/yadifa
- Copy etc/yadifad.conf to /etc/yadifad.conf
Initialize apache config
- /etc/httpd/conf.d dir already exists
- /opt/configs/apache/tpl dir already exists
- /opt/configs/apache/conf dir already exists
- /opt/configs/apache/etc dir already exists
- /opt/configs/apache/etc/conf dir already exists
- /opt/configs/apache/etc/conf.d dir already exists
Copy all contents from ../file/apache
- Copy to /opt/configs/apache
- Copy etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf
- chown root:root FOR /opt/configs/apache/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/apache/
Initialize lighttpd config
- /etc/lighttpd/conf.d dir already exists
- /opt/configs/lighttpd/tpl dir already exists
- /opt/configs/lighttpd/conf dir already exists
- /opt/configs/lighttpd/etc dir already exists
- /opt/configs/lighttpd/etc/conf dir already exists
- /opt/configs/lighttpd/etc/conf.d dir already exists
Copy all contents from ../file/lighttpd
- Copy to /opt/configs/lighttpd
- Copy etc/conf/lighttpd.conf to /etc/lighttpd/lighttpd.conf
- chown root:root FOR /opt/configs/lighttpd/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/lighttpd/
Initialize nginx config
- /etc/nginx/conf.d dir already exists
- /opt/configs/nginx/tpl dir already exists
- /opt/configs/nginx/conf dir already exists
- /opt/configs/nginx/etc dir already exists
- /opt/configs/nginx/etc/conf dir already exists
- /opt/configs/nginx/etc/conf.d dir already exists
Copy all contents from ../file/nginx
- Copy to /opt/configs/nginx
- Copy etc/conf/nginx.conf to /etc/nginx/nginx.conf
- chown root:root FOR /opt/configs/nginx/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/nginx/
Initialize hiawatha config
- /etc/hiawatha/conf.d dir already exists
- /opt/configs/hiawatha/tpl dir already exists
- /opt/configs/hiawatha/conf dir already exists
- /opt/configs/hiawatha/etc dir already exists
- /opt/configs/hiawatha/etc/conf dir already exists
- /opt/configs/hiawatha/etc/conf.d dir already exists
Copy all contents from ../file/hiawatha
- Copy to /opt/configs/hiawatha
- Copy etc/conf/hiawatha_standard.conf to /etc/hiawatha/hiawatha.conf
- chown root:root FOR /opt/configs/hiawatha/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /opt/configs/hiawatha/
Copy all contents from ../file/varnish
- Copy to /opt/configs/varnish
Copy all contents from ../file/trafficserver
- Copy to /opt/configs/trafficserver
Copy all contents from ../file/squid
- Copy to /opt/configs/squid
Install All Dns servers
- No process for 'bind'
- No process for 'djbdns'
- No process for 'pdns'
- No process for 'nsd'
- No process for 'yadifa'
Inactivate DNS servers
- Inactivate 'bind'
- Inactivate 'djbdns'
- Inactivate 'pdns'
- Inactivate 'nsd'
- Inactivate 'yadifa'
Activate Dns servers
- Activate 'bind' as Dns server
Install All Web servers
- No process for 'apache' ('httpd')
- No process for 'lighttpd'
- No process for 'nginx'
- No process for 'hiawatha'
Inactivate Web servers
- Inactivate 'apache'
- Inactivate 'lighttpd'
- Inactivate 'nginx'
- Inactivate 'hiawatha'
Activate Web servers
- Activate 'apache' as Web server
Update All Php (branch and multiple)
- Update process
Initialize PureFtp service
- Initialize process
- Restart pure-ftpd service
Initialize logrotates
- Initialize process
Copy awstats_index.php to /home/kloxo/httpd/awstats/wwwroot/cgi-bin
Install Webmail chooser
- Install process
Initialize Mail service
- Initialize process
Set All SSL Portions
- Copy 'openssl' config Files
Copy all contents from ../file/openssl
- Copy to /opt/configs/openssl
- Copy 'acme.sh' config Files
Copy all contents from ../file/acme.sh
- Copy to /opt/configs/acme.sh
- Install acme.sh
- Fix SSL path
- Copy 'httpry' config Files
Copy all contents from ../file/httpry
- Copy to /opt/configs/httpry
- Install httpry
- Fix 'Cron Backup' Files
Set Watchdog defaults
- Set process
Fix services
- Fix dns services
- Fix webcache services
- Fix ssl services
- Fix php services
- Fix web services
- Fix mail-all services
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
Enter password:
- Fix ftp-all services
- Fix skeleton services
- Fix Hiawatha service
*** Execute Update (cleanup) - END ***
*** Restart services - BEGIN ***
MariaDB server PID file could not be found! [FAILED]
Starting MariaDB.190706 23:58:53 mysqld_safe Logging to '/var/lib/mysql/SERVER.MYSERV.COM.err'.
190706 23:58:53 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/etc/init.d/mysql: line 260: kill: (16599) - No such process
[FAILED]
-------------------------------------------------------------------
Stopping named: . [ OK ]
Starting named: [ OK ]
-------------------------------------------------------------------
Stopping php-fpm (PHP Used): [FAILED]
Starting php-fpm (PHP Used): [06-Jul-2019 23:58:57] NOTICE: PHP message: PHP Warning: Module 'curl' already loaded in Unknown on line 0
[06-Jul-2019 23:58:57] NOTICE: PHP message: PHP Warning: Module 'fileinfo' already loaded in Unknown on line 0
[06-Jul-2019 23:58:57] NOTICE: PHP message: PHP Warning: Module 'json' already loaded in Unknown on line 0
[06-Jul-2019 23:58:57] NOTICE: PHP message: PHP Warning: Module 'Phar' already loaded in Unknown on line 0
[06-Jul-2019 23:58:57] NOTICE: PHP message: PHP Warning: Module 'zip' already loaded in Unknown on line 0
[06-Jul-2019 23:58:57] ERROR: unable to bind listening socket for address '/opt/configs/php-fpm/sock/php-apache.sock': No such file or directory (2)
[06-Jul-2019 23:58:57] ERROR: FPM initialization failed
[FAILED]
-------------------------------------------------------------------
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
-------------------------------------------------------------------
*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------
- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
-------------------------------------------------------------------
*** Restart services - END ***
*** Process Time: 00:00:04:04.244896 (dd:hh:mm:ss:xxxxxx) ***
REMARK:
- run 'sh /script/fixdnsaddstatsrecord' to make sure dns records including
'A record' for 'stats'
- '
http://domain.com/stats' will be redirect to '
http://stats.domain.com'
then I
sh /script/clearallowedblockedip --class=client --name=admin
sh /script/resetpassword master mysupposedadmin password
sh /script/restart
Still could not login to control panel then I edited my.cnf this way
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
password=MYROOTPASS
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking
old_passwords = 1
bind-address = 127.0.0.1
key_buffer = 16M
key_buffer_size = 32M
max_allowed_packet = 16M
thread_stack = 128K
thread_cache_size = 64
query_cache_limit = 8M
query_cache_size = 64M
query_cache_type = 1
join_buffer_size = 512K
max_connections = 150
log_slow_queries = /var/log/mysql/mysql-slow.log
skip-bdb
skip-innodb
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
[client]
default-character-set=utf8
socket=/var/lib/mysql/mysql.sock
[mysqld_safe]
socket = /var/lib/mysql/mysql.sock
nice = 0
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
After this it was the same no control panel login thanks