I also noticed this after running script cleanup:
- List for 'database' branch
- List for 'dns' branch
- List for 'ftp' branch
- List for 'hiawatha' branch
- List for 'httpd' branch
- List for 'imap' branch
- List for 'mysql' branch
- List for 'nginx' branch
- List for 'php' branch
- List for 'pop' branch
- List for 'smtp' branch
- List for 'spam' branch
- List for 'web' branch
- List for 'webcache' branch
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
- Install for qmail-pop3d-toaster package
- 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
- spamdyke-utils 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
- 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
- Preparing MySQL/MariaDB service
- MariaDB activated
- Updating Main services
Updating All packages - WAIT to process...
- No update found/not installed
Remove /home/httpd/*/httpdocs
- Remove process
Add 'hostname' information to '/etc/hosts'
- Add ip, short and full name of 'hostname'
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/mydns
- Copy to /opt/configs/mydns
- Copy etc/conf/mydns.conf to /etc/mydns/mydns.conf
Prepare MyDns database
- 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/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/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/squid
- Copy to /opt/configs/squid
Copy all contents from ../file/trafficserver
- Copy to /opt/configs/trafficserver
Update All Php (branch and multiple)
- Update process
Initialize PureFtp service
- Initialize process
- Restart pure-ftpd service
Initialize logrotates
- Initialize process
Install All Web servers
- No process for 'httpd'
- No process for 'lighttpd' again
- No process for 'nginx' again
- No process for 'hiawatha' again
- Inactivate 'httpd'
- Inactivate 'lighttpd'
- Inactivate 'nginx'
- Inactivate 'hiawatha'
Activate Web servers
- Activate 'httpd' as Web server
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
- Copy 'startapi.sh' config Files
Copy all contents from ../file/startapi.sh
- Copy to /opt/configs/startapi.sh
- Install acme.sh
- Install startapi.sh
- Fix SSL path
- Copy 'httpry' config Files
Copy all contents from ../file/httpry
- Copy to /opt/configs/httpry
- Install httpry
No Match for argument: 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")
- Fix ftp-all services
- Fix skeleton services
- Fixing Hiawatha service
*** Executing Update (cleanup) - END ***
*** Restart services - BEGIN ***
ERROR! MySQL server PID file could not be found!
Starting MySQL.170314 04:04:38 mysqld_safe Logging to '/var/log/mysqld.log'.
170314 04:04:38 mysqld_safe Starting mysqld daemon with databases from /var/lib/
mysql
/usr/bin/mysqld_safe_helper: Can't create/write to file '/var/log/mysqld.log' (E
rrcode: 13 "Permission denied")
ERROR!
-------------------------------------------------------------------
Stopping nsd: [ OK ]
Starting nsd: [ OK ]
-------------------------------------------------------------------
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
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:05:32.332541 (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'