Re: Unable to build "DOC" ports

2013-07-23 Thread Marc Fonvieille
On Mon, Jul 22, 2013 at 08:47:47AM -0400, Carmel wrote:
> I am having a problem updating some ports since installing the
> "print/texlive-full" port a few days ago. I have: "TEX_DEFAULT=texlive"
> sans quotes at the top of my "/etc/make.conf" file.
> 
[...]

I think you have the reason just above.
For the moment the docproj port relies on print/teTeX-base and not
print/texlive-full.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: DTrace userland

2012-02-28 Thread Marc Abramowitz
On Tue, Feb 28, 2012 at 12:24 PM, Marc Abramowitz wrote:

> Here's another way to cause a kernel panic:
>
> [marca@freebsd9-0 ~]$ sudo kldload dtraceall
> ...
> [marca@freebsd9-0 ~]$ sudo dtrace -n 'pid$target:test:main:entry' -c
> ./test
> dtrace: description 'pid$target:test:main:entry' matched 1 probe
> dtrace: buffer size lowered to 1m
> CPU IDFUNCTION:NAME
>   0  43030   main:entry
> (Kernel panic!  After reboot)
>
>
I submitted a PR for this kernel panic at
http://www.freebsd.org/cgi/query-pr.cgi?pr=165541

Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: DTrace userland

2012-02-28 Thread Marc Abramowitz
On Tue, Feb 28, 2012 at 12:58 PM, Rui Paulo  wrote:

> Please file a PR. These are problems that we have to fix.


I submitted a PR for the kernel panic at
http://www.freebsd.org/cgi/query-pr.cgi?pr=165541

Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: DTrace userland

2012-02-28 Thread Marc Abramowitz
Here's another way to cause a kernel panic:

[marca@freebsd9-0 ~]$ sudo kldload dtraceall
[marca@freebsd9-0 ~]$ cat -n test.c
 1 #include 
 2
 3 int main()
 4 {
 5sleep(15);
 6
 7FILE *fp = fopen("hello.txt", "w");
 8fprintf(fp, "Here I am at %s:%d.\n", __FILE__, __LINE__);
 9fclose(fp);
10 }
[marca@freebsd9-0 ~]$ gcc test.c -o test
[marca@freebsd9-0 ~]$ sudo dtrace -n 'pid$target:test:main:entry' -c ./test
dtrace: description 'pid$target:test:main:entry' matched 1 probe
dtrace: buffer size lowered to 1m
CPU IDFUNCTION:NAME
  0  43030   main:entry
(Kernel panic!  After reboot)
[marca@freebsd9-0 ~]$ cat hello.txt
Here I am at test.c:8.

Interestingly, the crash doesn't occur until after the sleep and the
fprintf call, so it looks the kernel panic happens as a result of the
traced process _exiting_...

Marc


On Mon, Feb 27, 2012 at 11:10 PM, Marc Abramowitz wrote:

> Another strange behavior:
>
> [Tab 1]
> $ /bin/sleep 300 &
> [1] 1806
>
> [Tab 2]
> $ sudo dtrace -n 'pid1806:sleep::entry'
> $ echo $?
> 158
>
> [Tab 1]
> [1]+  Killed: 9   /bin/sleep 300
>
> Something seems very wrong that DTrace is killing processes and causing
> kernel panics.
>
> Marc
>
> On Mon, Feb 27, 2012 at 10:22 PM, Marc Abramowitz wrote:
>
>> I'm using FreeBSD 9.0 on amd64 in VMware Fusion and trying to DTrace
>> userland programs. I think I must be doing something wrong.
>>
>> I recompiled my kernel and world, following the instructions at
>> http://wiki.freebsd.org/DTrace and I've read
>> http://wiki.freebsd.org/DTrace/userland:
>>
>> The test.c pid provider example worked fine for me:
>>
>> $ sudo dtrace -s pid.d -c ./test
>> dtrace: script 'pid.d' matched 2 probes
>> dtrace: buffer size lowered to 1m
>> CPU IDFUNCTION:NAME
>>   0  43030   main:entry
>>   0  43031  sleep:entry
>>   0  43031  sleep:entry
>>   0  43031  sleep:entry
>>
>> As does a simple probe of test.c specified with the -n option:
>>
>> [marca@freebsd9-0 ~]$ sudo dtrace -n 'pid$target:test:main:entry' -c
>> ./test
>> dtrace: description 'pid$target:test:main:entry' matched 1 probe
>> dtrace: buffer size lowered to 1m
>> CPU IDFUNCTION:NAME
>>   0  43030   main:entry
>>
>> When I start trying to dtrace other programs, things don't go so well...
>>
>> $ sudo dtrace -n ":::entry" -c /usr/local/bin/python
>> Python 2.4.5 (#2, Dec  5 2011, 15:19:09)
>> [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import os
>> >>> os.getpid()
>> 1603
>> >>>
>> dtrace: failed to control pid 1603: process exited with status 0
>>
>> $ sudo dtrace -n 'pid$target:::entry' -c '/bin/cat hello_world.txt'
>> dtrace: description 'pid$target:::entry' matched 3315 probes
>> dtrace: buffer size lowered to 1m
>> CPU IDFUNCTION:NAME
>>   0  43448 _rtld_bind:entry
>>   0  43903  rlock_acquire:entry
>>   0  43125def_thread_set_flag:entry
>> (Had to hit Ctrl-C to exit; it never displayed hello_world.txt to stdout)
>>
>> [marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo make install
>> ...
>> [marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo dtrace -n
>> 'pid$target:::entry' -c '/usr/local/bin/gcat config.log'
>> dtrace: description 'pid$target:::entry' matched 3823 probes
>> dtrace: buffer size lowered to 1m
>> CPU IDFUNCTION:NAME
>>   0  43524 _rtld_bind:entry
>>   0  43979  rlock_acquire:entry
>>   0  43201def_thread_set_flag:entry
>> ^C
>>
>> $ sudo dtrace -n 'pid$target:cat:main:entry' -c '/bin/cat hello_world.txt'
>> causes a kernel panic.
>> According to the core.txt file, it was a "Fatal trap 10: trace trap while
>> in kernel mode" and here's the KDB backtrace:
>>
>> KDB: stack backtrace:
>> #0 0x8089025e at kdb_backtrace+0x5e
>> #1 0x80858ce7 at panic+0x187
>> #2 0x80b4bf20 at trap_fata

Re: DTrace userland

2012-02-27 Thread Marc Abramowitz
Another strange behavior:

[Tab 1]
$ /bin/sleep 300 &
[1] 1806

[Tab 2]
$ sudo dtrace -n 'pid1806:sleep::entry'
$ echo $?
158

[Tab 1]
[1]+  Killed: 9   /bin/sleep 300

Something seems very wrong that DTrace is killing processes and causing
kernel panics.

Marc

On Mon, Feb 27, 2012 at 10:22 PM, Marc Abramowitz wrote:

> I'm using FreeBSD 9.0 on amd64 in VMware Fusion and trying to DTrace
> userland programs. I think I must be doing something wrong.
>
> I recompiled my kernel and world, following the instructions at
> http://wiki.freebsd.org/DTrace and I've read
> http://wiki.freebsd.org/DTrace/userland:
>
> The test.c pid provider example worked fine for me:
>
> $ sudo dtrace -s pid.d -c ./test
> dtrace: script 'pid.d' matched 2 probes
> dtrace: buffer size lowered to 1m
> CPU IDFUNCTION:NAME
>   0  43030   main:entry
>   0  43031  sleep:entry
>   0  43031  sleep:entry
>   0  43031  sleep:entry
>
> As does a simple probe of test.c specified with the -n option:
>
> [marca@freebsd9-0 ~]$ sudo dtrace -n 'pid$target:test:main:entry' -c
> ./test
> dtrace: description 'pid$target:test:main:entry' matched 1 probe
> dtrace: buffer size lowered to 1m
> CPU IDFUNCTION:NAME
>   0  43030   main:entry
>
> When I start trying to dtrace other programs, things don't go so well...
>
> $ sudo dtrace -n ":::entry" -c /usr/local/bin/python
> Python 2.4.5 (#2, Dec  5 2011, 15:19:09)
> [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import os
> >>> os.getpid()
> 1603
> >>>
> dtrace: failed to control pid 1603: process exited with status 0
>
> $ sudo dtrace -n 'pid$target:::entry' -c '/bin/cat hello_world.txt'
> dtrace: description 'pid$target:::entry' matched 3315 probes
> dtrace: buffer size lowered to 1m
> CPU IDFUNCTION:NAME
>   0  43448 _rtld_bind:entry
>   0  43903  rlock_acquire:entry
>   0  43125def_thread_set_flag:entry
> (Had to hit Ctrl-C to exit; it never displayed hello_world.txt to stdout)
>
> [marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo make install
> ...
> [marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo dtrace -n
> 'pid$target:::entry' -c '/usr/local/bin/gcat config.log'
> dtrace: description 'pid$target:::entry' matched 3823 probes
> dtrace: buffer size lowered to 1m
> CPU IDFUNCTION:NAME
>   0  43524 _rtld_bind:entry
>   0  43979  rlock_acquire:entry
>   0  43201def_thread_set_flag:entry
> ^C
>
> $ sudo dtrace -n 'pid$target:cat:main:entry' -c '/bin/cat hello_world.txt'
> causes a kernel panic.
> According to the core.txt file, it was a "Fatal trap 10: trace trap while
> in kernel mode" and here's the KDB backtrace:
>
> KDB: stack backtrace:
> #0 0x8089025e at kdb_backtrace+0x5e
> #1 0x80858ce7 at panic+0x187
> #2 0x80b4bf20 at trap_fatal+0x290
> #3 0x80b4c540 at trap+0x180
> #4 0x80b36963 at calltrap+0x8
> #5 0x8162583d at dtrace_assfail+0x2d
> #6 0x8188aa2e at fasttrap_provider_free+0x1de
> #7 0x8188ad13 at fasttrap_pid_cleanup_cb+0x1c3
> #8 0x8086dfa1 at softclock+0x3a1
> #9 0x8082d724 at intr_event_execute_handlers+0x104
> #10 0x8082eee4 at ithread_loop+0xa4
> #11 0x8082a34f at fork_exit+0x11f
> #12 0x80b36e8e at fork_trampoline+0xe
>
> [marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo dtrace -n
> 'pid$target:gcat::entry' -c '/usr/local/bin/gcat config.log'
> (Another kernel panic)
>
> I can provide full crash dumps if necessary.
>
> Any idea what's going on here?
>
> Cheers,
> Marc
>
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


DTrace userland

2012-02-27 Thread Marc Abramowitz
I'm using FreeBSD 9.0 on amd64 in VMware Fusion and trying to DTrace
userland programs. I think I must be doing something wrong.

I recompiled my kernel and world, following the instructions at
http://wiki.freebsd.org/DTrace and I've read
http://wiki.freebsd.org/DTrace/userland:

The test.c pid provider example worked fine for me:

$ sudo dtrace -s pid.d -c ./test
dtrace: script 'pid.d' matched 2 probes
dtrace: buffer size lowered to 1m
CPU IDFUNCTION:NAME
  0  43030   main:entry
  0  43031  sleep:entry
  0  43031  sleep:entry
  0  43031  sleep:entry

As does a simple probe of test.c specified with the -n option:

[marca@freebsd9-0 ~]$ sudo dtrace -n 'pid$target:test:main:entry' -c ./test
dtrace: description 'pid$target:test:main:entry' matched 1 probe
dtrace: buffer size lowered to 1m
CPU IDFUNCTION:NAME
  0  43030   main:entry

When I start trying to dtrace other programs, things don't go so well...

$ sudo dtrace -n ":::entry" -c /usr/local/bin/python
Python 2.4.5 (#2, Dec  5 2011, 15:19:09)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getpid()
1603
>>>
dtrace: failed to control pid 1603: process exited with status 0

$ sudo dtrace -n 'pid$target:::entry' -c '/bin/cat hello_world.txt'
dtrace: description 'pid$target:::entry' matched 3315 probes
dtrace: buffer size lowered to 1m
CPU IDFUNCTION:NAME
  0  43448 _rtld_bind:entry
  0  43903  rlock_acquire:entry
  0  43125def_thread_set_flag:entry
(Had to hit Ctrl-C to exit; it never displayed hello_world.txt to stdout)

[marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo make install
...
[marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo dtrace -n
'pid$target:::entry' -c '/usr/local/bin/gcat config.log'
dtrace: description 'pid$target:::entry' matched 3823 probes
dtrace: buffer size lowered to 1m
CPU IDFUNCTION:NAME
  0  43524 _rtld_bind:entry
  0  43979  rlock_acquire:entry
  0  43201def_thread_set_flag:entry
^C

$ sudo dtrace -n 'pid$target:cat:main:entry' -c '/bin/cat hello_world.txt'
causes a kernel panic.
According to the core.txt file, it was a "Fatal trap 10: trace trap while
in kernel mode" and here's the KDB backtrace:

KDB: stack backtrace:
#0 0x8089025e at kdb_backtrace+0x5e
#1 0x80858ce7 at panic+0x187
#2 0x80b4bf20 at trap_fatal+0x290
#3 0x80b4c540 at trap+0x180
#4 0x80b36963 at calltrap+0x8
#5 0x8162583d at dtrace_assfail+0x2d
#6 0x8188aa2e at fasttrap_provider_free+0x1de
#7 0x8188ad13 at fasttrap_pid_cleanup_cb+0x1c3
#8 0x8086dfa1 at softclock+0x3a1
#9 0x8082d724 at intr_event_execute_handlers+0x104
#10 0x8082eee4 at ithread_loop+0xa4
#11 0x8082a34f at fork_exit+0x11f
#12 0x80b36e8e at fork_trampoline+0xe

[marca@freebsd9-0 /usr/ports/sysutils/coreutils]$ sudo dtrace -n
'pid$target:gcat::entry' -c '/usr/local/bin/gcat config.log'
(Another kernel panic)

I can provide full crash dumps if necessary.

Any idea what's going on here?

Cheers,
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-04 Thread Marc Fonvieille
On Thu, Aug 04, 2011 at 10:38:27AM -0500, Antonio Olivares wrote:
> On Thu, Aug 4, 2011 at 9:54 AM, Marc Fonvieille  wrote:
> >
> > I'm curious, what is the output of the id(1) command as olivares?
> >
> > --
> > Marc
> >
> 
> [olivares@quadcore ~]$ whoami
> olivares
> [olivares@quadcore ~]$ id
> uid=1001(olivares) gid=1001(olivares)
> groups=1001(olivares),0(wheel),5(operator),194(saned)
>

Ok, thanks.  I'm a bit puzzled about the reasons why the scanner wasn't
seen.

Hmm in devfs.rules:
[Removable Media] should be [Removable_Media=10], I think, to match your
rc.conf

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-04 Thread Marc Fonvieille
On Thu, Aug 04, 2011 at 12:26:55AM -0500, Antonio Olivares wrote:
> 
[...]
>
> I added scanbuttond from ports to be safe :), I just copied your
> example (not looking that it was customized for epson :(
> libscanbtnd-backend_epson.so, but I have removed that and left it as
> you have suggested :)  I was glad that it worked and I did not notice
> that.   The good thing is that it* scanner is working and thanks to
> your kind example/suggestion.
>

I'm curious, what is the output of the id(1) command as olivares?

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nfs error: No route to host when starting apache ...

2011-04-02 Thread Marc G. Fournier

On Fri, 1 Apr 2011, Rick Macklem wrote:


Since rpc.lockd and rpc.statd expect to be able to do IP broadcast
(same goes for rpcbind), I suspect that might be a problem w.r.t.
jails, although I know nothing about how jails work?


Oh, and you can use the "nolock" mount option to avoid use of
rpc.lockd and rpc.statd.


based on the mount_nfs man page, as well as trying it just in case, this 
option no longer appears to be availalble in the 7.x nfs code ... :(


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier


I've succeedig in getting a bit further ... by the time I got to the 
bottom of my original, I started to think in terms of rpc more, and had 
overlooked lookign at thte rpcbind man page, which *does* have a -h option 
... setting that fixes things perfectly *almost* ...


The last issue I seem to be  hitting *might* be a 6.x NFS client against a 
7.x server issue ... ?


Postfix generates:

postfix/showq[65261]: fatal: select lock: Permission denied

The only post I found about this was:

http://lists.freebsd.org/pipermail/freebsd-questions/2010-April/215284.html

But there didn't appear to be any responses ... so either all responses 
were private to Robert, or ... ?


This is my last 6.x box, so it is not overly critical, but would be nice 
if I could get it to work properly ...



On Fri, 1 Apr 2011, Marc G. Fournier wrote:



I just setup an nfs mount between two servers ...

ServerA, nfsd on 192.168.1.8
ServerB, nfs client on 192.168.1.7

I have a jail, ServerC, running on 192.168.1.7 ... most operations appear to 
work, but it looks like 'special files' of a sort aren't working, for when I 
try and startup Apache, I get:


[Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the 
accept mutex


When I try and do a 'newaliases', I get:

# newaliases
postalias: fatal: lock /etc/aliases.db: No route to host

Yet, for instance, both MySQL and PostgreSQL are running without any issues 
...


So, the mount is there, it is readable, it is working ... I can ssh into the 
jail, I can create files, etc ...


I do have rpc.lockd and rpc.statd running on both client / server sides ...

I'm not seeing anything in eithr the man page for mount_nfs *or* nfsd that 
might account / corect for something like this, but since I'm not sure what 
"this" is exactly, not sure exactl what I should be looking for :(


Note that this behaviour happens at the *physical* server level as well, 
having tested with using postalias to generate the same 'lock' issue above 
...


Now, I do have mountd/nfsd started iwth the -h to bind them to 192.168.1.8 
... *but*, the servers themselves, although on same switch do have different 
default gateways ... I'm not seeing anything within the man page for, say, 
rpc.statd/rpc.lockd that allows me to bind it to the 192.168.1.0/24 IP, so is 
it binding to my public IP instead of my private? So nfsd / mount_nfs can 
talk find, as they go thorugh 192.168.1.0/24 as desired, but 
rpc.statd/rpc.lockd are the public IPs and not able to talk to each other?


Thx ...
___
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier


I just setup an nfs mount between two servers ...

ServerA, nfsd on 192.168.1.8
ServerB, nfs client on 192.168.1.7

I have a jail, ServerC, running on 192.168.1.7 ... most operations appear 
to work, but it looks like 'special files' of a sort aren't working, for 
when I try and startup Apache, I get:


[Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the 
accept mutex


When I try and do a 'newaliases', I get:

# newaliases
postalias: fatal: lock /etc/aliases.db: No route to host

Yet, for instance, both MySQL and PostgreSQL are running without any 
issues ...


So, the mount is there, it is readable, it is working ... I can ssh into 
the jail, I can create files, etc ...


I do have rpc.lockd and rpc.statd running on both client / server sides 
...


I'm not seeing anything in eithr the man page for mount_nfs *or* nfsd that 
might account / corect for something like this, but since I'm not sure 
what "this" is exactly, not sure exactl what I should be looking for :(


Note that this behaviour happens at the *physical* server level as well, 
having tested with using postalias to generate the same 'lock' issue above 
...


Now, I do have mountd/nfsd started iwth the -h to bind them to 192.168.1.8 
... *but*, the servers themselves, although on same switch do have 
different default gateways ... I'm not seeing anything within the man page 
for, say, rpc.statd/rpc.lockd that allows me to bind it to the 
192.168.1.0/24 IP, so is it binding to my public IP instead of my private? 
So nfsd / mount_nfs can talk find, as they go thorugh 192.168.1.0/24 as 
desired, but rpc.statd/rpc.lockd are the public IPs and not able to talk 
to each other?


Thx ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Unable to extract audio cd tracks

2010-12-13 Thread Marc Fonvieille
On Mon, Dec 13, 2010 at 06:54:40PM +0100, David Demelier wrote:
> Hi,
> 
> Reading this http://www.freebsd.org/doc/handbook/creating-cds.html I 
> would try to extract my files from my optical drive. (I don't have 
> atapicam but if I understand well it's only needed for cdda2wav)
> 
> mark...@abricot ~ $ sudo dd if=/dev/acd0t01 of=track1.cdr
> dd: /dev/acd0t01: Invalid argument
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.026221 secs (0 bytes/sec)
> 
> do I really need atapicam even if I directly read from the device?
>

cdda2wav should work even without atapicam.  The doc has to be updated
on this point.

However the dd thing should work maybe the disc was not correctly "tasted"
by the drive.  Try:

dd if=/dev/acd0 of=/dev/null count=1

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


fsync: Linux vs FreeBSD

2010-10-26 Thread Marc G. Fournier


Someone recently posted on one of the PostgreSQL Blogs concerning fsync on 
Linux/Windows/Mac OS X, but failed to make any comments on any of the BSDs 
... the post has to do with how fsync works on the various OSs, and am 
curious as to whether or not this is something that also afflicts us:


http://rhaas.blogspot.com/2010/10/wal-reliability.html

From reading our man page, I see no warnings similar to what the other OSs 

have, specifically:

Mac OS X: For applications that require tighter guarantees about the
  integrity of their data, Mac OS X provides the F_FULLFSYNC fcntl

Linux: If the underlying hard disk has write caching enabled, then the
   data may not really be on permanent storage when fsync() /
   fdatasync() return.

So, do we hide the fact, or are, in fact, not afflicted by this?

Thanks ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-26 Thread Marc Fonvieille
On Thu, Aug 26, 2010 at 04:11:27PM -0400, Eitan Adler wrote:
> >> I used make install as I had no way of knowing that additional drivers
> >> could be selected.  Perhaps that should be an option to the sysinstall
> >> program when FBSD is initially being installed.
> >>
> >
> > Yes, people can't guess what are the names of the drivers, it's in my
> > opinion a problem for this port.  I Cced the maintainer.
> 
> I have a lot on my plate right now so I can't guarantee that I'll
> solve this soon.
> Would depending on x11-driver/xorg-drivers instead of requiring
> VIDEO_DRIVER being set help at all?
> I intended this port to be used when you require X11 to up and running
> fast without any overhead. That is why things like xset aren't
> installed. It is possible to run X11 with the vesa driver even if you
> can get better performance with a different driver.
>

Having a config menu to select the drivers to be installed (via OPTIONS)
is what is missing.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-26 Thread Marc Fonvieille
On Sun, Aug 22, 2010 at 07:17:48AM -0700, Fred Boatwright wrote:
> > 
> > For x11/xorg-minimal installation you issued the command:
> > 
> > "make install" or "make install VIDEO_DRIVER=your_video_driver" ?
> > 
> > Without the mention of the driver it installs the vesa driver only.
> > This is sub-optimal, an options screen with all existing drivers should
> > be proposed.
> > 
> > --
> > Marc
> 
> I used make install as I had no way of knowing that additional drivers
> could be selected.  Perhaps that should be an option to the sysinstall
> program when FBSD is initially being installed.
>

Yes, people can't guess what are the names of the drivers, it's in my
opinion a problem for this port.  I Cced the maintainer.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-22 Thread Marc Fonvieille
On Sat, Aug 21, 2010 at 07:41:49PM -0700, Fred Boatwright wrote:
> Warren Block wrote:
> > 
> > On Sat, 21 Aug 2010, Warren Block wrote:
> > 
> > > Log file is at http://wonkity.com/~wblock/tmp/Xorg.0.log
> > 
> > First notes:
> > 
> > You're running the old version of X, 1.6.1.
> > 
> > Something odd is going on with some of the fonts.
> 
> I installed ports/x11/xorg-minimal as the full Monty appeared to be a
> huge amount of software that will never get used.  I don't want all the
> stuff for gnome and kde as I will never use them.
> 
> It appeared to me that the fonts could be straightened out when
> everything else is working.  I think the Handbook has a section on
> adding fonts.
> 
> While looking for the xorg-minimal that I installed I found a bunch of
> nVidea drivers in the same directory.  Do you think I should install
> them now or wait.
>

For x11/xorg-minimal installation you issued the command:

"make install" or "make install VIDEO_DRIVER=your_video_driver" ?

Without the mention of the driver it installs the vesa driver only.
This is sub-optimal, an options screen with all existing drivers should
be proposed.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bsdstats problem?

2010-06-30 Thread Marc G. Fournier


Please try now, tested from here and works fine:

# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
Posting monthly OS statistics to rpt.bsdstats.org
#


On Wed, 30 Jun 2010, Chris Whitehouse wrote:


Fbsd8 wrote:

Anh Ky Huynh wrote:

On Tue, 29 Jun 2010 23:28:52 +0100
Chris Whitehouse  wrote:


Anyone else having problems with bsdstats?


I have the same problems here.


muji2# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
No address record
fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
No address record
Posting monthly OS statistics to rpt.bsdstats.org
fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
No address record
...



The bsdstats server is off line. Maybe it's nolonger supported.


Probably is, there was a push to get some things sorted out recently. I have 
cc'd the illustrious leader.


Chris








Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mpcustomer.com issue

2010-06-11 Thread Marc Bollinger
I believe I've located the culprit - as long as the mailing list took my 
unsubscribe request. :)

Please feel free to notify me if you still get it..

Sorry again,
Marc

On Jun 11, 2010, at 4:00 PM, Alejandro Imass wrote:

> On Fri, Jun 11, 2010 at 5:05 PM, Marc Bollinger  wrote:
>> All,
>> 
>> My name is Marc Bollinger, Director of Development of UK2 Group. I've 
>> recently got word of an annoying problem where our CRM (mpcustomer.com) is 
>> sending out auto-responders to this list.
>> 
>> I subscribed to this list so I can reproduce the problem and help me track 
>> it down. Terribly sorry for the problems with this, I can appreciate how 
>> annoying it is.
>> 
>> We'll get this knocked out as soon as possible.
>> 
>> Best,
>> Marc
>> 
> 
> THANKS! It is really annoying!!!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mpcustomer.com issue

2010-06-11 Thread Marc Bollinger
All,

My name is Marc Bollinger, Director of Development of UK2 Group. I've recently 
got word of an annoying problem where our CRM (mpcustomer.com) is sending out 
auto-responders to this list. 

I subscribed to this list so I can reproduce the problem and help me track it 
down. Terribly sorry for the problems with this, I can appreciate how annoying 
it is.

We'll get this knocked out as soon as possible.

Best,
Marc

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


the numbers are growing ... since the start of May, I've seen the
numbers jump by almost 2k new computers, so it is growing ... but
ppl have to consciously install the software ...


I remember the days when I was using Linux with http://counter.li.org/ 
(my ID is 392115). Anonymousness is good but I think that I'll be proud 
of having a counter for my (Free)BSD box :) Why don't bsdstat support 
registration?


one of the critical requirements that alot of ppl out there had at the 
start was anonymity ... not so much that they weren't proud to run *BSD, 
but for safety ... there is nothing in the database that can be traced 
back to the source, nor that can be spammed ...


Also, easy of use was a big factor ... registration is just yet another 
step that ppl (myself included) generally just don't bother with ... it 
really doesn't give you much, and discourages alot of ppl from doing it 
...


... and, in the case of PCBSD, would make it harder to have it 
auto-enabled, since it couldn't be enabled without the end user 
registering first, which most wouldn't do ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


On Mon, 31 May 2010 11:41:16 +0800
Aiza  wrote:


I trying to estimate the number of Freebsd computers.
To gauge a rough range size.


This may help: http://www.bsdstats.org/ :)


BSDstats has a very long way to go before the numbers start to look 
rasonable ... for PCBSD, the #s are pretty reasonable, because they set it 
up so that its auto-enabled when  you intall ... for FreeBSD, the numbers 
aren't even close, since ppl have to manually install it ...


the numbers are growing ... since the start of May, I've seen the numbers 
jump by almost 2k new computers, so it is growing ... but ppl have to 
consciously install the software ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How long do you go without upgrading FreeBSD to a newer release?

2010-05-27 Thread Marc G. Fournier

On Thu, 20 May 2010, Mehmet Erol Sanliturk wrote:


(i) install onto a new computer , test it , and if it is working very well
transfer data onto
new system , and keep old system for a new release/update cycle .
This step is most suitable for production systems exposed to outer
world .
(ii) attach a new hard disk to the computer , copy all of the present files
to the new
system ,
   update it , test it , if it is successful , use previous hard disk for a
new release/update
   cycle ,
(iii) back-up all of the data , and try update . Testing suitability may
take a long time .

In steps (ii) and (iii) , do not load new data during tests , because at the
end , all of them may be destroyed .
( No one of the above steps are suitable for a proprietary , activation
based operating system because they are not allowing so many computer and/or
hard disk changes . )

Therefore , the problem is a "system analysis and design" process .



In my case, I have nagios setup to advise me when its been 60 days since 
last upgrade and perform an upgrade religiously when the alarm is sounded 
... have had this policy for *years* now without regret ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


BSDStats: Status Report

2010-05-25 Thread Marc G. Fournier


News:

Its been almost three weeks since we fixed a bug with the stats collector 
that was causing alot of reportings to get lumped under 'Panama', and our 
numbers are back up (or above) where they were before we effectively 
re-set the statistics.


At the suggestion of one person, we have setup an internal mailing list 
that can be used for bug reports / future developments, so that we do not 
have to deal with a whole bunch of different mailing lists.


To subscribe, please send an email to:

general-subscr...@bsdstats.org

In order to reduce the potential for spam, this is a closed list ... you 
have to be subscribed to post to it ...


===

Status:

As of this posting, we are getting reports in from all the *BSD variants:

  PCBSD  4 872
  FreeBSD1 627
  DesktopBSD   154
  NetBSD43
  OpenBSD   15
  DragonflyBSD  14
  MidnightBSD3
  MirBSD 3


Country wise, we are seeing reports from 102 countries, with the top 10 
countries currently being:


  United States  1 421 (popular: PCBSD)
  Russian Federation   648 (popular: PCBSD)
  Germany  459 (popular: PCBSD)
  Panama   451 (popular: FreeBSD)
  Australia328 (popular: FreeBSD)
  Ukraine  307 (popular: PCBSD)
  Japan232 (popular: PCBSD)
  United Kingdom   190 (popular: PCBSD)
  Italy174 (popular: PCBSD)
  France   169 (popular: PCBSD)


For more information on the project, please visit http://www.bsdstats.org

The sites includes basic instructions for installing / running on the 
various *BSDs ...


If you have any problems, please let me know ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


BSDStats: Project Status on May 13th, 2010

2010-05-13 Thread Marc G. Fournier


Status:

  Over the past two weeks, there has been alot of work performed on the 
backend, including fixing a few "bugs" that were recently reported.


  As a result of using HAProxy to load balance and help ensure uptime for 
reporting clients, someone recently reported that although their sent in 
their report, their country wasn't going up in the 'Countries' states.


  This bug has been fixed (HAProxy was reporting Proxy IP vs Client IP) 
and we reset the stats period to 1st of May, causing a sharp drop in #s 
that has slowly been climbing back up again.


  The result of the change is that now Panama isn't the largest 
distribution of PC-BSD anymore, but the USofA is back in that lead, with 
Russia quickly following.


Stats Summary:

As of May 13th, 2010 (based on reporting ~2 weeks of reporting period 
since fix) , the project has 3 733 hosts that have reported in, broken 
down as follows:


 PC-BSD2 357 hosts
 FreeBSD   1 243 hosts
 DesktopBSD   78 hosts
 NetBSD   34 hosts
 OpenBSD  12 hosts
 DragonFly 9 hosts
 MirBSD0 hosts
 MidnightBSD   0 hosts
 GNU/kFreeBSD  0 hosts

We currently have hosts being reported in from 88 countries, with the top 
10 being:


 United States 752
 Panama332
 Russian Federation332
 Australia 271
 Germany   204
 Ukraine   173
 Japan 121
 Canada101
 Brazil 89
 United Kingdom 89

Project URL: http://www.bsdstats.org

Project Objective:

"The mission of this site is to compile semi-accurate numbers for advocacy 
and marketing of the *BSD operating systems."


PC-BSD, to the best of our knowledge, is the only one that defaults to 
enabled, while the rest have to be enabled manually.


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats 
to set things up.


There is now a man page / document that has been created, that contains 
a full description of the project, as well as the steps we take to 
ensure the anonymity of those reporting while maintaining the 
individuality of the reporting machines.  This can be found at:


http://www.bsdstats.org/bsdstats-8.html

Project Uptime:

In the beginning, there were issues with accessibility of the servers, due 
to only having one reporting server.  We have since moved to a distributed 
cluster using HAProxy to load balance between two physical servers, with a 
third one coming online soon.  http://www.bsdstats.org isn't running on 
this new cluster yet, but work is underway to get that moved over as well, 
which we hope to have accomplished over the next couple of days.


If you have any questions, please feel free to email me ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Marc G. Fournier


Just to elaborate on the issue ... it looks like both of those pages are 
using different QUERIES to the database ... in the former, it is using a 
system view that I was able to update after we fixed the issue with 
country reporting, such that it doesn't show records older then that date 
... the latter page is pulling the data via a different method (which 
Bobby is looking into) so that its actually pulling in older date (ie. a 
two months average vs just the past 10 days or so) ...


Both are accurate, just different time periods ...

On Sun, 9 May 2010, Bobby Walker wrote:



On May 9, 2010, at 7:53 PM, Aiza wrote:


Bobby Walker wrote:



On Thu, 6 May 2010, Fbsd1 wrote:

Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=
And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD
Why is this? I would think both should show the same value, or you
better add explanation to the web page why the count is different.

This was a database setup problem, and I've updated the code to pull out of the 
proper database.   if anyone notices any other discrepancies please let me know.
Thanks,
Bobby___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Why does
http://www.bsdstats.org/
and
http://bsdstats.hub.org/bt/home.html?os=FreeBSD
still show different counts if you fixed this problem?


I made the correction on the development site and did not have any issues.  In 
fact, I still don't have problems with it at all.  On the live site, though, 
there's something amiss with the way the template system is interacting with 
the database.  So, I'm trying to track down the problem.

Here are my temporary hurdles, I'm still wading through the template system.  
The more familiar I get with the layout of that, the faster things seem to go.  
And I usually get an hour or so a day to work with it.  But, I am plugging away 
at it.

I'll post an update when I isolate the erroneous problems.  Thanks for the 
heads up!

-- Bobby


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-09 Thread Marc G. Fournier

On Sun, 9 May 2010, Chad Perrin wrote:


On Fri, May 07, 2010 at 02:56:49PM -0300, Marc G. Fournier wrote:


Maybe some sort of 'Server Running *BSD' icon / link from web sites to
bsdstats.org would help too ...


Not all BSD Unix systems are servers.


True, but, then again, few desktops users probably run web servers to 
display such an icon on :)


But, that said, we're looking at something like either 'Member of' or 
'Contributor to' instead ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


Actually: "Contributor to BSDStats" sounds better / easier to understand

On Fri, 7 May 2010, Marc G. Fournier wrote:



Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | 
chipsquips.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"





Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


I was just thinking about it, and one point that I don't know if I've ever 
made (or haven't made in awhile) is that BSDStats looks at who is *using* 
a *BSD variant, not who *was* ... it relies on being run *at least* once a 
month for a server to be counted ... if you run it once and never run it 
again, you only count for that *period*, but fall off the radar relatively 
quickly.


Basically, if someone installed FreeBSD 2 years ago, installed the port 
and then switched to Linux a year later, even though they are still listed 
in the system, they are not part of the 'current' states, as they are no 
longer reporting ...


That is why the initial install puts it into 
/usr/local/etc/periodic/monthly, so that it hopefully gets run *at least* 
at the beginning of each month ... it can be run more often over the 
month, it will still count as *1* install, but it needs to be run *at 
least* once a month for a machine to continue to be counted ...



On Fri, 7 May 2010, Marc G. Fournier wrote:



Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | 
chipsquips.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"





Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Hardware vendor

2010-05-06 Thread Marc G. Fournier


iXSystems (http://www.ixsystems.com/) ... they are a BSD shop,period ...

Been dealing iwth them a couple of years now for production servers, 
haven't been disappointed yet ...


On Thu, 6 May 2010, Lonnie CasaDeCalvo wrote:


Hi,

Can you make a recomondation to a hardware supplier that will preinstall
FreeBSD on there server hardware?
I see some hardware vendors on the website but I am not finding one that
will preinstall and support.

Thanks,
Lonnie CasaDeCalvo
Graphic Systems, Inc.
2632 26th Ave So
Minneapolis, MN 55406
612-721-6100
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-06 Thread Marc G. Fournier

On Thu, 6 May 2010, Robert Huff wrote:



Chris Whitehouse writes:


 The problem with not including bsdstats in sysinstall or some
 other means of bringing it to peoples attention is that it gets
 forgotten and loses its effectiveness. What about a monthly (3
 monthly, whatever) reminder saying what bsdstats is about and the
 reasons for installing it. Maybe it could go in the monthly list
 subscription reminder.


As part of the installation process, offer to add a crontab
entry?


The problem, as I get from Randi, isn't adding the crontab entry (its not 
required anyway), but that since 300.statistics isn't in 
/etc/periodic/monthly by default, sysinstall would have to do a pkg_add of 
the port to get it installed first, *then* add the appropriate entries to 
both /etc/periodic.conf and /etc/rc.conf so that it runs ...


The latter two are doable, but havin to do a pkg_add seems to be the part 
that is being frowned on ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Randi Harper wrote:


Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email.


Its been brought up a few times over the past couple of years ...

I wouldn't want to add an option to sysinstall for this unless bsdstats 
was part of base.


Since it is just a script that was designed specifically so that it 
doesn't require any other ports to be installed, *in theory* it could just 
be dump'd into /etc/periodic/monthly without any issues ...


But, if it were ... unlike PC-BSD, it would have to be opt-in, not opt-out 
... based on all of the discussions in the past, and I agree, nobody would 
appreciate (and outcry would be heavy) if someone were to add an 'opt-out 
phone home script' that they didn't consciously enable ...




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSDstats website displaying data incorrectly

2010-05-05 Thread Marc G. Fournier

On Thu, 6 May 2010, Fbsd1 wrote:



Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=

And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD

Why is this? I would think both should show the same value, or you 
better add explanation to the web page why the count is different.


As was explained earlier, normal operation looks at the past couple of 
months, to deal with cases, where, for instance, someone has it set to 
only report on reboot, but not monthly ... due to the countries issue that 
you pointed out, I made a slight change while things restabilize so that 
it is only showing this month's stats ... I will expand it again as the 
old data for countries fades away ...


The descrepancy above is due to the sub-OS pages not using the same DB 
query as the upper one, and as I didn't do the web front end, and the 
person who did is no longer around, I have to figure out *how* the code he 
wrote works, especially for those sub pages (template system, as there is 
no "/bt/" file system *on* the server ...


As to the rest ... especially the comments about the web site itself ... 
feel like stepping into the breach on that one?  I have no creative talent 
for doing a web page, which is why I recruited someone way back when ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?

so for a very 

long time I haven't installed it. Obviously I was wrong.

So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org

(Not sure if publishing the key is a security risk so replacing it with x's)

A bit later

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
Posting monthly OS statistics to rpt.bsdstats.org

But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


BTW, I can't get the Ports Stats page on the website.

Chris





Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Hill wrote:

Since we're on the topic, and in light of Fbsd1's recent adventure... 
Panama seems awfully high in the country stats. I understand what you 
said upthread about haproxy being in Panama, but it's a small country to 
be always at the top; maybe there's some way to differentiate between 
"really in Panama" and "don't know"? It also seems odd that I, 
personally, as a home user, should be responsible for about 3% of the 
bsdstats-reporting FreeBSD machines in the US. (3 hosts out of 101)


You will see those numbers dropping over the course of the month ... if 
ppl out there are reading this and wish to help 'fix the numbers', just 
run:


/usr/local/etc/periodic/monthly/300.statistics -nodelay

to update their records with the right country vs Panama, and you'll see 
it change quickly ... you'll even notice that the overall numbers right 
now are quick low, as I narrowed down the view to just 'so far this 
month' to help bring down the Panama skew, so there is no overlap right 
now with last month ...


The PC-BSD #s are the ones that really skew'd those numbers up though, 
since theirs is auto-installed and always up to date, so unlike alot of 
FBSD users that have old versions installed pointing directly to the 
physical server, the PC-BSD ones were pointing to the load balancer ... 
DNS will have to catch up for them 





 
Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:


Marc G. Fournier wrote:


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats


I seem to have probs with mine too. I was under the impression that bsdstats 
was installed by default (in the base system?) so for a very long time I 
haven't installed it. Obviously I was wrong.


So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org


That one would be a result of the change(s) I made last night to deal with 
everything being recorded as 'Country == Panama' ... it waas a DNS change 
that took a bit to propogate out ...


But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


Can you send me your key?  Its still showing just 3 FBSD, but that page 
has definitely been updating in #s, so not sure why it didnt jump to 4 ...


I did narrow down the view in the database from 3 mos to 'just this month' 
so that the country numbers do look accurate, but will re-extend things as 
time goes on with the cleaned up #s ...



BTW, I can't get the Ports Stats page on the website.


I'm going to have to look at re-enabling that one ... that table is so 
huge that processing it was killer ... I've since moved things to a much 
larger server, so will run some tests and get that back online ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats

the results should have showed up instantly on the web site ... but, just 
checking the database, I do find a connection from PH  today at 2010-05-05 
03:30:12.196478 ... and the country stats does show it:


#47  	PH Philippines	 	 	1	 	 	 	2 
3


Even on the FreeBSD specific screen:

#55 PH Philippines  1   0.03 %

If you can send me the output of /var/db/bsdstats though,I can confirm 
that it is, in fact, your host that reported ...


On Wed, 5 May 2010, Fbsd1 wrote:


Marc G. Fournier wrote:

On Tue, 4 May 2010, Marc G. Fournier wrote:

Don't worry about it, found and fixed that bug ... it had to do with trying 
to masquarade behind haproxy, so it looked like all systems were coming in 
from Panama if they were running the newest code ... which means alot of 
ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fixed this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...





Just did pkg_add -r bsdstats followed by
/usr/local/etc/periodic/monthly/300.statistics -nodelay

Still don't see any Freebsd systems listed for the Philippines on the 
website.


What is YOUR definition of REAL-TIME.




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Gary Kline wrote:


On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...




i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.


Stats are updated real time ... just go to http://www.bsdstats.org ...

The only stats that aren't working right now are the ports ones, not sure 
why we disabled that one, but suspect alot of it is size / load time 
related ... the database is *huge* for that ... I'm going to have to look 
into that one ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Marc G. Fournier wrote:


On Wed, 5 May 2010, Fbsd1 wrote:

Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...


Don't worry about it, found and fixed that bug ... it had to do with 
trying to masquarade behind haproxy, so it looked like all systems were 
coming in from Panama if they were running the newest code ... which means 
alot of ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fix this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...

I am a retired American who is now living in the Philippines. All during 
RELEASE 7.0, 7.1, 7.2, and now 8.0 I have been running the bsdstats port 
on my single system. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems listed 
in the Philippines. Also the previous months reports are no longer shown 
on the website and the port stats don't show at all. This is not the 
results talked about on this list when the bsdstats project was trying 
to get Freebsd participation 3 years ago.


Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...



What good is participation if there are no real-time results.


The results are realtime ... generated directly out of the database ...


I removed bsdstats from my system and the port should be removed from the 
ports system.
I also emailed Marc G. Fournier  the author and never 
received a reply. That is the best sign that bsdstats is dead.


Huh?  I don't recall any emails about issues that I've not answered :(


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


The backend to bsdstats.org is load balanced behind an haproxy backend, 
with only the IP of haproxy being passed back into it ... one of the key 
issues that was brought up from day one was security and anonymity(sp?) of 
those submitting, and we've taken that *very* seriously ... other then the 
tokens that are passed back to present individual systems, we do not 
record anything (or see anything) about the reporting servers ...




On Tue, 4 May 2010, Steve Bertrand wrote:


Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve







Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


6-STABLE + quagga/zebra == Can't bind to stream socket

2010-05-04 Thread Marc G. Fournier


In order to deal with a lack of layer 3 switch, last week I installed 
Quagga/OSPF on all of my servers, and got it configured.  Works *great* on 
my 7.x servers, but, using the same config (and port), my 6-STABLE boxes 
all generate the same error when I try and start up zebra:


2010/05/01 01:44:18 ZEBRA: Can't bind to stream socket: Can't assign
requested address
2010/05/01 01:44:18 ZEBRA: zebra can't provice full functionality due to
above error
2010/05/01 01:44:18 ZEBRA: Zebra 0.99.15 starting: v...@2601

So ospfd isn't able to announce / receive routes ...

My zebra.conf file looks like:

!
interface em0
 no shutdown
 ip address 200.46.204.60/24
!
interface em1
!
interface lo0
!
ip route 0.0.0.0/0 200.46.208.1
!
ip forwarding
!
line vty

The top bit of ifconfig shows:

ifconfig em0 | less
em0: flags=8943 mtu 1500
options=1b
inet 200.46.204.60 netmask 0xff00 broadcast 200.46.204.255
inet 200.46.208.60 netmask 0xff00 broadcast 200.46.208.255
inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
inet 200.46.204.183 netmask 0x broadcast 200.46.204.183


Other then appropriate interface/IP on the 7-STABLE boxes, the 7-STABLE
boxes all work fine ... is there an issue with em/fxp devices and zebra on
6-STABLE/i386? Or am I overlooking something in my config?

Thx ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


PHP5 + fastcgi + apache2.2 ... how to for FreeBSD?

2009-10-19 Thread Marc G. Fournier


Is there one somewhere?  I'm finding *alot* of Debian ones dealing with 
their whole apget stuff, but would like to find something that "speaks 
normally" :)


Thx ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: No buffer space available

2009-10-10 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Thiago ...

  What version of kernel did you end up going back to?

- --On Wednesday, April 04, 2007 10:15:48 -0300 "Marc G. Fournier" 
 wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> I'm seeing the same effect (haven't tried older kernel, mind you) almost like
> clockwork, every 72 hours after reboot ... at least now I don't feel so
> crazy,  knowing it isn't just me ...
>
> - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira
>  wrote:
>
>> I've tried to increase the kern.ipc.nmbclusters value but it worked only when
>> I changed the kernel to an older one.
>>
>> netstat -m (Now it's working with the same values.)
>> -
>> 515/850/1365 mbufs in use (current/cache/total)
>> 512/390/902/65024 mbuf clusters in use (current/cache/total/max)
>> 512/243 mbuf+clusters out of packet secondary zone in use (current/cache)
>> 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
>> 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
>> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
>> 1152K/992K/2145K bytes allocated to network (current/cache/total)
>> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
>> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
>> 0/0/0 sfbufs in use (current/peak/max)
>> 0 requests for sfbufs denied
>> 0 requests for sfbufs delayed
>> 2759 requests for I/O initiated by sendfile
>> 2982 calls to protocol drain routines
>>
>> Ethernet adapters
>> -
>> em0:  port
>> 0xec80-0xecbf m em 0xfebe-0xfebf irq 10 at device 4.0 on pci7
>> em0: Ethernet address: 00:04:23:c3:06:78
>> em0: [FAST]
>> skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem
>> 0xfebd8000-0xfebdbfff  irq 15 at device 6.0 on pci7
>> skc0: 3Com Gigabit NIC (3C2000) rev. (0x1)
>> sk0:  on skc0
>> sk0: Ethernet address: 00:0a:5e:65:ad:c3
>> miibus0:  on sk0
>> e1000phy0:  on miibus0
>> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
>> auto
>>
>> P.S.: I am using the FreeBSD/amd64.
>>
>> Brian A. Seklecki wrote:
>>> Show us netstat -m on the broken kernel?  Show us your dmesg(8) for
>>> em(4).
>>>
>>> TIA,
>>> ~BAS
>>>
>>> On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:
>>>> Hello,
>>>>
>>>> I've had a problem with one of my FreeBSD servers, the machine has stopped
>>>> its network services and then sent these messages:
>>>>
>>>> -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available
>>>> -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0,
>>>> 146.164.92.255.520): No buffer space available
>>>>
>>>> The messages were repeated a lot of times before a temporary solution. I've
>>>> changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then
>>>> it's been working well. What happened?
>>>>
>>>> P.S.: I can give more informations if necessary.
>>>> ___
>>>> freebsd-questions@freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>> To unsubscribe, send any mail to
>>>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
>
> - 
> Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
> Email . scra...@hub.org  MSN . scra...@hub.org
> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (FreeBSD)
>
> iD8DBQFGE6UE4QvfyHIvDvMRAlutAJ0WzVTYq99hmx1km2mdXE7pdUC8IgCgt4O1
> eG6kXgqHveumXjkL0t+Q8Q8=
> =sieE
> -END PGP SIGNATURE-
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGE/ZC4QvfyHIvDvMRAsWoAJwJpD8nCtG0iv5U6LY8ISyyDKxgegCg1eti
SezStun7CLDA9pgfrp8GloM=
=UwSU
-END PGP SIGNATURE-

___
freebsd-sta...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3

2009-08-27 Thread Marc Fonvieille
On Thu, Aug 27, 2009 at 04:04:09PM +0100, Tony McC wrote:
> 
> Marc, many thanks, that was a great help.  I uncommented uvisor in the
> kernel config file, installed the newer uvisor.c, rebuilt and installed
> the new kernel. Pressing the hotsync button did indeed create
> a /dev/cuaU0 but I had to add myself to the 'dialer' group to use it.
> Palm syncing now works again with jpilot!
>

Great!

> BTW, when might that newer uvisor.c be merged into the RELENG_8 sources?
> 

Hopefully, It should be available in 8.0-RELEASE.

> Thanks also to Roland.  I already had add path 'usb/*' in
> my /etc/devfs.rules.  
> 
> Best wishes,
> Tony
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem syncing Palm TX with jpilot on FreeBSD 8.0-BETA3

2009-08-27 Thread Marc Fonvieille
On Wed, Aug 26, 2009 at 06:54:25PM +0100, Tony McC wrote:
> Hello,
> 
> I am running FreeBSD 8.0-BETA3 amd64 and am having trouble syncing my
> Palm TX with jpilot.  This used to work with 7.2-STABLE amd64 and I
> suspect I'm just not using the usb: connection correctly but have not
> been able to find a solution by searching the archives.  
> 
> I am running a custom kernel with "device uvisor" commented out, though
> the same problem occurs if I recompile with uvisor included. 
>
[...]

First you need to have uvisor(4) loaded (compiled in the kernel or via
the loaded module).  Last uvisor(4) revision was not merged in BETA3 so
you will have to wait for the merge or directly grab it from

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/usb/serial/uvisor.c?rev=1.12;content-type=text%2Fplain;only_with_tag=HEAD

replace you src/sys/dev/usb/serial/uvisor.c with that one and rebuild
your module/kernel

Then if you plug your device and launch Hotsync on the Palm a /dev/cuaU0
device should appear.  You should check that.
If you have jpilot installed, palm/pilot-link tools are installed (be
sure it was compiled with USB support), so once the /dev/cuaU0 device
node is created you can type:

# pilot-xfer -p /dev/cuaU0 -l

this should list the installed files on your device,

# pilot-xfer -p /dev/cuaU0 -b your_backup_dir

to backup your palm on your PC.

If these commands worked, then jpilot should work as well.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-21 Thread Marc Fonvieille
On Thu, Aug 20, 2009 at 07:02:28AM -0600, Warren Block wrote:
> >
> > So you should not run it as root.
> 
> Let me clarify: I did not run it as root until after it didn't work as a 
> normal user.  Or at least I thought I didn't.
> 
> Now, having removed the link in /usr/local/lib/firefox3/plugins and 
> making sure that npwrapper.libflashplayer.so was not present in 
> /usr/local/lib/browser_plugins, nspluginwrapper and Flash as a normal 
> user works.
>

All these Firefox plugins are a big nightmare cause so many parameters
can prevent them to work.  It's a pain :(
But if you find a reliable reason, something that we can repeat, that
prevented the detection of the plugin, please mail me.  I'm interested
in updating the docs on this point.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Marc Fonvieille
On Thu, Aug 20, 2009 at 02:30:41PM +0200, Marc Fonvieille wrote:
> On Thu, Aug 20, 2009 at 06:12:23AM -0600, Warren Block wrote:
> > On Thu, 20 Aug 2009, Tijl Coosemans wrote:
> > 
> > > On Thursday 20 August 2009 03:41:05 Warren Block wrote:
> > >> On 8.0-BETA2 with www/linux-f10-flashplugin10 and www/firefox35
> > >> installed.
> > >>
> > >> As per the Handbook, a soft link in /usr/local/lib/browser_plugins to
> > >> /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so.
> > >> nspluginwrapper -a -i runs normally.
> > >>
> > >> linprocfs mounted, and nspluginwrapper -l shows
> > >> /usr/local/lib/browser_plugins/libflashplayer.so.
> > >>
> > >> But about:plugins shows nothing but the "default plugin".
> > >>
> > >> Is something else necessary?
> > >
> > > I think you ran nspluginwrapper as root. If you run it as a normal
> > > user it puts the wrapped plugin in ~/.mozilla/plugins where Firefox
> > > picks it up. If you run it as root it puts it in
> > > /usr/local/lib/browser_plugins. Firefox 2.x and some other browsers
> > > scan this directory, but newer versions don't for some reason. You have
> > > to create a symlink in /usr/local/lib/firefox3/plugins/ to the
> > > npwrapper plugin in /usr/local/lib/browser_plugins/
> > 
> > That works!
> > 
> > I had first run nspluginwrapper -a -i as normal user, then as root.
> >
> 
> The Handbook says:
> 
> --
> Once the right Flash port, according to the FreeBSD version you run, is
> installed, the plugin must be installed by each user with
> nspluginwrapper:
> 
> % nspluginwrapper -v -a -i
> --
> 
> So you should not run it as root.
> 
> > There is no ~/.mozilla directory for either root or normal user.  But 
> > this is the first machine I've set up where Firefox3.5 was a fresh 
> > install, not an update to a previous version.
> > 
> 
> Here what I did:
> 
> % rm -rf .mozilla
> % nspluginwrapper -l
> 
> % nspluginwrapper -a -i
> % nspluginwrapper -l
> /home/marc/.mozilla/plugins/npwrapper.libflashplayer.so
>   Original plugin: /usr/local/lib/browser_plugins/libflashplayer.so
>   Wrapper version string: 1.2.2
> 
> So even if a $HOME/.mozilla does not exist, it'll be created by
> nspluginwrapper.
>

I forgot to say that

/usr/local/lib/firefox3/plugins/

just contains libnullplugin.so here.

> > Should the Handbook instructions be updated?
> >
> 
> I don't think it's needed here.
> 
> -- 
> Marc

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Marc Fonvieille
On Thu, Aug 20, 2009 at 06:12:23AM -0600, Warren Block wrote:
> On Thu, 20 Aug 2009, Tijl Coosemans wrote:
> 
> > On Thursday 20 August 2009 03:41:05 Warren Block wrote:
> >> On 8.0-BETA2 with www/linux-f10-flashplugin10 and www/firefox35
> >> installed.
> >>
> >> As per the Handbook, a soft link in /usr/local/lib/browser_plugins to
> >> /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so.
> >> nspluginwrapper -a -i runs normally.
> >>
> >> linprocfs mounted, and nspluginwrapper -l shows
> >> /usr/local/lib/browser_plugins/libflashplayer.so.
> >>
> >> But about:plugins shows nothing but the "default plugin".
> >>
> >> Is something else necessary?
> >
> > I think you ran nspluginwrapper as root. If you run it as a normal
> > user it puts the wrapped plugin in ~/.mozilla/plugins where Firefox
> > picks it up. If you run it as root it puts it in
> > /usr/local/lib/browser_plugins. Firefox 2.x and some other browsers
> > scan this directory, but newer versions don't for some reason. You have
> > to create a symlink in /usr/local/lib/firefox3/plugins/ to the
> > npwrapper plugin in /usr/local/lib/browser_plugins/
> 
> That works!
> 
> I had first run nspluginwrapper -a -i as normal user, then as root.
>

The Handbook says:

--
Once the right Flash port, according to the FreeBSD version you run, is
installed, the plugin must be installed by each user with
nspluginwrapper:

% nspluginwrapper -v -a -i
--

So you should not run it as root.

> There is no ~/.mozilla directory for either root or normal user.  But 
> this is the first machine I've set up where Firefox3.5 was a fresh 
> install, not an update to a previous version.
> 

Here what I did:

% rm -rf .mozilla
% nspluginwrapper -l

% nspluginwrapper -a -i
% nspluginwrapper -l
/home/marc/.mozilla/plugins/npwrapper.libflashplayer.so
  Original plugin: /usr/local/lib/browser_plugins/libflashplayer.so
  Wrapper version string: 1.2.2

So even if a $HOME/.mozilla does not exist, it'll be created by
nspluginwrapper.

> Should the Handbook instructions be updated?
>

I don't think it's needed here.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Freebsd-update fetch failed...

2009-08-06 Thread Marc Coyles
Evening folks... have just built up a new 7.0-RELEASE box, and have gone to 
update it to 7.0-RELEASEp11, however, whenever I run freebsd-update fetch I get 
the following:

bigsis2# freebsd-update fetch
Looking up update1.FreeBSD.org mirrors... none found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... failed.

Have tried using update., update1., and update2., but no joy on any of them.

Any ideas? The box talks fine to the net, everything else on it is hunkydorey, 
so I'm assuming the error isn't at my end... and before anyone asks, I'm stuck 
with 7.0-RELEASE thanks to cPanel not supporting anything more current than 
that at the moment (boo hiss).

My other option is to grab the contents of /var/db/freebsd-update/ off my other 
server, copy over to this new box, and run 'freebsd-update install' and see if 
it then realises that it has the files and gets on with it... 

Any better suggestions?

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bsdstats.org - fatal error

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I did an upgrade to PHP and Apache, so suspect this was just befor I restart 
Apache with the new PHP :(

Glad I don't have to do that often ...

- --On Tuesday, July 28, 2009 00:23:59 -0400 Glen Barber 
 wrote:

> On Mon, Jul 27, 2009 at 10:33 PM, Marc G. Fournier wrote:
>> Are you still seeing the error ... ?  I just checked everything on server,
>> and it appears to be processing fine ...
>>
>
> Marc,
>
> The site appears responsive now.  I too was seeing errors.
>
>
> --
> Glen Barber



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpugFsACgkQ4QvfyHIvDvMPJgCgjr91HnpOaxCOtMXuWeS7wMPJ
sfIAn1sok4Hp5TJSK/Q+iGEbUk1BS4fJ
=UtLS
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0)

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, July 27, 2009 14:07:44 -0800 Mel Flynn 
 wrote:

> On Monday 27 July 2009 13:17:51 Anton Shterenlikht wrote:
>> On ia64 8.0-beta1 SMP, running bsdstats-5.4_2,
>> I get this error:
>>
>> # /usr/local/etc/periodic/monthly/300.statistics
>> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/task.c:1023: fatal
>> error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ? 0
>> : 34) == 0) failed
>
> That error from bind,
>
>> [:1: unexpected operator
>
> Is not handled gracefully in the bsdstats script.

Is there something I can do to improve the script to handle it better?



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuY+UACgkQ4QvfyHIvDvOquwCdGpyNjkbx2e/jt9TB48RX6JrD
mJEAoL+l0a5UI3xCX/2/F+MJB5hPgIR/
=uH7U
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bsdstats.org - fatal error

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Are you still seeing the error ... ?  I just checked everything on server, and 
it appears to be processing fine ...

- --On Monday, July 27, 2009 21:43:42 +0100 Anton Shterenlikht 
 wrote:

> Connecting to bsdstats.org I get this error:
>
>Fatal error: Call to undefined function preg_replace() in
>/usr/local/www/bsdstats.org/www/bsdstats/sbin/uri.php on line 142
>
> Is there a problem with this site?
>
> --
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 928 8233
> Fax: +44 (0)117 929 4423
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuY44ACgkQ4QvfyHIvDvNOrgCgnT7DyPkETX/839deAN4KdiQm
CckAn3IcvZ10sJinKNa/LqGHcWYY/gL+
=B2dp
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bsdstats not working in 7.1

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm running it on 7-STABLE servers without any problem ... but notice that 
others responded that it appears you are on PC-BSD vs FreeBSD?   As late as 
this answer is, are you still having an issue with it on your machine?



- --On Sunday, March 01, 2009 19:20:21 +0800 Fbsd1  
wrote:

> bsdstats is now in the base system.
> Have bsdstats_enable="YES" is rc.conf
> Worked this way in 7.0.
> What am I missing here???
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuZFIACgkQ4QvfyHIvDvPpMwCfUaNbQJojcXS3Ph5DnesNVH0H
fTMAniGG92QBY+3aELFu+xQZTUMVgiva
=eaWl
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Dump snapshot issue...

2009-05-07 Thread Marc Coyles
> Is /home really a separate file system on your system?
> Or is it just a directory in another filesystem?

df -h output:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/da0s1a3.9G351M3.2G10%/
devfs  1.0K1.0K  0B   100%/dev
/dev/da0s1g 98G 13G 77G14%/home
/dev/da0s1d7.7G136K7.1G 0%/tmp
/dev/da0s1e9.7G5.6G3.3G63%/usr
/dev/da0s1f9.7G1.3G7.6G15%/var
/dev/da1s1d133G 40G 82G33%/backup
devfs  1.0K1.0K  0B   100%/var/named/dev
procfs 4.0K4.0K  0B   100%/proc


Marci


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Dump snapshot issue...

2009-05-06 Thread Marc Coyles
> One thing you should try is to remove the dump_snapshot files,
> because
> they are supposed to be unlinked when the dump starts anyway, so
> they
> shouldn't be sticking around.
> 
> Also, look for file flags on the directories, or ACLs, etc.
> 
> And consider the permissions you're running dump with.
> 

Dump is running as root via cron / initiated by hand.
ACLs not used.
Have removed all existing dump_snapshot files, and
have also removed and recreated all .snap directories.

S'now working fine for all mountpoints, except /home...

mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

It doesn't appear to proceed "as normal" either... as you can see below,
it ends the previous dump, starts the /home dump, gets an I/O error,
then proceeds straight to the /usr dump. The /home dump never gets
performed. If I remove the -L option, everything goes thru fine, but
complains about lack of -L flag...

  DUMP: DUMP IS DONE 
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

  DUMP: Date of this level 0 dump: Wed May  6 08:30:31 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output


Fsck finds no errors on /home... point to note... mksnap_ffs CAN create
/home/.snap/dump_snapshot as I'm sat looking at the file, however, once
it's created it it's as tho it can't access it. The file is there, it
wasn't before I ran the script. It's created it as root:operator, perms
400. I can open it in pico, add content to it, and save it happily. So
I'm baffled!

M



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Dump snapshot issue...

2009-05-05 Thread Marc Coyles
> You probably have not created the .snap directory in the root of
> the filesystem.

Like I said...

"The .snap folders exist at all points, are set to root:operator, 
with perms 770... The dump_snapshot files seem to be present, albeit 
0 bytes, root:operator, perms 400..."


Marc


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Dump snapshot issue...

2009-05-05 Thread Marc Coyles
I've got a script that dumps various filesystems to tape for me, but
I've always had an issue whenever I've used the -L option... see below:

/usr/bin/mt rewind
/sbin/dump 0aLuf /dev/sa0 /
dump: Cannot create //.snap/dump_snapshot: No such file or directory

/sbin/dump 0aLuf /dev/sa0 /home
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

/sbin/dump 0aLuf /dev/sa0 /tmp
dump: Cannot create /tmp/.snap/dump_snapshot: No such file or directory

/sbin/dump 0aLuf /dev/sa0 /usr
dump: Cannot create /usr/.snap/dump_snapshot: No such file or directory

/sbin/dump 0aLuf /dev/sa0 /var
dump: Cannot create /var/.snap/dump_snapshot: No such file or directory

/usr/bin/mt rewind


The .snap folders exist at all points, are set to root:operator, with
perms 770... 
The dump_snapshot files seem to be present, albeit 0 bytes,
root:operator, perms 400...

Running 7.0-RELEASE-p11...

Any suggestions?

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: freebsd-update on FreeBSD 6.x

2009-04-22 Thread Marc Coyles
> I don't have a 6.1 machine around, but freebsd-update
> is just a sh script and you should be able to find what's going on.
> There is nothing hardcoded in it, at least in the version distributed
> with 7.x. In fact I would try running the 7.x version on this system.

I'd definitely be inclined to ensure you're using the more uptodate
Version of freebsd-update...

"As I write this, 'upgrade' support does not yet exist in the version
of FreeBSD Update in the FreeBSD base system, so the next step is to
download the script. If you are running FreeBSD 7.0-RC1 or 
FreeBSD 6.3-RC1 or later, you should already have this new 
version of FreeBSD Update installed, so you can skip this step."

http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html

Added note: Instructions at above URL worked perfectly for 6.2 > 7.0,
and
Instructions at URL below worked perfectly for 7.0 > 7.1

http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade
.html

L8rs!
Marci



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?

2009-04-02 Thread Marc Coyles
> "O. Hartmann"  wrote:
> > I need to fetch a whole directory tree from a public remote site.
> > The top level directory and its subdirectories are accessible via
> > ftp:// and http:// so I tried fetch, but fetch does only retrieve
> > data on file basis and does not copy a whole directory tree
> > recursively. The remote site does not offer sftp/sshd for that
> > purpose.

Wget --ftp-user=USER --ftp-password=PASS -r -l=0 ftp://address/directory

L8rs!
Marci


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Ports on Macbook

2009-03-03 Thread Marc Coyles
> >>> http://www.apple.com/legal/sla/macosx.html
> >> They can write whatever they want. I'm not binded by it.

"This License allows you to install and use one copy of the Apple
Software on a single *Apple-labeled* computer at a time"

So, in theory, apply white lx tape to any PC, write "APPLE" on it
in black marker. That PC is now labelled "Apple" and you can therefore
use their software on it legally... (?) O_o

Marci


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: wlan_scan_ap and wlan_scan_sta

2009-02-26 Thread Marc Fonvieille
On Fri, Feb 27, 2009 at 08:52:30AM +0300, Remorque wrote:
> On Thu, Feb 26, 2009 at 9:57 PM, Janos Dohanics  wrote:
> 
> > According to the Handbook, I can compile into the kernel
> >
> > device wlan_scan_ap  # 802.11 AP mode scanning
> > device wlan_scan_sta # 802.11 STA mode scanning
> >
> > But when I do, I get:
> >
> > config: Error: device "wlan_scan_ap" is unknown
> > config: Error: device "wlan_scan_sta" is unknown
> > config: 2 errors
> > *** Error code 1
> > 1 error
> > *** Error code 2
> > 1 error
> >
> > I'm wondering why? 6.4-PRERELEASE, amd64
>

6.4-R does not need these, you can remove them safely.  I'll add a note
to the Handbook.

> 
> Does the handbook say the version of FreeBSD with which you can compile
> these in the kernel?
> I know they also refused to play with 8.0-CURRENT for me recently.
> 

They have been removed from -CURRENT since Apr 20 2008, the Handbook
cannot follow the changes on -CURRENT, it's a fast moving target :)

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: flashplugin9?

2009-02-23 Thread Marc Fonvieille
On Sun, Feb 22, 2009 at 03:54:03PM -0800, Gary Kline wrote:
> On Mon, Feb 23, 2009 at 12:02:57AM +0200, Manolis Kiagias wrote:
> > Gary Kline wrote:
> > > Guys,
> > >
> > > If I stick with FreeBSD as my main desktop, I want firefox and
> > > flashplugin-9.  So far, no joy.  I have firefox2, and when I try to
> > > pkg_delete, I find gnome2 is just one of the dependicies.
> > > linux-flashplugin-9 is installed as well as the pluginwrapper ports, but
> > > still YouTube won't work.
> > >
> > > Is there an "all-linix" port or set of ports to use?  Or is there another
> > > way of getting both audio+video?  
> > >
> > > gary
> > >   
> > 
> > Don't pkg_delete firefox2, just install www/firefox3 alongside it.
> 
>   Okay; i wasn't clear on that... .
> 
> > 
> > graphics/gnash-devel works mostly ok for youtube.
> 
>   Maybe I need up portupgrade.  I use mostly konqueror for the web;
>   things like youtube used to work, but just sometimes.  Should I
>   pkg_delete the flashplugins and the wrappers?
> 
> > 
> > Just a quick note, firefox3 uses /usr/local/lib/firefox3/plugins as the
> > plugins directory, while firefox2 uses /usr/local/browser_plugins. You
> > will probably have to symlink files from this directory to the new one
> > for the plugins to work.
> 
>   Sorry, you lost me.  Which is the ``new one''?  The only mozilla 
>   plugins dir in ~kline I find is  ~/.mozilla/plugins/ .  There are
>   data files (*.dat) with mozilla and firefox in my home tree.
>

In fact all that should be automatic even with Firefox3 (at least for
plugins handled by nspluginwrapper).  The best solution is just to rm
the files located in the ~/.mozilla/plugins/ directory then:

% nspluginwrapper -v -a -i

and don't forget to mount /usr/compat/linux/proc (well read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
for more details).

Launch Firefox3 and type about:plugins in the URL bar, something like:

Shockwave Flash
File name: /home/kline/.mozilla/plugins/npwrapper.libflashplayer.so
Shockwave Flash 9.0 r152
etc.

should appear.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Can't use psm/synaptics with my touchpad

2009-02-17 Thread Lagrange Marc
Hi,

I've installed FreeBSD 7-RELEASE to my laptop, a Fujitsu Siemens
CELSIUS Mobile H ( the p4 one, not the recent H series. )

But i get a problem with the touchpad.

The touchpad/keyboard are removable and detected as:

 ums0  on uhub2
 ums0: 2 buttons.

It works, but basically, like a normal mouse...

I've tried psm with hw.psm.synaptic on /boot/loader.conf without
success, doesn't detect and no /dev/psm0 created, with xorg/synaptics
same problem, it doesn't detect any compatible touchpad.

If someone have an idea how to get my touchpad supported, i just would
to use h/v scrolling features..

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: vm.pmap.shpgperproc or vm.pmap.pv_entry_max

2009-02-16 Thread Marc G. Fournier


Thanks, that one helps ...

On Mon, 16 Feb 2009, Mel wrote:


On Thursday 12 February 2009 06:50:58 Marc G. Fournier wrote:

I'm gettig an error on my console about 'Approaching the limit on PV
entries', to which its giving me two choices as to how to deal with it ...

Why would I use one over the other?

http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/184179.html

--
Mel

Problem with today's modular software: they start with the modules
   and never get to the software part.




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


vm.pmap.shpgperproc or vm.pmap.pv_entry_max

2009-02-12 Thread Marc G. Fournier


I'm gettig an error on my console about 'Approaching the limit on PV 
entries', to which its giving me two choices as to how to deal with it ...


Why would I use one over the other?

Thx


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg 7.4: "button" fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


Downgrading to 7.3 has made X usable again ... will try out nvidia driver 
tomorrow ...


On Mon, 9 Feb 2009, Thomas Dickey wrote:


On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote:


So, if I backtrack to 7.3.x, I should be fine?


that sounds like it (I don't keep track of the version numbers).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg && 7-current && ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier


Hi Deb ...

  was this vs compiling from source?

On Mon, 9 Feb 2009, Deb Heller-Evans wrote:

Oops.  Brain FART... I'm in a multi-OS environment... My answer was with 
respect to a different OS, but it might be applicable to FreeBSD.  I don't 
have experience with nVidia on FreeBSD.


Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Deb Heller-Evans wrote:
I ran into the same kind of issue.  FWIW, I had better luck downloading the 
nVidia drivers from the website which includes modifying the kernel.  I can 
now do all kinds of extra things, like spanning 2 monitors, etc (on 
workstations).

I can dig up my notes if you intend to go this route at some point...

d

Deb Heller-Evans
Energy Science Network
MS-50A-3101
Berkeley, CA 94720

510/495-2243



Marc G. Fournier wrote:



Okay, I've exhausted every google search I can think of, and not getting 
anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up an 
ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs fine, 
until I try and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window manager, 
everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv -> nvidia and start, the screen goes blank and 
the machine reboots ...


If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the 
screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or 
that I've configured wrong that kde is trying to use, but I'm at a lose as 
to what ...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)

Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"







Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg && 7-current && ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier

On Mon, 9 Feb 2009, Glen Barber wrote:


On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier  wrote:

Are you starting hald and dbus via rc.conf?


Yes ... both mouse and keyboard have been working great ...



Well, that's good to hear. ;)

Thought I'd as to be safe.


Ya, that was the easiest problems to search on google and get fixed :)

I'm going to try downgrading to xorg 7.3 ... I'm having headaches with 
fonts (Location bar in firefox3 is unreadable, although all pages are fine 
... mail messagesin mulberry are unreadable, although the message index is 
*just* readable, etc) ... someone mentioned some changes in 7.4 concerning 
fonts, and I figure, my luck, this might be something that is trickling 
into other areas :(





 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg && 7-current && ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier

On Mon, 9 Feb 2009, Glen Barber wrote:


On Mon, Feb 9, 2009 at 8:15 PM, Marc G. Fournier  wrote:



Okay, I've exhausted every google search I can think of, and not getting
anywhere, so now to ask ...

Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS
P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try
and start up X ...

If I use the 'nv' driver in my X conig file, and the twm window manager,
everything starts up fine, I can load Firefox, etc, etc ...

As soon as I switch from nv -> nvidia and start, the screen goes blank and
the machine reboots ...

If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the
screen goes blank, and the machine reboots ...

I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or
that I've configured wrong that kde is trying to use, but I'm at a lose as
to what ...



Are you starting hald and dbus via rc.conf?


Yes ... both mouse and keyboard have been working great ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


xorg && 7-current && ( kde || nvidia driver ) == desktop crash

2009-02-09 Thread Marc G. Fournier



Okay, I've exhausted every google search I can think of, and not getting 
anywhere, so now to ask ...


Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS 
P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try 
and start up X ...


If I use the 'nv' driver in my X conig file, and the twm window manager, 
everything starts up fine, I can load Firefox, etc, etc ...


As soon as I switch from nv -> nvidia and start, the screen goes blank and the 
machine reboots ...


If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the 
screen goes blank, and the machine reboots ...


I just installed icewm, and using that, everything loads up fine too ...

So, I figure there is something that I'm either missing in my install, or that 
I've configured wrong that kde is trying to use, but I'm at a lose as to what 
...


Can anyone help?

Thanks ...




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg 7.4: "button" fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


So, if I backtrack to 7.3.x, I should be fine?

On Mon, 9 Feb 2009, Thomas Dickey wrote:


On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote:


Have searched Google, but haven't been able to find anything that either
worked, or was relevant ... I just cleaned out and reinstalled all of my
ports ... when I load up an xterm (the one I'm working in right now), all
the text in it is fine and readable ... but, the top of the xterm, where
it has the 'xterm icon' and some writing to the right of it, the writing
is unreadable ...


Basically, the xorg hackers decided to improve your user experience by
lobotomizing the fonts - I modified xterm to recover from that by falling
back to "fixed" (I'm unsure why they left that intact).

However, window titles are owned by your window manager.


If I load up firefox3, the web pages are viewable and readable, but stuff
like the location bar are unreadable (I have to hope I type without making
a mistake) ...

I'm not sure what to look at ... have checked the output from starting X,
and not seeing anything font related ...


Best advice is to locate the "misc" fonts (or whatever it's called in
FreeBSD) and install those.  That'll work until the next improvement to
the X server's font handling.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


xorg 7.4: "button" fonts unreadable ...

2009-02-09 Thread Marc G. Fournier


Have searched Google, but haven't been able to find anything that either 
worked, or was relevant ... I just cleaned out and reinstalled all of my 
ports ... when I load up an xterm (the one I'm working in right now), all 
the text in it is fine and readable ... but, the top of the xterm, where 
it has the 'xterm icon' and some writing to the right of it, the writing 
is unreadable ...


If I load up firefox3, the web pages are viewable and readable, but stuff 
like the location bar are unreadable (I have to hope I type without making 
a mistake) ...


I'm not sure what to look at ... have checked the output from starting X, 
and not seeing anything font related ...


Help?


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Load balancing multiple virtual hosts on 1 IP

2009-02-01 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Thank you for all the responses ... turns out the solution was simplier ... I 
tried the various solutions presented, and each of them did the same thing ...

The setup I have, I'm using csync2 to maintain the file systems on each 
backend, and in order to simplify that, I'm using:



instead of



which works fine ... *but*, something gets confused when you mix-n-match the 
above ... its either all of one or the other, but not both ... once I fixed my 
config files, the pages now load consistently ...

Thank you all for the help on this, the pointers to the other software(s) 
provided "proof" that it wasn't the software, but my configuration ...



- --On Saturday, January 31, 2009 13:55:08 + Matthew Seaman 
 wrote:

> Marc G. Fournier wrote:
>>
>> Simple: is it possible?
>>
>> I have two VMs that contain the same content, on two different IPs .. I
>> want to setup a third VM with something like haproxy on it that will
>> take the URL (http://domain1) and pull the content from one or the other
>> ...
>>
>> So far, all works well if I only have one virtual host, but as soon as I
>> add a second one (http://domain2), when I try to go to http://domain2,
>> it pulls up the content for domain1 also, as if I was going to http://IP
>> instead.
>>
>> Is there a way to set this up (with haproxy, or some other software),
>> that it will actually pass the URL through to the backend apache server
>> and load up the right content?  Or is this a limitation in the protocol
>> itself?/
>
> This is certainly possible -- most of the world's big web sites work in
> exactly this way, although they would tend to use dedicated hardware LB
> if they were of any appreciable size.
>
> I think what's going wrong for you is that you are using a front-end proxy,
> and it's rewriting the requests with the host names of the real servers,
> which will certainly screw up name based virtual hosts.
>
> Instead of ha-proxy, look into relayd -- in conjunction with a pf(4)
> firewall this will do exactly what you want.  It can operate purely at the
> IP level or even at layer 2 if you want to implement DSR.  Another
> alternative to consider is varnish, although I'm not sure that has much
> in the way of health-checking the back-end servers behind it.  varnish
> is a reverse-proxy / web accelerator so can give you some performance
> boost as well.
>
>   Cheers,
>
>   Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW
>



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkmGd6IACgkQ4QvfyHIvDvOlzwCfT5CpD8LdE4MlMD4ugmjP8tTC
Z0YAoOl6F83j4t4WqTFqfQVutKLMQUj1
=fEn7
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Load balancing multiple virtual hosts on 1 IP

2009-01-31 Thread Marc G. Fournier


Simple: is it possible?

I have two VMs that contain the same content, on two different IPs .. I 
want to setup a third VM with something like haproxy on it that will take 
the URL (http://domain1) and pull the content from one or the other ...


So far, all works well if I only have one virtual host, but as soon as I 
add a second one (http://domain2), when I try to go to http://domain2, it 
pulls up the content for domain1 also, as if I was going to http://IP 
instead.


Is there a way to set this up (with haproxy, or some other software), that 
it will actually pass the URL through to the backend apache server and 
load up the right content?  Or is this a limitation in the protocol 
itself?/


Thx


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: QEMU: increase image size with FreeBSD partitions ...

2008-12-09 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, December 09, 2008 10:15:45 +0100 Ivan Voras <[EMAIL PROTECTED]> 
wrote:

> Marc G. Fournier wrote:
>>
>> I have FreeBSD 7 running in a QEMU VM ... works like a charm, but I'm
>> wondering  if there is some way of *increasing* the size of the image beyond
>> what I  configured it for?  I'm only finding stuff pertaining to NTFS/FAT32,
>> but  nothing about Unix in general, or FreeBSD specifically ...
>>
>> Is there any way of doing this, or do I have to build a new, larger img, and
>> copy the data from diskA -> diskB, and reboot on diskB?  Doable, but time
>> consuming ...
>
> I don't think there's anything automatic but you can grow the virtual
> disk, then modify the last partition size by hand, then use growfs.

'k, that is what I figured, but how do I grow the virtual disk? I've checked 
the qemu-img man page, and there doesn't appear to be a method of doing this ...


- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkk/KvoACgkQ4QvfyHIvDvOEfQCghv9LtctUGSuagAlFbcEoNrWu
udMAnixLBpCcfwOTUVkhjep/2dQSzNaD
=YjqB
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


QEMU: increase image size with FreeBSD partitions ...

2008-12-08 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have FreeBSD 7 running in a QEMU VM ... works like a charm, but I'm wondering 
if there is some way of *increasing* the size of the image beyond what I 
configured it for?  I'm only finding stuff pertaining to NTFS/FAT32, but 
nothing about Unix in general, or FreeBSD specifically ...

Is there any way of doing this, or do I have to build a new, larger img, and 
copy the data from diskA -> diskB, and reboot on diskB?  Doable, but time 
consuming ...

Thx

- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkk98FIACgkQ4QvfyHIvDvOHCQCgrJZtGmw3pOKA6t42fRoLhVJm
mckAn1kn/in24sJFHSTKdM2LpaOFmWbd
=PKOO
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mass find/replace...

2008-12-05 Thread Marc Coyles
> All done n' dusted now - thanks very much for everyone's input...!
> Have noted everything down in the back of my copy of "Absolute
> FreeBSD 2nd Edition" (which has inherited quite a few additional
> pages since I bought it).
> 
> Now that that's done, I can start to wander thru logs and find
> who/how...
> 
> Cheers!
> Marc
> 

Arse - I spoke too soon.

Anyone know any perl to remove blank lines???!
It's left a blank line at top of each PHP file that it performed the action on, 
which has broken things a touch...

marc


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mass find/replace...

2008-12-05 Thread Marc Coyles
All done n' dusted now - thanks very much for everyone's input...! Have noted 
everything down in the back of my copy of "Absolute FreeBSD 2nd Edition" (which 
has inherited quite a few additional pages since I bought it).

Now that that's done, I can start to wander thru logs and find who/how...

Cheers!
Marc


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mass find/replace...

2008-12-05 Thread Marc Coyles
> + not \; or you will fork on every result.
> 
> Additionally, is this injected code one long string or broken down
> by the
> mailer? Grep isn't the best way to deal with it. It's pretty easy
> to correct
> with perl, bit trickier if it's multiline, still not too hard:
> 
> find /home/horbury -type f -exec \
>   perl -pi.bak -e 's,<\? /\*\*/eval\(base64_decode\(.*?\?>,,s' {} +
> 

Sadly that didn't work. It created .bak files for everything within 
/home/Horbury recursively, but didn't make any changes - the base64_decode is 
till present. 

Additional point to note: this only needs performing on .php files, not all 
files... 

Would I be correct in guessing it's because the string for perl to search for 
omits a space?

IE: within the files, it's as follows:


Whereas the perl appears to be looking for:


Also... how to delete all files ending in .bak recursively? *grin*

I'm presuming it'd be:

Find /home/horbury -type f -name "*.bak" -exec \
Rm *.bak

???

Ta!
Marc


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mass find/replace...

2008-12-05 Thread Marc Coyles
> + not \; or you will fork on every result.
> 
> Additionally, is this injected code one long string or broken down
> by the
> mailer? Grep isn't the best way to deal with it. It's pretty easy
> to correct
> with perl, bit trickier if it's multiline, still not too hard:
> 
> find /home/horbury -type f -exec \
>   perl -pi.bak -e 's,<\?/\*\*/eval\(base64_decode\(.*?\?>,,s'
> {} +
> 

Hi Mel...
S'One long singleline string broken down by the mailer...



Have tried doing a find and replace using perl, initially just to replace the 
string, leaving an empty base64_decode(), however, one of the ICT Teachers has 
created paths with spaces in, which seemed to throw off the perl I was using... 
will give yours a try later today *fingers crossed*...

If worst comes to worst I can restore from backups, it'll just mean students 
lose a few days of work that they'd submitted thru Moodle (I've been off for a 
day or three, and this appears to have happened on the first day of my absence)

Ta fer the helpful suggestions thus far!

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mass find/replace...

2008-12-04 Thread Marc Coyles
Never had to do this so not sure where to start. Have googled and found
some solutions but they don't particularly work (see below)...

Someone has managed to inject php code into a PILE of php pages on my
webserver...

""

This basically brings up a pile of spam links.

I need to do a find / replace throughout the entire of the
/home/horbury/public_html directory...
I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode'
to get a list of the files that require the operation performing, but it
comes up with an error (xargs: unterminated quote) after a few
results...

Any tips? Basically to find the above and remove it... otherwise I'll
have to resort to doing it in Dreamweaver and reuploading, which is a
major pita, or restoring from a backup (after working out when exactly
this happened and how - I'm guessing thru a teacher's out of date
wordpress install somewhere).

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


auto-addm new tap device to existing bridge ...

2008-11-22 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Is this possible?

I'm using qemu, and when I start it up, it auto-create a tap device if one 
isn't available ... but, having that tap device not attached to the bridge that 
does exist doesn't help much ... if there some flag I can set, or sysctl value, 
that will have the new tap device attach itself to an existing bridge device?

thanks ...

- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkko6HoACgkQ4QvfyHIvDvNBngCg7ZiDOaRCDGUuE+hbaNCsjMd1
WV8An1os19WO7nQJeBvUIot/rtxYI0/M
=no2/
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie 
<[EMAIL PROTECTED]> wrote:

> When are the stats updated on bsdstats.org?

real-time ... and they aren't "for all time", the #s are based on systems 
reporting in over the past 60 days, so you will periodically see a bit of back 
tracking, depending on when in the cycle hosts reported in ... if I reload the 
page a few times, I may see it go from 25 013 -> 25 103 -> 25 143 -> 25 140 ... 
but the overall is an upward increase in numbers ...


>
> Thanks
>
> Gabriel
>
> 2008/11/4 Marc G. Fournier <[EMAIL PROTECTED]>
>
>> On Wed, 5 Nov 2008, andrew clarke wrote:
>>
>>  On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED])
>>> wrote:
>>>
>>>  For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
>>>> to set things up.
>>>>
>>>
>>> I stopped using bsdstats after it caused my FreeBSD router to take too
>>> long to boot up after a reboot.  If I recall correctly, I had
>>> bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
>>> was called before ppp was able to start, so it couldn't connect to the
>>> bsdstats server.  On the other hand this was a while ago and I am
>>> going by memory, so I may be wrong about what happened or it was just
>>> a coincidence.  At the time I was more interested in getting the
>>> router running so I didn't really care for debugging what was going
>>> on.  I realise this is a bit of a vague bug report, so feel free to
>>> ignore it.
>>>
>>
>> There is an optional flag for 'reporting on reboot' ... the original script
>> only did reporting monthly, out of periodic, but some ppl (ie. using
>> laptops) suggesting an optional flag so that when they rebooted, they would
>> be counted also ...
>>
>> And you are correct, just change:
>>
>> bsdstats_enable="YES"
>>
>> to
>>
>> bsdstats_enable="NO"
>>
>> And 'on reboot' will eb disabled, and only periodic will be used ... at a
>> minimum, you just need:
>>
>> monthly_statistics_enable="YES"
>>
>> in /etc/periodic.conf, wich will only report OS/version and skip the
>> devices/ports reports ...
>>
>> 
>> Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
>> )
>> Email . [EMAIL PROTECTED]  MSN . [EMAIL 
>> PROTECTED]
>> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> [EMAIL PROTECTED]"
>>
>
>
>
> --
> Gabriel Lavoie
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
=yRDb
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Marc G. Fournier

On Wed, 5 Nov 2008, andrew clarke wrote:


On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]) wrote:


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
to set things up.


I stopped using bsdstats after it caused my FreeBSD router to take too
long to boot up after a reboot.  If I recall correctly, I had
bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
was called before ppp was able to start, so it couldn't connect to the
bsdstats server.  On the other hand this was a while ago and I am
going by memory, so I may be wrong about what happened or it was just
a coincidence.  At the time I was more interested in getting the
router running so I didn't really care for debugging what was going
on.  I realise this is a bit of a vague bug report, so feel free to
ignore it.


There is an optional flag for 'reporting on reboot' ... the original 
script only did reporting monthly, out of periodic, but some ppl (ie. 
using laptops) suggesting an optional flag so that when they rebooted, 
they would be counted also ...


And you are correct, just change:

bsdstats_enable="YES"

to

bsdstats_enable="NO"

And 'on reboot' will eb disabled, and only periodic will be used ... at a 
minimum, you just need:


monthly_statistics_enable="YES"

in /etc/periodic.conf, wich will only report OS/version and skip the 
devices/ports reports ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, November 03, 2008 16:01:41 -1000 Al Plant <[EMAIL PROTECTED]> 
wrote:

>
> Aloha,
>
> I have 10 FreeBSD servers and desktops in use here in Hawaii.
>
> These are not on the list as I only have 4 servers that are up 24/7 and they
> are fire walled off with pf.
>
> The 6 others are on a lan behind a Linux Freesco Firewall. Only 2 on 24/7 the
> rest are on an as used boot up basis.
>
> How can I get them Listed?

Using FreeBSD as a reference point, the port, when it installs, allows you to 
enable two methods of reporting: monthly (out of periodic) and on reboot ... so 
that covers the 4 that aren't up 24/7 ...

Next, the reporting is not based on your IP ... in fact, to try and address 
security concerns, we do not store any information such as IP or hostname ... 
when you run the stats the first time, it generates a distinct key that is used 
for reporting and is stored on your host for future reporting to identify you 
...

Finally, for those dealing with firewalls, the script was written to make use 
of a PROXY server for reporting, so that no holes have to be opened up for an 
individual host to connect to the rver ...


- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPtZsACgkQ4QvfyHIvDvNo4wCeJ3diXiZkazxtM1t9wLTb5tc7
uvgAoIxbMIEG2w3V6uvQBMW+dY7i7nn5
=MUtC
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, November 04, 2008 01:10:02 +0100 Bernt Hansson 
<[EMAIL PROTECTED]> wrote:

> Marc G. Fournier skrev:
>> As of November 3rd, 2008, the project has hit a new milestone of 25 000+
>> hosts  reporting in, with a break down as follows:
>
> There are errors on your homepage
>
> 6,072 is a lot less then 500.

Pardon?  I don't see either # on the home page .. *puzzled look*




- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPo3EACgkQ4QvfyHIvDvP3CwCeOE++67wohEqs0ahwWyMtFPpo
UgAAn2vgaNlYDqSba42ztrSg8CtSyc8/
=s18z
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Its a voluntary reporting ... I know with both PC-BSD, reporting is on by 
default .. with FreeBSD, its a simple 'make install' in ports ... with 
NetBSD/OpenBSD, I suspect its purely manual, so a bit more work involved ...

Both NetBSD / OpenBSD #s have been increasing though, just not as fast as the 
others ...

- --On Monday, November 03, 2008 15:12:46 -0800 Don Witt <[EMAIL PROTECTED]> 
wrote:

> This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
> accurate?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
> Sent: Monday, November 03, 2008 2:34 PM
> To: freebsd-questions@freebsd.org; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; Thorsten Glaser;
> Gonzalo Martinez - Sanjuan Sanchez;
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In
>
>
> As of November 3rd, 2008, the project has hit a new milestone of 25 000+
> hosts
> reporting in, with a break down as follows:
>
>PC-BSD   17 454 hosts
>FreeBSD   5 526 hosts
>DesktopBSD1 919 hosts
>NetBSD   86 hosts
>MirBSD   21 hosts
>OpenBSD  55 hosts
>DragonFly26 hosts
>MidnightBSD  26 hosts
>GNU/kFreeBSD  2 hosts
>
> We currently have hosts being reported in from 135 countries, with the top
> 10
> being:
>
>United States   6 082
>Russian Federation  1 836
>Germany 1 586
>Australia   1 341
>Ukraine   997
>France930
>Japan 898
>United Kingdom791
>Canada767
>Brazil729
>
> Project URL: http://www.bsdstats.org
>
> Project Objective:
>
> "The mission of this site is to compile semi-accurate numbers for advocacy
> and
> marketing of the *BSD operating systems."
>
>
> PC-BSD, to the best of our knowledge, is the only one that defaults to
> enabled,
> while the rest have to be enabled manually.
>
> For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
> set
> things up.
>
> If you aren't participating, we very much encourage you to start ... the
> report
> script is a shell script, so you can scan it to figure out what, exactly, is
>
> being sent in .. and there is only one level of reporting that is  required,
>
> and that is Operating System + Version ... Device and Ports reporting are
> 100%
> optional ...
>
> For those that are participating ... once more, thank you ... and spread the
> word, we need more ...
>
>
> If you have any questions, please feel free to email me ...
>
> --
> Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
> Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPoWYACgkQ4QvfyHIvDvNjvACeJvROm9YrnENUroh5EF1BsGKw
0YsAoMIQoRnBnkFwGTcZG2cv/4KlkDmF
=blyH
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier


As of November 3rd, 2008, the project has hit a new milestone of 25 000+ hosts 
reporting in, with a break down as follows:


  PC-BSD   17 454 hosts
  FreeBSD   5 526 hosts
  DesktopBSD1 919 hosts
  NetBSD   86 hosts
  MirBSD   21 hosts
  OpenBSD  55 hosts
  DragonFly26 hosts
  MidnightBSD  26 hosts
  GNU/kFreeBSD  2 hosts

We currently have hosts being reported in from 135 countries, with the top 10
being:

  United States   6 082
  Russian Federation  1 836
  Germany 1 586
  Australia   1 341
  Ukraine   997
  France930
  Japan 898
  United Kingdom791
  Canada767
  Brazil729

Project URL: http://www.bsdstats.org

Project Objective:

"The mission of this site is to compile semi-accurate numbers for advocacy and
marketing of the *BSD operating systems."


PC-BSD, to the best of our knowledge, is the only one that defaults to enabled, 
while the rest have to be enabled manually.


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to set 
things up.


If you aren't participating, we very much encourage you to start ... the report 
script is a shell script, so you can scan it to figure out what, exactly, is 
being sent in .. and there is only one level of reporting that is  required, 
and that is Operating System + Version ... Device and Ports reporting are 100% 
optional ...


For those that are participating ... once more, thank you ... and spread the
word, we need more ...


If you have any questions, please feel free to email me ...

--
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copying 'holey' files ...

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Sweet, never even thought about doing that ... thank you ...

- --On Monday, November 03, 2008 11:04:22 -0600 Matt <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 3, 2008 at 10:40 AM, Marc G. Fournier <[EMAIL PROTECTED]> wrote:
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>>
>> I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to
>> how the image is created, it will grow to 4G, but only uses as much as it
>> needs ... but, if I run a simple 'cp' on the file, it goes from:
>>
>> image: debian.img
>> file format: raw
>> virtual size: 4.0G (4294967296 bytes)
>> disk size: 652M
>>
>> to:
>>
>> image: dtc.img
>> file format: raw
>> virtual size: 4.0G (4294967296 bytes)
>> disk size: 4.0G
>>
>> Is there a way of moving things around such that it *maintains* the holes,
>> instead of fills them in?
>>
> The "qemu-img" program using the "convert" command should do what you
> want it to.  I've used it to make copies of qcow-format disks without
> having them grow to their max-size.
>
> Matt



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPMP4ACgkQ4QvfyHIvDvOvRACgyVOSp3nqJgqFQE7Ilm4IXbUZ
d+YAnj2lddYnGcLMBzSkXjbk0onRfnZY
=+Ft+
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


copying 'holey' files ...

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to 
how the image is created, it will grow to 4G, but only uses as much as it needs 
... but, if I run a simple 'cp' on the file, it goes from:

image: debian.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 652M

to:

image: dtc.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 4.0G

Is there a way of moving things around such that it *maintains* the holes, 
instead of fills them in?

Thx


- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPKWEACgkQ4QvfyHIvDvNJIwCeOTgfxMEf/g/7bnFehXlDZAva
dCwAoJL8sNsCD+h3PnJAAzebAQFsHhfa
=fcAm
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: RE: Consistency of MySQL dumps...

2008-10-08 Thread Marc Coyles
> (MySQLFront running on Windows XP, connecting to
> MySQL5.2.5 on FreeBSD7.0REL)

Sorry, brain fade... it's early! MySQL 4.1.22... was thinking about PHP
at the time...
 
Cheers!

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Consistency of MySQL dumps...

2008-10-07 Thread Marc Coyles
Here's one that's puzzling me... 

If I use /usr/local/bin/mysqldump to make a backup of a database, the
file it produces fails to restore with "Check syntax near..." error.

If I then head into cPanel, to their "Backup" menu, and take a backup of
the database from there, the file it  produces also fails to restore
with "Check syntax near..." error, but at a COMPLETELY different point
thru the restore.

If I head into cPanel, to phpmyadmin, and do an export from there... the
file restores PERFECTLY without errors.

Sooo... how can I write a script that'll backup a MySQL database and
produce a useable file??

This problem is occurring on 2 of my 8 databases... it appears the
chosen software used to produce the dump of MySQL data is the culprit...
what is the best commandline (ie: cron-able) tool to use for the task?


Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Script works fine from CLI, but not when Cron'd

2008-10-07 Thread Marc Coyles
I've got a script to backup my MySQL databases, which works absolutely
fine from the command line, but when I add it in to root's cronjobs it
always fails with "mysqldump: not found" - what am I doing wrong?

Script as follows:

#!/bin/sh
USER=
PASS=

mysqldump --opt -h localhost -u $USER -p$PASS horbury_dppd06
>/home/horbury/backup_mysql/dppd06.sql


And that's it...
When run as root from CLI, works with no errors. When run from cron as
root, get the "not found" problem.


Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Alternative for EasySpeedy

2008-09-20 Thread Marc Schneiders
In the past I had for some time a dedicated server with EasySpeedy in
Denmark. In the beginning it worked alright, but later it turned sour. No
or flaky network connection. No replies from support. So I quit. But I
still would like to have something similar, where you can do whatever you
like with your server, upgrade the OS yourself. And I want FreeBSD and NOT
Linux. Finally: I am poor. So cheap, please.

Any tips? Thanks!

Marc Schneiders

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Auto blacklist ssh connections ...

2008-09-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Does anyone know of a utility that I can use with sshd to auto-block by IP if 
there are more then N failed attempts in a row?

ie:

# grep "Invalid user" /var/log/auth.log| awk '{print $10}' | sort | uniq -c | 
sort -nr
5268 140.113.210.174 

4863 72.52.225.116 

3586 116.14.255.141 

2918 193.205.186.67 

2033 219.76.75.6 

1308 216.14.127.67 

1059 61.72.106.71 

 983 93.123.14.9 

 691 202.75.221.197 

 649 59.77.33.139 

 381 201.80.15.207 

 269 190.10.255.73 

 212 81.252.254.189 

 181 123.151.32.12 

 150 211.21.47.50 

 139 196.219.63.3 

 128 200.111.64.171 



This is for one day ... I'd like to be able to throttle so that after X Invalid 
user attempts, the IP gets blocked ...

Possible?

- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjRj6EACgkQ4QvfyHIvDvOsYQCgyaB3MhvHJk9qShRlovwSAXxx
3oQAn2NQ8zLFVO82Udp+mZaojwbfoKmw
=SuAI
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Grid computing under FreeBSD using jails ... ?

2008-09-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Is it possible to run software on two different jails that would load balance 
processes between two or more VPSs?

- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjDGtIACgkQ4QvfyHIvDvO5wQCfUEIKNMAsmCzxskRZUPK7QZYp
UkQAoIeUz9B+rkQ62JSh5uGL2bIq/7t/
=8zSO
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cPanel or Plesk in jail ... ?

2008-09-01 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Simple enough, has anyone been able to get either to run successfully in a jail?




- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAki8L/8ACgkQ4QvfyHIvDvO5lACg7UEk8CkUvD4DIu2LI/bVs+65
E5YAn0BmZHgRoqg76S5lzRa+nK2uZoIu
=sZXQ
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Live FS Dump errors...

2008-09-01 Thread Marc Coyles
Morning folks... I'm trying to use a script to run a dump of all
filesystems, but whenever I use the -L option, I receive an error as
follows for every mount:


DUMP: Date of this level 0 dump: Mon Sep  1 13:37:57 2008
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1a (/) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 329257 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 329274 tape blocks
  DUMP: finished in 91 seconds, throughput 3618 KBytes/sec
  DUMP: level 0 dump on Mon Sep  1 13:37:57 2008
  DUMP: DUMP IS DONE
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

  DUMP: Date of this level 0 dump: Mon Sep  1 13:39:33 2008
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 4758000 tape blocks.
  DUMP: dumping (Pass III) [directories]
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory


I've inspected the locations reported, and can confirm that
.snap/dump_snapshot exists in the required locations on every mount, and
shows as being created at the time the dump was run as follows:


bigsis# pwd
/home/.snap
bigsis# ls -ltra
total 4
drwx--x--x  11 root  wheel 512 Mar 25 03:05 ..
-r   1 root  operator0 Sep  1 13:32 fsck_snapshot
-r   1 root  operator0 Sep  1 13:39 dump_snapshot
drwxrwx---   2 root  operator  512 Sep  1 13:39 .


The script I'm using is a perl script as follows, and is called by
root's crontab:

#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Std;
use POSIX qw(strftime);
use vars qw($VERSION);

$Getopt::Std::STANDARD_HELP_VERSION = 1;
$VERSION = '1.2';

my @FS = ('/', '/home', '/usr', '/var');
my $day = lc(strftime "%A", localtime);
my $hostname = `/bin/hostname -s`;
my %opt = ('F' => 0, 'd' => 0, 'h' => 0);
my $type;

chomp $hostname;

getopts("Fdh",\%opt);

if ( $opt{h} == 1 ) {

print STDERR << "EOF";

usage: $0 [-hqd]

 -h: this (help) message
 -d: Dry run, only print what I am going to do
 -F: Force full backup {type 0}

example: $0 -h -q -d

EOF
exit(0)
}

if ( $opt{F} == 1 ) {

$type = "0"

} else {

if ($day eq "sunday") {
$type = "0"
} else {
$type = "0"
}

}

foreach (@FS) {

my $name = $_;

if ($name eq '/') {
$name = '/root';
};

$name =~ s/^\///g;

# Unncomment for /backup/$day/$name.dump.gz
my $command = '/sbin/dump -' . $type  . ' -aLuf - ' .  $_ . ' |
gzip -q > /backup/' . $day . '/' .
$name . '.dump.gz';

# Put a "#" in front of the next line if you uncomment the last line
#   my $command = '/sbin/dump -' . $type  . ' -aLuf - ' .  $_ . ' |
gzip -q > /backup/' . $hostname .
'/' . $day . '.' . $name . '.dump.gz';

if ($opt{d}) {
print($command . "\n");
} else {
system($command);
};
};


exit(0);


Any suggestions??? All works fine if I don't use -L, but this isn't
exactly ideal for a backup of a live file-system...

Marc A Coyles - Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730
Helpdesk: 01924 282740 ext 2000
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Obscure df -h output

2008-08-29 Thread Marc Coyles

> Yes, they did something bizarre.  Ask them why :)
> 
> Kris
> ___

Mornin' Kris / list...

Asked them why and they shrugged and said "we didn't"... So... I
unmounted all the nullfs mounts that it'd allow me to unmount (tmp, dev,
proc and bin were "busy") and then rebooted the box to see if they
reappeared. They didn't. Then I had a bit of a "ting" moment as the
lightbulb 2" above my head flickered into life, and logged in as a
jailed user... Lo and behold, the mounts reappeared. Logged out and
logged back in as my regular user, and the mounts remained.

Should mounts for jail-shells automatically unmount themselves when that
user logs out?? Either way, we know what the "issue" is, and that it
isn't an issue at all... S'just the joys of letting cPanel do something
for you...!

L8rs!
Marc A Coyles
Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   4   5   6   7   8   9   10   >