Gateway on downloads

2013-05-26 Thread Jos Chrispijn

Hi all,

> netstart -rn (partitially)

DestinationGatewayFlagsRefs  Use Netif Expire
default10.10.10.100   UGS 0   858468 re0

Can you tell me how I can force _any_download from my server not going 
via 10.10.10.100 but to another gateway number 10.10.10.200?
For incoming uploads (ftp) and domain requests (Apache) still to keep 
10.10.10.100 for incoming traffic.


I have NZBGet installed and want to use the 2nd gateway (triple time the 
1st gateway speed) on downloads.
Maybe there is a way on ftp/download requests to redirect certain 
destination IP's to be switch through another network gateway IP?


Thanks,
Jos Chrispijn
___
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"


Access guard

2013-07-07 Thread Jos Chrispijn
I am looking for a program that watches login attempts (mail and ssh 
login) and blocks the ip address after xx failed attempts.
Currently I am using ipfw - might be great if that program works with 
ipw too...


Thanks,
Jos Chrispijn

___
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: Access guard

2013-07-07 Thread Jos Chrispijn
   All,
   Thanks for the replies, I will check them out!
   best regards,
   Jos Chrispijn
___
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"


ipfw gateway rerouting

2013-08-18 Thread Jos Chrispijn
Can someone please hint me to to good explanatory site that explains how 
to reroute a network server to different/non standard network gateway(s) 
with ipfw?


thanks,
Jos Chrispijn
___
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"


Named | Annoying behaviour

2011-08-04 Thread Jos Chrispijn

Dear group,

I latety face an issue with BIND 9.4.-ESV-R4-P1.

According to my log file, I get the following error:
Aug  4 12:00:03 triton named[93266]: starting BIND 9.4.-ESV-R4-P1 -c 
/etc/namedb/named.conf -t /var/named -u bind
Aug  4 12:00:03 triton named[93266]: command channel listening on 127.0.0.1#953
Aug  4 12:00:03 triton named[93266]: command channel listening on ::1#953
Aug  4 12:00:03 triton named[93266]: _the working directory is not writable_
Aug  4 12:00:03 triton named[93266]: running

I tried to chmod w+g the respecive directory, but it is set to default again by 
bind itself.
Can someone tell me how I can resolve the +w on the working directory?

BR,
Jos Chrispijn


___
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: Named | Annoying behaviour

2011-08-04 Thread Jos Chrispijn

Matthew Seaman:

One unfortunate consequence is that any relative paths within named.conf
have to be altered accordingly.
Thanks for your detailed explanation, I will follow up and let you know 
if I managed to solve it.


BR
Jos Chrispijn
___
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 upgrade from 7.4 Stable to 8.2

2011-05-22 Thread Jos Chrispijn
Just read that a save upgrade from my current 7.4 version would be easy 
by performing:


# freebsd-update upgrade -r 8.2-RELEASE
# freebsd-update install
# shutdown -r now
# freebsd-update install

Are there any pitfalls to this?

regards,
Jos Chrispijn

___
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"


Spamassassin not working after update of Perl

2011-06-23 Thread Jos Chrispijn
I have updated my Perl version yesterday but now my Spamd doesn't work 
anymore.

Can someone hint me how to solve this?

thanks,
Jos Chrispijn

Pls see output:

Can't locate Net/DNS.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN 
/usr/local/lib/perl5/site_perl/5.14.1/mach 
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach 
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.

BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate Net/DNS.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN 
/usr/local/lib/perl5/site_perl/5.14.1/mach 
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach 
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.

BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate NetAddr/IP.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN 
/usr/local/lib/perl5/site_perl/5.14.1/mach 
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach 
/usr/local/lib/perl5/5.14.1) at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.


BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.

Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80.
ClamAV update process started at Thu Jun 23 15:43:00 2011
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: 
sven)
daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, 
builder: arnaud)
bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, 
builder: edwin)

spamd not running? (check /var/run/spamd/spamd.pid).
Starting spamd.

Can't locate NetAddr/IP.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN 
/usr/local/lib/perl5/site_perl/5.14.1/mach 
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach 
/usr/local/lib/perl5/5.14.1) at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.


BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.

Compilation failed in require at /usr/local/bin/spamd line 85.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85.

Can't locate NetAddr/IP.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN 
/usr/local/lib/perl5/site_perl/5.14.1/mach 
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach 
/usr/local/lib/perl5/5.14.1) at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.


BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.

Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80.

--- cut ---
___
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: Spamassassin not working after update of Perl

2011-06-24 Thread Jos Chrispijn

Hi Damien,

What I don't understand is that if I already are on 15.4 and there is an 
update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to 
have this work?
Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I 
miss something here?


Thanks for your help
Jos Chrispijn

Damien Fleuriot:

On 6/23/11 3:51 PM, Jos Chrispijn wrote:

I have updated my Perl version yesterday but now my Spamd doesn't work
anymore.
Can someone hint me how to solve this?

thanks,
Jos Chrispijn

Pls see output:

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80.
ClamAV update process started at Thu Jun 23 15:43:00 2011
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder:
sven)
daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60,
builder: arnaud)
bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60,
builder: edwin)
spamd not running? (check /var/run/spamd/spamd.pid).
Starting spamd.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamd line 85.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80.

--- cut ---
___
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&quo

Re: Spamassassin not working after update of Perl

2011-06-24 Thread Jos Chrispijn
So true. I have processed as you suggested and will follow that + the 
UPDATING suggestion as well in future.
Just got on wrong track that this scenario should be used with 5.14 to 
5.14.x as well.


FYI:
After running

sa-update -D
sa-update --nogpg
spamassassin --lint -D
freshclam

I got at the end a warning, saying:
warn: Use of uninitialized value $opt{"syslog-socket"} in lc at 
/usr/local/bin/spamd line 44


Found out that this is a minor thing and fixed *in* 3.3.2 and *in* trunk.

BR,
Jos Chrispijn

Damien Fleuriot:

Normally, any special care to be taken while upgrading your port should
be noted in UPDATING.

However, it's always prudent to rebuild dependencies when upgrading a
port, because you never know what changed (unless you take the time to
check the changelog + source code).


On 6/24/11 12:33 PM, Jos Chrispijn wrote:

