Re: strange reboots

2003-08-22 Thread Dean Strik
zhuravlev alexander wrote:
   We encounter with strange casual reboots of our server.
   Does anyone know any tactics of investigation why
   this happens. 

Perhaps you're suffering from the 'PAE crashes'. Mike Silbersack posted
a patch to the freebsd-stable list today to backout the PAE changes. You
may want to try that patch.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Syslog problem

2003-03-09 Thread Dean Strik
Chuck Rock wrote:
 On Sat, 8 Mar 2003, Michael K. Smith wrote:
  This might be your issue, because you haven't specified the service after
  you subnet.  Try the following:
 
  /usr/sbin/syslogd -a 207.206.185.1/27:* -a 209.83.132.1/27:*

 Accordifn to the man page, that just specifies what port to listen on. By
 default it's 514 syslog port.

No, that's not what it says. I quote:

ipaddr/masklen[:service]
[...]
If specified, _service_ is the name or number of an UDP service (see
services(5)) the source packet must belong to.

In other words, it's the port the remote syslog is sending from, not the
port the local syslogd is listening on.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Changing comment color in vim

2003-03-09 Thread Dean Strik
Wayne Pascoe wrote:
 I use vim for my coding needs, and only have one problem with it. Unless
 I'm using gvim, my comments are a dark blue. This is almost unreadable
 in some light conditions.
 
 Does anyone have a quick hack to change comments to something easier to
 see (e.g. green / yellow) for perl and C ? 

I assume you're using a white-on-black terminal/xterm. You can add
set bg=dark
to your .vimrc or enter that command in vim command mode.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: sed to replace the words

2003-03-12 Thread Dean Strik
Kok Kok wrote:
 Hi all
 
 I have question how to replace words using sed
 
 ./script 61.100 192.168
 
 The script is 
 #!/bin/sh
 sed -e 's/$2/$1/g' file  newfile
 
 The problem is 192.168 can't replace 61.100 in the
 newfile

The single quotes prevent interpolation, the $... are not treated as
variables by the shell. Use double quotes instead:

sed -e s/$2/$1/g file  newfile

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: sed to replace the words

2003-03-12 Thread Dean Strik
Dean Strik wrote:
 Kok Kok wrote:
  Hi all
  
  I have question how to replace words using sed
  
  ./script 61.100 192.168
  
  The script is 
  #!/bin/sh
  sed -e 's/$2/$1/g' file  newfile
  
  The problem is 192.168 can't replace 61.100 in the
  newfile
 
 The single quotes prevent interpolation, the $... are not treated as
 variables by the shell. Use double quotes instead:
 
 sed -e s/$2/$1/g file  newfile

Sidenote: ./script 61.100 192.168
replaces 192.168 by 61.00, which seems to be the opposite of what you
want, so change positions of $1 and $2 if necessary.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: postfix + sasl

2003-03-20 Thread Dean Strik
synrat wrote:
 can someone give me a few pointers on setting up this combination on free
 bsd 4.7 ? I'm using the latest ports and already have postfix running.

http://www.postfix.org/docs.html  lists a number of Postfix+SASL docs.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Fibre Channel disks to two Systems?

2005-09-11 Thread Dean Strik
Danny Braniss wrote:
 hi danny
   you are asking too many questions :-), but w/r to netapp:
 same computer, 1gbE, NFS is about 50% slower than FC.
 btw, iSCSI (still beta) is only slightly faster than NFS
 (note NFS is UDP, iSCSI is TCP).

Of course NFS can be TCP as well. And must be TCP for NFSv4.

 as to reliability, the netapp is worth avery penny (actualy K$ :-), had only 
 one major breakdown in over 10 years.

Same experiences here, with lots of NetApps. I would however not be
happy running PostgreSQL over NFS. With FC/iSCSI, no problem.

-- 
Dean C. Strik Eindhoven University of Technology
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
This isn't right. This isn't even wrong. -- Wolfgang Pauli


pgp087MS2YgwF.pgp
Description: PGP signature