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, 13:55:34

Author Topic: apache wont start and i cant switch to others  (Read 11880 times)

0 Members and 1 Guest are viewing this topic.

Offline chems

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
apache wont start and i cant switch to others
« on: 2015-02-28, 20:11:41 »
Hello, I have kloxo mr 6.5 i was working fine with nginx then switched to apache test something so it woould never start and i couldnt go back to nginx or lighttpd even if i see nginx there but apache service still running and i get this error in ssh

Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache wont start and i cant switch to others
« Reply #1 on: 2015-02-28, 21:56:43 »
Switch back to apache and then try 'yum reinstall httpd* mod_*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chems

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #2 on: 2015-03-01, 07:20:03 »
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package httpd24u.x86_64 0:2.4.12-3.ius.el6 will be reinstalled
---> Package httpd24u-filesystem.noarch 0:2.4.12-3.ius.el6 will be reinstalled
---> Package httpd24u-tools.x86_64 0:2.4.12-3.ius.el6 will be reinstalled
---> Package mod_fastcgi.x86_64 0:2.4.7-3.mr.el6 will be reinstalled
---> Package mod_rpaf.x86_64 0:0.6-4.mr.el6 will be reinstalled
---> Package mod_ruid2.x86_64 0:0.9.8-1.mr.el6 will be reinstalled
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_ruid2-0.9.8-1.mr.el6.x86_64
---> Package mod_ssl.x86_64 1:2.2.29-1.mr.el6 will be reinstalled
---> Package mod_suphp.x86_64 0:0.7.2-1.mr.el5 will be reinstalled
--> Running transaction check
---> Package httpd.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Dependency: httpd-tools = 2.2.29-1.mr.el6 for package: httpd-2.2.29-1.mr.el6.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Conflict: httpd24u-2.4.12-3.ius.el6.x86_64 conflicts httpd < 2.4.12
--> Processing Conflict: httpd24u-tools-2.4.12-3.ius.el6.x86_64 conflicts httpd-tools < 2.4.12
--> Processing Conflict: httpd24u-2.4.12-3.ius.el6.x86_64 conflicts httpd < 2.4.12
--> Processing Conflict: httpd24u-tools-2.4.12-3.ius.el6.x86_64 conflicts httpd-tools < 2.4.12
--> Finished Dependency Resolution
Error: httpd24u conflicts with httpd-2.2.29-1.mr.el6.x86_64
Error: httpd24u-tools conflicts with httpd-tools-2.2.29-1.mr.el6.x86_64
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
mod_ruid2-0.9.8-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd = ('0', '2.2.29', '1.mr.el6')
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
php53u-5.3.29-1.ius.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)


not working bro

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache wont start and i cant switch to others
« Reply #3 on: 2015-03-01, 07:22:55 »
Sorry, try 'yum reinstall httpd-* mod_*'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chems

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #4 on: 2015-03-01, 07:25:12 »
[root@18451 ~]# yum reinstall httpd-* mod_*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Reinstall Process
No Match for argument: httpd-*
Loading mirror speeds from cached hostfile
 * base: mirror.oxilion.nl
 * extras: mirrors.viralvps.com
 * mratwork-epel: epel.mirror.nucleus.be
 * mratwork-ius-stable: lon.mirror.rackspace.com
 * mratwork-webtatic: uk.repo.webtatic.com
 * updates: mirror.1000mbps.com
0 packages excluded due to repository protections
Package(s) httpd-* available, but not installed.
Resolving Dependencies
--> Running transaction check
---> Package mod_fastcgi.x86_64 0:2.4.7-3.mr.el6 will be reinstalled
---> Package mod_rpaf.x86_64 0:0.6-4.mr.el6 will be reinstalled
---> Package mod_ruid2.x86_64 0:0.9.8-1.mr.el6 will be reinstalled
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_ruid2-0.9.8-1.mr.el6.x86_64
---> Package mod_ssl.x86_64 1:2.2.29-1.mr.el6 will be reinstalled
---> Package mod_suphp.x86_64 0:0.7.2-1.mr.el5 will be reinstalled
--> Running transaction check
---> Package httpd.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Dependency: httpd-tools = 2.2.29-1.mr.el6 for package: httpd-2.2.29-1.mr.el6.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Conflict: httpd24u-2.4.12-3.ius.el6.x86_64 conflicts httpd < 2.4.12
--> Processing Conflict: httpd24u-tools-2.4.12-3.ius.el6.x86_64 conflicts httpd-tools < 2.4.12
--> Finished Dependency Resolution
Error: httpd24u conflicts with httpd-2.2.29-1.mr.el6.x86_64
Error: httpd24u-tools conflicts with httpd-tools-2.2.29-1.mr.el6.x86_64
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
mod_ruid2-0.9.8-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd = ('0', '2.2.29', '1.mr.el6')
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
php53u-5.3.29-1.ius.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache wont start and i cant switch to others
« Reply #5 on: 2015-03-01, 07:48:02 »
Inform here 'yum list httpd*; dir -l /etc/yum.repos.d'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chems

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #6 on: 2015-03-01, 07:49:08 »
Code: [Select]
[root@18451 ~]# yum list httpd*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: mirror.oxilion.nl
 * extras: mirrors.viralvps.com
 * mratwork-epel: epel.mirror.nucleus.be
 * mratwork-ius-stable: lon.mirror.rackspace.com
 * mratwork-webtatic: uk.repo.webtatic.com
 * updates: mirror.1000mbps.com