Hi Damien,

What I don't understand is that if I already are on 15.4 and there is an
update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to
have this work?
Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I
miss something here?

Thanks for your help
Jos Chrispijn

Damien Fleuriot:

On 6/23/11 3:51 PM, Jos Chrispijn wrote:

I have updated my Perl version yesterday but now my Spamd doesn't work
anymore.
Can someone hint me how to solve this?

thanks,
Jos Chrispijn

Pls see output:

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line
80.
ClamAV update process started at Thu Jun 23 15:43:00 2011
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder:
sven)
daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60,
builder: arnaud)
bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60,
builder: edwin)
spamd not running? (check /var/run/spamd/spamd.pid).
Starting spamd.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamd line 85.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.

Re: Spamassassin not working after update of Perl

2011-06-24 Thread Jos Chrispijn
So true. I have processed as you suggested and will follow that + the 
UPDATING suggestion as well in future.
Just got on wrong track that this scenario should be used with 5.14 to 
5.14.x as well.


FYI:
After running

sa-update -D
sa-update --nogpg
spamassassin --lint -D
freshclam

I got at the end a warning, saying:
warn: Use of uninitialized value $opt{"syslog-socket"} in lc at 
/usr/local/bin/spamd line 44


Found out that this is a minor thing and fixed *in* 3.3.2 and *in* trunk.

BR,
Jos Chrispijn

Damien Fleuriot:

Normally, any special care to be taken while upgrading your port should
be noted in UPDATING.

However, it's always prudent to rebuild dependencies when upgrading a
port, because you never know what changed (unless you take the time to
check the changelog + source code).


On 6/24/11 12:33 PM, Jos Chrispijn wrote:

Hi Damien,

What I don't understand is that if I already are on 15.4 and there is an
update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to
have this work?
Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I
miss something here?

Thanks for your help
Jos Chrispijn

Damien Fleuriot:

On 6/23/11 3:51 PM, Jos Chrispijn wrote:

I have updated my Perl version yesterday but now my Spamd doesn't work
anymore.
Can someone hint me how to solve this?

thanks,
Jos Chrispijn

Pls see output:

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate Net/DNS.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamassassin line 80.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line
80.
ClamAV update process started at Thu Jun 23 15:43:00 2011
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder:
sven)
daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60,
builder: arnaud)
bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60,
builder: edwin)
spamd not running? (check /var/run/spamd/spamd.pid).
Starting spamd.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamd line 85.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85.

Can't locate NetAddr/IP.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.14.1/mach
/usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach
/usr/local/lib/perl5/5.14.1) at
/usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm
line 25.

BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.

Maintenance script/port

2011-07-21 Thread Jos Chrispijn
Can someone recommend me a text driven maintenance (re)port that informs 
me about the health of my FreeBSD system?
I currently use the standard BSD report information, but like to get 
more information out of my partitions, OS etc.

This program should be ran by schedule and send me the outcome by email.

Thanks in advance.
Jos Chrispijn
___
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: Maintenance script/port

2011-07-21 Thread Jos Chrispijn

Thanks all for your replies. I will check your suggestions.

BR,
Jos Chrispijn

___
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"


IPFW

2011-07-25 Thread Jos Chrispijn

Dear group,
Is there a web driven configuration for ipfw after I installed it on my 
server?


Thanks
Jos Chrispijn
___
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"


CSH prompt

2012-05-13 Thread Jos Chrispijn

In cshell I use this prompt: set prompt = "%B[%@]%b %m[%/]> "
The problem I face now is that if I use this prompt with symbolic links, 
the presented location is displaying the symbolic link rather than the 
real directory name.

Is there a way of preventin this?

thanks,
Jos Chrispijn

-- Artificial intelligence is no match for natural stupidity...
___
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"


Newsyslog | Cronjob faulty?

2012-05-16 Thread Jos Chrispijn

At midnight (00.00) I run this cronjob from my crontab:

Crontab:
00  *   *   *   *   rootnewsyslog

For some reason this goes wrong; (if I run 'newsyslog' on any other 
time, there is no error message).


bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero 
status (1)


/var/log:
-rw-r-  1 rootwheel 63162 May 16 21:20 maillog
-rw-r-  1 rootwheel   109 May 16 00:00 maillog.0.bz2
-rw-r-  1 rootwheel 73674 May 16 00:00 maillog.1
-rw-r-  1 rootwheel   111 May 15 00:00 maillog.2.bz2
-rw-r-  1 rootwheel 73050 May 15 00:00 maillog.3
-rw-r-  1 rootwheel   109 May 14 00:00 maillog.4.bz2
-rw-r-  1 rootwheel184042 May 14 00:00 maillog.5

Can somebody tell me what goes wrong here?
On my other FreeBSD server the same cronjob goes ok...

thanks,
Jos Chrispijn
___
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"


Startup from script

2012-05-22 Thread Jos Chrispijn

I have this issue with running commands from a script:

In my crontab I define script 'do_daily.run':
30  23  *   *   *   root
/root/cronjobs/do_daily.run


The content of this script (amongst others) is:
rsync -avpog /etc   /backup/$DATE/

Funny thing now is that in the output of the script, the following appears:
/root/cronjobs/do_daily.run: rsync: not found

file credentials of the script itself:
-rwx--  1 root  wheel   246 Jun 20  2010 do_daily.run

What do I oversee here?

kind regards,
Jos Chrispijn

___
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: Startup from script

2012-05-22 Thread Jos Chrispijn
Thank you (all) for your information; I followed your suggestions and it 
all works flawless!


best regards,
Jos Chrispijn
___
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"


Updating /src from command line

2012-05-22 Thread Jos Chrispijn
I want to compile my kernel and I read that for this I need to have the 
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen 
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn
___
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"


NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Dear list,
I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero status (1)
bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero status (1)

--- cut ---

Can you tell me what goes wrong here and how to solve this?

thanks in advance,
Jos Chrispijn

___
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"


NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Dear list,
I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero 
status (1)

bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero 
status (1)


--- cut ---

Can you tell me what goes wrong here and how to solve this?

thanks in advance,
Jos Chrispijn

___
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: NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Hi Matthew,

Thanks, will investigate this...

best regards,
Jos


Matthew Seaman:

