Httpd Failed

Aug 12, 2008

I have httpd down right now without any error outputted on errors_log
my server is with 4 Quad-Core Intel Xeon 2.66GHz (16 CPu) and 16GB of RAM. Is running CentOS Linux 5.1 and Apache/2.2.8. The site that will be running in this server has an average of 360,000 pageviews daily, so we want to make sure to tweak the configuration at its best.

my httpd.Conf:

Include "/usr/local/apache/conf/includes/pre_main_global.conf"
Include "/usr/local/apache/conf/includes/pre_main_2.conf"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
# configuration file. To have modifications retained, all modifications must be checked into the #
# configuration system by running: #
# /usr/local/cpanel/bin/apache_conf_distiller --update #
# To see if your changes will be conserved, regenerate the Apache configuration file by running: #
# /usr/local/cpanel/bin/build_apache_conf #
# and check the configuration file for your alterations. If your changes have been ignored, then they will #
# need to be added directly to their respective template files. #
# #
# It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf #
# For detailed instructions on using Include files and the apache_conf_distiller with the new configuration #
# system refer to the documentation at: [url] #
# #
# This configuration file was built from the following templates: #
# /var/cpanel/templates/apache2/main.default #
# /var/cpanel/templates/apache2/main.local #
# /var/cpanel/templates/apache2/vhost.default #
# /var/cpanel/templates/apache2/vhost.local #
# /var/cpanel/templates/apache2/ssl_vhost.default #
# /var/cpanel/templates/apache2/ssl_vhost.local #
# #
# Templates with the '.local' extension will be preferred over templates with the '.default' extension. #
# The only template updated by the apache_conf_distiller is main.default. #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

LoadModule auth_passthrough_module modules/mod_auth_passthrough.so
LoadModule bwlimited_module modules/mod_bwlimited.so
LoadModule frontpage_module modules/mod_frontpage.so
LoadModule bw_module modules/mod_bw.so
LoadModule evasive20_module modules/mod_evasive20.so

Include "/usr/local/apache/conf/php.conf"
Include "/usr/local/apache/conf/mod_bandwidth.conf"
LoadModule security2_module modules/mod_security2.so
#Include "/etc/httpd/conf/modsecurity.conf"

ErrorLog "logs/error_log"
DefaultType text/plain

<Directory "/">
Options All
AllowOverride All
</Directory>

<Directory "/usr/local/apache/htdocs">
Options Includes Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

</Directory>

<Files ~ "^error_log$">
Order allow,deny
Deny from all
Satisfy All
</Files>

<FilesMatch "^.ht">
Order allow,deny
Deny from all

Satisfy All
</FilesMatch>

<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common

CustomLog "logs/access_log" common

<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio

</IfModule>

</IfModule>

<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

</IfModule>

<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all

</Directory>

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

</IfModule>

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
# configuration file. To have modifications retained, all modifications must be checked into the #
# configuration system by running: #
# /usr/local/cpanel/bin/apache_conf_distiller --update #
# To see if your changes will be conserved, regenerate the Apache configuration file by running: #
# /usr/local/cpanel/bin/build_apache_conf #
# and check the configuration file for your alterations. If your changes have been ignored, then they will #
# need to be added directly to their respective template files. #
# #
# It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf #
# For detailed instructions on using Include files and the apache_conf_distiller with the new configuration #
# system refer to the documentation at: [url]#
# #
# This configuration file was built from the following templates: #
# /var/cpanel/templates/apache2/main.default #
# /var/cpanel/templates/apache2/main.local #
# /var/cpanel/templates/apache2/vhost.default #
# /var/cpanel/templates/apache2/vhost.local #
# /var/cpanel/templates/apache2/ssl_vhost.default #
# /var/cpanel/templates/apache2/ssl_vhost.local #
# #
# Templates with the '.local' extension will be preferred over templates with the '.default' extension. #
# The only template updated by the apache_conf_distiller is main.default. #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

PidFile logs/httpd.pid
LockFile logs/accept.lock
# Defined in /var/cpanel/cpanel.config: apache_port
Listen 0.0.0.0:80
Timeout 300
User nobody
Group nobody
ExtendedStatus On
ServerAdmin soso@soso.com
ServerName server.soso.org
LogLevel warn
ServerSignature Off

RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock

UserDir public_html

DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html

SSLPassPhraseDialog builtin
SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/usr/local/apache/logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

<IfDefine SSL>
# Defined in /var/cpanel/cpanel.config: apache_ssl_port
Listen 0.0.0.0:443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfDefine>

#AddHandler cgi-script .cgi .pl .plx .ppl .perl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-tar .tgz
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc

<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>

# SUEXEC is supported

Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/pre_virtualhost_2.conf"

# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
NameVirtualHost *

# Default vhost for unbound IPs

<VirtualHost *>
ServerName server.soso.org
DocumentRoot /usr/local/apache/htdocs
ServerAdmin soso@soso.com
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
</VirtualHost>

# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

# SSL
<IfDefine SSL>
</IfDefine>

# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 7
DOSSiteCount 100
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 300
</IfModule>
NameVirtualHost xxx.xxx.152.250:80

<VirtualHost xxx.xxx.152.250:80>
ServerName soso.org
ServerAlias soso.com www.soso.com
ServerAlias eco.soso.org www.eco.soso.org
ServerAlias soso.info www.soso.info
ServerAlias soso.biz www.soso.biz
ServerAlias soso.cc www.soso.cc
ServerAlias www.soso.org
DocumentRoot /home/soso/public_html
ServerAdmin webmaster@soso.org
## User soso # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup soso soso
</IfModule>
<IfModule concurrent_php.c>
php4_admin_value open_basedir "/home/soso:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
php5_admin_value open_basedir "/home/soso:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/soso:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/soso:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/soso:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup soso soso
</IfModule>
CustomLog /usr/local/apache/domlogs/soso.org-bytes_log "%{%s}t %I .
%{%s}t %O ."
CustomLog /usr/local/apache/domlogs/soso.org combined
</VirtualHost>
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Alias /bandwidth/ /usr/local/bandmin/htdocs/
Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/
Alias /java-sys/ /usr/local/cpanel/java-sys/
Alias /img-sys/ /usr/local/cpanel/img-sys/
Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"

-------------------------------------------------------------------------------------------------------------

my.cnf
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
safe-show-database
old_passwords
back_log = 75
skip-innodb
max_connections = 1500
key_buffer = 1024M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 4000
thread_cache_size = 512
wait_timeout = 14400
connect_timeout = 10
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 64M
net_buffer_length = 16384
max_connect_errors = 10
thread_concurrency = 32
read_rnd_buffer_size = 786432
bulk_insert_buffer_size = 8M
query_cache_limit = 5M
query_cache_size = 144M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
nice = -10
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 64M

[myisamchk]
key_buffer = 1024M
sort_buffer = 384M
read_buffer = 256M
write_buffer = 256M

[mysqlhotcopy]
interactive-timeout
-----------------------------------------------------------------------

top :

------------------------------------------------------------------------
top - 18:27:31 up 2:51, 2 users, load average: 1.91, 2.55, 2.58
Tasks: 533 total, 2 running, 531 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.0%us, 3.6%sy, 0.0%ni, 89.1%id, 0.1%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 16632148k total, 2014536k used, 14617612k free, 102904k buffers
Swap: 4192924k total, 0k used, 4192924k free, 737684k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22527 mysql 5 -10 1228m 174m 3040 S 81 1.1 22:52.61 mysqld
3717 nobody 16 0 31248 13m 4052 S 6 0.1 0:01.08 httpd
3680 nobody 16 0 31380 13m 4060 R 4 0.1 0:03.07 httpd
3748 nobody 15 0 31044 13m 4052 S 4 0.1 0:01.02 httpd
3687 nobody 15 0 31324 13m 4064 S 4 0.1 0:01.53 httpd
3774 nobody 16 0 31324 13m 4056 S 4 0.1 0:00.72 httpd
3797 nobody 15 0 31324 13m 4060 S 4 0.1 0:02.20 httpd
3850 nobody 15 0 31380 13m 4068 S 4 0.1 0:02.11 httpd
3858 nobody 15 0 31020 13m 4060 S 4 0.1 0:02.91 httpd
3861 nobody 16 0 31252 13m 4116 S 4 0.1 0:01.46 httpd
3900 nobody 15 0 31332 13m 4056 S 4 0.1 0:01.22 httpd
3649 nobody 15 0 31316 13m 4060 S 3 0.1 0:01.06 httpd
3696 nobody 15 0 31020 13m 4052 S 3 0.1 0:01.20 httpd
3654 nobody 15 0 31308 13m 4124 S 3 0.1 0:02.05 httpd
3707 nobody 16 0 31552 13m 4060 S 3 0.1 0:02.03 httpd
3711 nobody 15 0 31072 13m 4060 S 3 0.1 0:02.52 httpd
3790 nobody 15 0 31376 13m 4064 S 3 0.1 0:02.00 httpd
3794 nobody 15 0 31048 13m 4060 S 3 0.1 0:01.10 httpd
3897 nobody 15 0 30764 13m 4404 S 3 0.1 0:01.76 httpd
3907 nobody 15 0 31316 13m 4060 S 3 0.1 0:02.35 httpd
3884 nobody 15 0 31156 13m 4056 S 2 0.1 0:00.99 httpd
3664 nobody 15 0 31308 13m 4060 S 2 0.1 0:01.97 httpd
3838 nobody 15 0 31340 13m 4056 S 2 0.1 0:00.88 httpd
--------------------------------------------------------------------------------------------------

root@server [~]# netstat -lpan | grep :80 | wc -l
1657
root@server [~]#
----------------------------------------------------------------------------------------------

what to change to optimize this web server and solv this problem?

View 14 Replies


ADVERTISEMENT

Httpd Has Failed

Jul 25, 2009

I did a Graceful Server Reboot, but it seems httpd service not running yet,

I got this error after try to restart Apache..

"
Restarting Apache Web Server
Waiting for httpd to restart..............finished.
httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 3319
httpd has failed, please contact the sysadmin.
"

and my Log:

[root@XXXXX ~]# tail -f /usr/local/apache/logs/error_log
Failed to start up concurrent users module!
[Sat Jul 25 20:39:51 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/loca l/apache/bin/suexec)
[Sat Jul 25 20:39:52 2009] [warn] pid file /usr/local/apache/logs/httpd.pid over written -- Unclean shutdown of previous Apache run?
[Sat Jul 25 20:39:52 2009] [crit] (28)No space left on device: Unable to create or access scoreboard (anonymous shared memory failure)
shmget() failed: No space left on device ....

View 14 Replies View Related

Httpd Failed

May 25, 2008

my apache crashed and I trying to restart apache from SSH, when I run "service httpd start" I didn't get any message and I come back yo command prompt, but the httpd is down yet

View 10 Replies View Related

Httpd Failed

Mar 30, 2007

If I typed ' Service httpd start ' Receive below error

mixing * ports and non-* ports with a NameVirtualHost address is not supported , proceeding with undefined results

All I have added couple of IP address

View 3 Replies View Related

Httpd Failed

Dec 31, 2007

i usually recive this error message

httpd on host.*********** failed

and server apache fail

how i can fix the error

View 7 Replies View Related

Httpd Has Failed

Feb 3, 2007

I'm unable to start my apache after installed ionCube, that mean my http is down now.

Code:
root@sv3 [~]# /etc/init.d/httpd start
/etc/init.d/httpd start: httpd could not be started
root@sv3 [~]#

View 13 Replies View Related

Httpd Has Failed

Dec 20, 2007

When I restart it via WHM I see this :

Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd status

root 12200 1.0 1.1 25748 24076 ? S 09:25 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd

httpd has failed, please contact the sysadmin.

and when I restart it in via SSH , I get it :

[root@saman ~]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 21424 of /usr/local/apache/conf/httpd.conf:
ScriptAlias takes two arguments, a fakename and a realname
/etc/init.d/httpd restart: httpd could not be started

View 8 Replies View Related

