Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 363756 Details for
Bug 492222
apache2 init.d script starts apache but reports it as "failed to start" when pidfile exists
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/apache2 start --debug
initd-apache-start-debug.log (text/x-log), 4.13 KB, created by
Roman Barczyński
on 2013-11-21 20:27:56 UTC
(
hide
)
Description:
/etc/init.d/apache2 start --debug
Filename:
MIME Type:
Creator:
Roman Barczyński
Created:
2013-11-21 20:27:56 UTC
Size:
4.13 KB
patch
obsolete
>+ _conf_d=/etc/init.d/../conf.d >+ _c=apache2 >+ '[' -n apache2 -a apache2 '!=' apache2 ']' >+ unset _c >+ sourcex -e /etc/init.d/../conf.d/apache2.default >+ '[' -e = -e ']' >+ shift >+ '[' -e /etc/init.d/../conf.d/apache2.default ']' >+ return 1 >+ sourcex -e /etc/init.d/../conf.d/apache2 >+ '[' -e = -e ']' >+ shift >+ '[' -e /etc/init.d/../conf.d/apache2 ']' >+ . /etc/init.d/../conf.d/apache2 >++ APACHE2_OPTS='-DINFO -DPHP5 -DSSL -DSTATUS -DFASTCGI' >++ LYNX='lynx -dump -width 160' >+ unset _conf_d >+ sourcex -e /etc/rc.conf >+ '[' -e = -e ']' >+ shift >+ '[' -e /etc/rc.conf ']' >+ . /etc/rc.conf >++ rc_shell=/sbin/sulogin >++ unicode=YES >++ rc_tty_number=12 >+ '[' Linux = Linux -a start = start ']' >+ '[' -d /sys/fs/cgroup/openrc ']' >+ mkdir -p /sys/fs/cgroup/openrc/apache2 >+ echo 19775 >+ '[' -n '' ']' >+ sourcex /etc/init.d/apache2 >+ '[' /etc/init.d/apache2 = -e ']' >+ . /etc/init.d/apache2 >++ extra_commands='configtest modules virtualhosts' >++ extra_started_commands='configdump fullstatus graceful gracefulstop reload' >++ description_configdump='Dumps the configuration of the runing apache server. Requires server-info to be enabled and www-client/lynx.' >++ description_configtest='Run syntax tests for configuration files.' >++ description_fullstatus='Gives the full status of the server. Requires lynx and server-status to be enabled.' >++ description_graceful='A graceful restart advises the children to exit after the current request and reloads the configuration.' >++ description_gracefulstop='A graceful stop advises the children to exit after the current request and stops the server.' >++ description_modules='Dump a list of loaded Static and Shared Modules.' >++ description_reload='Kills all children and reloads the configuration.' >++ description_virtualhosts='Show the settings as parsed from the config file (currently only shows the virtualhost settings).' >++ description_stop='Kills all children and stops the server.' >+ unset _d >+ unset _f >+ '[' -n '' ']' >+ '[' -n start ']' >+ '[' start = depend ']' >+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands' '$extra_stopped_commands' >+ '[' describe = start ']' >+ for _cmd in describe start stop status '${extra_commands:-$opts}' '$extra_started_commands' '$extra_stopped_commands' >+ '[' start = start ']' >++ command -v start >+ '[' start = start ']' >+ yesno >+ '[' -z '' ']' >+ return 1 >+ for _cmd in '$extra_started_commands' >+ '[' configdump = start ']' >+ for _cmd in '$extra_started_commands' >+ '[' fullstatus = start ']' >+ for _cmd in '$extra_started_commands' >+ '[' graceful = start ']' >+ for _cmd in '$extra_started_commands' >+ '[' gracefulstop = start ']' >+ for _cmd in '$extra_started_commands' >+ '[' reload = start ']' >+ unset _cmd >+ case $1 in >+ verify_boot >+ '[' '!' -e /run/openrc/softlevel ']' >+ return 0 >++ command -v start_pre >+ '[' '' = start_pre ']' >+ start >+ checkconfig >+ checkconfd >+ '[' '!' -f /etc/init.d/sysfs ']' >+ PIDFILE=/var/run/apache2.pid >+ TIMEOUT=15 >+ SERVERROOT=/usr/lib/apache2 >+ '[' '!' -d /usr/lib/apache2 ']' >+ CONFIGFILE=/etc/apache2/httpd.conf >+ '[' etc/apache2/httpd.conf = /etc/apache2/httpd.conf ']' >+ '[' '!' -r /etc/apache2/httpd.conf ']' >+ APACHE2_OPTS='-DINFO -DPHP5 -DSSL -DSTATUS -DFASTCGI -d /usr/lib/apache2' >+ APACHE2_OPTS='-DINFO -DPHP5 -DSSL -DSTATUS -DFASTCGI -d /usr/lib/apache2 -f /etc/apache2/httpd.conf' >+ '[' -n '' ']' >+ APACHE2=/usr/sbin/apache2 >+ /usr/sbin/apache2 -DINFO -DPHP5 -DSSL -DSTATUS -DFASTCGI -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -t >+ ret=0 >+ '[' 0 -ne 0 ']' >+ return 0 >+ ebegin 'Starting apache2' >+ local _r >+ command ebegin 'Starting apache2' >+ ebegin 'Starting apache2' > * Starting apache2 ...+ _r=0 >+ export EINFO_LASTCMD=ebegin >+ EINFO_LASTCMD=ebegin >+ return 0 >+ start-stop-daemon --start -- /usr/sbin/apache2 -DINFO -DPHP5 -DSSL -DSTATUS -DFASTCGI -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start >[Thu Nov 21 21:18:39 2013] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run? >+ local i=0 retval=1 >+ '[' '!' -e /var/run/apache2.pid ']' >+ eend 1 >+ local _r >+ command eend 1 >+ eend 1 > [ !! ] >+ _r=1 >+ export EINFO_LASTCMD=eend >+ EINFO_LASTCMD=eend >+ return 1 >+ exit 1 > * ERROR: apache2 failed to start
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 492222
: 363756 |
363758