On 26/05/2012 12:02, Jos Chrispijn wrote:

I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
 Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero
status (1)
bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero
status (1)

--- cut ---

Can you tell me what goes wrong here and how to solve this?

The underlying problem seems to be problems writing to /var/log.
Is the partition (/var probably) full up or out of inodes?

df -ih /var/log

Also, look at the console to see if anything has been logged there.

If it isn't running out of space, then check that the directory hasn't
got weird flags settings:

ls -laoR /var/log

Having something like noschg set on the directory would cause the
observed symptoms, but I am at a loss to understand how on earth
anything like that could come about.

There are a couple of other things it might be, but it's quite unlikely
you wouldn't get crashes, coredumps and other signs of the end-times
should any of those be the case.

Cheers,

Matthew


___
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: Updating /src from command line

2012-05-29 Thread Jos Chrispijn
I think I solved it with cvsup, but still no clue why it doesn't work 
via sysinstall J-(


br,
Jos Chrispijn

Jos Chrispijn:
I want to compile my kernel and I read that for this I need to have 
the complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen 
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn
___
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"


Re: Updating /src from command line

2012-05-29 Thread Jos Chrispijn

Hi Michael,

that works, thanks.

BR,
Jos Chrispijn

Michael Ross:

Am 22.05.2012, 21:59 Uhr, schrieb Michael Ross :


Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn :

I want to compile my kernel and I read that for this I need to have 
the complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen 
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn



I do it like this:

Copy, read and modify
/usr/src/share/examples/cvsup/stable-supfile


Sorry, that is

/usr/share/examples/cvsup/stable-supfile

of course.


___
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"


Empty logfiles

2012-08-29 Thread Jos Chrispijn

Stupic question: I have a directory with 120 logfiles (extension *.log).
Can someone tell me how I can empty these logfiles in one command?
I thought 'echo > *.log' would work, but no way K-)

thanks
Jos Chrispijn
___
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"


FreeBSD9 - Fresh install

2012-10-13 Thread Jos Chrispijn

I am trying to setup a new BSD server with v9.0 stable on it.
While setting it up, I come across an issue: there are some YouTube 
movies available in which only the following disk setup is chosen:

- freebsd-boot
- freebsd ufs /
- freebsd-swap
Now when I setup and choose for Auto defaults, I see the wellknown /var, 
/tmp and /usr again.
Are these differences between what I see on YouTube examples due to v9.0 
or what is causing that?


BR,
Jos Chrispijn
___
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"


FreeBSD9 - Fresh install

2012-10-13 Thread Jos Chrispijn

I am trying to setup a new BSD server with v9.0 stable on it.
While setting it up, I come across an issue: there are some YouTube 
movies available in which only the following disk setup is chosen:

- freebsd-boot
- freebsd ufs /
- freebsd-swap
Now when I setup and choose for Auto defaults, I see the wellknown /var, 
/tmp and /usr again.
Are these differences between what I see on YouTube examples due to v9.0 
or what is causing that?


BR,
Jos Chrispijn
___
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"


FreeBSD9 - Fresh install (2)

2012-10-13 Thread Jos Chrispijn
When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions 
about partioning:
I think of creating two partitions of 5Gb; one for the standard FreeBSD 
file layour and a second one with a /backup slice on it.

Does this make sense?

BR,
Jos Chrispijn
___
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: FreeBSD9 - Fresh install (2)

2012-10-14 Thread Jos Chrispijn

I was intending this on my 1TB hard disk (FreeBSD only):

Two slices of 500G

Slice one:
1g/
4gswap
7g/var
1g/tmp
487g  /var

Slice two:
500g  /backup

I question myself why I should use a 1TB hard disk, but it came with the 
hardware J-)
I might better use 2x350G hard disks, but the server I use can only 
physical contain one piece.


The slice one and two idea is perhaps Windows related, but I thought if 
I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to 
clean slice one and put BSD on that again (having the backup slice 
untouched).


thanks,
Jos Chrispijn

Polytropon:

On Sat, 13 Oct 2012 19:59:22 +0200, Jos Chrispijn wrote:

When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions
about partioning:
I think of creating two partitions of 5Gb; one for the standard FreeBSD
file layour and a second one with a /backup slice on it.
Does this make sense?

What exactly do you intend to backup (and why) onto a second
partition on the same disk? Sure, it is possible to do so,
but you should make yourself clear _what_ you want to do and
why, then it will imply _how_ will do it the best way -- even
though there might be more than one best way... :-)

Also depending on your needs, 5GB may be too few to hold a full
installation of OS and programs (even though I've managed to
get a full 5.2 installation plus tons of programs on a 6 GB disk,
with 50% of free space afterwards).

What do you do with the remaining 900 GB of the disk? :-)

Also, please make yourself familiar with the terminology of what
a partitions and what a slice is, and see it in the proper context
of MBR vs. GPT partitioning.

If I take your use of the TT (termini technici) literally, you
would have one partition containing everything rooted to /, and
a second partition that contains the same. You would either manually
have a backup mechanism from the 1st to the 2nd partition, or you
could configure them in some automated mirroring mechanism. But
I don't see a real use case when doing so on the _same_ disk.
Still it would be possible, and it could even be helpful in some
bad case scenario.




___
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: FreeBSD9 - Fresh install (2)

2012-10-15 Thread Jos Chrispijn

Mike Clarke:

My approach would be to go for 3 slices. Slice 1 would be a suitable size to
hold the OS and swap, I have quite a lot of ports installed on my desktop PC
so would go for about 20 to 30 GB. This could be less for a server but with
1TB you can afford to be generous. This can then be partitioned to suit with
whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your
fancy.
Intererestig suggestion. In my opinion overkill, but if I have to use 
them, I's rather do it good then K-)


thanks,
Jos Chrispijn


The second slice would be the same size as the first and be left empty for now
as a spare.

ok

The third slice, the rest of the disk, would be for all of your data and could
be partitioned (or not) to suit your needs for /home and any other local data
requirements. If there's to be any large mysql databases then I'd put them
here with symlinks from /var where mysql normally expects to find them.

When you come to upgrade to the next FreeBSD release just install it into the
spare second slice and boot from that instead of the first. If you experience
any serious problems with the upgrade then nothing has been lost and you can
just revert to booting of the first slice until things are sorted out.
that sounds goo to me! So I then have to only make that slice bootable 
and install, right?

The above is all assuming you're using UFS. If you're going to use ZFS then
there are other possibilities like using sysutils/beadm from ports
<http://forums.freebsd.org/showthread.php?p=175325> to manage multiple boot
environments in a single partition.

Will use the server UFS only, but the /sysutils/beadm makes me curious...

thanks for your suggestions,
Jos Chrispijn
___
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: FreeBSD9 - Fresh install (2)

2012-10-15 Thread Jos Chrispijn

Polytropon:
Per definition, you can only mark one slice bootable. If you manage to 
mark more than one slice bootable, the start loader (from BIOS) will 
boot into the first one it finds, and that will possibly be the one of 
the 1st slice. 
I know, but I was referring to the update installation of a new BSD 
version; if I have installed it on the empty slice, I only have to make 
that slice bootable (and removing that function from the original one).

Does that make sense (still in Windows mode here J-) ?

regards,
Jos Chrispijn

___
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: FreeBSD9 - Fresh install (2)

2012-10-17 Thread Jos Chrispijn

Thanks for this very informative suggestion.
I think I need to study it thouroughly, but will certainly head for that 
solution.


kind regards,
Jos Chrispijn

Polytropon:

That would work, and could be performed easily even using
the slice editor of the sysinstall program.

Of course, make sure that all partition references work
properly for _each_ slice. Using labels is a comfortable
way to achieve this. But it would be no problem to use
the device names (as long as the disk won't be moved).

For example:

Slice 1: Installation OS 8.2
-> boots to /dev/ad0s1a (kernel is in ad0s1a:/boot/kernel)
-> performs root mount of /dev/ad0s1a
-> mounts OS partitions /dev/ad0s1[defg]
-> mounts data partition /dev/ad0s3

Slice 2: Installation OS 9.0
-> boots to /dev/ad0s2a (kernel is in ad0s2a:/boot/kernel)
-> performs root mount of /dev/ad0s2a
-> mounts OS partitions /dev/ad0s2[defg]
-> mounts data partition /dev/ad0s3

Slice 3: Users' home directories

You also use the fdisk command to set the active partition manually,
or write a short skript that "flips the switch" to boot from "the
other slice" the next time (comparable to the nextboot command in
relation to kernels); see "man fdisk" for details.

That won't work in "Windows" mode, as you cannot click on the slice. :-)




___
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 9x - PHP and MySQL

2012-10-20 Thread Jos Chrispijn

FreeBSD 9.1-PRERELEASE
Can you tell me what might be the best MySQL version to be used and 
which PHP version should I use to that?

Running 64-bit.

thanks,
Jos Chrispijn
___
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"


Faking Gateway

2012-11-03 Thread Jos Chrispijn

I have two gateway ip's in my network:
G1 = 8/1m and G2=50/10m.
Server1 (S1) is connected to G1 and all network clients are connected to G2.
As I sometimes have a lot of ports to download, I thought, let's change 
the gateway address of S1 to G2. That really works regarding the FTP 
part, but regarding my mail it is not (logically I am now presenting a 
domain name that doesn't match its ip address as it is G2 instead of G1).


Is there a way of switching to the 'fast' gateway with ftp traffic only 
(like port updates and manual outward/inbound ftp requests) and have 
outbound email follow the (standard) G1)?


Kind regards,
Jos Chrispijn

___
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"


rm -R

2013-03-02 Thread Jos Chrispijn

I made a folder called   -S;

how can I remove that again?

did a rm -R '-S;' but that doesn't work (...).

thanks for your advise,
Jos Chrispijn

___
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: rm -R

2013-03-02 Thread Jos Chrispijn



Ralf Mardorf:

rm -R "-S\;" rm -R ?S?


rm: illegal option -- S
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file

regards,
Jos Chrispijn
___
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: rm -R

2013-03-02 Thread Jos Chrispijn


Teske, Devin:

rm -R -- -S

The "--" tells it "here's the end of the options, here come the 
file/directories"

Almost :  rm -R --  -S;   did it, thanks very much!

BR,
Jos Chrispijn.
___
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: rm -R

2013-03-02 Thread Jos Chrispijn


Teske, Devin:

rm -R -- -S

The "--" tells it "here's the end of the options, here come the 
file/directories"


Almost:

rm -R --  -S;

did it, thanks very much for you help!

BR,
Jos Chrispijn
___
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"


RSync exclusion

2013-04-18 Thread Jos Chrispijn

I have a local folder called /files/
In my daily backup event I create as per day a backkup folder that 
contains this /files folder including all its sub folders


--- cut ---

rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/

In this /files folder, amongst others, I have another folder called 
photos: /files/photos


What I now would like to do is sync the /files folder with an exclusion 
on the /files/photos folder
Reason for that is that this /photos subfolder contains 12 gb on photos, 
which I don't want to have in a daily archive (takes too much disk space 
on a monthly basis).
I will syn them on a daily basis to a fixed remote folder (where only 
the updates will be appended).


Can someone tell me how I can do that on one command line?

thanks in advance,
Jos Chrispijn


___
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: RSync exclusion

2013-04-20 Thread Jos Chrispijn
   Must have had a temporary brain damage, sorry...
   thanks
   Jos

   Paul Macdonald:

 --exclude /files/photos
___
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: RSync exclusion

2013-04-20 Thread Jos Chrispijn

Daniel O'Callaghan:
It uses rsync, but manages a directory tree with hard links to 
unchanged files.

It would solve your problem, but in a different way.
Thanks for this - the issue is solved, but I will certainly have a look 
to that one as well.

Jos
___
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"


Fwd: Postfix SMTP server: errors from mx2.freebsd.org[69.147.83.53]

2010-10-31 Thread Jos Chrispijn

 Hi,

It looks like mx2.freebsd.org is blacklisted by Sorbs.net:

 Original Message Transcript of session follows.

 In:  EHLO mx2.freebsd.org
 Out: 250-PIPELINING
 Out: 250-SIZE 2560
 Out: 250-ETRN
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250 DSN
 In:  MAIL FROM:  SIZE=3777
 Out: 250 2.1.0 Ok
 Out: 554 5.7.1 Service unavailable; Client host [69.147.83.53] blocked using
 dnsbl.sorbs.net; Currently Sending Spam See: 
