Randy Barlow wrote:
> So I think the problem is with how I am using start-stop-daemon.  I
> tried to run the command manually:
> 
> booty ~ # start-stop-daemon --start --pidfile
> /var/run/backuppcApache2.pid --exec /usr/sbin/apache2 -- -D
> BACKUPPC_VHOST -f /etc/BackupPC/httpd.conf -k start
> httpd (pid 1450) already running
> 
> I thought that the fact that I specified --pidfile should tell it to use
> a different pid file.  This is how I interpreted the man page.  Am I
> incorrect?

I am digging deeper, and I am finding that it might even be within the
apache server.

booty ~ # /usr/sbin/apache2 -D BACKUPPC_VHOST -f
/etc/BackupPC/httpd.conf -k start
httpd (pid 1450) already running

I have in my /etc/BackupPC/httpd.conf these lines:

LockFile "/usr/lib/backuppcApache2.lock"
PidFile "/var/run/backuppcApache2.pid"

So why is it trying to use that same pid?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list

Reply via email to