/etc/init.d/directadmin script never ask PEM pass phrase

kalaj

Verified User
Joined
Jun 13, 2007
Messages
20
My DA runs on Debian etch.

I use a password protected SSL cert,when I start up the Directadmin by command ./directadmin,it will ask me a PEM pass phrase,and starts the DA server(not at daemon).But,when I use /etc/init.d/directadmin script that the
server won't ask me a PEM pass phrase,and the DA server never start up.

I want to start DA running as daemon,so how can I make the DA start up script works?

Thanks!
 
If you use a password protected SSL Certificate it will always ask for a password. That's embedded into the Certificate. If you want to automatically start a daemon (without human intervention) that uses a Certificate, your Certificate may NOT have a password.

Once you've resolved the above problem the directadmin daemon will probably start by itself. If it's not started by it's startup script, certainly the dataskq program which runs every minute, should restart it if it's not running.

Jeff
 
apachectl script will ask a PEM pass for starting daemon, but DA don't.
I think this may be a bug.
 
It's not a bug. It's a feature. Really. If DA asked for a password, and you were rebooting remotely, the service would not start. Check either Apache for Dummies or any other apache book or online resource.

Jeff
 
Back
Top