View previous topic :: View next topic |
Author |
Message |
sleepingsun Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_luke_skywalker_2.gif)
Joined: 03 May 2006 Posts: 467 Location: Bosnia
|
Posted: Sun Nov 12, 2006 9:07 pm Post subject: APACHE2 Segmentation fault |
|
|
First problem and after that i have down posted !
First problem
Code: | localhost ~ # /etc/init.d/apache2 start
* Caching service dependencies ...
* Service 'postfix' already provided by 'mta'!;
* Not adding service 'exim'...
* Service 'postfix' already provided by 'mta'!;
* Not adding service 'sendmail'... [ ok ]
* Starting apache2 ...
(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 |
I try to fix my first problem with apache and try to found solution and first problem not solved becouse apache not up php and i try to re-emerge php and after that i get this error ! Try to re-emerge apache, and php and also i do rebuild but nothing helps !
Now i have this after some try of solved things !
localhost / # /etc/init.d/apache2 start
Code: | /etc/init.d/apache2: line 23: 8760 Segmentation fault $APACHE2 ${APACHE2_OPTS} -t >/dev/null 2>&1
* Apache2 has detected a syntax error in your configuration files:
/etc/init.d/apache2: line 23: 8819 Segmentation fault ${APACHE2} ${APACHE2_OPTS} |
I dont use ssl ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
argasek Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/112834245740b1ed0aaa4f2.jpg)
Joined: 06 May 2004 Posts: 1121 Location: Sol [0,0], Poland, Kraków
|
Posted: Mon Nov 13, 2006 12:29 am Post subject: |
|
|
Try if problem appears with PHP module unloaded. _________________ RLU #137109 | http://soundcloud.com/argasek |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hanj Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/104414163441b8c6c1a6b4e.gif)
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Mon Nov 13, 2006 4:09 am Post subject: |
|
|
Did you recently do revdep-rebuild? I'm wondering if you compliled mailwrapper with postfix? That happened to me by accident after I upgraded mysql, but I didn't get those errors when I restarted Apache. Also, can you provide what you have in /etc/conf.d/apache2.
hanji _________________ Server Admin Blog - Uno-Code.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sleepingsun Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_luke_skywalker_2.gif)
Joined: 03 May 2006 Posts: 467 Location: Bosnia
|
Posted: Tue Nov 14, 2006 7:49 am Post subject: |
|
|
I only add -D PHP5
But dont no reason for exim and mta ... I never install email
/etc/conf.d/apache2
Code: |
# /etc/conf.d/apache2: config file for /etc/init.d/apache2
# When you install a module it is easy to activate or deactivate the modules
# and other features of apache using the APACHE2_OPTS line. Every module should
# install a configuration in /etc/apache2/modules.d. In that file will be an
# <IfDefine NNN> where NNN is the option to enable that module.
# Here are the options available in the default configuration:
# USERDIR Enables /~username mapping to /home/username/public_html
# INFO Enables mod_info, a useful module for debugging
# PROXY Enables mod_proxy
# DAV Enables mod_dav
# DAV_FS Enables mod_dav_fs (you should enable this when you enable DAV
# unless you know what you are doing)
# SSL Enables SSL
# SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this
# when you enable SSL unless you know what you are doing)
# LDAP Enables mod_ldap
# AUTH_LDAP Enables authentication through mod_ldap
# DEFAULT_VHOST Enables the default virtual host in /var/www/localhost/htdocs
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"
# Extended options for advanced uses of Apache ONLY
# You don't need to edit these unless you are doing crazy Apache stuff
# As not having them set correctly, or feeding in an incorrect configuration
# via them will result in Apache failing to start
# YOU HAVE BEEN WARNED.
# ServerRoot setting
#SERVERROOT=/usr/lib/apache2
# Configuration file location
# - If this does NOT start with a '/', then it is treated relative to
# $SERVERROOT by Apache
#CONFIGFILE=/etc/apache2/httpd.conf
# Location to log startup errors to
# They are normally dumped to your terminal.
#STARTUPERRORLOG="/var/log/apache2/startuperror.log"
# Environment variables to keep
# All environment variables are cleared from apache
# Use this to preserve some of them
# NOTE!!! It's very important that this contains PATH
# Also, it will fail if the _value_ of any of these variables contains a space
KEEPENV="PATH" |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|