seperti ini pak..
[root@server1 ~]# sh /script/fix-chownchmod; sh /script/fix-all; sh /script/restart-all
- For help, type '/script/fix-chownchmod --help'
- No argument supplied. Defaulting to all
Fixing Chown and Chmod
- chown admin:apache FOR /home/admin/
- chmod 751 FOR /home/admin/
- chown admin:admin FOR INSIDE /home/admin/kloxoscript/
- chown admin:apache FOR /home/admin/kloxoscript/
- chmod 644 FOR *.php* INSIDE /home/admin/kloxoscript/
- chmod 755 FOR /home/admin/kloxoscript/ AND INSIDE
- chown admin:admin FOR INSIDE /home/admin/jagat/
- chmod 644 FOR *.php* INSIDE /home/admin/jagat/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/admin/jagat/
- chmod 755 FOR /home/admin/jagat/ AND INSIDE
- chmod 777 FOR /home/httpd/jagat.science/stats AND INSIDE
- chown admin:admin FOR /home/admin/jagat/
- chmod 755 FOR /home/admin/jagat/cgi-bin AND FILES
- chown admin:admin FOR INSIDE /home/admin/uptechtoday.com/
- chmod 644 FOR *.php* INSIDE /home/admin/uptechtoday.com/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/admin/uptechtoday.com/
- chmod 755 FOR /home/admin/uptechtoday.com/ AND INSIDE
- chmod 777 FOR /home/httpd/uptechtoday.com/stats AND INSIDE
- chown admin:admin FOR /home/admin/uptechtoday.com/
- chmod 755 FOR /home/admin/uptechtoday.com/cgi-bin AND FILES
- chown admin:admin FOR INSIDE /home/admin/weekendlists/
- chmod 644 FOR *.php* INSIDE /home/admin/weekendlists/
- chmod 755 FOR *.pl/cgi/py/rb INSIDE /home/admin/weekendlists/
- chmod 755 FOR /home/admin/weekendlists/ AND INSIDE
- chmod 777 FOR /home/httpd/weekendlists.com/stats AND INSIDE
- chown admin:admin FOR /home/admin/weekendlists/
- chmod 755 FOR /home/admin/weekendlists/cgi-bin AND FILES
- chown admin:admin FOR /home/lxadmin/mail/domains/jagat.science/
- chown admin:admin FOR INSIDE /home/lxadmin/mail/domains/jagat.science/
- chmod 600 FOR * INSIDE /home/lxadmin/mail/domains/jagat.science/
- chmod 700 FOR /home/lxadmin/mail/domains/jagat.science/ AND INSIDE
- chown admin:admin FOR /home/lxadmin/mail/domains/uptechtoday.com/
- chown admin:admin FOR INSIDE /home/lxadmin/mail/domains/uptechtoday.com/
- chmod 600 FOR * INSIDE /home/lxadmin/mail/domains/uptechtoday.com/
- chmod 700 FOR /home/lxadmin/mail/domains/uptechtoday.com/ AND INSIDE
- chown admin:admin FOR /home/lxadmin/mail/domains/weekendlists.com/
- chown admin:admin FOR INSIDE /home/lxadmin/mail/domains/weekendlists.com/
- chmod 600 FOR * INSIDE /home/lxadmin/mail/domains/weekendlists.com/
- chmod 700 FOR /home/lxadmin/mail/domains/weekendlists.com/ AND INSIDE
- For help, type '/script/fixdns [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing DNS server config (including their parked/redirect domains)
- 'jagat.science' ('admin') at 'localhost'
- 'uptechtoday.com' ('admin') at 'localhost'
- 'weekendlists.com' ('admin') at 'localhost'
*** Process Time: 00:00:00:00.592 (dd:hh:mm:ss:xxxxxx) ***
- For help, type '/script/fixwebcache [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing WebCache server config
- 'varnish' at 'localhost'
- 'squid' at 'localhost'
- 'trafficserver' at 'localhost'
*** Process Time: 00:00:00:00.252 (dd:hh:mm:ss:xxxxxx) ***
- For help, type '/script/fixweb [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
- 'jagat.science' ('admin') at 'localhost'
- 'uptechtoday.com' ('admin') at 'localhost'
- 'weekendlists.com' ('admin') at 'localhost'
*** Process Time: 00:00:00:01.1105 (dd:hh:mm:ss:xxxxxx) ***
- For help, type '/script/fixphp [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing php.ini/php-fpm.conf/php5.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php5.fcgi' at 'localhost'
- '/home/admin/jagat/.htaccess' ('admin') at 'localhost'
- '/home/kloxo/client/admin/php.ini' at 'localhost'
- '/home/kloxo/client/admin/php5.fcgi' at 'localhost'
- '/home/kloxo/client/admin/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/admin.conf' at 'localhost'
- '/home/admin/uptechtoday.com/.htaccess' ('admin') at 'localhost'
- '/home/admin/weekendlists/.htaccess' ('admin') at 'localhost'
*** Process Time: 00:00:00:00.734 (dd:hh:mm:ss:xxxxxx) ***
Change qmail.init
--------------------------
Fix '89' uid to vpopmail:vchkpw ownership
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
--------------------------
Set '/home/vpopmail' for 755 permissions
Set '/home/vpopmail/domains' for 755 permissions
Set '/home/lxadmin' for 755 permissions
Set '/home/lxadmin/mail' for 755 permissions
Set '/home/lxadmin/mail/domains' for 755 permissions
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Fix Qmail cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
--------------------------
Reset Qmail Assign for domains (also rcpthosts and virtualdomains)
- assign for 'uptechtoday.com'
- rcpthosts/morercpthosts for 'uptechtoday.com'
- assign for 'weekendlists.com'
- rcpthosts/morercpthosts for 'weekendlists.com'
- assign for 'jagat.science'
- rcpthosts/morercpthosts for 'jagat.science'
- virtualdomains for 'uptechtoday.com'
- virtualdomains for 'weekendlists.com'
- virtualdomains for 'jagat.science'
--------------------------
Fixing Mail Outgoing IP
- For 'jagat.science' ('admin') at 'localhost'
- For 'uptechtoday.com' ('admin') at 'localhost'
- For 'weekendlists.com' ('admin') at 'localhost'
--------------------------
- For help, type '/script/fixmail [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing Mail accounts (also 'lists' if exists)
- 'postmaster@jagat.science' ('admin') at 'localhost'
- 'postmaster@uptechtoday.com' ('admin') at 'localhost'
- 'postmaster@weekendlists.com' ('admin') at 'localhost'
--------------------------
Fixing Domainkeys
- 'jagat.science' ('admin') at 'localhost'
- 'uptechtoday.com' ('admin') at 'localhost'
- 'weekendlists.com' ('admin') at 'localhost'
--------------------------
Install Webmail chooser
- Install process
*** Process Time: 00:00:00:08.8218 (dd:hh:mm:ss:xxxxxx) ***
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
- For help, type '/script/fixftpuser [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing FTP User
- 'jagat.science' ('admin') at 'localhost'
- 'uptechtoday.com' ('admin') at 'localhost'
- 'weekendlists.com' ('admin') at 'localhost'
*** Process Time: 00:00:00:00.664 (dd:hh:mm:ss:xxxxxx) ***
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
-------------------------------------------------------------------
*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
- Process: reload
SUCCESS! Reloading service MySQL
No message for reload
-------------------------------------------------------------------
*** Process for NSD service ***
- No need started
- Process with 'nsd-control': transfer + write + reload + notify
- transfer: ok, 0 zones
- write: ok
- reload: ok
- notify: ok
-------------------------------------------------------------------
Stopping traffic_cop: [ OK ]
Stopping traffic_manager: [ OK ]
Stopping traffic_server: [ OK ]
Starting Apache Traffic Server: [ OK ]
-------------------------------------------------------------------
*** Process for HIAWATHA service ***
- No need started
- Process: reload
Reloading configuration: [ OK ]
-------------------------------------------------------------------
*** Process for HTTPD service ***
- No need started
- Process with 'apachectl': graceful
No message for graceful
-------------------------------------------------------------------
*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------
*** Process for XINETD (including Pure-FTPd) service ***
- No need started
- Process: reload
Reloading configuration: [ OK ]
-------------------------------------------------------------------
*** Process for KLOXO service ***
- No need started
- Process: reload
Execute fixlxphpexe for php54s...
Reloading kloxo-phpcgi: [ OK ]
Reloading kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
*** Process for PHP-FPM service ***
- No need started
- Process: reload
Reloading php-fpm: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-all [--help|-h]'
[root@server1 ~]#