Kloxo: How to change IP Address


Step 1: use this SSH command line:

sh /script/upcp

kloxo change ip address

[root@tutorialspots ~]# sh /script/upcp
*** Executing Update (upcp) - BEGIN ***
Kloxo Install/Update
- Getting Version Info from the LxCenter download Server
Found version(s): 6.1.0 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.1.9 6.
1.10 6.1.11 6.1.12 6.1.13 6.1.14 6.1.15 6.1.16 6.1.17 6.1.18 6.1.19
- Kloxo is the latest version (6.1.19)
ThirdParty Checks
- kloxo-thirdparty version is
- Download and use version  for updating
--2016-02-18 11:14:49--  http://download.lxcenter.org/download/kloxo-thirdparty.
.zip
Resolving download.lxcenter.org... 66.160.179.101, 75.98.169.138, 79.124.59.3, .
..
Connecting to download.lxcenter.org|66.160.179.101|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-02-18 11:14:49 ERROR 404: Not Found.

Webmail Checks
- lxwebmail version is 4375
- No update found.
Awstats Checks
- lxawstats version is 4402
- No update found.
*** Executing Update (upcp) - END ***
*** Executing Update (cleanup) - BEGIN ***
########################################
##        Executing PreCleanup        ##
########################################
########################################
##        Finished PreCleanup         ##
########################################
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
- Create flag dir
Fix IP Address
- Fix process
Fix Services
- 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)
Fix Self SSL
- Fix process
Prepare for Kloxo
- OS Create Kloxo init.d service file and copy core php.ini (kloxo-core-php)
- OS Fix programroot path permissions
- OS Restart Kloxo service
ThirdParty Checks
- kloxo-thirdparty version is
- Download and use version  for updating
--2016-02-18 11:17:20--  http://download.lxcenter.org/download/kloxo-thirdparty.
.zip
Resolving download.lxcenter.org... 66.160.179.101, 75.98.169.138, 79.124.59.3, .
..
Connecting to download.lxcenter.org|66.160.179.101|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-02-18 11:17:20 ERROR 404: Not Found.

Check for php-gd
- Already installed. No need to install
Check for bogofilter
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Initialize kloxophp
- Install kloxophp 32bit
...
- Initialize rblsmtpd binary
- Initialize tcpserver binary
Enable xinetd service
- Enable process
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeallinput binary
- Set permissions for lxphpsu binary
- Set permissions for phpsuexec.sh script
- Set permissions for /home/kloxo/httpd/lighttpd/ dir
- Set permissions for /var/lib/php/session/ dir
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Initialize Lighttpd config
- Initialize process
- Install /etc/lighttpd/lighttpd.conf
- Initialize /etc/lighttpd/local.lighttpd.conf
- Initialize /home/lighttpd/conf/defaults/__ssl.conf
- Initialize /home/lighttpd/conf/defaults/_default.conf
- Initialize /home/lighttpd/conf/defaults/disable.conf
- Initialize /home/lighttpd/conf/defaults/cp_config.conf
- Initialize /home/lighttpd/conf/defaults/mimetype.conf
- Initialize /home/lighttpd/conf/defaults/stats.conf
Initialize nobody.sh script
- Initialize process
Execute/remove/initialize/install script
- Execute lxpopuser.sh
- Remove /home/kloxo/httpd/script dir
- Initialize /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Install /etc/init.d/djbdns service file
- Install process
Enable the correct drivers (Service daemons)
- Uninstall web__lighttpd
- Uninstall spam__spamassassin
- Uninstall dns__djbdns
Remove cache dir
- Remove process
Restart syslog service
- Restart process
Initialize awstats dirdata
- Initialize process
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
Install Webmail chooser
- Install process
Remove old lxlabs ssh key
- Remove process
Initialize Server
- Initialize OpenVZ
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- Php files for disable web page
- Skeleton for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- Php files for login web page
- Skeleton for login web page
- No exists user-skeleton
- No exists user-logo
Initialize InstallApp
Checking freshclam (virus scanner)
- Disabled freshclam service
Changing softlimit for incoming/receive mailserver
- For imap4
- For imap4-ssl
- For pop3
- For pop3-ssl
Update PHP PEAR software
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Nothing to upgrade-all
- You can ignore warnings from PHP PEAR updates above.
Preparing MySQL service
- MySQL activated
- MySQL restarted
Updating Core packages
- No httpd* update found
- No lighttpd* update found
- No bind* update found
- No djbdns* update found
- No pure-ftpd* update found
- No php* update found
- No vpopmail update found
- No courier-imap-toaster update found
- No courier-authlib-toaster update found
- No qmail update found
- No safecat update found
- No spamassassin update found
- No bogofilter update found
- No ezmlm-toaster update found
- No autorespond-toaster update found
- No clamav-toaster update found
Preparing some services again
- courier-imap enabled and restart queue
- qmail enabled and restart queue
Fix dns/web/php/mail/ftpuser/vpop configs
- Fix dns configs

