HTTPD2 script problem

2013-06-23 Thread Max Power
Hi guys!

OpenBSD 5.3/amd64:

pkg_add apache-httpd [ok.]

next step
/etc/rc.d/httpd2 start
returns:
httpd2(failed)

Instead
/usr/local/sbin/apachectl2 start
It works and load Apache2.

Why?

Thanks, Max Power.



Re: HTTPD2 script problem

2013-06-23 Thread Jérémie Courrèges-Anglas
Some people say you ask noob questions; I'm 99% certain that
you're just making fun of us, but let's try...

- man rc.d
- http://www.openbsd.org/faq/faq10.html#rc

Please read this *carefully*, all you need to know is there;
please keep that in mind the next time you have a question,
or you'll just get ignored.

Ciao,
-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



Re: HTTPD2 script problem

2013-06-23 Thread Stuart Henderson
On 2013-06-23, Max Power open...@cpnetserver.net wrote:
 Hi guys!

 OpenBSD 5.3/amd64:

 pkg_add apache-httpd [ok.]

 next step
 /etc/rc.d/httpd2 start
 returns:
 httpd2(failed)

 Instead
 /usr/local/sbin/apachectl2 start
 It works and load Apache2.

 Why?

 Thanks, Max Power.



What does /etc/rc.d/httpd2 -d start say?

As said in rc.d(8),

 -d  Setting this option will print the function names as they are
 called and prevent the rc.subr(8) framework from redirecting
 stdin and stderr to /dev/null.  This is used to allow debugging
 of failed actions.

Also check your log files.



Re: floods in Calgary, is the project affected?

2013-06-23 Thread Mihai Popescu
Puffy has no problems with water, even the mud is acceptable, he can use
the well known filter.



Re: time stops under VMWare VM

2013-06-23 Thread Rodolfo Gouveia
On Fri, Jun 21, 2013 at 08:00:38PM -0500, Josh Hoppes wrote:
 I've run into this issue as well in past versions. Set this in 
 /etc/sysctl.conf
 kern.timecounter.hardware=acpitimer0

Thanks Josh!
That solved the problem. I was able to set the time correctly with
ntpd just after setting that sysctl.

cheers,
--rodolfo



Re: IPv6, automatic configuration and nameservers

2013-06-23 Thread Denis Fondras

Hi all,

Le 22/06/2013 03:28, Brad Smith a écrit :

On 13/06/13 7:53 AM, Gregor Best wrote:

Hi list,

recently, I've been playing around a bit with IPv6, and IPv6-only
networks. While doing that, I have not found an automated way to add
nameservers announced via router advertisements.

dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have
FreeBSD's
-R option for adding recursive nameservers (and porting that without
also porting resolvconf seems to be less than trivial).

Is there a canonical solution with only the things in base or should I
just use something from ports?  And what's the port people use for that?


As you have already noticed our rtsold does not have support for RFC
6106 (yet). The only option you have at the moment is using a DHCPv6
client such as net/isc-dhcp.




Stephane Sezer developped a patch more than 2 years ago :
http://openbsd.7691.n7.nabble.com/RFC6106-RDNSS-and-DNSSL-options-support-for-rtadvd-8-td162760.html

It seems it hasn't been merged but it worked nicely back then.

Denis



Re: IPv6, automatic configuration and nameservers

2013-06-23 Thread Brad Smith

On 23/06/13 3:59 PM, Denis Fondras wrote:

Hi all,

Le 22/06/2013 03:28, Brad Smith a écrit :

On 13/06/13 7:53 AM, Gregor Best wrote:

Hi list,

recently, I've been playing around a bit with IPv6, and IPv6-only
networks. While doing that, I have not found an automated way to add
nameservers announced via router advertisements.

dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have
FreeBSD's
-R option for adding recursive nameservers (and porting that without
also porting resolvconf seems to be less than trivial).

Is there a canonical solution with only the things in base or should I
just use something from ports?  And what's the port people use for that?


As you have already noticed our rtsold does not have support for RFC
6106 (yet). The only option you have at the moment is using a DHCPv6
client such as net/isc-dhcp.




Stephane Sezer developped a patch more than 2 years ago :
http://openbsd.7691.n7.nabble.com/RFC6106-RDNSS-and-DNSSL-options-support-for-rtadvd-8-td162760.html


It seems it hasn't been merged but it worked nicely back then.

Denis


That is for rtadvd, which has been integrated, not rtsold.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: IPv6, automatic configuration and nameservers

2013-06-23 Thread Denis Fondras

Le 23/06/2013 22:06, Brad Smith a écrit :


That is for rtadvd, which has been integrated, not rtsold.




Doh ! You are right, sorry for the noise.

Denis



Re: IPv6, automatic configuration and nameservers

2013-06-23 Thread Gregor Best
On Fri, Jun 21, 2013 at 09:28:32PM -0400, Brad Smith wrote:
 [...]
 As you have already noticed our rtsold does not have support for RFC
 6106 (yet). The only option you have at the moment is using a DHCPv6
 client such as net/isc-dhcp.
 [...]

That's what I do at the moment. I have a small script that uses dhcp6c
(from net/wide-dhcpv6) in info-req mode to grab the nameserver from
DHCPv6. That means I have to set up DHCPv6 in addition to router
advertisements, but I am the administrator of all v6-only networks I
have access to so that's not to big of a deal.

While setting that up, I noticed a small bug in rtsold. When called as
rtsol it does not recognize the -O option. I will cook up a small patch
to fix that soon(ish).

-- 
Gregor Best