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. 2019-07-21, 17:15:35

Author Topic: Admin Panel not reachable and all domains show If you are seeing this page  (Read 2524 times)

0 Members and 1 Guest are viewing this topic.

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Hi,
I had to install soap in php. I did and my sites could not reach databases. so I removes soap and I have nothing.

I tried to use fixweb, fixdns, fixmysql and so on.
When I use sh cleanup, everything was damaged.

I set hiawatha off and httpd on. stop hiawatha and start httpd.
Right now when I trying to reach admin woth 7778 or 7777 I get

Quote
This site can’t be reached
149.202.20.238 took too long to respond.

and every domains goes to page:
Quote
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:
Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
 
The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
...

I'm in a critical status.

Quote
sh sysinfo

A. Kloxo-MR: 6.5.0.f-2015083001

B. OS: CentOS release 6.7 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.50-1.ius.el6.i686
   2. PHP: php54-5.4.45-1.ius.el6.i686
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
   7. Dns: bind-9.9.7-1.mr.el6.i386

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        183        840          3          0         50
   -/+ buffers/cache:        133        890
   Swap:           32          0         32


critical status... please help

Thanks in advance
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Inform here 'sh /script/restart-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
 sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Inform here 'cat /usr/local/lxlabs/kloxo/init/hiawatha.conf'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
 cat /usr/local/lxlabs/kloxo/init/hiawatha.conf
# Hiawatha main configuration file
#

ServerString = Hiawatha for Kloxo-MR

ServerId = lxlabs
ConnectionsTotal = 2048
ConnectionsPerIP = 64
SystemLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-system.log
GarbageLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-garbage.log

MaxUrlLength = 65536

PIDfile = /var/run/kloxo-hiawatha.pid

BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes

ThreadPoolSize = 50

#CGIhandler = /opt/php52s/bin/php-cgi:php
#ExecuteCGI = yes
WaitForCGI = yes

FastCGIserver {
        FastCGIid = PHP5
        ConnectTo = /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
        Extension = php
}

MimetypeConfig = hiawatha-mimetype.conf

Binding {
        BindingId = port_nonssl
        Port = 7778
        #Interface = 0.0.0.0
        MaxKeepAlive = 3600
        TimeForRequest = 3600
        MaxRequestSize = 102400
        ## not able more than 100MB; hiawatha-9.3-2 able until 2GB
        MaxUploadSize = 2000
}

Binding {
        BindingId = port_ssl
        Port = 7777
        #Interface = 0.0.0.0
        MaxKeepAlive = 3600
        TimeForRequest = 3600
        MaxRequestSize = 102400
        ## not able more than 100MB; hiawatha-9.3-2 able until 2GB
        MaxUploadSize = 2000
        #RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
        SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}

Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log

UseFastCGI = PHP5

TimeForCGI = 3600
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
#ErrorHandler = 404:/error/404.html
ErrorHandler = 404:/htmllib/lbin/sitepreview.php
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html

VirtualHost {
        #RequiredBinding = port7777
        RequireSSL = yes

        Hostname = 0.0.0.0
        WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
        StartFile = index.php
        AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
        ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log

        ## MR -- disable this UseFastCGI with # in front and create blank '/usr/local/lxlabs/kloxo/init/kloxo_use_php-cgi' file
        ## if want use php-cgi without spawn-fcgi (less memory usage)
        UseFastCGI = PHP5

        TimeForCGI = 3600
        ErrorHandler = 401:/error/401.html
        ErrorHandler = 403:/error/403.html
        #ErrorHandler = 404:/error/404.html
        ErrorHandler = 404:/htmllib/lbin/sitepreview.php
        ErrorHandler = 501:/error/501.html
        ErrorHandler = 503:/error/503.html
}
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Did you update Kloxo-MR 6.5?. If yes, run 'sh /script/cleanup'.

And or, change 'RequireSSL' to 'RequireTLS' and 'SSLcertFile' to 'SSLcertTLS' in /usr/local/lxlabs/kloxo/init/hiawatha.conf.base' and then run 'sh /script/restart' (for restart Kloxo-MR panel).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
It seems there is something wrong:

I found that I cannot ping ns1.techroom.ir from internet which it is my main dns...




