CentOS 5 :: Httpd Will Not Start

Sep 1, 2010

I am trying to set up my httpd on CentOs 5.5 I did some searches and found this link. [URL]

rpm -qa |grep -i httpd
httpd-2.2.3-43.el5.centos.3

I created the ssl files as they described but still it wont start.

ervice httpd start
Starting httpd: [Wed Sep 01 09:25:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[FAILED]
cat ssl_error_log

[Code].....

View 4 Replies


ADVERTISEMENT

CentOS 5 :: Httpd Can't Start Due To Ports 80 And 443 Magically Being In-use / Why Is So?

Dec 4, 2009

Recently I installed an SSL certificate from GoDaddy on my Amazon EC2 instance which runs CentOS 5. All has been good till I installed the SSL certificate. Everytime I restart the system it fails to have httpd service working because code...

I looked on the net and found a solution which says I should change port 80 and port 443 in files httpd.conf and ssl.conf to port 88 and 553 and restart apache, change back the ports to 80 and 443 and restart again. This method worked before but now I am stuck with it not starting with ports 80 and 443 and if I change these ports then I can't reach my site and I have to add port number wtih : which is really not good.

1- What causes this problem and where can I look to debug it?
2- What can I do to permenently stop this problem? is there any place that I can dedicate these two ports to apache user?

View 10 Replies View Related

CentOS 5 Server :: HTTPd Won't Start After Update To 5.6?

Jul 2, 2011

I just upgraded to CentOS 5.6 (been on 5.2 for ages....) and am getting the following error in the apache error_log file:[Sat Jul 02 13:50:25 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jul 02 13:50:25 2011] [error] SSL Library Error: -8187 Security library: invalid argumentsThe notice entry, I can understand, however the SSL error is halting apache from starting. It has been suggested that this might be a package mismatch issue. I'll be more than happy sharing the package list for this box on request.

View 2 Replies View Related

CentOS 5 :: C5 - Testing HTTPD And MySQL Start At Boot

May 13, 2010

Alright, so I installed the c5-testing versions of httpd, php, and mysql, since my server is used for other daemons primarily and these aren't used as production servers I decided to test the bleeding edge versions of these, report any bugs I find, etc. The problem is, since I updated httpd and mysqld they no longer start up at boot. I tried using chkconfig --add with both of them, but both their init.d scripts have - for levels, so I did not assign any levels. They still do not start up at boot. [URL]

View 2 Replies View Related

Fedora Installation :: Start The Service Of Httpd Error Message Displayed: Starting Httpd: (98)Address Already In Use ?

Sep 19, 2010

I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80

View 1 Replies View Related

CentOS 5 Server :: Httpd Running Very Slow "/var/lock/subsys/httpd': No Space Left On Device"?

Jun 10, 2011

Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums

When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server

Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment

[Code]...

View 4 Replies View Related

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart

[code]....

View 3 Replies View Related

General :: Set Mysql To Start 3 Minutes Before Httpd?

Sep 22, 2010

I have a big database, which should "build up" before receiving requests, so i need httpd to start about 3 minutes after mysql start, so it prevents the visitors to start querys to the database, and making server load high. How can i do this.

View 10 Replies View Related

Fedora Servers :: HTTPD Does Not Start On Boot

Jun 24, 2010

On this system httpd does not start on boot. I can manually start it without errors with service httpd start.

Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Where do I look to see why it wont start?

View 9 Replies View Related

Fedora :: Httpd Won't Start Failed Error

Nov 18, 2010

I rebuilt my box with Fedora 14. installed httpd, mysql php etc. when I tried to start my httpd it was giving me error about finding the root document and server name I was able to fix temp the issue with the name by placing ServerName 192.168.1.105:80 in the httpd.conf file and the root document somehow was fixed also. but I am still can't start the httpd and no error message except that it failed. I also disabled Selinix but still no luck.

View 11 Replies View Related

Software :: HTTPD Service Start Up With Error

May 9, 2011

I am using fedora9 server I installed & configured httpd ,mysqld & heartbeat service its well and running but every 10 to 15 days httpd service is stoped when I tried to start the service

I am getting this below error:
#sudo /sbin/service httpd start
Starting httpd: [Mon May 09 09:03:07 2011] [crit] (17)File exists: Failed to create shared memory segment for backend 'XXGLOBAL'
I checked httpd pid
#ps -ef |grep httpd
526 7553 7194 0 09:06 pts/0 00:00:00 grep httpd

I googled and run below the commands:
#ipcs -s | grep apache
I didn't get any out put:
#ipcs -s | grep apacheipcs -s | grep apache | perl -e 'while () { @a=split(/s+/); print `ipcrm sem $a[1]`}'
deprecated usage: ipcrm {shm | msg | sem} id ...
usage: ipcrm [ [-q msqid] [-m shmid] [-s semid]
[-Q msgkey] [-M shmkey] [-S semkey] ... ]
deprecated usage: ipcrm {shm | msg | sem} id ...
usage: ipcrm [ [-q msqid] [-m shmid] [-s semid] .....

I got the out put below like I wait 5 to 10 min but the proses will going on I killed the process I tried to start the service but I got same error. When I restarted my O/S the problem is rectified but every 10 to 15 days same problem I am getting.

I checked http error_log file:
# tail -f /var/log/httpd/error_log
[Mon May 09 09:46:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:48:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:50:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:52:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Mon May 09 09:54:01 2011] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

View 6 Replies View Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"

View 14 Replies View Related

Fedora Servers :: HTTPD Fails To Start On Boot

Aug 24, 2010

I'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running:
run_init service httpd start
after boot _works_ and the server runs fine, but even when it's running OK,
service httpd status
reports
httpd dead but subsys locked

I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.

View 8 Replies View Related

General :: Httpd Wont Start - Log Files Deleted

Feb 26, 2011

Im having problems getting the httpd service to start. Instead of clearing my log files in var/log i accidently did a force remove command on all the log files within the log directory. I'm not unable to start my httpd service and of course unable to check my log files to see whats what.

View 9 Replies View Related

General :: HTTPD Service Fail To Start In RHEL6

Jun 7, 2011

I configured httpd.conf. With ip, port 80 and specified the document path correctly. But service httpd restart shows httpd stop fail, httpd start fail.

View 1 Replies View Related

General :: Start / Stop Apache - HTTPD Not Running

Aug 25, 2010

I configure my apache and can run http://localhost. There "I see it works!" but if I try to stop apache I get message that httpd is not started. I run

apachectl start - ok
but when I run apachectl stop it says "httpd (no pid file) not running"

I need to stop apache, because this is my dev machine and I want to start apache only when I make changes to my site. I am with slackware13.

View 4 Replies View Related

General :: Unable To Start HTTPD Service - Getting Error

Jul 22, 2011

I have centos 5.3 installed, while restarting httpd service I get error starting http:/bin/bash line 1 9941 segmentation fault /usr/sbin/httpd. If I stop httpd service and start it will start but if make service httpd restart it give above error.

View 1 Replies View Related

Fedora Servers :: HTTPD Service Does Not Start - Could Not Bind To Address

Nov 17, 2010

I have one problem regarding my web server. When I am try to restart my httpd service it shows...

[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
[root@localhost ~]#

View 2 Replies View Related

General :: Whenever Start Httpd Service 8 Apache Processes Get Triggered?

Apr 29, 2010

I m using apache http server for hosting a website.

Whenever i start httpd service 8 apache processes get triggered . Is it normal? Is apache is default application server like IIS in windows?

Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers

[Code]....

View 3 Replies View Related

CentOS 5 :: Looking For Package RPM For HTTPD 2.2.19

Aug 5, 2011

I'm looking for a package rpm for httpd 2.2.19 and the only repository I have found so far is cent.alt.ru repository. Any guidance/advice on using this repository? Or know of any trusted repositories with httpd 2.2.19?

View 7 Replies View Related

CentOS 5 :: Rotatelogs Not Work For Httpd Log?

Sep 2, 2009

CentOS 5.3
#CustomLog logs/access_log combined
CustomLog "|/usr/sbin/rotatelogs /var/log/access_log.%Y-%m-%d 86400" common
error in /var/log/httpd/error_log

1 Previous file handle doesn't exists /var/log/access_log.2009-09-02 piped log program '/usr/sbin/rotatelogs /var/log/access_log.%Y-%m-%d 86400' failed unexpectedly I was set # setsebool -P httpd_rotatelogs_disable_trans 1

[root@test ~]# cd /var/log/httpd/
[root@test httpd]# ll
total 848
drwxrwxrwx 2 root root 4096 Sep 2 10:32 .
drwxr-xr-x 11 root root 4096 Sep 1 10:18 ..

[Code]...

View 4 Replies View Related

Slackware :: Typo In As-installed /etc/httpd/httpd.conf?

Dec 24, 2010

I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?

Code:

View 9 Replies View Related

General :: Backing Up Httpd.conf On CentOS 5

Jan 13, 2011

How to back up my httpd.conf from my server to my computer and only found one solution via a google search

[url]

I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak

I wanted to confirm this with an expert before I do damage that I cannot reverse.

View 3 Replies View Related

Software :: Httpd 2.2.4 Rpms For CentOS/RHEL 5.x?

May 3, 2011

I wanted to upgrade my Apache from 2.2.3 to 2.2.4 because some application issues. where we can get Apache 2.2.4 rpms for CentOS/RHEL build? I say 2.2.4 rpms in Fedora repositories? Will fedora builds work in CentOS/RHEL?

View 4 Replies View Related

CentOS 5 Networking :: Can't Install Httpd Service

Mar 11, 2009

Well, i can not install httpd service, when i execute yum -y install httpd i get this message

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

View 4 Replies View Related

CentOS 5 Server :: Upgrade Httpd 2.2.3 To 2.2.11 On Cent Os5?

May 7, 2009

i am running cent 5.1 and would like to upgrade httpd v.2.2.3 to the latest 2.2.11 version provided by apache to resolve some ajp errors i am experiencing.

I searched but did not find any rpms for cent nor did i find any instructions on how to do this.

View 10 Replies View Related

CentOS 5 Server :: Httpd Virtualhost Has Error In 5.3?

May 15, 2009

My server running CentOS 5.3. I use yum to install httpd, httpd-devel, php and it's module to run my site.

When I setup VirtualHost, i open httpd.conf and add some directive:

View 3 Replies View Related

CentOS 5 :: Using Httpd To Share Server Documentation?

Oct 15, 2009

I'd like to share /usr/share/docs out to my local subnet via httpd so I can read server documentation from my workstation. I've simply done a generic install of httpd and httpd-manual and added this to the bottom of my httpd.conf file:

alias /docs /usr/share/doc
<Directory /usr/share/doc>
Order deny,allow

[code]....

View 2 Replies View Related

CentOS 5 :: Web Developers Reading /var/log/httpd/error_log?

Feb 23, 2010

I need to allow users who are not root to viewthe /var/log/httpd/error_log while theyare developing web pages. The default permissionof the directory /var/log/httpd/ is:drwx------ 2 root root 4096 Feb 21 04:02 httpdOf course I could just go "chmod 755 httpd", butI would like to know the "safe" way to allownon root users to access the httpd logs.Shall I add the users to the "apache" group andthen:chown apache httpd chown 750httpd

View 3 Replies View Related

CentOS 5 :: Install Httpd As A Service With -D SSL Flag?

Mar 12, 2010

I have reviewed the HowTo wiki on Setting up an SSL secured Webserver with CentOS [URL], and have successfully set up my server.

We are using the conditional <IfDefine SSL> tags around the <VirtualHost _default_:443> section. I wanted to do this because we are deploying a standard <VirtualHost> section that is appended to the httpd.conf file for several Apache versions on several OS's, and this makes maintenance much easier. Sometimes the server will be configured with SSL support, and sometimes not, depending on certain functions of our application that the end user will require and determine. Our application then determines which mode the server should be run in depending on these functions, what OS is being run, what version of Apache is being run, etc, and starts the httpd server in the appropriate mode. For CentOS 5 with Apache 2.2, if the application indicates SSL is required (and we expect the server to be configured appropriately), then we do the following:

/usr/sbin/apachectl -D SSL -k start

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved