Hi, After an OS upgrade (Debian Etch to Debian Sid), i can't start apache2, at this time, I've already done these:
1. I've checked if apache2 is running:
Quote:
tamayo@350z:~$ ps ax | grep apache2
3856 ? Ss 0:01 /usr/sbin/apache2 -k start
3983 ? S 0:00 /usr/sbin/apache2 -k start
3984 ? S 0:00 /usr/sbin/apache2 -k start
3985 ? S 0:00 /usr/sbin/apache2 -k start
3986 ? S 0:00 /usr/sbin/apache2 -k start
3987 ? S 0:00 /usr/sbin/apache2 -k start
11632 pts/0 S+ 0:00 grep apache2
|
2. I've checked the apache2.conf file and it seems ok:
Quote:
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" $
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combin$
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/
ServerName 350z
<Directory />
Options None
AllowOverride None
</Directory>
<Directory /var/www/nomina>
AllowOverride None
order allow,deny
allow from all
Options Indexes Includes FollowSymLinks
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex login.php index.php
|
3. I've tried to reload the service, (/etc/init.d/apache2 reload) and I got this:
Quote:
Reloading web server config: apache2[Thu Dec 11 15:21:47 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
|
But I understand that is a warning, not an error, but still apache doesn't work. I go to the browser and type
http://localhost and nothing, it tries to lookup in the internet not in the host.
4. here is my error.log, it seems ok for me:
Quote:
[Fri Dec 12 12:02:11 2008] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 $
[Fri Dec 12 15:49:30 2008] [notice] caught SIGTERM, shutting down
[Mon Dec 15 07:55:01 2008] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 $
|
So, my questions are:
1. I don't know where should I start, because, at least, the conf files and the log file don't tell me any relevant, are there commands of something else to check what is wrong with apache?
2. do you know, what are the essential packages for install correctly apache?
3. also cups-admin doesn't work (
http://localhost:631), is this service (cups-admin) embedded to apache?
Regards