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-27, 19:26:35

Author Topic: service httpd restart -> httpd: unrecognized service  (Read 11698 times)

0 Members and 1 Guest are viewing this topic.

Offline alexo

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Hello

During last 2 days i have problems with my VPS -> 2-3 days per days my site (this is the only website hosted in this VPS account) was down, and each time i need to restart httpd and it become online.

After last restart looks like something went wrong and as result now i have

Code: [Select]
service httpd restart
httpd: unrecognized service

Here is sysinfo

Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014042802

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el5
   2. PHP: php53u-5.3.28-2.ius.el5
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
   7. Dns: bind-9.9.5-1.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3072        962       2109          0          0        552
   -/+ buffers/cache:        410       2661
   Swap:            0          0          0

Now i don't have and control panel access - :-(

Try this, but w/o any result
Quote
sh /script/cleanup
yum install *-toaster
sh /script/fixmail-all

yum reinstall php*-fpm
sh /script/fixphp
sh /script/fixweb
sh /script/restart-web

Here is  topic with errors that i had before this last failure :=(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: service httpd restart -> httpd: unrecognized service
« Reply #1 on: 2014-04-30, 14:16:10 »
Look like something wrong with httpd (aka this package not exists). Try 'yum install httpd httpd-tools' and then 'sh /script/fixweb; sh /script/restart-web'.

What's error found if access to panel?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline alexo

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: service httpd restart -> httpd: unrecognized service
« Reply #2 on: 2014-04-30, 14:36:43 »
thanks

after this

Quote
Try 'yum install httpd httpd-tools' and then 'sh /script/fixweb; sh /script/restart-web'.

service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Offline alexo

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: service httpd restart -> httpd: unrecognized service
« Reply #3 on: 2014-04-30, 14:38:12 »
My site is still offline, but now i have control panel access :-)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: service httpd restart -> httpd: unrecognized service
« Reply #4 on: 2014-04-30, 14:38:18 »
Access your panel and then change web to 'lighttpd' and then change back to 'apache' (or nginx-proxy).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline alexo

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: service httpd restart -> httpd: unrecognized service
« Reply #5 on: 2014-04-30, 15:35:53 »
MRatWork thank you very much for you assistance :-)
Now my site is UP after 6 hours downtime.

Also check pls you PM :-)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.067 seconds with 19 queries.

web stats analysis