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-03-29, 10:28:27

Author Topic: All system crashed!  (Read 12763 times)

0 Members and 1 Guest are viewing this topic.

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
All system crashed!
« on: 2014-08-21, 07:10:24 »
Hello

I dont know what happenned, because all system worked well at yesterday night, but today morning all system crashed. Please see...

What can i do?

Code: [Select]
A(z) mysqld Stop:                                    [  OK  ]
A(z) mysqld Start:                                      [  OK  ]
A named Stop:                                        [  OK  ]
A named Start:
Error in named configuration:
/etc/named.conf:10: open: /opt/configs/bind/conf/defaults/named.acl.conf: file not found
                                                           [FAILED]
Stopping traffic_cop:                                      [  OK  ]
Stopping traffic_manager:                                  [  OK  ]
Stopping traffic_server:                                   [  OK  ]
Starting Apache Traffic Server:                            [  OK  ]
A(z) httpd Stop:                                     [FAILED]
A(z) httpd Start: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 91 of /etc/httpd/conf.d/~lxcenter.conf: Include directory '/opt/configs/apache/conf/defaults' not found
                                                           [FAILED]
Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error while including '/opt/configs/hiawatha/conf/defaults'
                                                           [FAILED]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no killed process
Starting qmail-toaster: svscan.
xinetd Stop:                                    [  OK  ]
xinetd Start:                                      [  OK  ]
Execute fixlxphpexe for php53s...
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php53m-fpm:                                       [  OK  ]
Starting php53m-fpm:                                       [  OK  ]


Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: All system crashed!
« Reply #1 on: 2014-08-21, 07:27:39 »
First SSH, run 'sh /script/upcp' as root.

Login to panel, switch to a non-apache webserver (lightppd) in switch programs.  After it has completed, wait about 5 minutes, switch it back to whatever webserver you want.

Ssh:
sh /script/restart-all

Do that then report.  I will help.  I already have kloxomr7 running on two servers.
« Last Edit: 2014-08-21, 07:45:29 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: All system crashed!
« Reply #2 on: 2014-08-21, 07:49:21 »
I have the same error.
I run /script/upcp and upcp -y but the same.

[root@localhost home]# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 3 of /opt/configs/apache/conf/defaults/init.conf:
Invalid command 'Define', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: All system crashed!
« Reply #3 on: 2014-08-21, 09:56:33 »
Hello

Thank you for your reply, i try to do that, but the error is the same.  I cannot enter any of my websites, the kloxo too.  Nothing changed  :'( please help, any other solution?

Code: [Select]
*** Executing Update (cleanup) - END ***

*** Restart services - BEGIN ***
mysqld stop:                                    [  OK  ]
mysqld start:                                      [  OK  ]
A named stop:                                        [  OK  ]
A named start:
Error in named configuration:
/etc/named.conf:10: open: /opt/configs/bind/conf/defaults/named.acl.conf: file not found
                                                           [FAILED]
Stopping traffic_cop:                                      [  OK  ]
Stopping traffic_manager:                                  [  OK  ]
Stopping traffic_server:                                   [  OK  ]
Starting Apache Traffic Server:                            [  OK  ]
A(z) httpd stop:                                     [FAILED]
A(z) httpd start: Syntax error on line 3 of /opt/configs/apache/conf/defaults/init.conf:
Invalid command 'Define', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
Stopping Hiawatha web server:                              [  OK  ]
Starting Hiawatha web server:                              [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no killed process
Starting qmail-toaster: svscan.
A(z) xinetd stop:                                    [  OK  ]
A(z) xinetd strart:                                      [  OK  ]
Execute fixlxphpexe for php53s...
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php53m-fpm:                                       [  OK  ]
Starting php53m-fpm:                                       [  OK  ]
*** Restart services - END ***


*** Process Time: 00:00:03:32.212511 (dd:hh:mm:ss:xxxxxx) ***


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All system crashed!
« Reply #4 on: 2014-08-21, 10:14:49 »
Update Kloxo-MR and then run cleanup.

Or, try 'yum install mod_define'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: All system crashed!
« Reply #5 on: 2014-08-21, 10:42:06 »
Almost good :)

No i can enter the kloxo, the named work, but i use hiawatha proxy and the error is the same. I try to switch another web server like apache (in the apache web server the httpd good), or any, and after that restart, but when i switch back to hiawatha proxy the error again. what can i do?

Code: [Select]
httpd stop: [Failed]
httpd start: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: All system crashed!
« Reply #6 on: 2014-08-21, 10:49:40 »
I tried to run yum install mod_define and cleanup, but the same message.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All system crashed!
« Reply #7 on: 2014-08-21, 11:06:17 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: All system crashed!
« Reply #8 on: 2014-08-21, 11:15:22 »
Here it is:

Code: [Select]
A. Kloxo-MR: 7.0.0.b-2014082102

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el6.x86_64
   2. PHP: php54-5.4.31-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.b-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: trafficserver-4.0.1-1.mr.el6.x86_64
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         31989       2023      29965          0        336        690
   -/+ buffers/cache:        995      30993
   Swap:         3999         56       3943


Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: All system crashed!
« Reply #9 on: 2014-08-21, 11:21:49 »
Here mine with fresh installed today

A. Kloxo-MR: 7.0.0.b-2014082002

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-5.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.b-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.8.2-0.23.rc1.el6_5.1.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
« Last Edit: 2014-08-21, 11:23:30 by azzureal »

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: All system crashed!(Solved)
« Reply #10 on: 2014-08-21, 11:43:54 »
I just put in 'LoadModule define_module modules/mod_define.so' in httpd.conf.

Thanks
« Last Edit: 2014-08-21, 12:00:25 by azzureal »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All system crashed!
« Reply #11 on: 2014-08-21, 12:04:10 »
It's make double declare. Move to /etc/httpd/conf.d/define.conf
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: All system crashed!
« Reply #12 on: 2014-08-21, 12:20:46 »
And what about my httpd error? I dont make any change on it. I changed web proxy again, and switch back, but nothing. the error is on...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All system crashed!
« Reply #13 on: 2014-08-21, 12:29:55 »
Try update to latest version. It's fix hiawatha-proxy.

To fix this issue (without update), change 'Include /opt/configs/hiawatha/conf/domains' to 'Include /opt/configs/hiawatha/conf/proxies' in '/etc/hiawatha/hiawatha.conf'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline NetMajom

  • Valuable Member
  • *
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: All system crashed!
« Reply #14 on: 2014-08-21, 13:12:50 »
I have the latest version, so i cant update.

I made the changes what you write, after that i make 2times restart, but the error still exist in the hiawatha proxy. What now?

Code: [Select]
The httpd stop:                                     [FAILED]
The httpd start: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
« Last Edit: 2014-08-21, 13:15:01 by NetMajom »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.029 seconds with 20 queries.

web stats analysis