0 packages excluded due to repository protections
Installed Packages
httpd24u.x86_64                                                         2.4.12-3.ius.el6                                                   @mratwork-ius-stable
httpd24u-filesystem.noarch                                              2.4.12-3.ius.el6                                                   @mratwork-ius-stable
httpd24u-tools.x86_64                                                   2.4.12-3.ius.el6                                                   @mratwork-ius-stable
Available Packages
httpd.x86_64                                                            2.2.29-1.mr.el6                                                    mratwork-release-version-arch
httpd-devel.i686                                                        2.2.15-39.el6.centos                                               base
httpd-devel.x86_64                                                      2.2.29-1.mr.el6                                                    mratwork-release-version-arch
httpd-itk.x86_64                                                        2.2.22-7.el6                                                       mratwork-epel
httpd-manual.noarch                                                     2.2.15-39.el6.centos                                               base
httpd-manual.x86_64                                                     2.2.29-1.mr.el6                                                    mratwork-release-version-arch
httpd-tools.x86_64                                                      2.2.29-1.mr.el6                                                    mratwork-release-version-arch
httpd24.x86_64                                                          2.4.6-3.mr.el6                                                     mratwork-release-version-arch
httpd24-devel.x86_64                                                    2.4.6-3.mr.el6                                                     mratwork-release-version-arch
httpd24-manual.x86_64                                                   2.4.6-3.mr.el6                                                     mratwork-release-version-arch
httpd24-tools.x86_64                                                    2.4.6-3.mr.el6                                                     mratwork-release-version-arch
httpd24u-debuginfo.x86_64                                               2.4.12-3.ius.el6                                                   mratwork-ius-stable
httpd24u-devel.x86_64                                                   2.4.12-3.ius.el6                                                   mratwork-ius-stable
httpd24u-manual.noarch                                                  2.4.12-3.ius.el6                                                   mratwork-ius-stable

Code: [Select]
[root@18451 ~]# dir -l /etc/yum.repos.d
total 32
-rw-r--r--. 1 root root 1991 Oct 23 07:41 CentOS-Base.repo
-rw-r--r--. 1 root root  647 Oct 23 07:41 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  289 Oct 23 07:41 CentOS-fasttrack.repo
-rw-r--r--. 1 root root  630 Oct 23 07:41 CentOS-Media.repo
-rw-r--r--. 1 root root 5394 Oct 23 07:41 CentOS-Vault.repo
-rw-r--r--. 1 root root 6892 Feb 28 16:28 mratwork.repo

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache wont start and i cant switch to others
« Reply #7 on: 2015-03-01, 08:38:51 »
Try 'yum remove httpd* mod_* -y' and then 'yum install -y httpd mod_ssl mod_rpaf mod_ruid2 mod_suphp mod_fastcgi mod_fcgid mod_define'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline StarScream159

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #8 on: 2015-03-26, 21:06:38 »
Hi MRatWork, I'm having the same problem as above with very very similar errors and conflicts. However running 'yum remove httpd* mod_* -y' doesn't complete successfully:

Code: [Select]
[root@dedicated script]# yum remove httpd* mod_* -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package httpd24u.x86_64 0:2.4.12-4.ius.el6 will be erased
---> Package httpd24u-filesystem.noarch 0:2.4.12-4.ius.el6 will be erased
---> Package httpd24u-tools.x86_64 0:2.4.12-4.ius.el6 will be erased
---> Package mod_fastcgi.x86_64 0:2.4.7-3.mr.el6 will be erased
---> Package mod_fcgid.x86_64 0:2.3.9-1.el6 will be erased
---> Package mod_rpaf.x86_64 0:0.6-4.mr.el6 will be erased
---> Package mod_ruid2.x86_64 0:0.9.8-1.mr.el6 will be erased
---> Package mod_ssl.x86_64 1:2.2.29-1.mr.el6 will be erased
---> Package mod_suphp.x86_64 0:0.7.2-1.mr.el5 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================================
 Package                                          Arch                                Version                                         Repository                                                   Size
