Error On Httpd

Aug 5, 2008

i have adedicated server and it was running will but suddnly from 1 week to this time
the httpd (2.2.9 (Unix)) failed and the sites down for amoment and then return to work well the server load and memory used are well there is no any overload so why this problem appear suddenly? and how to resolve it?

View 7 Replies


ADVERTISEMENT

Apache :: Httpd Service Unavailable 503 Error

Jan 13, 2015

I am using windows 2008 R2 64 bit O.S, I downloaded httpd-2.4.10-win64-VC11 and tomcat-connectors-1.2.39-windows-x86_64-httpd-2.4.x and I created 3 tomcat workers and then I configured workers.properties and httpd.conf.

After complete setup when i tried using

http://localhost then

I got It works! message (looks everything is fine).

and then I have deployed my sample web application I tried to access the same application then using

http://localhost/SampleCluster

I am getting

503 service not available.

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

View 1 Replies View Related

Apache :: HTTPD Doesn't Start With Invalid Path Error

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

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

Plesk 11.x / Linux :: 11.5.30 Repository Error - Transport Error - Unable To List Directory - Curl Error

Jun 29, 2013

After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:

Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...

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 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 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

Httpd Process

Apr 16, 2008

In My server i Can see lotz of /usr/local/apache/bin/httpd -k start -DSSL Process also some time it lead to crash of my server,is this caused to improper httpd.con file iam have 200-250 online users here i will give my apachi cofig file

KeepAlive Off
MaxKeepAliveRequests 200
KeepAliveTimeout 15
StartServers 20
MinSpareServers 30
MaxSpareServers 40
MaxClients 600
MaxRequestsPerChild 250

in correct optimization for my apachi also my processer is dual xenon

View 14 Replies View Related

Httpd Status

Dec 30, 2007

It seems to be common that in httpd status in Apache 2.x except real connections you can also see multiple connections from www.example.com
Is it a bug and if not is there a way to make httpd status to not show those www.example.com connections?

View 14 Replies View Related

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 View Related

Set Value For Httpd.conf

Jun 22, 2007

I have a box: Dual Opteron 248 - 2GB RAM, Centos 4.x, Cpanel / WHM, does anyone can help me set value in httpd.conf for better?

Set "Timeout"
Set "KeepAlive"
Set "KeepAliveTimeout"
Set "MinSpareServers"
Set "MaxSpareServers"
Set "MaxRequestsPerChild"
Set "HostnameLookups"

I've got many emails from cpanel that httpd fail, check in apache logs i cant find any error

View 1 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

Many Httpd Nobody Run In Background

Apr 21, 2008

top - 19:57:53 up 3 days, 23:39, 1 user, load average: 43.91, 43.52, 36.36
Tasks: 313 total, 19 running, 294 sleeping, 0 stopped, 0 zombie
Cpu(s): 85.2% us, 14.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073804k total, 2019960k used, 53844k free, 26992k buffers
Swap: 2096440k total, 11176k used, 2085264k free, 839880k cached

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
4657 mysql 15 0 49 1146:03 12.2 414m 247m 3088 S mysqld
10993 nobody 25 0 6 1:29.96 1.0 103m 20m 9240 R httpd
11157 nobody 25 0 6 1:52.78 1.0 105m 19m 7164 R httpd .......

View 9 Replies View Related

Cannot Start Httpd

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

Httpd.conf

May 1, 2007

I tried that recently to install PHP 4 & PHP 5 on the same server - without any luck, i stumbled into a massive hole.

the existing httpd.conf was replaced and there was a backup made - stupid me accidently deleted this backup file and was left this a non-working copy of httpd.conf - if anyone can help me it would be much appreciated.

root@server1 [~]# /etc/init.d/httpd configtest
Warning: DocumentRoot [/dev/null] does not exist
Syntax OK

View 5 Replies View Related

Httpd Keeps Failing

Apr 27, 2007

for the past 4 days i have being having problems with my Apache server. on day one i noticed it was going down irregularly over day 2/3 it got progressively worse by last night httpd would only work after i restarted it then 5minutes later it failed again. now it wont start at all every time i tried restarting from whm it just says 'httpd failed' ive also tried restarting from shell but no joy. ive tried rebuilding apache from whm that hasn't helped either. one error i was getting was 'invalid user name' of a user who i terminated yesturday.

View 7 Replies View Related

Restart Httpd

Sep 12, 2007

[root@server1 /]# ps -aux |grep httpd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
apache 26023 0.5 0.9 12064 8744 ? S 05:28 0:04 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
root 32333 0.7 2.5 24456 22772 ? S 05:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 32384 0.0 0.0 2152 524 pts/1 S+ 05:39 0:00 grep httpd

i want removed "lighttpd"

how may?

i don`t want killed it

View 0 Replies View Related







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