Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 02:53:31

Author Topic: Error on /script/make-slave  (Read 3092 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Error on /script/make-slave
« on: 2014-10-04, 22:44:12 »
Need sh before ;)

Quote
[root@slave /]# sh /script/make-slave
>>> Execute os_fix_lxlabs_permission() <<<
>>> Execute os_create_program_service() <<<
>>> Execute os_create_kloxo_service_once() <<<
>>> Execute tmpupdatecleanup.php for SLAVE... <<<
- This will take a long time... Please wait...
*** Executing Update (cleanup) - BEGIN ***
>>> 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
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
Enable the correct drivers (Service daemons)
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
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
- 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
- No exists user-skeleton
- No exists user-logo
Copy Error Pages
- Copy '401' Page to '/home/kloxo/httpd/error'
- Copy '403' Page to '/home/kloxo/httpd/error'
- Copy '404' Page to '/home/kloxo/httpd/error'
- Copy '501' Page to '/home/kloxo/httpd/error'
- Copy '503' Page to '/home/kloxo/httpd/error'
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Copy all contents of bind
- Copy /usr/local/lxlabs/kloxo/file/bind to /opt/configs/bind
- Copy /opt/configs/bind/etc/named.conf to /etc/named.conf
- Copy /opt/configs/bind/etc/rndc.conf to /etc/rndc.conf
cp: nie mo?na wykona? stat na `/opt/configs/bind/etc/rndc.conf': Nie ma takiego pliku ani katalogu
Copy all contents of djbdns
- Copy /usr/local/lxlabs/kloxo/file/djbdns to /opt/configs/djbdns
Copy all contents of maradns
- Copy /usr/local/lxlabs/kloxo/file/maradns to /opt/configs/maradns
- Copy /opt/configs/maradns/etc/mararc to /etc/mararc
Copy all contents of pdns
- Copy /usr/local/lxlabs/kloxo/file/pdns to /opt/configs/pdns
- Copy /opt/configs/pdns/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 of nsd
- Copy /usr/local/lxlabs/kloxo/file/nsd to /opt/configs/nsd
- Copy /opt/configs/nsd/etc/conf/nsd3.conf to /etc/nsd/nsd.conf
cp: nie mo?na utworzy? zwyk?ego pliku `/etc/nsd/nsd.conf': Nie ma takiego pliku ani katalogu
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 of apache
- Copy /usr/local/lxlabs/kloxo/file/apache to /opt/configs/apache
- Copy /opt/configs/apache/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 of lighttpd
- Copy /usr/local/lxlabs/kloxo/file/lighttpd to /opt/configs/lighttpd
- Copy /opt/configs/lighttpd/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 of nginx
- Copy /usr/local/lxlabs/kloxo/file/nginx to /opt/configs/nginx
- Copy /opt/configs/nginx/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 of hiawatha
- Copy /usr/local/lxlabs/kloxo/file/hiawatha to /opt/configs/hiawatha
- Copy /opt/configs/hiawatha/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 of varnish
- Copy /usr/local/lxlabs/kloxo/file/varnish to /opt/configs/varnish
Copy all contents of trafficserver
- Copy /usr/local/lxlabs/kloxo/file/trafficserver to /opt/configs/trafficserver
Copy all contents of squid
- Copy /usr/local/lxlabs/kloxo/file/squid to /opt/configs/squid
- Install /etc/php-fpm.conf
- Copy php-fpm init to /etc/init.d dir
Copy all contents of openssl
- Copy /usr/local/lxlabs/kloxo/file/openssl to /opt/configs/openssl
Initialize PureFtp service
- Initialize process
Make pure-ftpd user database
- Restart xinetd service for pureftp
Initialize 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 ***
>>> Create slavedb_driver <<<
>>> Execute os_fix_some_permissions()... <<<
/script/make-slave: line 4: /script/restart: Access denied

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Error on /script/make-slave
« Reply #1 on: 2014-10-05, 05:11:34 »
What's version?. It's because no action inside os_fix_some_permissions() function in Kloxo-MR 7.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Error on /script/make-slave
« Reply #2 on: 2014-10-05, 05:24:41 »
Have you running cleanup in position inside '/etc/script'?. Let say, exexute 'cd /script; sh /script/make-slave'?.

If yes, it's old behaviour since Kloxo Official.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Error on /script/make-slave
« Reply #3 on: 2014-10-05, 19:29:12 »
It's was clean installation of latest upload 7.0b. After sh /script/cleanup I just run sh /script/make-slave.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.067 seconds with 19 queries.

web stats analysis