On Jul 9, 2006, at 9:59 PM, Edward C. Cheadle wrote:

I was installing djbdns using ports and have run into an issue. I think it is more to do with understanding how to find information than it is with installing sw.

I installed djbdns, and it would not work. The svscan daemon would not start. I backed off and installed just daemontools and again the daemon would not start.

I tried looking through the documentation. I assumed that there was a startup command like there is for apache. I could not find any reference for starting it anywhere, so I tried adding svscan_enable="YES" to the rc.conf file. This did not work.

Explain what "did not work" means. When you try to start it normally `/usr/local/etc/rc.d/svscan.sh start` what happens?

Finally I downloaded daemontools from the website and ran the installer. When I restarted the machine, indeed the svscan daemon is running as advertised. In the /etc/rc.local file it put the command:
csh -cf  '/command/svscanboot &'

Also I noticed the port did not have the /command directory. The ports maintainer obvioulsy is trying to install software in some sort of standard way. But since the information on the website was no longer useful for installing, where do you go to find out how to install SW where the ports maintainer has made significant changes to the installation and it does not automatically start? I searched everywhere for information for installing this sw package and so far have not been able to get it to run.

The ports collection installs everything into /usr/local. This keeps all apps that are not part of the base separate, and allows for easy OS upgrades.

Any help would be appreciated, but just pointing me to the djbdns site does not help. Their instructions do not work with the ports installation.

The daemontools port installs an rc script into /usr/local/etc/ rc.d/. You can read this script to discover if there is anything you left out. I read the startup script, and to start it, it requires two items.
1. svscan_enable="YES" in /etc/rc.conf
2. /var/service must exist.

Try starting it using `/usr/local/etc/rc.d/svscan.sh start`, and report back any output.

--lonnie


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
gubug mailing list
[email protected]
https://gubug.org/mailman/listinfo/gubug

Reply via email to