- For help, type '/script/fixdns --help'

Fixing DNS server config
- 'tutorialspots.com'('tutorialspots') at 'localhost'
- Fix web configs

- For help, type '/script/fixweb --help'

Fixing Web server config
- inside static (defaults/webmail) directory at 'localhost'
- 'tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix php configs

- For help, type '/script/fixphp --help'

Fixing php.ini
- in '/etc' at 'localhost'
- in '/home/httpd/tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix mail configs

- For help, type '/script/fixmail --help'

Fixing Mail accounts
- 'tutorialspots@downappz.com' ('tutorialspots') at 'localhost'
- Fix ftpuser configs

- For help, type '/script/fixftpuser --help'

Fixing FTP User
- 'tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix vpop configs

Step 2:

sh /script/cleanup
[root@tutorialspots ~]# sh /script/cleanup
*** Executing Update (cleanup) - BEGIN ***
########################################
##        Executing PreCleanup        ##
########################################
########################################
##        Finished PreCleanup         ##
########################################
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
- Create flag dir
Fix IP Address
- Fix process
Fix Services
- 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)
Fix Self SSL
- Fix process
Prepare for Kloxo
- OS Create Kloxo init.d service file and copy core php.ini (kloxo-core-php)
- OS Fix programroot path permissions
- OS Restart Kloxo service
ThirdParty Checks
- kloxo-thirdparty version is
- Download and use version  for updating
--2016-02-18 11:50:51--  http://download.lxcenter.org/download/kloxo-thirdparty.
.zip
Resolving download.lxcenter.org... 66.160.179.101, 75.98.169.138, 79.124.59.3, .
..
Connecting to download.lxcenter.org|66.160.179.101|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-02-18 11:50:51 ERROR 404: Not Found.

Check for php-gd
- Already installed. No need to install
Check for bogofilter
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Initialize kloxophp
- Install kloxophp 32bit
- kloxophp version is 4383
- Download and use kloxophp version 4383 for updating
--2016-02-18 11:51:34--  http://download.lxcenter.org/download/kloxophp4383.tar.
gz
Resolving download.lxcenter.org... 66.160.179.101, 75.98.169.138, 79.124.59.3, .
..
Connecting to download.lxcenter.org|66.160.179.101|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7583600 (7.2M) [application/x-gzip]
Saving to: `kloxophp4383.tar.gz'

100%[======================================>] 7,583,600   9.44M/s   in 0.8s

2016-02-18 11:51:34 (9.44 MB/s) - `kloxophp4383.tar.gz' saved [7583600/7583600]