http://www.sorbs.net/lookup.shtml?69.147.83.53
 In:  DATA
 Out: 554 5.5.1 Error: no valid recipients
 In:  RSET
 Out: 250 2.0.0 Ok
 In:  QUIT
 Out: 221 2.0.0 Bye

---

regards,
Jos Chrispijn

___
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"


Auto update

2010-04-10 Thread Jos Chrispijn
Can someone tell me if there is a way of generating an email on the 
moment that someone logs in to my FreeBSD server? The mail part 
(phpmail) will be easy; I don't know yet how to trigger and pass 
parameter to this script or redirect info to a file (that I then send by 
email).  Thanks.


Jos Chrispijn


___
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: Auto update

2010-04-11 Thread Jos Chrispijn


On 11-4-2010 8:27, andrew clarke wrote:

By which method?  SSH?
   


Yes, sorry I didn't mention that. If possible on both SSH and otherwise.

Thanks,
Jos
___
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: Auto update

2010-04-11 Thread Jos Chrispijn


On 11-4-2010 9:41, Doug Hardie wrote:
A cheesy way to do that is to use a popen ("tail -f 
/var/log/auth.log", "r") and then read that. It will give you every 
login regardless of ssh, telnet etc. You could then generate the 
emails from that. I have no idea just how resource intensive this 
might be. You would also have to ensure it got started by rc during 
boot.___


In order to find out if someone logged in, I should then first copy 
auth.log to auth2.log, and do a compare and then do the tail trick. Have 
to cron that every half a minute.
I would like to know if there is something that is alterted on the 
moment that someone logs on thus forcing evt. your tail suggestion


thanks,
Jos Chrispijnj
___
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: Auto update

2010-04-13 Thread Jos Chrispijn
Thank you all for your kind replies; I will use the information as you 
suggested (including the -F :-)


regards,
Jos Chrispijn
___
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"


Automake installed

2010-07-24 Thread Jos Chrispijn
Just had a quick look in my installed ports and found out that I have 
multiple versions of automake installed:


automake-1.10.1: ok
automake-1.4.6_5: ok
automake-1.5_5,1: ok
automake-1.9.6_3: ok
automake-wrapper-20071109: ok

Is this common or should I get rid of all automake-1.9.x versions? How 
could I do such best?


thanks
Jos Chrispijn

___
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: BSD logo

2010-07-24 Thread Jos Chrispijn

Victor,

On 24-7-2010 4:01, Victor Skovorodnikov wrote:

Have you considered changing it to something else?  Doesn't have to be an 
angel, but perhaps something neutral ;-) ?
   
Seeing something in it that isn't there at all or perhaps wanting to see 
something that isn't there at all in fact is true religion. For me 
FreeBSD is true religion: bringing people together and speak about it is 
so much better that seeing things in a logo that isn't there at all...


best regrets,
jos chrispijn

___
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: BSD logo

2010-07-24 Thread Jos Chrispijn

Victor,

On 24-7-2010 4:01, Victor Skovorodnikov wrote:

Have you considered changing it to something else?  Doesn't have to be an 
angel, but perhaps something neutral ;-) ?

Seeing something in it that isn't there at all or perhaps wanting to see 
something that isn't there at all in fact is true religion.
For me FreeBSD is true religion: bringing people together and speak 
about it is so much better that seeing things in a logo that isn't there 
at all...


best regrets,
jos chrispijn
___
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"


Buld echo

2010-01-12 Thread Jos Chrispijn

I have 35 log files that I want to flush once a day.
In order to keep them exist I now do an 'echo > logfile.log'
How can I do such in one command having the same effect on all log files?

Jos Chrispijn

___
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"


Rsync

2008-08-10 Thread Jos Chrispijn
I have server1 of which I would like to backup some slices/directories 
to a backup server2 that in fact is a mirror of the one that I want to 
backup.
I don't allow root logon from prompt on Server2. Can someone tell me how 
I can force rsync to backup server1 without having a root login 
permission on Server2?


Thanks in advance for sharing.

-- Jos

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


Re: Rsync

2008-08-10 Thread Jos Chrispijn

Matthew Seaman wrote:

Use anonymous rsync? There's a section on rsyncd in the rsync(1)
man page, but most of the meat is in the rsyncd.conf(5) man page.
The downside is you'll lose information about user and group ownership
of files.  Oh, and obviously be careful about limiting where people
can access the rsyncd server from, or your precious data may go on
an unplanned walkies...


I don't want to loose any user and group ownership of files. Would there 
be another solution without rsync then or does the 'forbidden root 
login' affect all backup solutions here?


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


Re: Rsync

2008-08-10 Thread Jos Chrispijn

Thanks for sharing, I will look at the suggest solutions!

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


ipfw log file stats

2008-08-10 Thread Jos Chrispijn
I have ipfw installed and it works oke; now I am looking for a script 
that can generate flat text statistics out of it's logfile;
I am not that a smart programmer; perhaps someone else can hint me to 
the right direction? Thanks...


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


Up_down~up

2008-08-15 Thread Jos Chrispijn

Just saw this in my security log:

+++ /tmp/security.CVzQ19kE  2008-08-15 00:04:29.0 +0200
+fxp0: link state changed to DOWN
+fxp0: link state changed to UP
+fxp0: link state changed to DOWN
+fxp0: link state changed to UP
+fxp0: link state changed to DOWN
+fxp0: link state changed to UP

Does this indicate a nearly_broken nic or is this caused by someting else?
Jos


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


Re: Up_down~up

2008-08-15 Thread Jos Chrispijn

Robert Huff wrote:

My (em) cards do this - one UP, one DOWN, one UP - on system
boot.
  
You might be right; I did reboot my system at that time. Only I saw this 
for the first time...


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


Re: Up_down~up

2008-08-16 Thread Jos Chrispijn

Michael Powell wrote:

I recently had an onboard 82540 chip fry out. It started sporadically and
over time became more frequent. When I googled I found many references to
heat problems. I then disabled rx/tx checksum offload and it seemed like it
fixed it, but only for a short while. It got worse and ultimately died
altogether. Had to disable and put a PCI NIC in.
  