========================================================================================================================================================================================================
Removing:
 httpd24u                                         x86_64                              2.4.12-4.ius.el6                                @mratwork-ius-stable                                        3.6 M
 httpd24u-filesystem                              noarch                              2.4.12-4.ius.el6                                @mratwork-ius-stable                                        366
 httpd24u-tools                                   x86_64                              2.4.12-4.ius.el6                                @mratwork-ius-stable                                        166 k
 mod_fastcgi                                      x86_64                              2.4.7-3.mr.el6                                  @mratwork-release-version-arch                              357 k
 mod_fcgid                                        x86_64                              2.3.9-1.el6                                     @mratwork-epel                                              220 k
 mod_rpaf                                         x86_64                              0.6-4.mr.el6                                    @mratwork-release-version-arch                              9.6 k
 mod_ruid2                                        x86_64                              0.9.8-1.mr.el6                                  @mratwork-release-version-arch                               16 k
 mod_ssl                                          x86_64                              1:2.2.29-1.mr.el6                               @mratwork-release-version-arch                              995 k
 mod_suphp                                        x86_64                              0.7.2-1.mr.el5                                  @mratwork-release-version-arch                              308 k

Transaction Summary
========================================================================================================================================================================================================
Remove        9 Package(s)

Installed size: 5.6 M
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
httpd-mmn = 20051115 is needed by (installed) php53u-5.3.29-1.ius.el6.x86_64
httpd-mmn = 20051115 is needed by (installed) php53u-5.3.29-1.ius.el6.x86_64
httpd-mmn = 20051115 is needed by (installed) php53u-5.3.29-1.ius.el6.x86_64
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
mod_fcgid-2.3.9-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
mod_ruid2-0.9.8-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd = ('0', '2.2.29', '1.mr.el6')
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
php53u-5.3.29-1.ius.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2015-03-26-16-11t_LhP9.yumtx
[root@dedicated script]#

Running 'yum reinstall httpd-* mod_*' gave me slightly different errors then the above person:
Code: [Select]
[root@dedicated script]# yum reinstall httpd-* mod_*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Reinstall Process
No Match for argument: httpd-*
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.us.leaseweb.net
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * rpmforge: repoforge.mirror.constant.com
 * rpmforge-extras: repoforge.mirror.constant.com
 * updates: mirror.us.leaseweb.net
0 packages excluded due to repository protections
Package(s) httpd-* available, but not installed.
Resolving Dependencies
--> Running transaction check
---> Package mod_fastcgi.x86_64 0:2.4.7-3.mr.el6 will be reinstalled
---> Package mod_fcgid.x86_64 0:2.3.9-1.el6 will be reinstalled
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_fcgid-2.3.9-1.el6.x86_64
---> Package mod_rpaf.x86_64 0:0.6-4.mr.el6 will be reinstalled
---> Package mod_ruid2.x86_64 0:0.9.8-1.mr.el6 will be reinstalled
---> Package mod_ssl.x86_64 1:2.2.29-1.mr.el6 will be reinstalled
---> Package mod_suphp.x86_64 0:0.7.2-1.mr.el5 will be reinstalled
--> Running transaction check
---> Package httpd.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Dependency: httpd-tools = 2.2.29-1.mr.el6 for package: httpd-2.2.29-1.mr.el6.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.2.29-1.mr.el6 will be installed
--> Processing Conflict: httpd24u-2.4.12-4.ius.el6.x86_64 conflicts httpd < 2.4.12
--> Processing Conflict: httpd24u-tools-2.4.12-4.ius.el6.x86_64 conflicts httpd-tools < 2.4.12
--> Finished Dependency Resolution
Error: httpd24u conflicts with httpd-2.2.29-1.mr.el6.x86_64
Error: httpd24u-tools conflicts with httpd-tools-2.2.29-1.mr.el6.x86_64
 You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
mod_fcgid-2.3.9-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
mod_ruid2-0.9.8-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd = ('0', '2.2.29', '1.mr.el6')
1:mod_ssl-2.2.29-1.mr.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
php53u-5.3.29-1.ius.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
[root@dedicated script]#

The difference being the 'mod_fcgid-2.3.9-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)' line.

Any ideas? Apache won't start at all.

EDIT: Decided to run and include the output of what you asked the guy before me to run.

'yum list httpd*':
Code: [Select]
[root@dedicated script]# yum list httpd*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.us.leaseweb.net
 * mratwork-epel: mirror.symnds.com
 * mratwork-ius-stable: mirror.symnds.com
 * rpmforge: repoforge.mirror.constant.com
 * rpmforge-extras: repoforge.mirror.constant.com
 * updates: mirror.us.leaseweb.net