Webmail Checks
- lxwebmail version is 4375
- No update found.
Awstats Checks
- lxawstats version is 4402
- No update found.
Remove Old dirs
- Remove process
Initialize Some Binary files
- Add symlink for qmail-sendmail
Remove lighttpd errorlog
- Remove process
Fix the secure logfile
- Fix process
Clean hosts.deny
- Clean process
Turn off mouse daemon
- Turn off process
Initialize Kloxo bind config files
Pattern 'include "/etc/global.options.named.conf";' Already present in /var/name
d/chroot/etc/named.conf
- No need to initialize
Killing gettraffic system process
- Killing process
Checking for rpm packages
- For maildrop-toaster package
- For spamdyke package
- For spamdyke-utils package
- For pure-ftpd package
- For simscan-toaster package
- For webalizer package
- For php-mcrypt package
- For dos2unix package
- For rrdtool package
- For xinetd package
- For lxjailshell package
- For php-xml package
- For libmhash package
- For kloxo-core-php package
- For kloxo-theme-default package
- For kloxo-theme-feather package
- For php-pear package
Initialize /script/ dir
- Initialize processes
Checking for XCache...
- XCache is enabled
- Installing XCache package
- XCache ini file is installed/recreated
Install Kloxo service
- Install process
Installing jailshell to system
Set /home permission to 0755
- Set process
Executing centos 5 script and remove epel repo
- Executing centos5-postpostupgrade script
- Remove epel.repo from system
Fixing RedHat NetWork Source
- Fix processes
Initialize Apache Config
- Initialize process
- Install /etc/httpd/conf/httpd.conf
- Initialize /home/apache/conf/defaults/mimetype.conf
Initialize PureFtp service
- Initialize process
- Install /etc/xinetd.d/pureftp TCP Wrapper file
- Restart xinetd service for pureftp
- Install xinetd smtp_lxa SMTP TCP Wrapper
- Install qmail service
- Install /etc/lxrestricted file (lxjailshell commands restrictions)
- Install /etc/sysconfig/spamassassin
- Install qmail defaultdomain and defaulthost (downappz.com)
- Install qmail SMTP Greeting (downappz.com - Welcome to Qmail)
- Initialize rblsmtpd binary
- Initialize tcpserver binary
Enable xinetd service
- Enable process
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeallinput binary
- Set permissions for lxphpsu binary
- Set permissions for phpsuexec.sh script
- Set permissions for /home/kloxo/httpd/lighttpd/ dir
- Set permissions for /var/lib/php/session/ dir
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Initialize Lighttpd config
- Initialize process
- Install /etc/lighttpd/lighttpd.conf
- Initialize /etc/lighttpd/local.lighttpd.conf
- Initialize /home/lighttpd/conf/defaults/__ssl.conf
- Initialize /home/lighttpd/conf/defaults/_default.conf
- Initialize /home/lighttpd/conf/defaults/disable.conf
- Initialize /home/lighttpd/conf/defaults/cp_config.conf
- Initialize /home/lighttpd/conf/defaults/mimetype.conf
- Initialize /home/lighttpd/conf/defaults/stats.conf
Initialize nobody.sh script
- Initialize process
Execute/remove/initialize/install script
- Execute lxpopuser.sh
- Remove /home/kloxo/httpd/script dir
- Initialize /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Install /etc/init.d/djbdns service file
- Install process
Enable the correct drivers (Service daemons)
- Uninstall web__lighttpd
- Uninstall spam__spamassassin
- Uninstall dns__djbdns
Remove cache dir
- Remove process
Restart syslog service
- Restart process
Initialize awstats dirdata
- Initialize process
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
Install Webmail chooser
- Install process
Remove old lxlabs ssh key
- Remove process
Initialize Server
- Initialize OpenVZ
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- Php files for disable web page
- Skeleton for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- Php files for login web page
- Skeleton for login web page
- No exists user-skeleton
- No exists user-logo
Initialize InstallApp
Checking freshclam (virus scanner)
- Disabled freshclam service
Changing softlimit for incoming/receive mailserver
- For imap4
- For imap4-ssl
- For pop3
- For pop3-ssl
Update PHP PEAR software
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/
xcache.so' - /usr/lib/php/modules/xcache.so: cannot open shared object file: No
such file or directory in Unknown on line 0
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/
xcache.so' - /usr/lib/php/modules/xcache.so: cannot open shared object file: No
such file or directory in Unknown on line 0
Nothing to upgrade-all
- You can ignore warnings from PHP PEAR updates above.
Preparing MySQL service
- MySQL activated
- MySQL restarted
Updating Core packages
- No httpd* update found
- No lighttpd* update found
- No bind* update found
- No djbdns* update found
- No pure-ftpd* update found
- No php* update found
- No vpopmail update found
- No courier-imap-toaster update found
- No courier-authlib-toaster update found
- No qmail update found
- No safecat update found
- No spamassassin update found
- No bogofilter update found
- No ezmlm-toaster update found
- No autorespond-toaster update found
- No clamav-toaster update found
Preparing some services again
- courier-imap enabled and restart queue
- qmail enabled and restart queue
Fix dns/web/php/mail/ftpuser/vpop configs
- Fix dns configs

- For help, type '/script/fixdns --help'

Fixing DNS server config
- 'tutorialspots.com'('tutorialspots') at 'localhost'
- Fix web configs

- For help, type '/script/fixweb --help'

Fixing Web server config
- inside static (defaults/webmail) directory at 'localhost'
- 'tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix php configs

- For help, type '/script/fixphp --help'

Fixing php.ini
- in '/etc' at 'localhost'
- in '/home/httpd/tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix mail configs

- For help, type '/script/fixmail --help'

Fixing Mail accounts
- 'tutorialspots@downappz.com' ('tutorialspots') at 'localhost'
- Fix ftpuser configs

- For help, type '/script/fixftpuser --help'

Fixing FTP User
- 'tutorialspots.com' ('tutorialspots') at 'localhost'
- Fix vpop configs

Step 3:

sh /script/fixweb
[root@tutorialspots ~]# sh /script/fixweb

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- inside static (defaults/webmail) directory at 'localhost'
- 'tutorialspots.com' ('tutorialspots') at 'localhost'

Done!

Leave a Reply