Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384551 - www-servers/apache init.d script start failed
Summary: www-servers/apache init.d script start failed
Status: RESOLVED DUPLICATE of bug 383957
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 18:50 UTC by Sergiy Borodych
Modified: 2011-09-27 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Borodych 2011-09-26 18:50:16 UTC
After last update to www-servers/apache-2.2.21 (from prev 2.2.20)
I have error

# /etc/init.d/apache2 start
 * Caching service dependencies ...                                                                                                                    [ ok ]
 * Starting apache2 ...
/sbin/start-stop-daemon: need at least one of --exec, --pidfile, --user or --name
Try `/sbin/start-stop-daemon --help' for more information.

I change start line to:
start-stop-daemon --stop --pidfile ${PIDFILE} -- ${APACHE2} ${APACHE2_OPTS} -k stop

and after this apache start ok

Maybe problem in compatible with old baselayout/openrc ?!
I have masked those (and related)
=sys-apps/baselayout-2.0.2
=sys-apps/baselayout-2.0.3
=sys-apps/openrc-0.8.2-r1

Then IMHO need keep compatible or update DEPEND in apache.
Comment 1 Sergiy Borodych 2011-09-26 18:51:30 UTC
sorry,
 this is right start line

start-stop-daemon --start --pidfile ${PIDFILE} --exec ${APACHE2} -- ${APACHE2_OPTS} -k start
Comment 2 Agostino Sarubbo gentoo-dev 2011-09-26 21:25:17 UTC
you run baselayout-1 ?
Comment 3 Sergiy Borodych 2011-09-27 07:08:01 UTC
Yes
On this server
$ qlist -vI baselayout
sys-apps/baselayout-1.12.14-r1
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2011-09-27 15:47:51 UTC

*** This bug has been marked as a duplicate of bug 383957 ***