Httpd FAILED Restart

Apr 30, 2009

i had just wake up and see my vps server witch work under centOS 5.2 wont up my domains ... just i can ping my domain and when i open my domains name its give me

Network Error (tcp_error)
even i cannot logged in my ssh account so i give it a hard reboot from my slice manager and after that i can log , i turn my firewall of .. restart my apache and my sqlserver

and same error ..

i can restart my sql fine .. stop my firewall and modsecurity fine , but when i restart my httpd server its wont , its give me FAILED

View 10 Replies View Related

VPS Httpd Failed And Restart Automatically

Feb 17, 2008

almost daily my VPS httpd failed and restart automatically, after that all services show UP but my sites not working.. Only start working when I restart DNS Server (BIND).

I am using CPanel

View 7 Replies View Related

Httpd Has Failed- Contact The Sysadmin

Jun 8, 2008

Suddenly Apache started acting weird, I rebooted the server, Disabled suexec, and a lot more thing to make it work..

But I'm not able to figure it out.

View 5 Replies View Related

Httpd Failed After Enabling SSL Certificates

Jan 18, 2008

I have SSL certificated (GeoTrust) installed on my server for one of my site since last year, and it has been working fine.

This morning I found my site to be down, SSL connection not working.

I restarted httpd via WHM, and it failed to restart.

I removed my SSL certificate using WHM at "Manage SSL Hosts", then I can restart my httpd.

So, I think there is some conflicts between my httpd and SSL. Any idea how should I solve the problem? I have paid for the SSL cert for two years, and I want it to be back on my site.

View 5 Replies View Related

Httpd Failed - Just A Few Times A Month

Apr 18, 2007

I have a single domain that covers a popular reality tv show. For about 2 months out of the year for an hour a week we get bombarded with traffic.

While that's happening we are having http fail every couple minutes and we appear down.

Now because it's for such a short time, it doesn't make sense to set up multiple servers or even upgrade to a larger server (would you upgrade for 10 hours a year of issues?). I figure it would cost another server at 200 a month for 12 months just to save a little downtime. Doesn't make sense.

However, what settings could I change, what could I manage, etc... It's a dedicated server, and the site in question is a static frontpage with some php includes and a wordpress blog that gets most of the traffic.

View 2 Replies View Related

Httpd Has Failed, Contact The Sysadmin

Jun 10, 2007

httpd has failed, please contact the sysadmin

View 13 Replies View Related

Httpd Failed - Sites Don't Load - Host Can't Help

Jan 9, 2008

The last 2-3 days my websites on my vps all started acting funny. Randomly throughout the day they will all just stop loading. If you go to one of my sites they will just load and load and load and eventually time out after 5 minutes.

To fix this problem, all I have to do is reset Apache in my WHM. Everything will be fine for awhile until it decides to stop loading again.

I've been talking to tech support for 2 days. They're out of options. They tried banning some IPs as they thought I might be getting hacked. They tried moving me to a different host machine. They've checked all my logs... there are no errors or problems with the vps. The server load is always very low. Memory is always very low.

I run about 15-20 websites on this VPS. Two of them are vbulletin (v. 3.6.4 and v3.6.8) and all the rest are wordpress).

My VPS is hosted with ServInt.

Server Version: Apache/1.3.39 (Unix) PHP/5.2.4 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4
mysql (5.0.45-community-log)

I get these emails all day:
httpd failed @ Wed Jan 9 06:10:42 2008. A restart was attempted automagically.

I am completely out of ideas and options. Can anyone think of something? Think outside the box... make random suggestions. I don't care, I need to try something.

I most recently added 3 or so brand new websites to my vps about a week ago. However, they are just running wordpress so I can't imagine they're the problem.

View 10 Replies View Related

Httpd Failed :: Failure Reason: Timeout While Trying To Connect To Service

Jul 30, 2009

httpd failed @ Thu Jul 30 15:55:02 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Timeout while trying to connect to service
and

httpd failed @ Thu Jul 30 15:29:57 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Unable to connect to port 80

View 14 Replies View Related

