DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st October 2016
beiroot beiroot is offline
Shell Scout
 
Join Date: Sep 2016
Posts: 86
Default /etc/rc.d/nsd and rcctl doesn't stop or restart

Hi Guys,
I'm setting up nsd on my openbsd 6.0 and I've found out that neither /etc/rc.d/nsd stop|restart nor rcctl stop|restart nsd works.

I also found out that both have the same problem not only with nsd. A person in obsd mailing list had the same problem, but left with no answer.

http://openbsd-archive.7691.n7.nabbl...-td262283.html

Moreover, when I kill the process manually and start it again I get nsd(failed) even though /var/log/nsd.log shows it stared ok.

Any ideas?
Reply With Quote
  #2   (View Single Post)  
Old 1st November 2016
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 306
Default

I don't use nsd, but could it be that you left remote-control disabled?

man nsd.conf:

"The remote-control: clause is used to set options for using the nsd-control(8) tool to give commands to the running NSD server. It is disabled by default"

The rc script uses nsd-control to stop the server.
See also the "Set up" section of nsd-control(8).
Reply With Quote
  #3   (View Single Post)  
Old 1st November 2016
beiroot beiroot is offline
Shell Scout
 
Join Date: Sep 2016
Posts: 86
Default

In the meantime I enabled nsd-control and the rc script started working. Thanks a lot for your help anyway

Unfortunately, now I get this:

error: connect (127.0.0.1@8952): Connection refused

Does this have to do with certificates?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
start and stop KDE from shell ccc FreeBSD General 8 8th July 2010 10:12 PM
Stop Spam from ISP Mailserver Simon OpenBSD Security 1 27th April 2010 01:03 PM
While Software Will Never Stop Sucking TerryP Off-Topic 1 11th March 2010 07:03 PM
Stop beeping Business_woman FreeBSD General 3 15th January 2009 09:00 PM
auto restart an app within wine hamba General software and network 3 25th November 2008 11:56 AM


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick