Re: Apache source?

2015-03-23 Thread Mihai Moldovan
On 24.03.2015 01:02 AM, Gary Fitts wrote: > I installed the MacPorts Apache2 package (apache 2.2.9) hoping to have a > build environment where I can add a custom Apache module. But there doesn’t > seem to be any build environment — no source files etc, just binaries. Am I > missing something, or

Re: Apache source?

2015-03-23 Thread Dave Horsfall
On Mon, 23 Mar 2015, Brandon Allbery wrote: > I would hope that Apache does not need anything beyond headers and > libraries to create custom modules. Modules are dynamically loaded, not > compiled in, these days.  He may be after some sample source to build his own module... -- Dave Horsfall

Re: what was up with ntp again?

2015-03-23 Thread Mike Alexander
On 23 Mar 2015, at 14:36, Mihai Moldovan wrote: On 23.03.2015 07:27 PM, Christopher Jones wrote: On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: You likely rebooted yesterday or the like. I haven't done so on a while, obviously… yes, I did reboot around then yesterday. Perhaps I mis under

Re: Apache source?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 8:02 PM, Gary Fitts wrote: > I installed the MacPorts Apache2 package (apache 2.2.9) hoping to have a > build environment where I can add a custom Apache module. But there doesn’t > seem to be any build environment — no source files etc, just binaries. Am I > missing somet

Apache source?

2015-03-23 Thread Gary Fitts
I installed the MacPorts Apache2 package (apache 2.2.9) hoping to have a build environment where I can add a custom Apache module. But there doesn’t seem to be any build environment — no source files etc, just binaries. Am I missing something, or is there another source package somewhere? > sud

Re: Am I supposed to use gem from MacPorts to install ruby packages in /opt/local/lib/ruby2.2/gems/2.2.0?

2015-03-23 Thread Arno Hautala
My ~/.gemrc includes: > install: --no-ri --no-rdoc --user-install > update: --no-ri --no-rdoc --user-install This directs gem to install inside my home folder rather than trying to install to a system or MacPorts location. Another bonus is that I don't have to use sudo. I still try install as muc

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 19:47:38 Christopher Jones wrote: > > I only reboot when forced to, basically. > > nothing (in principle) wrong with that … One thing, actually: disk errors can accumulate (some form of fsck is run when you reboot/mount a disk). > Oh, just based on your various posts I

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 7:46pm, René J.V. Bertin wrote: > > On Monday March 23 2015 14:36:53 Brandon Allbery wrote: > >> the question of why the clock drifts so badly. Does everyone who sees that >> *really* not reboot often? > > %> w > 20:35 up 38 days, 6:28, 5 users, load averages: 4.35 5.43

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 14:36:53 Brandon Allbery wrote: > the question of why the clock drifts so badly. Does everyone who sees that > *really* not reboot often? %> w 20:35 up 38 days, 6:28, 5 users, load averages: 4.35 5.43 4.61 I only reboot when forced to, basically. > Did you perhaps rem

Re: what was up with ntp again?

2015-03-23 Thread Daniel J. Luke
> On Mar 23, 2015, at 2:36 PM, Brandon Allbery wrote: > On Mon, Mar 23, 2015 at 2:27 PM, Christopher Jones > wrote: > yes, I did reboot around then yesterday. Perhaps I mis understood Brendan’s > mail though but that seemed to suggest even a reboot wouldn’t update it. But > if it does then fin

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:27 PM, Christopher Jones wrote: >> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: >> You likely rebooted yesterday or the like. >> >> I haven't done so on a while, obviously… > > yes, I did reboot around then yesterday. Perhaps I mis understood [Brandon]’s > mail though but th

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:27 PM, Christopher Jones wrote: > yes, I did reboot around then yesterday. Perhaps I mis understood > Brendan’s mail though but that seemed to suggest even a reboot wouldn’t > update it. But if it does then fine, (non)mystery solved… I was under the impression a reboot

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:27pm, Christopher Jones wrote: > > >> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: >> >> On 23.03.2015 07:23 PM, Chris Jones wrote: >>> So why was mine seemingly updated only yesterday ? I've never done >>> anything w.r.t. ntp or pacemaker on this machine, so whatev

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: > > On 23.03.2015 07:23 PM, Chris Jones wrote: >> So why was mine seemingly updated only yesterday ? I've never done >> anything w.r.t. ntp or pacemaker on this machine, so whatever setting is >> running it must by definition be the default Appl

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:23 PM, Chris Jones wrote: > So why was mine seemingly updated only yesterday ? I've never done > anything w.r.t. ntp or pacemaker on this machine, so whatever setting is > running it must by definition be the default Apple setup ... ? Dunno. This was determined (and co

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:23 PM, Chris Jones wrote: > So why was mine seemingly updated only yesterday ? I've never done > anything w.r.t. ntp or pacemaker on this machine, so whatever setting is > running it must by definition be the default Apple setup ... ? You likely rebooted yesterday or the like. I