Micheael, thanks for sharing; I will keep this in mind and if neccessary 
replace the nic.

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


Jittering sound on streaming

2008-09-06 Thread Jos Chrispijn
I am running a music station now and then and for some reason there 
exist a jittering sound after some hours. I think this is caused by BSD, 
but can't put my finger on yet.
There was a thread on this some months ago but that thread didn't solve 
my problem. I use Icecast and/or Shoutcast for streaming.


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


Re: Jittering sound on streaming

2008-09-06 Thread Jos Chrispijn

Wojciech Puchar wrote:

try setting rtprio on your streaming app and check if it still persist

Great, that really worked!

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


Symbolic link

2008-09-11 Thread Jos Chrispijn

I have this application that only works with local filedirectories.
Is it possible to make a symbolic link to a URL (internet location with 
the files I want to display/open) so that I can fake location as being 
local?


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


Re: Symbolic link

2008-09-11 Thread Jos Chrispijn

Thanks for your replies; I will follow up and see what is happening.

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


Presenting 'host' command output

2008-09-26 Thread Jos Chrispijn

If I do this on my server1 (BSD 6.4 prerelease)

server1# host dekiekendief.nl

I get this, which is good:

dekiekendief.nl has address 72.36.229.154
dekiekendief.nl mail is handled by 30 mail.dekiekendief.nl.

If I do this on my server2 (BSD 7.0 stable)

server2# host dekiekendief.nl

I get this, which I think is not the right way to display:

dekiekendief.nl has address 72.36.229.154
154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.
154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.

Can someone tell me how I can alter server2 display to something similar 
to server1 display?


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


Re: Installing Samba : FreeBSD Vs Linux ?

2008-10-17 Thread Jos Chrispijn


Uit een eerder bericht (17-10-2008 17:42):
do what your boss wants. it's his company, and it's his right to make 
bad decision
A boss hires someone that knows what he/she is talking about and relies 
on his/her vision. To get informed this person might get his/her 
information before he/she decides what the best solution might be; I do 
hope he/she doesn't take any notice on your stupid reply.


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


Postfix communicating with IPFW

2008-10-19 Thread Jos Chrispijn

Dear FQ,

I recently got attacked with some dsl subscribers of this (imaginary) 
some.net domain.


These subscribers present themselves as [ip address.dynamic.some.net].
Postfix SMTP server: errors from 66-66-66-166.dynamic.some.net 
[66.66.66.166]


What I would like to do is to generate a some.net list with all these 
dynamic ip addresses and provide them to my ipfw firewall in order to 
block them on the moment that they try to relay a 2nd time thru my 
server. This will cause less process time as it is quicker to send 
someone home by the doorkeeper (ipfw) rather than check his credentials 
first (Postfix) and tell him to get lost.


Is there any way to let postfix 'communicate' with my ipfw firewall?

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


Re: Postfix communicating with IPFW

2008-10-19 Thread Jos Chrispijn


Thank you all for sharing your expertise! I will follow all the 
suggestions that have been made in order to solve the matter.

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


LIST

2008-10-24 Thread Jos Chrispijn

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


root | su

2008-10-24 Thread Jos Chrispijn

Is there a way of stopping root from su'ing to another user?

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


Re: LIST

2008-10-24 Thread Jos Chrispijn

Sorry guys, didn't pay attention on this one.

Uit een eerder bericht (24-10-2008 20:07):

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

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


Re: root | su

2008-10-24 Thread Jos Chrispijn
Since the person asking didn't give any details of what he wants to do, it's hard to say, but your point is correct regardless.  


The idea behind my question is this:
I am responsible for a server on which an(other) idiot keeps loggin in 
as user root, allthough he has his own user account and is part of the 
wheel group. To prevent this nub to change any other user account in God 
mode, I am searching for a solutions on this.


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


[SOLVED] Re: root | su

2008-10-24 Thread Jos Chrispijn



You're trying to solve a social (possibly personal?) problem with
technology.  Simply put, this is a bad idea.
  

Yep, I think that is .true.

I would highly recommend you either talk to "the idiot" and explain to
him why what he's doing is improper or foolish, or simply pull his root
access entirely.  If this is a work-related incident, talk to your boss
about it if at all possible (but see below).  If you call the shots,
simply yank their access.
  

The idiot is the boss himself and acts like an unguided missile.
Just investigating before I give him a wake-up call. And that is exactly 
what I will do...

Food for thought.  Cheers!
  

Love it, thanks for sharing (everyone)!
jc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Security | Kernel message

2008-10-28 Thread Jos Chrispijn

A prt of my daily security run:

triton.xxx.xxx.xxx kernel log messages:
+++ /tmp/security.VnqB8ZT6  2008-10-27 23:53:32.0 +0100
+em0: link state changed to DOWN
+em0: link state changed to UP
+em0: link state changed to DOWN
+em0: link state changed to UP
+em0: link state changed to DOWN
+em0: link state changed to UP

Is there a way of adding the time on every DOWN and UP line?

Jos Chrispijn

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


Re: Security | Kernel message

2008-10-28 Thread Jos Chrispijn

Jeremy,

Uit een eerder bericht (28-10-2008 17:32):

No, because the messages are in the kernel log.  The kernel itself does
not print timestamps, because that's silly.
  

Yes that is .true.

Try doing this:
  

Great, will do that! No 'watchdog timeout' events yet :-)

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


Re: Cannot login to root account on FreeBSD 7.0

2008-10-31 Thread Jos Chrispijn



Uit een eerder bericht (31-10-2008 14:29):

But now I've faced a big problem, I can no longer seem to login to the
root account where whenever I supply the proper credentials to the login
screen, I always get thrown back to the login screen.
Stupid question perhaps: do you try to login locally of thru 
SSH/Terminal session?

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


Re: Port Adobe Photoshop and Illustrator for FreeBSD?

2008-11-09 Thread Jos Chrispijn


Uit een eerder bericht (9-11-2008 4:43):

That has been known to work, but not without some serious hacking. One
major problem is the software needs administrative access, so you need
to copy the registry from a working windows to the wine system.
  
Could it be possible to use Adobe's Mac versions on FreeBSD with less 
hacking?


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


Re: High load - lost network

2008-11-11 Thread Jos Chrispijn