SQL Server Using Maxmimum Httpd Connection On My Httpd Server

Feb 6, 2007

i am using seperate server for sql .But my httpd server failed many time when i checked maximum number of httpd connection then my sql server using too many connection what is the reason of this problem . Is my sql server using as a slave in a ddos attack or sql server need http connection?

View 2 Replies View Related

[cPanel]: "httpd Not Running, Trying To Start" And "httpd Could Not Be Started"

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

My Httpd

Apr 1, 2009

Cpanel with Cent os

i have creat my new user and upload his files on it. but when i try this link:

http://ip/~user

i have this error and my friend say that your httpd have problem. but its my new server. how can i solve it ?

404 Not Found

The server can not find the requested page:

ip/~user (port 80)

Please forward this error screen to 69.197.166.71's WebMaster.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Server at 69.197.166.71 Port 80

i try it with his doamin and i have same error.

View 3 Replies View Related

A Lot Of Httpd Pid

Nov 23, 2008

I have 1764 pid started by httpd daemon. I think for some reason the httpd pid is not closing for me. How do i make sure that all of the httpd pid are closing.

View 2 Replies View Related

Httpd

Aug 18, 2008

I know that there are a lot of posts about this but... i have a problem w my apache... it was working fine until today... i get this e-mail from WHM whenever httpd fails... and its pretty often:

Quote:

httpd failed @ Mon Aug 18 16:23:13 2008. A restart was attempted automagically.

Failure Reason: Timeout while trying to connect to service

I wanna know how to check in the error log the entries of just today. because when i put "cat error_log" i start receiving things from last week and this is happening today...

i've tried /scripts/rebuildhttpdconf and then restarted, but still the same.

View 7 Replies View Related

Httpd Not Working

Jul 17, 2009

I just got apache installed on my box and the process is running. However when I enter my ip address on firefox, nothing loads up and I get a timeout error.

View 8 Replies View Related

Httpd Monitoring

Jul 24, 2009

I just stop httpd service for server maintainance , and disable its monitoring from whm services, but after some time it again start even i disable httpd monitoring and service.

View 6 Replies View Related

Regarding Httpd Server

Apr 19, 2009

My httpd server continuosly failing i have to set or restart it manually how can i set auto incase if its restart failed.

View 11 Replies View Related

Never Before Seen In My Httpd Logs

Apr 16, 2009

I moved a domain of mine from one of my CentOS servers on my SoHo LAN, to one of my CentOS cPanel/WHM servers. Since the SoHo machine had been handling this domain's mail for almost 2 years (300+ mb of mail), I decided to continue running it from home.

The Apache daemon was stopped on said SoHo box following DNS propagation to the cPanel machine, but Apache was automatically started again after having to reboot the SoHo server. Before I got a chance to kill Apache, I got some weird entries showin' up in the access_logs.

www.####.com ip54520165.adsl-surfen.hetnet.nl - - [15/Apr/2009:23:30:20 -0700] "CONNECT 205.188.179.233:443 HTTP/1.0" 302 286 "-" "-"

www.####.com ip54520165.adsl-surfen.hetnet.nl - - [15/Apr/2009:23:37:05 -0700] "CONNECT 205.188.176.230:443 HTTP/1.0" 302 286 "-" "-"

www.####.com ip54520165.adsl-surfen.hetnet.nl - - [15/Apr/2009:23:43:30 -0700] "CONNECT 205.188.153.99:443 HTTP/1.0" 302 285 "-" "-"

www.####.com ip54520165.adsl-surfen.hetnet.nl - - [16/Apr/2009:00:10:01 -0700] "CONNECT 205.188.153.100:443 HTTP/1.0" 302 286 "-" "-"

I ask simply because I don't recall seeing a "CONNECT" entry in my logs before, and I've been at this for awhile. That or I've just not paid any attention. And what's with the SSL port?

I guess I'm just a little confused as to what was trying to be accomplished here...it hasn't returned since.

View 3 Replies View Related

Httpd Optimization

Apr 22, 2009