Re: what was up with ntp again?

2015-03-23 Thread Chris Jones
> On 23 Mar 2015, at 6:20 pm, Brandon Allbery wrote: > >> On Mon, Mar 23, 2015 at 2:17 PM, Chris Jones >> wrote: >> > The default permissions are likely to be fine: >> > >> > -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift >> >> That file hasn't been updated for a while ? > > Tha

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:17 PM, Chris Jones wrote: > > The default permissions are likely to be fine: > > > > -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift > > That file hasn't been updated for a while ? > That would be correct for the Apple ntpd/pacemaker setup. It's created once an

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:17 PM, Chris Jones wrote: >> On 23 Mar 2015, at 6:14 pm, Mihai Moldovan wrote: >> The default permissions are likely to be fine: >> >> -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift > > That file hasn't been updated for a while ? Yep. But my clock is perfectly synchron

Re: what was up with ntp again?

2015-03-23 Thread Chris Jones
> On 23 Mar 2015, at 6:14 pm, Mihai Moldovan wrote: > >> On 23.03.2015 07:17 PM, René J.V. Bertin wrote: >> I didn't have that file either (OS X 10.9), and the pacemaker manpage does >> say something about the daemon exiting if the file isn't recreated within a >> certain time after deletin

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> > I didn't have that file either (OS X 10.9), and the pacemaker manpage does > say something about the daemon exiting if the file isn't recreated within a > certain time after deleting it. I've created empty files for both > /var/db/ntp.drift and /etc/ntp.drift to see if they get populated; w

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:05 PM, Christopher Jones wrote: > > I also do not have /etc/ntp.drift on either of my OSX10.10 machines. > > I do have > > /private/var/db/ntp.drift > > could you perhaps have sym linked it, or similar, at some point ? I > certainly have never touched or even looked at t

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:17 PM, René J.V. Bertin wrote: > I didn't have that file either (OS X 10.9), and the pacemaker manpage does > say something about the daemon exiting if the file isn't recreated within a > certain time after deleting it. I've created empty files for both > /var/db/ntp.drift and /

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:17pm, René J.V. Bertin wrote: > > On Monday March 23 2015 18:05:45 Christopher Jones wrote: > >> >> I do have >> >> /private/var/db/ntp.drift >> >> could you perhaps have sym linked it, or similar, at some point ? I >> certainly have never touched or even looked at t

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 18:05:45 Christopher Jones wrote: > > I do have > > /private/var/db/ntp.drift > > could you perhaps have sym linked it, or similar, at some point ? I certainly > have never touched or even looked at this file until just now... I didn't have that file either (OS X 10.9

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:05 PM, Christopher Jones wrote: > I also do not have /etc/ntp.drift on either of my OSX10.10 machines. > On 23 Mar 2015, at 5:54pm, Brandon Allbery > wrote: No /etc/ntp.drift on my 10.9 machine either. > I do have > > /private/var/db/ntp.drift But

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 5:54pm, Brandon Allbery wrote: > > On Mon, Mar 23, 2015 at 1:58 PM, René J.V. > wrote: > Backatmymac (and being able to print again to my networked printer despite a > "cups-exec sandbox error 3850") I was going to follow the above instructions,

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 1:58 PM, René J.V. wrote: > Backatmymac (and being able to print again to my networked printer despite > a "cups-exec sandbox error 3850") I was going to follow the above > instructions, and noticed that I don't have an ntp.drift file at all. Could > that explain the persi

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 15:02:37 René J.V. Bertin wrote: > >sudo launchctl unload > > /System/Library/LaunchDaemons/com.apple.pacemaker.plist > >sudo rm /etc/ntp.drift > >sudo launchctl stop org.ntp.ntpd > ># wait an hour or so for ntpd to establish the current drift > >sudo >

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 05:51 PM, Brandon Allbery wrote: > On Mon, Mar 23, 2015 at 12:15 PM, Mihai Moldovan > wrote: > > Pretty good, if they use my favorite time keeping daemon > chrony. > > > ...and your port for it is pending? :p > (Seriously, I've been using full ntpd beca

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 12:52 PM, Michael wrote: > When I tried using the Apple NTP and pacemaker, what I discovered > essentially is that NTP does NO clock adjustment at all. All the clock > adjustment comes from pacemaker. Unfortunately, it did not do a good job of > synchronizing for me. In pa

Re: what was up with ntp again?

2015-03-23 Thread Michael
> The longer version I'll briefly gloss: Apple replaced traditional ntp with > one that uses less power and is more laptop friendly, when it works right. > But it assumes that the clock drift of a brand new machine is the same as > that of a fully burned-in and deployed machine, which it might w

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 12:15 PM, Mihai Moldovan wrote: > Pretty good, if they use my favorite time keeping daemon > chrony. > ...and your port for it is pending? :p (Seriously, I've been using full ntpd because pacemaker isn't quite enough for my constantly changing circumstances, but I can tel

Re: what was up with ntp again?

2015-03-23 Thread Daniel J. Luke
> On Mar 23, 2015, at 5:42 AM, René J.V. Bertin wrote: > Is this related to the issue that was discussed a while back, and to Apple's > conflicting service (pacekeeper?)? > How can I set things right (other than doing a full reinstall of course ^^) ? Apple's ntpd/pacemaker setup not working very

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 02:31 PM, Brandon Allbery wrote: > (If your clock still drifts after that, file a radar with Apple. > Replacing Apple's ntpd with a full one is probably not the best of > ideas, although it can be done if needed. But full ntpd is not > actually suitable for anything but certain scient

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 10:59:33 Brandon Allbery wrote: >> Would it make sense to see if it works on OS X? >> > >Sure, if it does. Erm, it'd make sense to see if it works if it does? Does build, maybe? :) >I do wonder if the inexplicable delays I sometimes see in app start-up, or >> apps being

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 10:50 AM, René J.V. wrote: > On Monday March 23 2015 10:25:37 Brandon Allbery wrote: > >> Again I never noticed any such performance issues ... but apparently > >> that's because my Ubuntu hosts don't use ntp but something called > ntpdate: > > > >ntpdate is a one-shot, so

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 10:25:37 Brandon Allbery wrote: >> Again I never noticed any such performance issues ... but apparently >> that's because my Ubuntu hosts don't use ntp but something called ntpdate: >> > >ntpdate is a one-shot, sometimes run from cron. I think that's what Ubuntu does. >Do

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 10:02 AM, René J.V. wrote: > On Monday March 23 2015 09:31:50 Brandon Allbery wrote: > >sudo launchctl unload > /System/Library/LaunchDaemons/com.apple.pacemaker.plist > >sudo rm /etc/ntp.drift > >sudo launchctl stop org.ntp.ntpd > ># wait an hour or so for

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 09:31:50 Brandon Allbery wrote: Hi, and thanks! >Short version: > >sudo launchctl unload > /System/Library/LaunchDaemons/com.apple.pacemaker.plist >sudo rm /etc/ntp.drift >sudo launchctl stop org.ntp.ntpd ># wait an hour or so for ntpd to establish the cur

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 5:42 AM, René J.V. wrote: > To put it in context: my computers all use the same ntp server ( > fr.ntp.pool.org) so that in theory they share the same clock. Turns out > that my Mac is about 5min (a bit over 300 seconds) ahead of the others, and > also of Bradley's VM. I've

what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
Hi, I can remember a discussion about ntp issues a while back. Not really related to MacPorts, but I think it was on here. To put it in context: my computers all use the same ntp server (fr.ntp.pool.org) so that in theory they share the same clock. Turns out that my Mac is about 5min (a bit ov