Uit een eerder bericht (10-11-2008 13:45):

Do anyone have a tips for how to workaround this or is the server just junk?
  
Got this problem a while ago as well. I found out with me it was hub 
related. If I was downloading, my hub was displaying 100Mbit connection 
(I wish it was :-)
Then I sometimes get this nic status of my BSD system as well. I bought 
a 3Com hub and the problem is gone.


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


Re: Cronjob

2009-06-09 Thread Jos Chrispijn

Mike Jeays wrote:

Isn't that a linuxism? Looking at the man pages for the date command for 
FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, 
I checked). The -d option is to do with daylight saving time.


- eot-

I see; will have that incorporated in the script.
Thanks for sharing,
Jos


___
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"


Program update(s)

2009-06-12 Thread Jos Chrispijn
Can someone tell me why I have to recompile all related programs when I 
upgrade to a newer version of Perl? How easy it would be that all these 
'to be recompiled' programs only were linked to just Perl instead of 
Perl.x.x.x. Or is that a complete wrong way of approach?


Jos Chrispijn
___
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: Program update(s)

2009-06-13 Thread Jos Chrispijn


RW wrote:

For the most part you don't, you can just run perl-after-upgrade.
  


Good suggestion, thanks.

If you are referring to the switch from lang/perl5.8 to  lang/perl5.10,
then that's exceptional and optional.
  


Exceptional oke, but optional? I have to make sure that all related 
programs are in line with this version; or do you refer to the 
perl-after-upgrade option?


thanks for sharing,
Jos Chrispijn

___
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: Program update(s)

2009-06-13 Thread Jos Chrispijn


Ruben de Groot wrote:

On Fri, Jun 12, 2009 at 09:47:39PM +0200, Jos Chrispijn typed:
  
Can you guarantee that all these programs will work with perl.y.y.y ?
  
That is another thread and a question that someone should ask 
him/herself prior to the installation itself :-)


Jos Chrispijn
___
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 and apache 2.2 band width limiting

2009-06-15 Thread Jos Chrispijn
uple of real 
configurations to get you started.


First, let's consider serving a directory of large and popular content, 
such as a collection of parodies of Apple's "switch" commercials 
(http://www.apple.com/switch).




ThrottlePolicy Speed 100K 1s



The ThrottlePolicy directive, as you might guess, specifies the policy 
you'd like to implement for this location. The specifications always 
follow the form:


ThrottlePolicy Policy Limit Period

If you put a collection of big movies on the server and then try to 
fetch a movie from another machine, you might find that the file is 
transmitted at a very high speed -- much higher than 100 KB/s. What's 
happening?


Unlike the granular rate-limiting that is possible at the router or 
kernel level, mod_throttle works with HTTP requests (rather than network 
packets). All of the bytes are counted, but they can't be counted until 
after a request is serviced. mod_throttle keeps track of how many bytes 
were sent and how long it took.


Next, let's consider the problem of a Web robot that hits your site too 
quickly. The following entry limits all clients (identified by unique IP 
address) to five requests per second. That rule is applied server-wide 
unless the entry is enclosed in a VirtualHost, Location, or Directory block.



ThrottlePolicy Request 5 1


Watch it
As you add new policies to your server, the mod_throttle statistics page 
reflects each one, along with various statistics, including number of 
hits refused and bytes sent. By clicking on a policy name, you can 
discover which clients are currently in violation of the policy. You can 
also use the Web interface to reset those clients.


That's all there is to getting started. mod_throttle can keep your 
bandwidth costs under control, and can also help prevent a Denial of 
Service attack from crippling your web site.


hope this helps,
Jos Chrispijn*
*
___
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: Best practices for securing SSH server

2009-06-27 Thread Jos Chrispijn


Daniel Underwood wrote:

laptop to connect to the server.  Due to the speed and location of the
connection, it's a relatively high-risk target.
  
Can you tell me what you mean with that? I mean, imho a server must been 
consider always a risk target.

Perhaps I don't understand.

Jos Chrispijn


___
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"


FTP

2009-07-07 Thread Jos Chrispijn

FreeBSD 6.4-STABLE
I do an upload to this server (plain ftp, not thru a php script) and 
every time the upload gets stuck at approx. 1,2 Gb.
There is no shortage on capacity on that slice and I don't get a log 
report on ftp failure. Could you tell me what I can do to, at least, get 
an idea why these uploads get stuck? Thanks


--
Jos Chrispijn


___
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: FTP

2009-07-07 Thread Jos Chrispijn

Ruben de Groot wrote:

On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed:
  
- use truss on the server process
  

Thanks for your reply; can you explain what you mean with this?

Jos Chrispijn
___
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: FTP

2009-07-07 Thread Jos Chrispijn

Kevin Kinsey wrote:

He's assuming you have control of the FTP server ...

$ apropos truss
truss(1) - trace system calls

... so you can use the above tool to see what's going
on from the server's point of view.

Great suggestion, will do! Thanks.

--
Jos Chrispijn

___
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"


Resetting user password in cron

2009-07-16 Thread Jos Chrispijn

Can someone tell me how I can reset a user's password best in a cron job?
If I do a password change from the prompt, I now have to re-enter the 
password, which I would not like to do in a cron job. Thanks/


Jos Chrispijn


___
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"


Perl updates

2009-09-13 Thread Jos Chrispijn
Can someone explain why we have to run an update batch in order to have 
all Perl related programs running with this update? Wouldn't it be 
better to upgrade Perl and have all programs use it as it hadn't been 
updated at all?


Jos Chrispijn
___
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: Perl updates

2009-09-13 Thread Jos Chrispijn

Matthew Seaman wrote:

You're talking about the update of lang/perl5.10 from perl-5.10.0
to perl-5.10.1 ?

The reason you need to run perl-after-upgrade is because perl library
modules are stored in directory trees which encode the perl version 
number.

perl-after-upgrade basically moves installed modules from


[-snip-]

Thanks, appreciate this detailed information.

Jos Chrispijn
___
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"


named issue

2009-09-25 Thread Jos Chrispijn

[named]

Lately I get messages like thin in my all.log:

named[605]: too many timeouts resolving '*.*.*.*.zen.spamhaus.org/A' (in 
'zen.spamhaus.ORG'?): disabling EDNS


(*) is random ip address

Now before I add the following lines in /etc/named.conf or 
/var/named/chroot/etc/

named.conf:

logging {
category lame-servers {null; };
category edns-disabled { null; };

};

I would like to know what I could do to prevent generation of that line?

Thanks,
Jos Chrispijn
___
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: named issue

2009-09-26 Thread Jos Chrispijn

Jeffrey Goldberg wrote:
These are queries your mailservers are making to the spamhaus blocking 
list.
How many queries to the ZEN Spamhaus DNSBL are you making per day?  If 
you exceed their "non-commercial" usage, they will cut you off.


I see.

Thank you all for your suggestions.
Jos Chrispijn
___
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"


Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn
Can someone hint me how I can block ports for let's say 30 minutes if 
someone repeatedly tries to do a SSH login?

I use ipfw as firewall...

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


Re: Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn


From your reply on my message of 29-11-2008 21:47:

An even tighter practice is to turn off all password logins and
use only keyed connections. This is easier than it might seem
though I'll admit I think of ssh as something only a select
number of users may use and thus you know them by name
and what IPs they are permitted to connect on.
I have been thinking of that as well, but don't think I should use that 
yet with the knowledge I have on this.

Do you refer to manual of automatic key connections?

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


Re: Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn

From your reply on my message of 29-11-2008 21:47:


You could also take a look at sshguard.
  

Good suggestion, I will do that.

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


Re: Temporarily blocking ports

2008-11-30 Thread Jos Chrispijn

Thank you all for your help!
Jos Chrispijn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP 5 | pcre extention

2008-12-08 Thread Jos Chrispijn

Dear all,
Can someone tell me why, as of php 5.2.7, pcre extension is distributed 
with the core php5 package, and not as a standalone module anymore?


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


MySQL version upgrade

2009-01-02 Thread Jos Chrispijn

I currently have running:

mysql-client-4.0.27 & mysql-server-4.0.27, who I would like to upgrade 
to mysql-client-5.0.75 & mysql-server-5.0.75


I can imagine that there is a database issue here as the 4.0 records 
might differ from the 5.0 ones.

Is there a way of upgrading smoothly? I did upgrade my databases in advance.

-- best Wishes for 2009 and thank you for your support in the last year.
___
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: MySQL version upgrade [SOLVED]

2009-01-02 Thread Jos Chrispijn


[APseudoUtopia] Uit een eerder bericht van 2-1-2009 17:04 ::

I'd recommend that you read up on the MySQL documentation on the
subject of upgrading.
I don't mean to be mean, but it's not exactly a FreeBSD issue :-P
I ofcourse was referring to the ports part of the whole story, sorry for 
not being clear about this.

What I did:

- Upgrade the MySQL client port and its dependencies first.
- Upgraded mysql-client
 %> portupgrade -o databases/mysql50-client -f mysql-client-\*
- Upgrade mysql-server
 %> portupgrade -o databases/mysql50-server -f mysql-server-\*
- Recompiled everything else that depends on mysql-client so that they 
all link against the upgraded shlib:

 %> portupgrade -Nfi -r mysql-client-\* -x mysql-client -x mysql-server
- Restarted my mysql-server and ran the mysql-upgrade program:
 %> mysql_upgrade -v -b /usr/local -d /var/db/mysql -u root

Then I checked /var/db/mysql/mysite.err to see if there were any obvious 
problems (...):


090102 17:58:45
[Warning] mysql.user table is not updated to new password format; 
Disabling new password usage until mysql_fix_privilege_tables is run


So I did a fix on my SQL tables:
 %> mysql_fix_privilege_tables --password=my_password

mysite.err: 
090102 18:07:39  mysqld started

090102 18:07:39  InnoDB: Started; log sequence number 0 2232580
090102 18:07:39 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.0.75'  socket: '/tmp/mysql.sock'  port: 3306  FreeBSD port: 
mysql-server-5.0.75


After this I tested all mysql client programs and am happy again :-)

