The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 svc: warning: unable to control /var/service/fp-listen: file does not exist
Author: Dan 
Date:   02-03-07 12:15

If you are using daemontools http://www.freshports.org/sysutils/daemontools/ and you try to start a service, and you get this message:

# svc -u /var/service/fp-listen
svc: warning: unable to control /var/service/fp-listen: file does not exist

Then svscan is probably not running. Start it like this:

# /usr/local/etc/rc.d/svscan.sh start

You'll also need svscan_enable="YES" in /etc/rc.conf

FreshPorts uses DaemonTools to keep its daemons running. These daemons aren't really daemons... they are shell/python scripts, but they must be running all the time.

--
Webmaster

Reply To This Message
 
 Re: svc: warning: unable to control /var/service/fp-listen: file does not exist
Author: Dan 
Date:   18-09-11 22:46

HAH!

I had this same problem today, and went looking for the solution. And what did I find? My own post from over 4 years ago.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org