Всем привет,
возникли проблемы с Апачем.
root@server [/]# service httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/whm-server-status
Пробую запустить:
root@server [/]# httpd start
/usr/sbin/httpd: line 81: 21974 File size limit exceeded$HTTPD
/usr/sbin/httpd start: httpd could not be started
Подскажите куда копать?
Спасибо
Проблемы с Apache
Модераторы: SLEDopit, Модераторы разделов
-
strah
- Сообщения: 283
- ОС: Freebsd, linux, Solaris.
Re: Проблемы с Apache
Конфиг апача в студию - это раз. Выполнить "apachectl start" - два. Отписать сюда результаты - три.
/earth: file system full
-
Ленивая Бестолочь
- Бывший модератор
- Сообщения: 2760
- ОС: Debian; gentoo
Re: Проблемы с Apache
какие моды к апачу подключены?
посмотрите размеры логов, кол-во свободного места.
конфиги апача покажите.
update: припозднился :-)
посмотрите размеры логов, кол-во свободного места.
конфиги апача покажите.
update: припозднился :-)
Солнце садилось в море, а люди с неоконченным высшим образованием выбегали оттуда, думая, что море закипит.
-
seoguru
- Сообщения: 28
Re: Проблемы с Apache
root@server [~]# apachectl start
/usr/sbin/apachectl: Apache 1.3 configuration directives found
/usr/sbin/apachectl: please read /usr/share/doc/httpd-2.0.52/migration.html
root@server [~]# /usr/sbin/httpd configtest
Syntax OK
> Конфиг апача в студию - это раз.
Выложить нутро httpd.conf ?
Ленивая Бестолочь писал(а): ↑13.07.2009 00:07посмотрите размеры логов, кол-во свободного места.
update: припозднился :-)
/var/log/ занят на 36%
-
Ленивая Бестолочь
- Бывший модератор
- Сообщения: 2760
- ОС: Debian; gentoo
Re: Проблемы с Apache
да. секреты замажте ;-)
я имел в виду - посмотреть размеры файлов логов апача (каждого в отдельности) - не выросли ли они у вас до очень больших размеров.
Солнце садилось в море, а люди с неоконченным высшим образованием выбегали оттуда, думая, что море закипит.
-
seoguru
- Сообщения: 28
Re: Проблемы с Apache
Нутро http.conf
Проверил также /var/log/httpd Они пустые
Код:
Include "/usr/local/apache/conf/includes/pre_main_global.conf"
Include "/usr/local/apache/conf/includes/pre_main_1.conf"
ServerType standalone
ServerRoot /usr/local/apache
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
Timeout 30
KeepAlive On
MaxKeepAliveRequests 60
KeepAliveTimeout 2
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 80
MaxRequestsPerChild 500
LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule expires_module libexec/mod_expires.so
LoadModule bwlimited_module libexec/mod_bwlimited.so
LoadModule bytes_log_module libexec/mod_log_bytes.so
LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
LoadModule fastcgi_module libexec/mod_fastcgi.so
#LoadModule php5_module libexec/libphp5.so
LoadModule security_module libexec/mod_security.so
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_expires.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
AddModule mod_frontpage.c
AddModule mod_bwlimited.c
AddModule mod_log_bytes.c
AddModule mod_auth_passthrough.c
AddModule mod_fastcgi.c
#AddModule mod_php5.c
AddModule mod_security.c
Include "/usr/local/apache/conf/mod_security.conf"
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User nobody
Group nobody
ServerAdmin root@cpanel.hostican.com
DocumentRoot /usr/local/apache/htdocs
<Directory />
Options All
AllowOverride All
</Directory>
<Directory "/usr/local/apache/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
</IfModule>
AccessFileName .htaccess
<Files ~ "^error_log$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
UseCanonicalName On
<IfModule mod_mime.c>
TypesConfig /usr/local/apache/conf/mime.types
</IfModule>
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile /usr/local/apache/conf/magic
</IfModule>
HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /usr/local/apache/logs/access_log common
ServerSignature On
<IfModule mod_alias.c>
Alias /icons/ "/usr/local/apache/icons/"
<Directory "/usr/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual/ "/usr/local/apache/htdocs/manual/"
<Directory "/usr/local/apache/htdocs/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-TW .zh-tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
</IfModule>
AddType application/x-tar .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddHandler application/x-httpd-php .php .php4 .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
AddHandler cgi-script .cgi .pl
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
AddHandler server-parsed .shtml
</IfModule>
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfDefine>
<IfModule mod_ssl.c>
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
SSLLog /usr/local/apache/logs/ssl_engine_log
SSLLogLevel info
</IfModule>
<IfDefine SSL>
</IfDefine>
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On
FastCgiIpcDir /tmp/fcgi/
AddHandler fastcgi-script .fcgi
FastCgiWrapper On
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
</IfModule>
Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/pre_virtualhost_1.conf"
<VirtualHost 208.79.201.179>
ServerName vps.hostican.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
NameVirtualHost 201.73.37.20:80
<VirtualHost 201.73.37.20>
ServerAlias www.captormarketing.com
ServerAdmin webmaster@captormarketing.com
DocumentRoot /home/captor/public_html
ServerName captormarketing.com
User captor
Group captor
BytesLog /usr/local/apache/domlogs/captormarketing.com-bytes_log
CustomLog /usr/local/apache/domlogs/captormarketing.com combined
</VirtualHost>
<VirtualHost 201.73.37.20>
ServerName server.captormarketing.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
<VirtualHost 201.73.37.20>
ServerAlias www.saludensuhogar.com
ServerAdmin webmaster@saludensuhogar.com
DocumentRoot /home/salud/public_html
ServerName saludensuhogar.com
User salud
Group salud
BytesLog /usr/local/apache/domlogs/saludensuhogar.com-bytes_log
CustomLog /usr/local/apache/domlogs/saludensuhogar.com combined
</VirtualHost>
<IfDefine SSL>
<VirtualHost 201.73.37.12:443>
ServerAdmin webmaster@JBL
DocumentRoot /home/got2bjui/public_html
ServerName JBL
UserDir public_html
User got2bjui
Group got2bjui
BytesLog /usr/local/apache/domlogs/JBL-bytes_log
ScriptAlias /cgi-bin/ /home/got2bjui/public_html/cgi-bin/
SSLEnable
SSLCertificateFile /usr/share/ssl/certs/JBL.crt
SSLCertificateKeyFile /usr/share/ssl/private/JBL.key
SSLLogFile /usr/local/apache/domlogs/JBL-ssl_data_log
CustomLog /usr/local/apache/domlogs/JBL-ssl_log combined
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
</IfDefine>
<VirtualHost 201.73.37.20:80>
ServerName louisproduction.com
ServerAlias www.alexintersport.com
ServerAdmin webmaster@alexintersport.com
DocumentRoot /home/wwwloui/public_html
<IfModule mod_suphp.c>
suPHP_UserGroup wwwloui wwwloui
</IfModule>
<IfModule !mod_disable_suexec.c>
User wwwloui
Group wwwloui
</IfModule>
BytesLog /usr/local/apache/domlogs/louisproduction.com-bytes_log
CustomLog /usr/local/apache/domlogs/louisproduction.com combined
ScriptAlias /cgi-bin/ /home/wwwloui/public_html/cgi-bin/
</VirtualHost>
Include "/usr/local/apache/conf/includes/errordocument.conf"
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
<VirtualHost 201.73.37.20:80>
ServerName tlm.gogoggo.com
ServerAlias www.tlm.gogoggo.com
ServerAdmin webmaster@tlm.lamexicanargv.com
DocumentRoot /home/lamexica/public_html/tlm
<IfModule mod_suphp.c>
suPHP_UserGroup lamexica lamexica
</IfModule>
<IfModule !mod_disable_suexec.c>
User lamexica
Group lamexica
</IfModule>
BytesLog /usr/local/apache/domlogs/tlm.lamexicanargv.com-bytes_log
CustomLog /usr/local/apache/domlogs/tlm.lamexicanargv.com combined
ScriptAlias /cgi-bin/ /home/lamexica/public_html/tlm/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/lamexica/tlm.lamexicanargv.com/*.conf"
</VirtualHost>
<VirtualHost 201.73.37.20:80>
ServerName newsstart.com
ServerAlias www.newsstart.com
ServerAdmin webmaster@newsstart.com
DocumentRoot /home/ari10001/public_html
<IfModule mod_suphp.c>
suPHP_UserGroup ari10001 ari10001
</IfModule>
<IfModule !mod_disable_suexec.c>
User ari10001
Group ari10001
</IfModule>
BytesLog /usr/local/apache/domlogs/aristoshotels.com-bytes_log
CustomLog /usr/local/apache/domlogs/aristoshotels.com combined
ScriptAlias /cgi-bin/ /home/ari10001/public_html/cgi-bin/
</VirtualHost>
Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/post_virtualhost_1.conf"Проверил также /var/log/httpd Они пустые
-
Ленивая Бестолочь
- Бывший модератор
- Сообщения: 2760
- ОС: Debian; gentoo
Re: Проблемы с Apache
у вас в конфиге фигурирует /usr/local/apache/logs/
гляньте еще там.
гляньте еще там.
Солнце садилось в море, а люди с неоконченным высшим образованием выбегали оттуда, думая, что море закипит.
-
strah
- Сообщения: 283
- ОС: Freebsd, linux, Solaris.
Re: Проблемы с Apache
/usr/sbin/apachectl: Apache 1.3 configuration directives found
Хмм, вот давненько я с апачем не работал, а то бы подсказал точнее, а так могу только сказать, что в конфиге остались какие-то директивы от первого апача ( а у тебя, судя по всему, второй). По моему, это "ClearModuleList" и
"AddModule ...", во втором апаче, насколько я помню, они не нужны.
/earth: file system full