-- Jos Chrispijn
___
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: 7.1 : watchdog bge0 timeout ?

2009-01-11 Thread Jos Chrispijn

[Lowell Gilbert] Uit een eerder bericht van 10-1-2009 15:51 ::

Could be hardware trouble, I suppose.
  
I know FreeBSD can detect hardware probs better than other OS'es; but 
why didn't 6.x detect this malfunction then?
I believe Murphy and his law, but for mee it seems a little bit too 
accidentally L-)


regards,
Jos Chrispijn
___
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"


Portupgrade thru SSH session

2009-01-20 Thread Jos Chrispijn
Can someone tell me what I should attend for when I am disconnected in 
the middle of a portupgrade and the terminal session is aborted?
The portupgrade was halted by a [yes/no] prompt, on which I had to 
react. Unfortunately being not present and I having not set my Putty 
keepalive session timeperiod I was disconnected due to no activity on 
this system prompt $-|.
What I did after having logged on again was deleting that specific ruby 
process and some tty processes. Perhaps I should delete some other temp 
files as well?


Thanks,
Jos Chrispijn
___
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: Portupgrade thru SSH session

2009-01-22 Thread Jos Chrispijn


[Josh Carroll]

For future runs, you might consider using something like screen
(/usr/ports/sysutils/screen) so you can resume the session later,
should you get disconnected.
  

I will, thanks for sharing.
Jos
___
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: Bios chip update suggestions

2009-02-14 Thread Jos Chrispijn

Can you set your system clock first L-)
This message is dated 14.3.2009 @ 11:37

Jos Chrispijn

Fbsd1 wrote:

Chris Whitehouse wrote:

Fbsd1 wrote:
I have an desktop manufactured in 2002 by a South Korean company 
Hyunju.

The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?



What do you mean the update url's are customised for windows? The 
bios doesn't know anything about operating system. Most likely you 
could download a dos boot disk image - google, there are plenty 
around - create a bootable floppy and copy your latest bios image and 
bios update program, eg awdflash.exe onto it. Just boot from the 
floppy and run the update.


Just be sure the bios image is really intended for your motherboard 
and don't interrupt the update.


Chris
___
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"





What i mean is all the bio update sites have a utility that runs from 
the website to fetch your bio id string info. This utility will not 
work on a non-windows operating system.

___
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"


  1   2   >