sh /script/cleanup
Already use mysql55. No replace
*** Executing Update (cleanup) - BEGIN ***
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)
ERROR 1045 (28000): Access denied for user 'kloxo'@'localhost' (using password: YES)
Fix Self SSL
- Fix process
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
- php-cgi binary already installed
- Symlink /usr/local/bin/php already exists
Remove lighttpd errorlog
- Remove process
Fix the secure logfile
- Fix process
Clean hosts.deny
- Clean process
Killing gettraffic system process
- Killing process
Update Services Branch List
- List for 'dns' branch
- List for 'dovecot' branch
- List for 'httpd' branch
- List for 'lighttpd' branch
- List for 'mysql' branch
- List for 'nginx' branch
- List for 'php' branch
- List for 'qmail' branch
Checking for rpm packages
- For autorespond-toaster package
- For courier-authlib-toaster package
- For courier-imap-toaster package
- For daemontools-toaster package
- For ezmlm-toaster package
- For libdomainkeys-toaster package
- For libsrs2-toaster package
- For maildrop-toaster package
- For qmail-pop3d-toaster package
- For qmail-toaster package
- For ripmime-toaster package
- For ucspi-tcp-toaster package
- For vpopmail-toaster package
- For fetchmail package
- For bogofilter package
- For spamdyke package
- For spamdyke-utils package
- For pure-ftpd package
- For php54 package
- For php54-mbstring package
- For php54-mysql package
- For php54-pear package
- For php54-pecl-geoip package
- For php54-pecl-imagick package
- For php54-gd package
- For php54-mcrypt package
- For php54-xml package
- For php54-bcmath package
- For php54-pgsql package
- For webalizer package
- For dos2unix package
- For rrdtool package
- For xinetd package
- For lxjailshell package
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* 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)
- Uninstall web__apache
- Uninstall web__lighttpd
- Uninstall web__nginx
Remove cache dir
- Remove process
Restart syslog service
- Restart 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 Core packages
- New httpd* lighttpd* nginx* hiawatha* version installed
- New mod_* mysql* mariadb* MariaDB* php* version installed
- New bind* djbdns* maradns* pdns* nsd* version installed
- New pure-ftpd* *-toaster bogofilter version installed
- New kloxomr-webmail-*.noarch version installed
- New kloxomr-addon-*.noarch version installed
- New kloxomr-editor-*.noarch version installed
- New kloxomr-thirdparty-*.noarch version installed
Preparing some services again
- qmail enabled and restart queue
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
- 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
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl* 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
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 /home/bind
- Copy /home/bind/etc/conf/named.conf to /etc//named.conf
Copy all contents of djbdns
- Copy /usr/local/lxlabs/kloxo/file/djbdns to /home/djbdns
Initialize apache config
- /etc/httpd/conf.d dir already exists
- /home/apache/tpl dir already exists
- /home/apache/conf dir already exists
- /home/apache/etc dir already exists
- /home/apache/etc/conf dir already exists
- /home/apache/etc/conf.d dir already exists
Copy all contents of apache
- Copy /usr/local/lxlabs/kloxo/file/apache to /home/apache
- Copy /home/apache/etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf
- Copy /home/apache/etc/conf.d/~lxcenter.conf to /etc/httpd/conf.d/~lxcenter.conf
- Copy /home/apache/etc/conf.d/ssl.conf to /etc/httpd/conf.d/ssl.conf
- Copy /home/apache/etc/conf.d/__version.conf to /etc/httpd/conf.d/__version.conf
- chown root:root FOR /home/apache/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/apache/
Initialize lighttpd config
- /etc/lighttpd/conf.d dir already exists
- /home/lighttpd/tpl dir already exists
- /home/lighttpd/conf dir already exists
- /home/lighttpd/etc dir already exists
- /home/lighttpd/etc/conf dir already exists
- /home/lighttpd/etc/conf.d dir already exists
Copy all contents of lighttpd
- Copy /usr/local/lxlabs/kloxo/file/lighttpd to /home/lighttpd
- Copy /home/lighttpd/etc/conf/lighttpd.conf to /etc/lighttpd/lighttpd.conf
- Copy /home/lighttpd/etc/conf.d/~lxcenter.conf to /etc/lighttpd/conf.d/~lxcenter.conf
- Copy /home/lighttpd/etc/conf.d/ssl.conf to /etc/lighttpd/conf.d/ssl.conf
- chown root:root FOR /home/lighttpd/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/lighttpd/
Initialize nginx config
- /etc/nginx/conf.d dir already exists
- /home/nginx/tpl dir already exists
- /home/nginx/conf dir already exists
- /home/nginx/etc dir already exists
- /home/nginx/etc/conf dir already exists
- /home/nginx/etc/conf.d dir already exists
Copy all contents of nginx
- Copy /usr/local/lxlabs/kloxo/file/nginx to /home/nginx
- Copy /home/nginx/etc/conf/nginx.conf to /etc/nginx/nginx.conf
- Copy /home/nginx/etc/conf.d/~lxcenter.conf to /etc/nginx/conf.d/~lxcenter.conf
- chown root:root FOR /home/nginx/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/nginx/
- Install /etc/php-fpm.conf
- Copy php-fpm init to /etc/init.d dir
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
Initialize logrotate
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
*** Restart services - BEGIN ***
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
*** Restart services - END ***

Process Time: 00:00:00:56.56153 (dd:hh:mm:ss:xxxxxx)
[root@server1 sysconfig]# ^C
[root@server1 sysconfig]# nano /usr/local/lxlabs/kloxo/init/hiawatha.conf.base
[root@server1 sysconfig]# sh /script/restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Mohsen RooholAmin
Sepehr Mahan Co

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
 service iptables restart
iptables: Setting chains to policy ACCEPT: nat mangle filte[  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: No config file.                                  [WARNING]
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Kloxo-MR not use iptables and try to disabled it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
I disable it and chkconfig off.

after last cleanup nothing work. even httpd cannot install

please help. I'm in a very bad critical situation
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Look like hiawatha (as webserver) in active state. It's wrong in Kloxo-MR 6.5 because no option for hiawatha as webserver. Try, run 'chkconfig hiawatha off; service hiawatha stop' and then 'sh /script/restart-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 43
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Mohsen RooholAmin
Sepehr Mahan Co

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,587
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
To fix hiawatha for panel,  change 'RequireSSL' to 'RequireTLS' and 'SSLcertFile' to 'SSLcertTLS' in /usr/local/lxlabs/kloxo/init/hiawatha.conf.base' and then run 'sh /script/restart' (for restart Kloxo-MR panel).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
it dosn't work for me,
please give a solution

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
The right answer is
change
'RequireSSL' to 'RequireTLS' and 'SSLcertFile' to 'TLScertFile'
in /usr/local/lxlabs/kloxo/init/hiawatha.conf.base'
and then
run 'sh /script/restart' (for restart Kloxo-MR panel).

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.132 seconds with 23 queries.

web stats analysis