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-06-16, 16:15:28

Author Topic: Problem in running Apache service  (Read 6767 times)

0 Members and 1 Guest are viewing this topic.

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Problem in running Apache service
« on: 2014-01-10, 18:52:14 »
Hey

Code: [Select]
[root@199960 ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Sy
ntax error on line 3 of /etc/httpd/conf.d/ruid2.conf: Cannot load /etc/httpd/mod
ules/mod_ruid2.so into server: /etc/httpd/modules/mod_ruid2.so: cannot open shar
ed object file: No such file or directory
                                                           [FAILED]
« Last Edit: 2014-01-10, 18:56:18 by aneeshtan »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem in running Apache service
« Reply #1 on: 2014-01-10, 19:04:38 »
To make sure:
Code: [Select]
yum clean all
yum update kloxomr
yum install mod_rpaf mod_ruid2 mod_fastcgi mod_fcgid mod_ssl
sh /script/cleanup
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #2 on: 2014-01-10, 20:08:06 »
And now I get this message:
Code: [Select]
[root@199960 ~]# service httpd restart
httpd: unrecognized service

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem in running Apache service
« Reply #3 on: 2014-01-10, 20:18:22 »
Something with your VPS because your previous information just ruid2 not exist.

Go to 'switch program' and change to lighttpd and then change back to apache.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #4 on: 2014-01-10, 20:36:52 »
I recieve this message now on my clients :
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
 
If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
 
Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
 

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem in running Apache service
« Reply #5 on: 2014-01-10, 20:38:56 »
Inform here 'sh /script/restart-all'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #6 on: 2014-01-11, 14:36:40 »
Code: [Select]
[root@199960 conf.d]# sh /script/restart-all
Stopping mysqld:  d]# nano php.conf                        [  OK  ]
Starting mysqld:                                           [  OK  ]
/script/restart-all: line 19: qmailctl: command not found
/script/restart-all: line 21: qmailctl: command not found
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm: [11-Jan-2014 17:06:20] NOTICE: PHP message: PHP De
omments starting with '#' are deprecated in Unknown on line 1 in Unk
 0
                                                           [  OK  ]
« Last Edit: 2014-01-11, 14:49:43 by aneeshtan »

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #7 on: 2014-01-12, 20:34:04 »
When I want to start httpd it says :

Code: [Select]
Starting httpd: httpd: bad user name qarnte.com


How to solve it ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problem in running Apache service
« Reply #8 on: 2014-01-13, 06:11:53 »
Try:
Code: [Select]
yum install *-toaster
sh /script/fixmail-all
yum reinstall php*-fpm
sh /script/fixphp
sh /script/fixweb
sh /script/restart-web

So, What you did until you found this issue?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #9 on: 2014-01-14, 17:33:33 »
I was trying to switch to nginx and then switch back to apache , that my server crashed in middle of switching .

But I think it is all about deleting a client , and the deletion was incomplete and that is the reason apache can't be started !
Code: [Select]
Starting httpd: Warning: DocumentRoot [/home/qarnte/qarnte.com/] does not exist
httpd: bad user name qarnte

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Problem in running Apache service
« Reply #10 on: 2014-01-14, 17:57:46 »
solved by erasing this file :

/home/apache/conf/domains

conf. file of that domain

 


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

Page created in 0.045 seconds with 21 queries.

web stats analysis