right ive got a server thats getting battered at the moment by lots of apache processes, ive moved sql off to a seperate box (with private lan so thats fine) but now i need to optimize/replace apache with something less intensive on resources, only problem is im using plesk on this server so i am not sure if i can change the webserver app?

using apache 2.2 with prefork mpm

server specs
Athlon 64 3200+
4gb DDR2
120Gb HD

View 13 Replies View Related

HTTPd Keeps Restarting

Oct 31, 2009

How can I prevent the httpd from timeout so much? the server recovers which is prefectly fine but there seems to be a problem some where.

httpd failed @ Sat Oct 31 17:47:53 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Timeout while trying to get data from service

View 14 Replies View Related

Httpd Not Starting With Vps

Jun 18, 2009

had alot of trouble installing YUM

but anyways...

Restarting Apache Web Server

Waiting for httpd to restart..............finished.

httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 20104

httpd has failed, please contact the sysadmin.

View 14 Replies View Related

HTTPD Module

Oct 28, 2009

Trying to troubleshoot an exploit where the code redirecting people to exploit sites is not in the website. I think a module is being loaded dynamically, but I am not seeing the entry point in the access logs. I restart httpd and the problem goes away temporarily.

Anyone see anything fishy?

==================
HTTPD MODULES
==================
[root@xxx ~]# httpd -L
<Directory (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Location (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<VirtualHost (core.c)
Container to map directives to a particular virtual host, takes one or more host addresses
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Files (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<Limit (core.c)
Container for authentication directives when accessed using specified HTTP methods
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<LimitExcept (core.c)
Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfModule (core.c)
Container for directives based on existance of specified modules
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfDefine (core.c)
Container for directives based on existance of command line defines
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<DirectoryMatch (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<LocationMatch (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<FilesMatch (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
AuthType (core.c)
An HTTP authorization type (e.g., "Basic")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AuthName (core.c)
The authentication realm (e.g. "Members Only")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Require (core.c)
Selects which authenticated users or groups may access a protected space
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Satisfy (core.c)
access policy if both allow and require used ('all' or 'any')
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AddDefaultCharset (core.c)
The name of the default charset to add to any Content-Type without one or 'Off' to disable
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AcceptPathInfo (core.c)
Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AccessFileName (core.c)
Name(s) of per-directory config files (default: .htaccess)
Allowed in *.conf only outside <Directory>, <Files> or <Location>
DocumentRoot (core.c)
Root directory of the document tree
Allowed in *.conf only outside <Directory>, <Files> or <Location>
ErrorDocument (core.c)
Change responses for HTTP errors
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AllowOverride (core.c)
Controls what groups of directives can be configured by per-directory config files
Allowed in *.conf only inside <Directory>, <Files> or <Location>
Options (core.c)
Set a number of attributes for a given directory
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
DefaultType (core.c)
the default MIME type for untypable files
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo...

View 2 Replies View Related

How Can I Optimize The Httpd

Mar 4, 2008

i have two servers behind certain switch,

the two servers are with low load,

but the one is good response,and another one is slow,

i try to restart the httpd,the problem is here still,

are there any method that i can optimize the httpd and check out why it is ?

they all run with whm/cpanel

View 4 Replies View Related

Too Much Httpd And Load

Apr 28, 2008

I have 3.0 pentium with 2Gb RAM... It's the first time I use plesk and this is strange...

top - 23:20:00 up 2:42, 1 user, load average: 9.87, 13.60, 10.29
Tasks: 149 total, 29 running, 120 sleeping, 0 stopped, 0 zombie
Cpu(s): 93.9% us, 6.1% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064724k total, 1208656k used, 856068k free, 46252k buffers
Swap: 522104k total, 0k used, 522104k free, 354784k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2354 mysql 20 0 290m 90m 4500 S 12.6 4.5 21:08.10 mysqld
29098 apache 20 0 44140 23m 4352 R 8.0 1.2 0:02.20 httpd
28621 apache 20 0 41560 23m 4360 R 7.3 1.1 0:06.38 httpd
28855 apache 20 0 43992 23m 4356 R 7.3 1.2 0:06.28 httpd
29252 apache 20 0 34672 15m 3344 R 7.3 0.8 0:00.22 httpd
27117 apache 20 0 44632 24m 4692 S 6.6 1.2 0:19.58 httpd
28517 apache 20 0 44196 23m 4500 R 6.6 1.2 0:10.76 httpd
28930 apache 20 0 44272 23m 4504 R 6.6 1.2 0:06.16 httpd
28994 apache 20 0 42756 22m 4396 R 6.6 1.1 0:03.12 httpd
29026 apache 20 0 43584 23m 4700 R 6.6 1.1 0:04.04 httpd
29173 apache 20 0 41212 22m 3708 R 6.6 1.1 0:01.86 httpd
29194 apache 20 0 41056 21m 3756 R 6.6 1.1 0:01.08 httpd
29229 apache 20 0 38132 18m 3668 R 6.6 0.9 0:01.04 httpd
29232 apache 20 0 42876 22m 4344 R 6.6 1.1 0:01.08 httpd
29236 apache 20 0 36708 17m 3728 R 6.6 0.9 0:00.74 httpd
28564 apache 20 0 44300 23m 4712 R 6.0 1.2 0:08.96 httpd
28926 apache 20 0 44228 23m 4408 R 6.0 1.2 0:04.44 httpd
29063 apache 20 0 43588 22m 4336 R 6.0 1.1 0:03.40 httpd
29073 apache 20 0 43944 23m 4388 R 6.0 1.2 0:03.94 httpd
29172 apache 20 0 41056 21m 3752 R 6.0 1.1 0:01.50 httpd
29192 apache 20 0 44704 24m 4408 R 6.0 1.2 0:03.20 httpd
29237 apache 20 0 37100 18m 3660 R 6.0 0.9 0:00.64 httpd
29254 apache 20 0 33432 14m 3340 R 6.0 0.7 0:00.18 httpd
29228 apache 20 0 35056 16m 3656 S 5.3 0.8 0:00.36 httpd
29105 apache 20 0 44744 24m 4452 R 4.7 1.2 0:04.74 httpd
29106 apache 20 0 43908 23m 4548 R 4.7 1.2 0:05.36 httpd
29193 apache 20 0 35124 16m 3652 R 4.7 0.8 0:00.68 httpd
29195 apache 20 0 43324 22m 4332 S 4.7 1.1 0:01.36 httpd
28551 apache 20 0 44240 23m 4596 R 4.0 1.2 0:10.64 httpd
28727 apache 20 0 44012 23m 4492 S 4.0 1.2 0:08.70 httpd
29223 apache 20 0 44048 23m 4428 S 3.3 1.2 0:01.26 httpd
29224 apache 20 0 43236 22m 4328 S 2.0 1.1 0:01.06 httpd
29219 apache 20 0 35108 16m 3648 S 1.3 0.8 0:00.70 httpd
29259 apache 20 0 28860 9816 3296 R 1.3 0.5 0:00.04 httpd
29260 apache 20 0 28464 9476 3284 R 1.3 0.5 0:00.04 httpd

I have some webs with 30K/40K visits each day (it's not too much)... A smaller CPU with 1Gb RAM with cPanel and Apache 1.3 worked perfectly, and now with a bigger computer and plesk I see this...

More info on server-status

Server Version: Apache/2.0.54 (Fedora)
Server Built: Jul 26 2006 11:00:19

Current Time: Monday, 28-Apr-2008 23:40:53 CEST
Restart Time: Monday, 28-Apr-2008 23:25:38 CEST
Parent Server Generation: 0
Server uptime: 15 minutes 14 seconds
Total accesses: 13025 - Total Traffic: 44.9 MB
CPU Usage: u1183.04 s50.79 cu.01 cs0 - 135% CPU load
14.3 requests/sec - 50.3 kB/second - 3616 B/request
34 requests currently being processed, 67 idle workers

C_C_C_____W__C_WC__WCW_W_R______C____W_W_W._W.___W W____WC.CC___W
___W__WC_W__W_________W__..WW_W.___W____._.__..... ..............
.................................................. ..............
.................................................. ........

View 3 Replies View Related







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