0 packages excluded due to repository protections
Installed Packages
httpd24u.x86_64                                                                         2.4.12-4.ius.el6                                                                   @mratwork-ius-stable
httpd24u-filesystem.noarch                                                              2.4.12-4.ius.el6                                                                   @mratwork-ius-stable
httpd24u-tools.x86_64                                                                   2.4.12-4.ius.el6                                                                   @mratwork-ius-stable
Available Packages
httpd.x86_64                                                                            2.2.29-1.mr.el6                                                                    mratwork-release-version-arch
httpd-devel.i686                                                                        2.2.15-39.el6.centos                                                               base
httpd-devel.x86_64                                                                      2.2.29-1.mr.el6                                                                    mratwork-release-version-arch
httpd-itk.x86_64                                                                        2.2.22-7.el6                                                                       mratwork-epel
httpd-manual.noarch                                                                     2.2.15-39.el6.centos                                                               base
httpd-manual.x86_64                                                                     2.2.29-1.mr.el6                                                                    mratwork-release-version-arch
httpd-tools.x86_64                                                                      2.2.29-1.mr.el6                                                                    mratwork-release-version-arch
httpd24.x86_64                                                                          2.4.6-3.mr.el6                                                                     mratwork-release-version-arch
httpd24-devel.x86_64                                                                    2.4.6-3.mr.el6                                                                     mratwork-release-version-arch
httpd24-manual.x86_64                                                                   2.4.6-3.mr.el6                                                                     mratwork-release-version-arch
httpd24-tools.x86_64                                                                    2.4.6-3.mr.el6                                                                     mratwork-release-version-arch
httpd24u-debuginfo.x86_64                                                               2.4.12-4.ius.el6                                                                   mratwork-ius-stable
httpd24u-devel.x86_64                                                                   2.4.12-4.ius.el6                                                                   mratwork-ius-stable
httpd24u-manual.noarch                                                                  2.4.12-4.ius.el6                                                                   mratwork-ius-stable
[root@dedicated script]#

'dir -l /etc/yum.repos.d':
Code: [Select]
[root@dedicated script]# dir -l /etc/yum.repos.d
total 64
-rw-r--r--  1 root root 1991 Oct 23 07:41 CentOS-Base.repo
-rw-r--r--  1 root root  647 Oct 23 07:41 CentOS-Debuginfo.repo
-rw-r--r--  1 root root  289 Oct 23 07:41 CentOS-fasttrack.repo
-rw-r--r--  1 root root  630 Oct 23 07:41 CentOS-Media.repo
-rw-r--r--  1 root root 5394 Oct 23 07:41 CentOS-Vault.repo
-rw-r--r--  1 root root  143 Aug 13  2014 dag.repo
-rw-r--r--  1 root root  739 Mar 20  2013 mirrors-rpmforge
-rw-r--r--  1 root root  717 Mar 20  2013 mirrors-rpmforge-extras
-rw-r--r--  1 root root  728 Mar 20  2013 mirrors-rpmforge-testing
-rw-r--r--  1 root root 7755 Mar 21 04:36 mratwork.repo
-rw-r--r--. 1 root root 6228 Aug 12  2014 mratwork.repo.rpmsave
-rw-r--r--  1 root root 1128 Nov 28 21:55 rpmforge.repo
-rw-r--r--  1 root root  107 Aug 14  2014 serverdensity.repo
[root@dedicated script]#

Thanks so much.
« Last Edit: 2015-03-26, 21:10:17 by StarScream159 »

Offline StarScream159

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #9 on: 2015-03-26, 22:22:31 »
I was able to run the few commands after tweaking them a bit:

'yum remove httpd* mod_* php53u -y' worked
then
'yum install -y httpd php53u mod_ssl mod_rpaf mod_ruid2 mod_suphp mod_fastcgi mod_fcgid mod_define' worked

However now when I attempt to start apache I get the following error:
Code: [Select]
[root@dedicated httpd]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[root@dedicated httpd]#

I've rebooted the server to make sure there wasn't an old apache process running, but it is still giving that error.

Code: [Select]
[root@dedicated script]# netstat -tulpn| grep :80
[root@dedicated script]#

Also when I do a 'sh /script/restart-web' I notice httpd isn't in the list of things it is attempting to restart.
Code: [Select]
[root@dedicated script]# sh /script/restart-web
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@dedicated script]#

I've really buggered it.



EDIT: I got it to work again by going to switch program. I swtiched to lighthttpd, and then back to apache. Everything started properly now.
« Last Edit: 2015-03-26, 22:28:47 by StarScream159 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache wont start and i cant switch to others
« Reply #10 on: 2015-03-27, 04:39:56 »
Sometimes, httpd didn't work in this situation. Need reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline StarScream159

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: apache wont start and i cant switch to others
« Reply #11 on: 2015-03-27, 15:00:15 »
Need reboot.

Thanks for the reply! I did reboot, a couple times, but that wouldn't fix it. Anyways, the above fix I posted work so no worries. Thanks.

 


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

Page created in 0.066 seconds with 18 queries.

web stats analysis