Apache: Httpd Not Running, Trying To Start
Jul 22, 2007
Code:
[root@serwer /]# httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
/usr/sbin/httpd restart: httpd could not be started
Code:
[root@serwer /]# httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile [url]
View 14 Replies
ADVERTISEMENT
Sep 1, 2007
I trying:
Code:
[root@serwer /]# httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
/usr/sbin/httpd restart: httpd could not be started
Code:
[root@serwer /]# /etc/rc.d/init.d/httpd configtest
Syntax OK
Help
View 7 Replies
View Related
Jul 29, 2009
When I look at my Current CPU Usage / process manager, I see this:
Pid |Owner | Priority | Cpu % |Mem % | Command
13754 | nobody | 0 | 2.2 | 4.0 |/usr/local/apache/bin/httpd -k start -DSSL
I've got about 9 more of these, and it keeps eating up the memory. What is it and what can I do? Is it just apache running?
View 14 Replies
View Related
Oct 31, 2014
New to Apache Web Server. Built the self signed certs, and tried to bring up server after configuring the httpd.conf file.I also included the section of the error log file that is pertinent.httpd.conf removed, use past bin.
View 1 Replies
View Related
Jul 29, 2009
after installed php 5.2.10
nobody /usr/local/apache/bin/httpd -k start -DSSL
Code:
5896 nobody 0
81.5
1.3 /usr/local/apache/bin/httpd -k start -DSSL
mysql (5.0.81-community)
os : centos 5.3
Has been very fast server. Guide is accurate and if you leave.
View 1 Replies
View Related
Apr 6, 2008
[root@server1 ~]# service httpd start
no listening sockets available, shutting down
Unable to open logs
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
apache 2.2
httpd.conf file was empty... I'm recompiling right now.
View 3 Replies
View Related
Jul 31, 2013
httpd server configuring.I share my files only from local disks but some of my resources are located on truecrypt secure volume.When I want to start my server now I have to mount my all drives first to have all path active. Otherwise httpd doesn't start with 'invalid path' error.My question is, how to force httpd starting without path or drive exists checking?
Platform Windows7 x64
Apache version 2.4.3
Package Xampp
View 8 Replies
View Related
Jun 29, 2007
I cannot start httpd, it say this error:
Quote:
root 24012 1.0 1.3 23640 21996 ? S 09:32 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
What can be?
View 14 Replies
View Related
Feb 20, 2007
the error log shows nothing out of the ordinary.. but its taking about 2-3 minutes to start.. which before it would take about 10 seconds.
load is fine on the machine, free mem is fine also.
View 2 Replies
View Related
Dec 7, 2008
I have read that running httpd under user nobody is not safe at all so I installed mod_suhosin and suphp but still the httpd is running under user nobody.
Could anyone suggest me how to check if they are installed good and are they working? I don't know why is this happening
View 7 Replies
View Related
Feb 5, 2008
so here is a simple question that i just can't seem to figure out.. when i run the command top or ps -auxw.. they show the httpd processes as the command httpd or /usr/sbin/httpd, but how do i know what file that is? is there anyway to find out what file that is actually getting executed or served?
View 2 Replies
View Related
Feb 10, 2007
I had a strange error this morning, httpd was running fine but nothing was loading. All the other services worked fine but I checked the error log and couldn't find anything. I restarted httpd and it's running fine now.
Quote:
[Sat Feb 10 11:48:01 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 11:48:01 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Feb 10 13:06:02 2007] [notice] caught SIGTERM, shutting down
[Sat Feb 10 13:06:03 2007] [notice] Apache configured -- resuming normal operations
[Sat Feb 10 13:06:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 13:06:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Feb 10 20:42:26 2007] [notice] caught SIGTERM, shutting down
[Sat Feb 10 20:42:28 2007] [notice] Apache configured -- resuming normal operations
[Sat Feb 10 20:42:28 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 10 20:42:28 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
Looks just like normal operations... I checked the access log and nothing looked out of the ordinary either.
Anyway the only suspicious thing I saw was the daily scan by spammers to see if I had anything exploitable.
Quote:
[Sat Feb 10 00:16:32 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/a1b2c3d4e5f6g7h8i9/nonexistentfile.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/adserver/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpAdsNew/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpadsnew/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/Ads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/ads/adxmlrpc.php
[Sat Feb 10 00:16:33 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlrpc/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blog/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/drupal/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/community/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogs/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogs/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blog/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:34 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/blogtest/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/b2/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/b2evo/xmlsrv/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/wordpress/xmlrpc.php
[Sat Feb 10 00:16:35 2007] [error] [client 69.13.76.82] File does not exist: /var/www/html/phpgroupware/xmlrpc.php
I have nothing to be exploited so I'm thinking that wasn't the cause either.
I checked user_beancounters and there are also 0 fail counts.
Quote:
Version: 2.5
uid resource held maxheld barrier limit failcnt
509: kmemsize 4679572 9150217 50000000 50000000 0
lockedpages 0 0 256 256 0
privvmpages 51822 84271 262140 524280 0
shmpages 10913 10929 21504 21504 0
dummy 0 0 0 0 0
numproc 52 91 400 400 0
physpages 14273 24587 0 2147483647 0
vmguarpages 0 0 131070 2147483647 0
oomguarpages 14912 33040 26112 2147483647 0
numtcpsock 16 146 360 360 0
numflock 1 6 188 206 0
numpty 2 2 16 16 0
numsiginfo 0 25 256 256 0
tcpsndbuf 154284 371176 1720320 2703360 0
tcprcvbuf 197308 539932 1720320 2703360 0
othersockbuf 13416 239892 1126080 2097152 0
dgramrcvbuf 0 2800 262144 262144 0
numothersock 13 27 360 360 0
dcachesize 0 0 2273280 2416640 0
numfile 1199 2022 5820 5820 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 89 89 128 128 0
View 2 Replies
View Related
Oct 22, 2009
I can access FTP, SSH and httpd is showed as running when i check with 'httpd status'. Memory ram has half of them left(except that swap is 0,0).
I can't access my site via browser
Why tried restarting
[root@web2 ~]# service httpd start
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:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
[root@web2 ~]#
View 11 Replies
View Related
Jul 2, 2009
I usually use the "top" command to see what is happening in my server ... Normally everything is OK untill one week ago I start so see this process:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1115 root 20 0 10768 10m 164 R 26 0.5 46:17.27 httpd
Is the number 1 on the top list using a lot of CPU and MEM (as I say before ... I never have seen this command in the past)
So when I kill the process everything goes fine but only for a few minutes and then is comming back
View 14 Replies
View Related
Jun 18, 2008
I spent all my afternoon on this but I couldn't managed to solve this problem out. Hope someone knows the solution for this one.
I've chrooted Apache and now it won't start. I try to run it with chroot /chroot/httpd httpd and it doesn't start but instead enters a single error in a error log. Something about permission being denied and apr_proc_detach constant. The best part is that I managed to run it flawlessly on an another server, but on this one it won't start. If I start it with -X parameter then it runs fine. Has anyone came across this error before? What libraries I should put in chroot environment to avoid the apr_proc_detach permission denied error?
On another computer it runs without problems, so I believe it's problem me not including all the necessary libraries in the environment (I included everything on the ldd /usr/sbin/httpd list).
View 6 Replies
View Related
Jun 1, 2007
will time i restarted my apache give me error:
Attempting to restart httpd
[url] Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status root 24470 1.0 2.3 23356 21692 ? S 20:25 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
and :
root@part5 [/usr/local/cpanel/apache]# httpd configtest
Failed loading 1: 1: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library './' - ./: cannot read file data: Is a directory in Unknown on line 0
Warning: DocumentRoot [/home/hhhhha/public_html/hostmanager] does not exist
httpd: bad user name hhhhha
View 7 Replies
View Related
Jul 1, 2009
when i restart apache show this error :
[root@server ~]# service httpd start
Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libperl.so into server: /usr/lib/apache/libperl.so: undefined symbol: ap_table_merge
View 4 Replies
View Related
Aug 15, 2007
I just setup an instance of Apache on Windows with SSL and it starts by running "httpd.exe", but I can't get it to start as a service. It was running fine before adding the SSL certificate/key pair.
This is the error, I get as a Service:
Quote:
[Wed Aug 15 11:22:09 2007] [info] mod_unique_id: using ip addr 10.254.1.135
[Wed Aug 15 11:22:10 2007] [info] Init: Seeding PRNG with 144 bytes of entropy
[Wed Aug 15 11:22:10 2007] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 15 11:22:10 2007] [error] (OS 5)Access is denied. : Init: Can't open server certificate file C:/Apache2/conf/ssl/NBCDDSARP10.dev.npe.tic.cert
This is what happens when I run it via "httpd.exe"
Quote:
[Wed Aug 15 11:27:08 2007] [info] Init: Seeding PRNG with 144 bytes of entropy
[Wed Aug 15 11:27:08 2007] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Wed Aug 15 11:27:08 2007] [info] Init: Initializing (virtual) servers for SSL
[Wed Aug 15 11:27:08 2007] [info] Configuring server for SSL protocol
[Wed Aug 15 11:27:08 2007] [info] Server: Apache/2.2.4, Interface: mod_ssl/2.2.4, Library: OpenSSL/0.9.8e
View 4 Replies
View Related
Jun 29, 2008
I have a vps with cheapvps.co.uk.their service is great. I have used it for one month without any problems. but today I noticed that I can not access my vps through web browser. it gave me this error :
Connection actively refused by the server
after contacting support it was clear for me that the problem is that xampp apache is not running. and support said that as my vps is unmanaged they can not help me right now.
when I enter this command :
/opt/lampp/lampp startapache
I see this message :
XAMPP: Starting Apache with SSL (and PHP5)...
and then nothing happens and apache does not start.
I completely removed Xampp and reinstalled it. then when I try to start xamp apache it says :
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Make the httpd.conf fit your system.
XAMPP: Next try...
XAMPP: Starting Apache with SSL (and PHP5)...
I do not know what to do with httpd.conf and I dont know where exactly it is.
View 2 Replies
View Related
Feb 21, 2008
Is there a way to start apache in linux if it goes down automatically?
View 10 Replies
View Related
Jan 13, 2013
Server easily install but it could not be start ,,,it says that Server Root must be a directory..
View 1 Replies
View Related
Nov 1, 2014
I have delete my old ssl key, now will apache not start...
I have this error show
Fout: Unable to make action: Unable to manage service by apache_control_adapter: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
('--start', 'web')
[Code] ....
View 16 Replies
View Related
Aug 3, 2008
I am trying to restart my apache since i made changes to my php.ini file.
I tried using this command /etc/init.d/httpd restart which didnt work for me..any ideas guys? Its a basic dedicated server from a hosting company..
View 10 Replies
View Related
Mar 6, 2008
I recently updated to apache 2.2 and when I went to check
/usr/local/apache/conf/httpd.conf
I noticed that a lot of the stuff was missing from what I usually see in apache 1.3 Was a new file created when the update was finish? I used easyapache to make the update.
I was actually looking to change the
Keepalive
Timeout
MinSpareServers
MaxSpareServers
MaxRequestsPerChild
Etc...
But it doesn't look like it's in there.
View 2 Replies
View Related
Sep 15, 2008
how should I optimize httpd.conf on my server. Apache was set up by my friend, unfortunately it started to "stuck" lately during peak time. Browser is connecting to a website for a long time before it actually starts to load it.
My current setup:
Timeout 300
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
MinSpareServers 2
MaxSpareServers 5
StartServers 5
ServerLimit 650
MaxClients 650
Server:
Intel Quad-Core Xeon X3220 @ 2.40 GHZ
4x 2GiB Kingston ECC Not-Registred 667Mhz
2x 150GiB RaptorX 10k RPM, sw raid 1
View 12 Replies
View Related
Nov 10, 2007
tuning apache configurations, and would like to seek for some opinions on how I should optimize my httpd.conf
The server is primarily for downloads, serving file sizes that are around 100~200MB.
how I should configure my apache so it'll allow a better/faster/more stable environment?
Hardware Specs:
Intel Xeon 3220 Quad-Core (2.4Ghz)
2GB Ram
My current httpd.conf
ServerTokens None
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 20
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
<IfModule worker.c>
StartServers 4
MaxClients 500
MinSpareThreads 25
MaxSpareThreads 100
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
View 4 Replies
View Related
Jul 12, 2013
httpd 2.4.4 x64 with php 5.5 x64 and mysql 5.6 x64, it worked just fine the first few days, but after a week or so, I'm starting to get this error:
[mpm_winnt:notice] [pid 1928:tid 552] AH00428: Parent: child process 8092 exited with status 255 -- Restarting.
What can cause that and how can I fix it?
View 2 Replies
View Related
Sep 28, 2014
I can't reach my website, I get a "corrupted content" error message in the browser.Looking into apache (version 2.4.7), I get
Code:
~$ apachectl -S
AH00526: Syntax error on line 22 of /etc/apache2/sites-enabled/000-default.conf:
SSLCertificateKeyFile: file '/etc/ssl/private/owncloud.key' does not exist or is empty
Action '-S' failed.
However, I double checked that the file is in the appropriate location and does contain the key, so maybe apache has no permission. afaik, it doesn't run as root all the time - or only for a short time?
permissions for the key file are as follows:
Code:
~$ sudo ls -l /etc/ssl/private/owncloud.key
-rw-r--r-- 1 root ben 1704 Sep 28 04:01 /etc/ssl/private/owncloud.key
, where ben is my normal user.
It was suggested to me on the httpd IRC channel that maybe apparmor was doing something wrong, but I don't know how to investigate that.
View 6 Replies
View Related
Mar 9, 2013
I did some googling and searching on Apache lounge forums prior to posting this question, but I didn't find a definite answer to whether is it ok to use Apache Httpd v2.4.X VC10
View 2 Replies
View Related
Nov 16, 2008
Server down after start apache! Too many connection!
When im start apache on server, its crashed.
I am see following error, in access log:
Where is issue and how can fix it?
-bash-3.1# tail -f /var/log/httpd/access_log
::1 - - [16/Nov/2008:20:54:23 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [16/Nov/2008:20:54:24 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)" ....
View 4 Replies
View Related
Jun 7, 2013
I am using Wamp server 2.2.
I recently made some changes to the Apache configuration to allow me to make a virtual host for the Zendframework. the change i made were as follows:
<VirtualHost 127.0.0.1>
ServerName zendy
DocumentRoot "C:workspacezendypublic"
SetEnv APPLICATION_ENV "development"
<Directory "C:workspacezendypublic">
DirectoryIndex index.php
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
Since these changes were made, my wamp server will not start up. the wamp bar remain red.
What I have to do to find out/trace where the fault is?
View 3 Replies
View Related