[root@core ~]# sh /script/cleanup
Execute fixlxphpexe for php53s...
*** Executing 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
Set Watchdog defaults
- Set process
Fix MySQL root password
- Fix process
Set admin contact email
- Set process
Get Kloxo License info
- Get process
- Create database interface template (Forced)
>>> 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
Check for bogofilter
- wordlist.db already exists
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
Synchronizing driver between table and slavedb
- No need synchronize for 'web' - already using 'apache'
- No need synchronize for 'webcache' - already using 'none'
- No need synchronize for 'dns' - already using 'bind'
- No need synchronize for 'spam' - already using 'none'
Update Services Branch List
- List for 'dns' branch
- List for 'imap' branch
- List for 'mysql' branch
- List for 'php' branch
- List for 'pop' branch
- List for 'smtp' branch
- List for 'web' branch
- List for 'webcache' branch
Initialize /script/ dir
- Initialize processes
Install Kloxo service
- Install process
Installing 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/
Enable xinetd service
- Enable process
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
- Remove /home/kloxo/httpd/script dir
- Initialize /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
- Updating process
Remove old lxlabs ssh key
- Remove process
- Preparing MySQL/MariaDB service
- MySQL activated
- Updating Main services
Updating All packages - WAIT to process...
- No update found/not installed
Removing /home/httpd/*/httpdocs
- Removing...
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 login 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 /usr/local/lxlabs/kloxo/file/bind
- Copy to /opt/configs/bind
- Copy etc/named.conf to /etc/named.conf
Copy all contents from /usr/local/lxlabs/kloxo/file/djbdns
- Copy to /opt/configs/djbdns
Copy all contents from /usr/local/lxlabs/kloxo/file/mydns
- Copy to /opt/configs/mydns
- Copy etc/conf/mydns.conf to /etc/mydns/mydns.conf
Preparing MyDns database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
ERROR 1046 (3D000) at line 14: No database selected
Copy all contents from /usr/local/lxlabs/kloxo/file/nsd
- Copy to /opt/configs/nsd
- Copy etc/conf/nsd3.conf to /etc/nsd/nsd.conf
cp: cannot create regular file `/etc/nsd/nsd.conf': No such file or directory
Copy all contents from /usr/local/lxlabs/kloxo/file/pdns
- Copy to /opt/configs/pdns
- Copy etc/conf/pdns.conf to /etc/pdns/pdns.conf
Preparing PowerDNS database
- Install MySQL and Geo Backend
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
Copy all contents from /usr/local/lxlabs/kloxo/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 /usr/local/lxlabs/kloxo/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 /usr/local/lxlabs/kloxo/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 /usr/local/lxlabs/kloxo/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 /usr/local/lxlabs/kloxo/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 /usr/local/lxlabs/kloxo/file/varnish
- Copy to /opt/configs/varnish
Copy all contents from /usr/local/lxlabs/kloxo/file/squid
- Copy to /opt/configs/squid
Copy all contents from /usr/local/lxlabs/kloxo/file/trafficserver
- Copy to /opt/configs/trafficserver
- Install /etc/php-fpm.conf
- Copy php-fpm init to /etc/init.d dir
Copy all contents from /usr/local/lxlabs/kloxo/file/openssl
- Copy to /opt/configs/openssl
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
Initialize logrotate
- kloxo logrotate
- syslog logrotate
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
Horde webmail no exists
T-Dah webmail no exists
Preparing Afterlogic database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Afterlogic files
- Initialize process
Preparing Squirrelmail Database
- No need database
Initialize Squirrelmail files
- Initialize process
Preparing Telaen Database
- No need database
Initialize Telaen files
- Initialize process
Preparing Rainloop Database
- No need database
Initialize Rainloop files
- Initialize process
Install Webmail chooser
- Install process
Initialize Mail service
- Initialize process
Fix services
- Fix dns services
- Fix webcache services
- Fix web services
- Fix php services
- Fix mail-all services
- Fix ftp-all services
Fixing Hiawatha service
*** Executing Update (cleanup) - END ***
*** Restart services - BEGIN ***
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
-------------------------------------------------------------------
Stopping named: [ OK ]
Starting named: [ 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]'
-------------------------------------------------------------------
supervise: fatal: unable to start clamd/run: access denied
supervise: fatal: unable to start log/run: access denied
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
-------------------------------------------------------------------
Execute fixlxphpexe for php53s...
supervise: fatal: unable to start log/run: access denied
supervise: fatal: unable to start clamd/run: access denied
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
supervise: fatal: unable to start log/run: access denied
supervise: fatal: unable to start clamd/run: access denied
Stopping kloxo-hiawatha: supervise: fatal: unable to start log/run: access denied
supervise: fatal: unable to start clamd/run: access denied
[ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
Stopping php-fpm: [ OK ]
Starting php-fpm: [ OK ]
-------------------------------------------------------------------
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
-------------------------------------------------------------------
*** Restart services - END ***
*** Process Time: 00:00:02:01.121592 (dd:hh:mm:ss:xxxxxx) ***
[root@core ~]# supervise: fatal: unable to start log/run: access denied
supervise: fatal: unable to start clamd/run: access denied
supervise: fatal: unable to start log/run: access denied
supervise: fatal: unable to start clamd/run: access denied
supervise: fatal: unable to start clamd/run: access denied
supervise: fatal: unable to start log/run: access denied
====================================
Still same