Local DNS Caching not caching on external interface

2006-12-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Dear All,

I am very new to Bind and FreeBSD.

I have just configured a Local DNS server using the built-in Bind 9.3.1
on a FreeBSD 5.4 machine.

My problem is that the machine can cache queries on the localhost and
loop back (127.0.0.1) interface only.

I have a public static IP on this machine too and I can't seem to query
the caching name server from my local network.

In Linux, this is no problem. I just can't seem to get Bind to work as
in my local network. It works only on the loopback interface.

I have checked my firewall but I don't it the problem is with the IPFW 
firewall.

Please shed some light on this issue.


 -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFgRWDVrOl+eVhOvYRAr7EAKCoMYERYmUQr57qpkK/7XE5qQM+UgCeNCi3
kRZITGwKrxNUCrv7oYoNRIc=
=zZ26
-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: Local DNS Caching not caching on external interface

2006-12-14 Thread Christopher Cowart
On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
 Dear All,
 
 I am very new to Bind and FreeBSD.
 
 I have just configured a Local DNS server using the built-in Bind 9.3.1
 on a FreeBSD 5.4 machine.
 
 My problem is that the machine can cache queries on the localhost and
 loop back (127.0.0.1) interface only.
 
 I have a public static IP on this machine too and I can't seem to query
 the caching name server from my local network.
 
 In Linux, this is no problem. I just can't seem to get Bind to work as
 in my local network. It works only on the loopback interface.

The default /etc/namedb/named.conf configuration file for BIND says:

| // If named is being used only as a local resolver, this is a safe default.
| // For named to be accessible to the network, comment this option, specify
| // the proper IP address, or delete this option.
| listen-on   { 127.0.0.1; };

It looks like if you comment out that option, it will listen on * by
default. You could also add the other IP address on which you want named
to listen.

-- 
Chris Cowart
Network and Infrastructure Systems Administrator
RSSP-IT, UC Berkeley
May all your pushes be popped


signature.asc
Description: Digital signature


rc.d script for processes started with /usr/bin/env

2006-12-14 Thread Ashley Moran

Hi

I just wrote a little ruby web server for internal use.  I wrote it  
on my mac to deploy on FreeBSD, so I used #!/usr/bin/env ruby as  
the shebang.  But when I do that, I can't stop the server with my  
rc.d script (below).  If I change them both to /usr/local/bin/ruby I  
can make it work.


Is it possible to use /usr/bin/env like this?

Thanks
Ashley




#!/bin/sh

. /etc/rc.subr

name=prolite_password_server
rcvar=`set_rcvar`

load_rc_config $name

prolite_password_server_enable=${prolite_password_server_enable:=NO}

command=/usr/local/bin/${name}
command_interpreter=/usr/local/bin/ruby

prolite_password_server_user=${prolite_password_server_user:-www}
prolite_password_server_group=${prolite_password_server_group:-www}
pidfile=/var/run/${name}/${name}.pid

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


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze

Ashley Moran wrote:
 Hi
 
 I just wrote a little ruby web server for internal use.  I wrote it on
 my mac to deploy on FreeBSD, so I used #!/usr/bin/env ruby as the
 shebang.  But when I do that, I can't stop the server with my rc.d
 script (below).  If I change them both to /usr/local/bin/ruby I can make
 it work.
 
 Is it possible to use /usr/bin/env like this?
 

All you need to do is to set

command_interpreter=/usr/bin/env

for more information have a look at rc.subr(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local DNS Caching not caching on external interface

2006-12-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 14 Dec 2006 01:08:11 -0800
Christopher Cowart [EMAIL PROTECTED] wrote:

 On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
  Dear All,
  
  I am very new to Bind and FreeBSD.
  
  I have just configured a Local DNS server using the built-in Bind
  9.3.1 on a FreeBSD 5.4 machine.
  
  My problem is that the machine can cache queries on the localhost
  and loop back (127.0.0.1) interface only.
  
  I have a public static IP on this machine too and I can't seem to
  query the caching name server from my local network.
  
  In Linux, this is no problem. I just can't seem to get Bind to work
  as in my local network. It works only on the loopback interface.
 
 The default /etc/namedb/named.conf configuration file for BIND says:
 
 | // If named is being used only as a local resolver, this is a safe
 | default. // For named to be accessible to the network, comment this
 | option, specify // the proper IP address, or delete this option.
 | listen-on   { 127.0.0.1; };
 
 It looks like if you comment out that option, it will listen on * by
 default. You could also add the other IP address on which you want
 named to listen.
 
 -- 
 Chris Cowart
 Network and Infrastructure Systems Administrator
 RSSP-IT, UC Berkeley
 May all your pushes be popped
 

Dear Chris,

Thank you for your help. I did comment and added my public static IP
like the following:


 listen-on   { 202.x.x.x; }; # My Static IP

Now when I do from my local PC:

dig yahoo.com @202.x.x.x , I can do DNS lookups.

But when I try doing that from another computer on my network, I can't
do any DNS lookups.


Is that anything that I miss?


- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
168ArGMkI0+9Qj/MpzFbmUo=
=p9RV
-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: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread Ashley Moran


On 14 Dec 2006, at 12:08, [LoN]Kamikaze wrote:


All you need to do is to set

command_interpreter=/usr/bin/env

for more information have a look at rc.subr(8).



Hmm I've just tried that and all I get is...

[EMAIL PROTECTED] ~]# /usr/local/etc/rc.d/prolite_password_server stop
prolite_password_server not running? (check /var/run/ 
prolite_password_server/prolite_password_server.pid).


Thanks for the suggestion though - I was in too much hurry to get it  
up to go through the rc man pages.


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


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Fabian Keil
Erik Norgaard [EMAIL PROTECTED] wrote:

 I have been thinking to make /home on my laptop encrypted - seems like a 
 good idea if it gets stolen. Now, how safe is this? Not in terms of the 
 strength of the encryption algorithm, but in terms of integrity.

I have no insight on the code, but as nobody else answered,
my response may be better than nothing.
 
 What happens in case of power failure, the battery runs out or system 
 crashes for whatever reason?

I have my home slice encrypted with GELI for several month now
and so far I didn't notice any effects on the data integrity.

I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).

The only inconvenience is that the system boots to single-user
mode if the home slice isn't clean and I then have to fsck it
manually.

At that point the password for the key is already entered,
so I'm not sure why the slice can't be fscked automatically.
It could be the .eli extension, but I didn't investigate this
any further.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Black Lines on my monitor

2006-12-14 Thread P Tyrrell

Hello - Help

About two weeks ago I noticed that there was a shadow appearing on the
monitor alond any black type or dark picture - thinking it wasthe monitor I
swaped it with another and there are still black lines appearing along the
lines of text.

What can I do to get rid of this?
Please bear in mind youre talking to a layman not a professional techie.
thankyou.

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


Re: Newbie on tunnelling

2006-12-14 Thread Chris

The interface configuration looks correct, similar to how i have created a
bridge on my box at startup. Ive never needed to setup any routes at startup
myself; but adding a single route as you need cant be too hard... sorry i
cant be of more help.

Sometimes man pages assume knowledge beyond a beginner (at least ive found
that). But a web search will usually get you the answer quicker than waiting
for someone to give it to you :)

On 13/12/06, Odhiambo Washington [EMAIL PROTECTED] wrote:


So, if I compiled kernel with device gre (FreeBSD 5.5 here, sorry)
then there is no need to load the module via loader.conf, yes?

So in rc.conf. would the following suffice (for hq-office)?

cloned_interfaces=gre0
ifconfig_gre0=inet 10.0.0.1 10.0.0.2 tunnel 62.8.68.94 62.8.82.142 up

How about the static route portions? It's still not clear to me how to
take care of them in rc.conf.


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


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Chad Gross

On 12/14/06, Fabian Keil [EMAIL PROTECTED] wrote:


Erik Norgaard [EMAIL PROTECTED] wrote:

 I have been thinking to make /home on my laptop encrypted - seems like a
 good idea if it gets stolen. Now, how safe is this? Not in terms of the
 strength of the encryption algorithm, but in terms of integrity.

I have no insight on the code, but as nobody else answered,
my response may be better than nothing.

 What happens in case of power failure, the battery runs out or system
 crashes for whatever reason?

I have my home slice encrypted with GELI for several month now
and so far I didn't notice any effects on the data integrity.

I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).

The only inconvenience is that the system boots to single-user
mode if the home slice isn't clean and I then have to fsck it
manually.

At that point the password for the key is already entered,
so I'm not sure why the slice can't be fscked automatically.
It could be the .eli extension, but I didn't investigate this
any further.

Fabian
--
http://www.fabiankeil.de/




Erik,

I also use geli and it works great. I have had power failures as well and
have not lost any data upon reboot.

Fabian,

Yes the manual fsck is a pain. I am not sure why it has to be done manually
either, but I don't think it is just the .eli extension.  Did you notice you
have to specify that it is UFS as well?



Another thing to consider is the performance hit when using geli with a high
encryption. I have mine set to the highest (I think) bit possible and when
transferring anything ~500MB+ it lags the system a bit to do the encryption.


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


Re: Local DNS Caching not caching on external interface

2006-12-14 Thread Chad Gross

On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 14 Dec 2006 01:08:11 -0800
Christopher Cowart [EMAIL PROTECTED] wrote:

 On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
  Dear All,
 
  I am very new to Bind and FreeBSD.
 
  I have just configured a Local DNS server using the built-in Bind
  9.3.1 on a FreeBSD 5.4 machine.
 
  My problem is that the machine can cache queries on the localhost
  and loop back (127.0.0.1) interface only.
 
  I have a public static IP on this machine too and I can't seem to
  query the caching name server from my local network.
 
  In Linux, this is no problem. I just can't seem to get Bind to work
  as in my local network. It works only on the loopback interface.

 The default /etc/namedb/named.conf configuration file for BIND says:

 | // If named is being used only as a local resolver, this is a safe
 | default. // For named to be accessible to the network, comment this
 | option, specify // the proper IP address, or delete this option.
 | listen-on   { 127.0.0.1; };

 It looks like if you comment out that option, it will listen on * by
 default. You could also add the other IP address on which you want
 named to listen.

 --
 Chris Cowart
 Network and Infrastructure Systems Administrator
 RSSP-IT, UC Berkeley
 May all your pushes be popped


Dear Chris,

Thank you for your help. I did comment and added my public static IP
like the following:


listen-on   { 202.x.x.x; }; # My Static IP

Now when I do from my local PC:

dig yahoo.com @202.x.x.x , I can do DNS lookups.

But when I try doing that from another computer on my network, I can't
do any DNS lookups.


Is that anything that I miss?


- --


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
168ArGMkI0+9Qj/MpzFbmUo=
=p9RV
-END PGP SIGNATURE-
___




You have to tell the other machines on your network to use the IP of the
local DNS server for domain name resolution. If you are using DHCP you can
configure your DHCP server to give this information with the IP. Otherwise
you must manually do it, which will be different between operating systems.

HINT: In FreeBSD add the IP of the DNS server to /etc/resolve.conf

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


Re: Black Lines on my monitor

2006-12-14 Thread Renegade Penguin
If it's the video card, it very likely could be a speck of dust across 
some of the traces on any number of chips on the card.  Taking out the 
video card, blowing it off, and re-seating it may help.  A thorough 
cleaning out of the case could help as well.


RP

P Tyrrell wrote:

Hello - Help

About two weeks ago I noticed that there was a shadow appearing on the
monitor alond any black type or dark picture - thinking it wasthe 
monitor I
swaped it with another and there are still black lines appearing along 
the

lines of text.

What can I do to get rid of this?
Please bear in mind youre talking to a layman not a professional techie.
thankyou.

Paul

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


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze
Ashley Moran wrote:
 Hmm I've just tried that and all I get is...
 
 [EMAIL PROTECTED] ~]# /usr/local/etc/rc.d/prolite_password_server stop
 prolite_password_server not running? (check
 /var/run/prolite_password_server/prolite_password_server.pid).

Are you certain that this is the pidfile used by your server? Are you aware 
that the service is responsible for creating the pidfile, not rc.subr?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


remote syslog to specific file

2006-12-14 Thread bsd

Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among them :


+fw.xxx.yyy
local0.*/var/log/sonic.log
+@

-- not working


local0.*/var/log/sonic.log

-- not working either


In /var/log/messages my log are of that format :

Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time=2006-12-14  
14:50:45 fw=80.98.206.97 pri=5 c=64 m=36 msg=TCP connection  
dropped n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee  
dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135




Any help would be welcome.


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread Ashley Moran


On 14 Dec 2006, at 13:49, [LoN]Kamikaze wrote:

Are you certain that this is the pidfile used by your server? Are  
you aware that the service is responsible for creating the pidfile,  
not rc.subr?


Yes, on both counts.  Works fine with

#!/usr/local/bin/ruby
and
command_interpreter=/usr/local/bin/ruby

but not

#!/usr/bin/env ruby
and
command_interpreter=/usr/bin/env


Not that important really (now I've got it working one way), just  
strange



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


Re: how do I see security logs without turning on sendmail?

2006-12-14 Thread Lane
On Thursday 14 December 2006 02:08, James Long wrote:
  Date: Wed, 13 Dec 2006 17:33:32 -0600
  From: Lane [EMAIL PROTECTED]
  Subject: Re: how do I see security logs without turning on sendmail?
  To: freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain;  charset=iso-8859-1
 
  Tuareg,
 
  clearly sendmail is running.  That is indicated by sendmail[41626] in
  your /var/log/sendmail log.
 
  The question, of course, is how does it get started.

 This is quite the WAG here, but can sendmail be started on-demand
 from inetd.conf?
It may be a WAG, but it may explain all of what is going on.  mail would 
attempt to create a connection to localhost, inetd would start sendmail to 
accept the connection, sendmail would route the message and then die.

Tuareg, check out /etc/inetd.conf for an entry containing the word sendmail

And let us know what you find.

lane

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


Dell 2950 1950

2006-12-14 Thread Peter Grigor

I've just gotten some quotes on a few dell machines and I was wondering now
if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
Intel chips are my worries :)

Anyone have any experiences they'd like to share? Anyone successfully
running mysql on an IA64 architecture with Freebsd?

Thanks for any feedback,

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


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze

Ashley Moran wrote:
 On 14 Dec 2006, at 13:49, [LoN]Kamikaze wrote:
 Are you certain that this is the pidfile used by your server? Are you
 aware that the service is responsible for creating the pidfile, not
 rc.subr?
 
 Yes, on both counts.  Works fine with
 
 #!/usr/local/bin/ruby
 and
 command_interpreter=/usr/local/bin/ruby
 
 but not
 
 #!/usr/bin/env ruby
 and
 command_interpreter=/usr/bin/env
 
 
 Not that important really (now I've got it working one way), just strange
 
 
 Ashley

Maybe env replaces itself with the new process. That would explain this 
behaviour.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-14 Thread Jerry McAllister
On Wed, Dec 13, 2006 at 10:51:36PM -0600, Lane wrote:

 Tuareg,
 
 I can't find the name of the quy who straightened me out on the fuction of 
 squid, but kudo's to him.  
 
 Clearly squid is not the culprit.
 
 But I've done some eyeballing on /usr/sbin/periodic, and I think maybe it is 
 the culprit.
 
 First lets have a look at your /etc/crontab file.  Specifically we are 
 interested in the lines which contain the term periodic
 
 If these lines include parameters, which are passed to /usr/sbin/periodic, 
 then they may be the reason for your periodic emails being sent WITHOUT 
 sendmail being enabled by the normal boot process.
 
 Take a look at /usr/sbin/periodic.  Note that it uses values 
 in /etc/defaults/periodic.conf as well as any override variables 
 in /etc/rc.conf.  It could also be overridden in other ways such as by 
 defining the value source_periodic_confs_defined and periodic_conf_files 
 but this should have already showed up in /etc/rc.conf.
 
 While you are examining /usr/sbin/periodic, look for the term output
 
 In my copy of that script there is a comment that looks like:
 
 #Where's our output going?
 
 Then there is a case block:
 
 case $output in
 /*) pipe=cat $output;;
 ) pipe=cat;;
 *)  pipe=mail -s '$host ${arg##*/} run output' $output;;
 esac
 
 
 If your predecessor had modified this script or, perhaps overridden it 
 using /etc/defaults/periodic.conf, then he may have either changed the *) 
 default case, or supplied parameters from /etc/crontab 
 (or /etc/defaults/periodic.conf) which could invoke sendmail directly.  If he 
 used override variables, then he would probably also have added a case for ) 
 pipe=sendmail -arg1 arg2 argn
 
 This would account for sendmail being completely disabled in /etc/rc.conf AND 
 for the messages being sent out via sendmail.  However, as I read it, the 
 behaviour you have reported would only occur if /usr/sbin/periodic was 
 actually modified, as the use of the $output variables does NOT seem to 
 allow for invocation of sendmail directly.  And I don't believe that mail 
 can force invocation of sendmail (although I may be wrong, as the man page 
 does imply that mail will use any means available to get the message out).
 
 If this is the case (i.e. if mail is invoking sendmail directly) you could 
 check it by trying to send mail from the command line on one of the servers 
 that actually does what you want it to do.  If it works, and if there are NO 
 modifications to /usr/sbin/periodic or override defaults 
 in /etc/defaults/periodic.conf, then it will be safe to assume that 
 this feature has been properly quashed in 6.x.  You would then need to 
 follow the procedures for setting up sendmail for outgoing-only, as many have 
 already recommended.

I haven't followed this whole thread so I may be jumping in to the
wrong place, but...
Somewhere it is documented - I have read it - that various utilities
such as mail invoke single instances of sendmail to transfer their
 _outgoing only_ messages.   I think, in those cases, sendmail clears
the mail queue before going away.   They do not start sendmail as a
daemon or to receive email.

Probably some searching will find that documentation.

jerry

 
 In any case, the behaviour you desire would only work properly by making the 
 appropriate changes to /etc/mail/hostname|freebsd.mc, (i.e. SMART_HOST 
 and/or HUB settings), and then running make install in /etc/mail. (And this 
 is always going to be the case where sendmail is concerned)
 
 I hope this information leads you to a resolution, as it has been a great 
 learning experience for me ... but my brain hurts :)
 
 lane
 ___
 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: how do I see security logs without turning on sendmail?

2006-12-14 Thread Jerry McAllister
On Thu, Dec 14, 2006 at 12:08:23AM -0800, James Long wrote:

  Date: Wed, 13 Dec 2006 17:33:32 -0600
  From: Lane [EMAIL PROTECTED]
  Subject: Re: how do I see security logs without turning on sendmail?
  To: freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain;  charset=iso-8859-1
  
  Tuareg,
  
  clearly sendmail is running.  That is indicated by sendmail[41626] in 
  your /var/log/sendmail log.
  
  The question, of course, is how does it get started.
 
 This is quite the WAG here, but can sendmail be started on-demand 
 from inetd.conf?

It probably could, but I don't think that is the way it is done normally.
Take a look in /etc/defaults/rc.conf  at the stuff for sendmail
and then note what overrides you have put in /etc/rc.conf
Also, check out /etc/rc.sendmail

jerry

 ___
 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: Dell 2950 1950

2006-12-14 Thread Bill Moran
In response to Peter Grigor [EMAIL PROTECTED]:

 I've just gotten some quotes on a few dell machines and I was wondering now
 if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
 Intel chips are my worries :)
 
 Anyone have any experiences they'd like to share? Anyone successfully
 running mysql on an IA64 architecture with Freebsd?

We're in the early stages of deployment with these.  None of them are
actually in production yet, but we're in the final stages of putting
them there.

6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
or wait for 6.2.  Otherwise, everything 64-bit works as far as we
can tell.  We're a little grumpy that we don't have any way to
monitor the RAID (our Dell x850 systems use megarc to automatically
signal us if a drive fails)  We've also had occasional problems
with the reboot and shutdown commands not completing, but it's been
so intermittent that we can't seem to isolate the cause.  Symptom
is that it gets to the final stage of reboot/shutdown and then waits
indefinitely without issuing the final ACPI command.

Do some searches on my name and/or those topics on the stable@
list archives for more details.

-- 
Bill Moran
Collaborative Fusion Inc.

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


Re: Unable to build jackit-0.102.20

2006-12-14 Thread Kay Abendroth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Gerard Seibert wrote:
 On Friday December 08, 2006 at 08:50:36 (AM) Kay Abendroth wrote:
 
 
 Could you comment all compiler flags you set in /etc/make.conf and rerun
 the build? Please post your build-log again after that if sth. changes.
 
 The only global setting in the /etc/make.conf file is:
 
   NO_PROFILE=true
   CFLAGS=-pipe
 
 I do have a couple of other settings, but they are nested
 
   .if
   mumble
   .endif
 
 I fail to see how that might effect it. Besides, they were present when
 I first installed my system.
 
 Anyway, I will give it a try tomorrow. I don't have time this evening.
 


I saw this in your build log:
[...]
creating jackd
echo #define JACKD_MD5_SUM \`md5sum .libs/jackd | awk '{print $1}'`\
 jack_md5.h
md5sum: not found
make  all-am
[...]

I've check that on my machine I don't get this error and I have a md5sum
command installed (comes with the base system I guess).


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)

iQEVAwUBRYF03/6xkxz4DngiAQjkDAgAr9mEVz3dQJzNQ0vxZeYcloGpABAvTrFu
d+nibpd0wk0SZQN5byugy02TwlPlPzTMQNfWLQ2Ovp4/t5AXar5o4pRq/eKEzjvW
yF8sJqMl+xKhnKjGW4u/hObFZLG9tCwsI+gWohKpNVKMCx+w3Ls0f875UGkzQvt8
jlgT9NH7J3s6Zfm76JiaySHkOHvKICo72R7Z7JY8Wtt21X65dEMdqTV1j77NBbgW
3aCOkg9FNnlpVpAUvybcLcdgMb4GlxHsI8dYFQ8PqUBizvGgZMrxE3ZgKV4AFefH
9fnbhtD5FOLhs7CM3sdwAseBzKAEM9PSygYqrpP/akE+FnoY/UNiqQ==
=KTpo
-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]


EVGA e-Geforce 7300GT

2006-12-14 Thread Dan Sikorsky

Hey, Im planning on installing this card tonite

freebsd 6.1 i386

Im using a crappy radeon x300se right now, which has the Radeon choice in
xorgconfig, however theres no geforce choice.
Now, I've read that nvidia is the way to go for freebsd as they have 
Drivers!


so how do I go about this, I can pkg_add these drivers? and then how do 
I tune X

to use them

thanks :-D
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc.  Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com
http://Cupid.com/

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


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Hugo Silva

Chad Gross wrote:

On 12/14/06, Fabian Keil [EMAIL PROTECTED] wrote:


Erik Norgaard [EMAIL PROTECTED] wrote:

 I have been thinking to make /home on my laptop encrypted - seems 
like a
 good idea if it gets stolen. Now, how safe is this? Not in terms of 
the

 strength of the encryption algorithm, but in terms of integrity.

I have no insight on the code, but as nobody else answered,
my response may be better than nothing.

 What happens in case of power failure, the battery runs out or system
 crashes for whatever reason?

I have my home slice encrypted with GELI for several month now
and so far I didn't notice any effects on the data integrity.

I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).

The only inconvenience is that the system boots to single-user
mode if the home slice isn't clean and I then have to fsck it
manually.

At that point the password for the key is already entered,
so I'm not sure why the slice can't be fscked automatically.
It could be the .eli extension, but I didn't investigate this
any further.

Fabian
--
http://www.fabiankeil.de/




Erik,

I also use geli and it works great. I have had power failures as well and
have not lost any data upon reboot.

Fabian,

Yes the manual fsck is a pain. I am not sure why it has to be done 
manually
either, but I don't think it is just the .eli extension.  Did you 
notice you

have to specify that it is UFS as well?



Another thing to consider is the performance hit when using geli with 
a high
encryption. I have mine set to the highest (I think) bit possible and 
when
transferring anything ~500MB+ it lags the system a bit to do the 
encryption.



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


Just another reply to say it works fine, I have a /private partition on 
my laptop using GELI for months, without any problems.


Since it's not /home (so, not automounted), I have a little script to 
mount it, which includes a fsck (with some special flags, I'd have to 
turn the laptop on as I don't remember them, but man fsck should reveal 
them right away).



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


Re: Unable to build jackit-0.102.20

2006-12-14 Thread Gerard Seibert
On Thursday December 14, 2006 at 10:59:27 (AM) Kay Abendroth wrote:


 Gerard Seibert wrote:
  On Friday December 08, 2006 at 08:50:36 (AM) Kay Abendroth wrote:
  
  
  Could you comment all compiler flags you set in /etc/make.conf and rerun
  the build? Please post your build-log again after that if sth. changes.
  
  The only global setting in the /etc/make.conf file is:
  
  NO_PROFILE=true
  CFLAGS=-pipe
  
  I do have a couple of other settings, but they are nested
  
  .if
  mumble
  .endif
  
  I fail to see how that might effect it. Besides, they were present when
  I first installed my system.
  
  Anyway, I will give it a try tomorrow. I don't have time this evening.
  
 
 
 I saw this in your build log:
 [...]
 creating jackd
 echo #define JACKD_MD5_SUM \`md5sum .libs/jackd | awk '{print $1}'`\
  jack_md5.h
 md5sum: not found
 make  all-am
 [...]
 
 I've check that on my machine I don't get this error and I have a md5sum
 command installed (comes with the base system I guess).

Someone, the maintainer I think, supplied me with a patch that corrected
the problem. Simply place the patch in the ../jack/files directory and
the problem is gone. Apparently, this had something to do with the fact
that I did not have a: CFLAGS=0 setting in the /etc/make.conf file.


--- drivers/dummy/dummy_driver.c.orig   Sun Dec 10 16:31:55 2006
+++ drivers/dummy/dummy_driver.cSun Dec 10 16:32:27 2006
@@ -41,10 +41,11 @@
 /* this is used for calculate what counts as an xrun */
 #define PRETEND_BUFFER_SIZE 4096
 
+#define VIDEO_SYNC_PERIOD 48000 / 30
+
 void
 FakeVideoSync( dummy_driver_t *driver )
 {
-static const int VIDEO_SYNC_PERIOD = 48000 / 30;
 static int vidCounter = VIDEO_SYNC_PERIOD;
 
 int period = driver-period_size;


-- 
Gerard

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


Re: Install via ports...

2006-12-14 Thread RW
On Thu, 14 Dec 2006 01:26:04 +0100
Bastiaan Welmers [EMAIL PROTECTED] wrote:

 You can do make fetch to fetch the required package distfiles first,
 or
 make fetch-recursive to fetch all the required distfiles of all
 packages required by this package. see man ports for other targets.

Use make checksum-recursive not make fetch-recursive
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Black Lines on my monitor

2006-12-14 Thread Dan Nelson
In the last episode (Dec 14), P Tyrrell said:
 About two weeks ago I noticed that there was a shadow appearing on
 the monitor alond any black type or dark picture - thinking it wasthe
 monitor I swaped it with another and there are still black lines
 appearing along the lines of text.

Are they always vertial shadows, just to the right of the image/text?
Could be due to a badly plugged-in VGA cable, a cheap KVM switchbox or
cheap cables, or a too-high refresh rate.  Possible solutions: wiggle
the cable plugs, try plugging the monitor directly into the PC if you
have a switchbox, or lower your refresh rate (the flicker gets annoying
to me below than 75Hz though).  If you have an LCD monitor and are
using a VGA cable, getting a video card with DVI outputs will fix the
problem too.

-- 
Dan Nelson
[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: processes not getting fair share of available disk I/O

2006-12-14 Thread Dieter
   Mutex profiling would show if there is a mutex somehow getting in the
   way of your I/O (e.g. if Giant is somehow being forced).  I dont think
   it would show anything though.  You can try to study interrupt issues
   (e.g. look for an interrupt storm during I/O) with vmstat -i.  Other
   than that you'd probably have to get your hands dirtier in the code.
 =20
 maxtotal   count   avg cnt_hold cnt_lock name
  1158725  11853301596   74200 /usr/src=
 /sys/amd64/amd64/pmap.c:1563 (pmap)
  1158721  11665931596   7301   17 /usr/src=
 /sys/amd64/amd64/pmap.c:1562 (vm page queue mutex)
   90598   578551  199304 234 /usr/src/=
 sys/kern/kern_sx.c:157 (lockbuilder mtxpool)
   83234   967612  124000 700 /usr/src/=
 sys/vm/vm_fault.c:906 (vm object)

  If I'm reading the man page right, pmap holds a lock for over 1 second?
 
 In total, over 1600 operations.  It's not an issue.

The man page says:

max   The longest continuous hold time in microseconds.

Which together with the total number, would imply 1 time it took 1.158725 
seconds,
and the other 1595 times averaged 16.7 usec, which seems unlikely.

Am I misinterpreting the man page?

 The rest looks fine at a quick glance too.

What should I be looking for?  Do I need to collect stats for a long
period of time, or is a few seconds enough?  Dd can kill the transfer
in about 3 seconds.

Here are stats with the Ethernet-disk program competing with dd from /dev/zero
to a file, sorted by cnt_hold and by cnt_lock.

   maxtotal   count   avg cnt_hold cnt_lock name
89  6095988 1089530 5  536  979 
/usr/src/sys/kern/kern_intr.c:546 (Giant)
  2649  1950594  360310 5  4490 
/usr/src/sys/netinet/tcp_usrreq.c:598 (tcp)
 13553  2348809   2361099  3502 
/usr/src/sys/kern/kern_sysctl.c:1280 (Giant)
36   230008   85274 2  141  241 
/usr/src/sys/kern/kern_timeout.c:258 (Giant)
   453   300251  180186 1   890 
/usr/src/sys/kern/uipc_socket.c:1011 (so_rcv)
199878  23516414706   499   884 
/usr/src/sys/kern/kern_synch.c:236 (Giant)
  2138   337086  180186 1   850 
/usr/src/sys/kern/uipc_socket.c:1255 (so_rcv)
67  1120044  722561 1   830 
/usr/src/sys/kern/subr_taskqueue.c:219 (taskqueue)
57   219660  134214 1   70  102 
/usr/src/sys/netinet/tcp_subr.c:1404 (tcp)
73  1830084  18034410   650 
/usr/src/sys/dev/bge/if_bge.c:3321 (bge0)
   472   272697  180155 1   630 
/usr/src/sys/kern/uipc_socket.c:1401 (so_rcv)
77   541532  361447 1   480 
/usr/src/sys/kern/subr_taskqueue.c:204 (taskqueue)
  519826977 244   110   261 
/usr/src/sys/kern/kern_exit.c:233 (Giant)
50   545822  361062 1   260 
/usr/src/sys/net/netisr.c:233 (ip_inq)
  1649   287241  102509 2   24   30 
/usr/src/sys/kern/vfs_bio.c:1397 (buf queue lock)
 20981   212022931722   192 
/usr/src/sys/vm/vm_fault.c:683 (vm object)
65261623656 7   184 
/usr/src/sys/kern/kern_conf.c:324 (Giant)
  7546   218853 412   531   171 
/usr/src/sys/amd64/amd64/pmap.c:2481 (vm page queue mutex)
   11013982 24457   170 
/usr/src/sys/kern/kern_exit.c:385 (Giant)
   491   278319  170512 1   162 
/usr/src/sys/kern/kern_synch.c:238 (process lock)
5227355227912   169 
/usr/src/sys/net/netisr.c:339 (Giant)
   57627530137919   15 5307 
/usr/src/sys/kern/kern_conf.c:312 (Giant)
7575460134456   150 
/usr/src/sys/dev/bge/if_bge.c:3088 (bge0)
  390349655   11221 4   119 
/usr/src/sys/vm/vnode_pager.c:1169 (vm object)
   65888609   48732 1   114 
/usr/src/sys/kern/vfs_bio.c:309 (needsbuffer lock)
   182   198222  127109 1   114 
/usr/src/sys/vm/vm_fault.c:907 (vm page queue mutex)
  5883   382321  103647 3   100 
/usr/src/sys/kern/vfs_bio.c:2350 (vnode interlock)
   27334597   19322 194 
/usr/src/sys/kern/vfs_bio.c:1297 (buf queue lock)
82   275004  180344 191 
/usr/src/sys/net/if_ethersubr.c:408 (bge0)
   576   206209   67474 38 

Re: EVGA e-Geforce 7300GT

2006-12-14 Thread Vulpes Velox
On Thu, 14 Dec 2006 11:12:02 -0500
Dan Sikorsky [EMAIL PROTECTED] wrote:

 Hey, Im planning on installing this card tonite
 
 freebsd 6.1 i386
 
 Im using a crappy radeon x300se right now, which has the Radeon
 choice in xorgconfig, however theres no geforce choice.
 Now, I've read that nvidia is the way to go for freebsd as they
 have Drivers!
 
 so how do I go about this, I can pkg_add these drivers? and then
 how do I tune X
 to use them

Pkg_add should be perfectly fine. Do a man on X and look at the
-configure option. From there you can easily tweak that file to your
liking.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PowerEdge 6850 Install

2006-12-14 Thread d.hill
I've got an issue with getting FreeBSD to recognize past 
four gigs of ram. The server we have has 12 gig. I am able 
to successfully recompile the kernel and get the four 
CPU's to show up that are installed in the server.


I've taken and attempted to compile the PAE kernel file 
and every time the server attempts to boot to the default 
option on the standard boot menu, the server reboots 
itself. This is a continuous cycle.


Can anyone direct me to what I need to do for having the 
server recognize all 12 gig? I've seen threads on using 
the ia64 install, however the install notes state it is 
for the Itanium and Itanium 2 CPU's. Attempting to boot 
from the first ISO CD doesn't do anything.


The server is a PowerEdge 6850 with four 3.0ghz DualCore 
Intel Zeon processors with 12 gig ram. Perc4 onboard 
controller with five 73gig 10K RPM drives.


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


JAVA plugin for linux-seamonkey

2006-12-14 Thread probsd org
I have the linux-seamonkey port built and I am trying
to 
add the java plugin. I installed the java/diablo-jre15
and made a symlink from
/usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
to /usr/local/lib/linux-seamonkey/plugins/ as well as
$HOME/.mozilla/plugins yet about:plugins in seamonkey
isn't showing java support. I even tried the
diablo-jdk15 libjavaplugin_oji.so to no avail.

Michael


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Frank Staals

Hey...,

Is there a utility to display the dependencies of a port which have yet 
to be installed ? I know you can get a complete dependency list on 
freebsd.org/ports , pkg_info -r or just looking in the files in the 
ports dir. But is there a command to display only the dependencies which 
haven't been installed on your system yet ? I also looked at pkg_add -n 
but it immediately starts fetching the packages needed. I don't want to 
start downloading the complete package just because I want a list of 
ports I haven't installed yet.


Or is the only way making a diff between the pkg_info -r output and your 
pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r 
flag on a not-yet-installed-port to only get a list of the dependencies 
instead of downloading the complete package ? Or is there just an other 
utility which can display this information which I'm not aware of ?


Thanks in advance,

--
-Frank Staals


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


Re: PowerEdge 6850 Install

2006-12-14 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 I've got an issue with getting FreeBSD to recognize past 
 four gigs of ram. The server we have has 12 gig. I am able 
 to successfully recompile the kernel and get the four 
 CPU's to show up that are installed in the server.
 
 I've taken and attempted to compile the PAE kernel file 
 and every time the server attempts to boot to the default 
 option on the standard boot menu, the server reboots 
 itself. This is a continuous cycle.

One of the required drivers probably doesn't work right with PAE.
I don't know how well PAE is supported anymore, now that amd64
is stable.

 Can anyone direct me to what I need to do for having the 
 server recognize all 12 gig? I've seen threads on using 
 the ia64 install, however the install notes state it is 
 for the Itanium and Itanium 2 CPU's. Attempting to boot 
 from the first ISO CD doesn't do anything.

You want the amd64 version.

-- 
Bill Moran
Collaborative Fusion Inc.

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


Re: processes not getting fair share of available disk I/O

2006-12-14 Thread Kris Kennaway
On Thu, Dec 14, 2006 at 09:07:35AM +, Dieter wrote:
Mutex profiling would show if there is a mutex somehow getting in the
way of your I/O (e.g. if Giant is somehow being forced).  I dont think
it would show anything though.  You can try to study interrupt issues
(e.g. look for an interrupt storm during I/O) with vmstat -i.  Other
than that you'd probably have to get your hands dirtier in the code.
  =20
  maxtotal   count   avg cnt_hold cnt_lock name
   1158725  11853301596   74200 /usr/src=
  /sys/amd64/amd64/pmap.c:1563 (pmap)
   1158721  11665931596   7301   17 /usr/src=
  /sys/amd64/amd64/pmap.c:1562 (vm page queue mutex)
90598   578551  199304 234 /usr/src/=
  sys/kern/kern_sx.c:157 (lockbuilder mtxpool)
83234   967612  124000 700 /usr/src/=
  sys/vm/vm_fault.c:906 (vm object)
 
   If I'm reading the man page right, pmap holds a lock for over 1 second?
  
  In total, over 1600 operations.  It's not an issue.
 
 The man page says:
 
   max   The longest continuous hold time in microseconds.
 
 Which together with the total number, would imply 1 time it took 1.158725 
 seconds,
 and the other 1595 times averaged 16.7 usec, which seems unlikely.
 
 Am I misinterpreting the man page?

Sorry, yes.  Nothing else contended for it though, so it doesn't
appear to be a source of performance problems - it is probably a
secondary effect from something else.  I guess you're running some old
version of FreeBSD since those line numbers don't correspond to
anything reasonable in the current 6.x source, so I dunno what
exactly.

  The rest looks fine at a quick glance too.
 
 What should I be looking for?  Do I need to collect stats for a long
 period of time, or is a few seconds enough?  Dd can kill the transfer
 in about 3 seconds.

You need to make sure your sampling while the system is in the bad
state.

A mutex that has a lot of acquisitions and a lot of contention for
those acquisitions is a performance bottleneck.  Nothing below falls
into that class - in particular it's definitely not Giant causing
performance loss to the filesystem.

Still looks like it's a driver and/or hardware problem, but you'd need
specialized knowledge to proceed with debugging it.

 Here are stats with the Ethernet-disk program competing with dd from 
 /dev/zero
 to a file, sorted by cnt_hold and by cnt_lock.
 
maxtotal   count   avg cnt_hold cnt_lock name
 89  6095988 1089530 5  536  979 
 /usr/src/sys/kern/kern_intr.c:546 (Giant)
   2649  1950594  360310 5  4490 
 /usr/src/sys/netinet/tcp_usrreq.c:598 (tcp)
  13553  2348809   2361099  3502 
 /usr/src/sys/kern/kern_sysctl.c:1280 (Giant)
 36   230008   85274 2  141  241 
 /usr/src/sys/kern/kern_timeout.c:258 (Giant)
453   300251  180186 1   890 
 /usr/src/sys/kern/uipc_socket.c:1011 (so_rcv)
 199878  23516414706   499   884 
 /usr/src/sys/kern/kern_synch.c:236 (Giant)
   2138   337086  180186 1   850 
 /usr/src/sys/kern/uipc_socket.c:1255 (so_rcv)
 67  1120044  722561 1   830 
 /usr/src/sys/kern/subr_taskqueue.c:219 (taskqueue)
 57   219660  134214 1   70  102 
 /usr/src/sys/netinet/tcp_subr.c:1404 (tcp)
 73  1830084  18034410   650 
 /usr/src/sys/dev/bge/if_bge.c:3321 (bge0)
472   272697  180155 1   630 
 /usr/src/sys/kern/uipc_socket.c:1401 (so_rcv)
 77   541532  361447 1   480 
 /usr/src/sys/kern/subr_taskqueue.c:204 (taskqueue)
   519826977 244   110   261 
 /usr/src/sys/kern/kern_exit.c:233 (Giant)
 50   545822  361062 1   260 
 /usr/src/sys/net/netisr.c:233 (ip_inq)
   1649   287241  102509 2   24   30 
 /usr/src/sys/kern/vfs_bio.c:1397 (buf queue lock)
  20981   212022931722   192 
 /usr/src/sys/vm/vm_fault.c:683 (vm object)
 65261623656 7   184 
 /usr/src/sys/kern/kern_conf.c:324 (Giant)
   7546   218853 412   531   171 
 /usr/src/sys/amd64/amd64/pmap.c:2481 (vm page queue mutex)
11013982 24457   170 
 /usr/src/sys/kern/kern_exit.c:385 (Giant)
491   278319  170512 1   162 
 /usr/src/sys/kern/kern_synch.c:238 (process lock)
 5227355227912   169 
 /usr/src/sys/net/netisr.c:339 (Giant)
57627530137919

Re: JAVA plugin for linux-seamonkey

2006-12-14 Thread Chad Gross

On 12/14/06, probsd org [EMAIL PROTECTED] wrote:


I have the linux-seamonkey port built and I am trying
to
add the java plugin. I installed the java/diablo-jre15
and made a symlink from
/usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
to /usr/local/lib/linux-seamonkey/plugins/ as well as
$HOME/.mozilla/plugins yet about:plugins in seamonkey
isn't showing java support. I even tried the
diablo-jdk15 libjavaplugin_oji.so to no avail.

Michael



Since you are running a Linux binary, you have to use a Linux version of
Java. Try installing one of the Linux JDK's (e.g. linux-blackdown-jdk14).

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


DarwinStreamingServer

2006-12-14 Thread Kris Anderson
Hey there folks,

Is anybody using the port DarwinStreamingServer?

Got the beast installed, easy enough.

Problem is that when creating mp3 playlist it reports
an error has occured. Check the error logs and there's
no entry.

Tried converting the mp3s to mp4s (using Nero's media
converter) and use Media playlist but it doesn't like
that either.

Help is greatly appreciated.

Thanks. :)


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nfs_client_enable=YES usage

2006-12-14 Thread Frank Staals
I am running a nfs-client and nfs-server here for quite some time and 
I'm very happy about it. The client is my laptop ( running 6.1-RELEASE ) 
and the server a 6.0-STABLE machine. I have enabled nfs_client with 
nfs_client_enable=YES on my FreeBSD laptop as stated in the handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html 
allthough when I'm not at home I notice FreeBSD halting during boot 
after NFS access cache time=2 , when I hit ctrl+c it continues fine. 
Since I always mount my NFS dirs manually I started wondering about how 
usefull the entry in /etc/rc.conf was. So I quoted out 
nfs_client_enable=YES in /etc/rc.conf and I still could mount my nfs 
dirs perfectly


So my question was: Is the entry in rc.conf only needed when mounting a 
nfs dir at boot ? or is it not needed at all ( since my test proved it 
isn't needed when you mount the dirs manually after boot )


.. now I have yet to figure out why my ndis NIC won't work when 
disableing nfs_client :S 



--
-Frank Staals


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


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Chad Gross

On 12/14/06, Frank Staals [EMAIL PROTECTED] wrote:


Hey...,

Is there a utility to display the dependencies of a port which have yet
to be installed ? I know you can get a complete dependency list on
freebsd.org/ports , pkg_info -r or just looking in the files in the
ports dir. But is there a command to display only the dependencies which
haven't been installed on your system yet ? I also looked at pkg_add -n
but it immediately starts fetching the packages needed. I don't want to
start downloading the complete package just because I want a list of
ports I haven't installed yet.

Or is the only way making a diff between the pkg_info -r output and your
pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r
flag on a not-yet-installed-port to only get a list of the dependencies
instead of downloading the complete package ? Or is there just an other
utility which can display this information which I'm not aware of ?

Thanks in advance,

--
-Frank Staals


___




Yes, read man ports before asking :
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

cd to the dir of the port you wish to know the dependencies of and issue one
or both of these commands:

*pretty-print-run-depends-list*, *pretty-print-build-depends-list*
  Print a list of all the compile and run dependencies,
  and dependencies of those dependencies.


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


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Randy Pratt
On Thu, 14 Dec 2006 19:10:27 +0100
Frank Staals [EMAIL PROTECTED] wrote:

 Hey...,
 
 Is there a utility to display the dependencies of a port which have yet 
 to be installed ? I know you can get a complete dependency list on 
 freebsd.org/ports , pkg_info -r or just looking in the files in the 
 ports dir. But is there a command to display only the dependencies which 
 haven't been installed on your system yet ? I also looked at pkg_add -n 
 but it immediately starts fetching the packages needed. I don't want to 
 start downloading the complete package just because I want a list of 
 ports I haven't installed yet.
 
 Or is the only way making a diff between the pkg_info -r output and your 
 pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r 
 flag on a not-yet-installed-port to only get a list of the dependencies 
 instead of downloading the complete package ? Or is there just an other 
 utility which can display this information which I'm not aware of ?

I don't know of a utility that does that function.  Like you, I often
want to know what I'm committing to when installing a new port so I
wrote a small script to do just that:

what_do_i_need.sh
=
#!/bin/sh
#titleList needed ports not already installed/title

portsdir=`make -V PORTSDIR`
pkgdbdir=`make -V PKG_DBDIR`
indexfile=`make -V INDEXFILE`

origin_list=`pwd` `make all-depends-list`

for origin in ${origin_list}; do
#  echo ORIGIN: ${origin}
   pkg_name=`grep |${origin}| ${portsdir}/${indexfile} \
  | cut -d | -f 1`
   padding=$(( 50 - `echo ${origin} | wc -c` +1))
   if [ ! -e ${pkgdbdir}/${pkg_name} ]; then
  printf  NEED: ${origin}%${padding}c${pkg_name}\n  
   fi
done
=

Put it in your path somewhere, chmod to executable and use like:
# cd xawtv
# what_do_i_need.sh 
 NEED: /usr/ports/multimedia/xawtv   xawtv-3.95_1
 NEED: /usr/ports/x11-fonts/tv-fonts tv-fonts-1.1

It will only list the needed ports butyou can modify it to do as
you want.  Its probably a wise idea to make sure all ports have
been updated to match your ports tree.

HTH,

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


Re: remote syslog to specific file

2006-12-14 Thread David Robillard

Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among them :

 +fw.xxx.yyy
 local0.*   /var/log/sonic.log
 +@
-- not working

 local0.*   /var/log/sonic.log
-- not working either


In /var/log/messages my log are of that format :

 Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time=2006-12-14
 14:50:45 fw=80.98.206.97 pri=5 c=64 m=36 msg=TCP connection
 dropped n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee
 dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135



Any help would be welcome.


Try installing those two lines in your syslog.conf(5) file and make
sure you use TAB instead of spaces.

!fw
*.* /var/log/sonic.log

Then issue a `sudo touch /var/log/sonic.log` as the file must exist
before syslogd(8) can write to it (i.e. syslogd(8) does not create
files).

After this run `sudo /etc/rc.d/syslogd restart` to instruct syslogd(8)
of the changes you've made to syslog.conf(5).

Finally, make sure you edit newsyslog.conf(5) with something like this
to keep your /var file system from filling up.

/var/log/sonic.logwww:wheel 640  7 100  *   J

man newsyslog.conf for more on newsyslog.conf(5)'s syntax.

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: EVGA e-Geforce 7300GT

2006-12-14 Thread Jason Morgan
On Thu, Dec 14, 2006 at 11:41:53AM -0600, Vulpes Velox wrote:
 On Thu, 14 Dec 2006 11:12:02 -0500
 Dan Sikorsky [EMAIL PROTECTED] wrote:
 
  Hey, Im planning on installing this card tonite
  
  freebsd 6.1 i386
  
  Im using a crappy radeon x300se right now, which has the Radeon
  choice in xorgconfig, however theres no geforce choice.
  Now, I've read that nvidia is the way to go for freebsd as they
  have Drivers!
  
  so how do I go about this, I can pkg_add these drivers? and then
  how do I tune X
  to use them
 
 Pkg_add should be perfectly fine. Do a man on X and look at the
 -configure option. From there you can easily tweak that file to your
 liking.

The nvidia driver for FreeBSD comes with good documentation that's
fairly clear and concise. After adding the package, take a few minutes
to read through the referred-to docs. You should be up and running in
no time.

Cheers,

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


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Frank Staals

Chad Gross wrote:



On 12/14/06, *Frank Staals* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hey...,

Is there a utility to display the dependencies of a port which
have yet




utility which can display this information which I'm not aware of ?

Thanks in advance,

--
-Frank Staals


___



Yes, read man ports before asking : 
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html 
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html


cd to the dir of the port you wish to know the dependencies of and 
issue one or both of these commands:


*pretty-print-run-depends-list*, *pretty-print-build-depends-list*
  Print a list of all the compile and run dependencies,
  and dependencies of those dependencies.

Chad

By running those commands you just get the complete dependency list of 
the port, that was not what I was asking for: I only wanted it to 
display the dependencies I don't have yet ..


--
-Frank Staals


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


Upgrade a binary package

2006-12-14 Thread Eric Brunson
I've been searching the manual and the man pages, but I can't seem to 
find a command to update an installed package to a newer version.  I 
always get a message like this:


pkg_add: package 'expect-5.43.0_1' or its older version already installed

I only find info on pkg_add and pkg_delete for binary packages, the 
only references to updating a package give directions on how to use the 
ports tree.


Is there a way to update an installed package with a newer version?

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


key differences between Darwin FreeBSD; Darwin Mac OSX ?

2006-12-14 Thread Nathan Vidican
I know there there may be more appropriate places to post and/or ask, 
and I'm not asking for an advanced technical difference in terms of code 
or anything... but does anyone know some of the key differences between 
Darwin and FreeBSD, and/or the differences between Darwin and Mac OSX ? 
What does darwin offer that FreeBSD doesn't? Similarily, what does OSX 
offer that Darwin doesn't?


Any ideas, comments, suggestions, rtfm-referrals, and or links would be 
greatly appreciated.


--
Nathan Vidican
[EMAIL PROTECTED] (member of [EMAIL PROTECTED], no need to cc)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Eric Schuele

On 12/14/2006 12:10, Frank Staals wrote:

Hey...,

Is there a utility to display the dependencies of a port which have yet 
to be installed ? I know you can get a complete dependency list on 
freebsd.org/ports , pkg_info -r or just looking in the files in the 
ports dir. But is there a command to display only the dependencies which 
haven't been installed on your system yet ? I also looked at pkg_add -n 
but it immediately starts fetching the packages needed. I don't want to 
start downloading the complete package just because I want a list of 
ports I haven't installed yet.


Or is the only way making a diff between the pkg_info -r output and your 
pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r 
flag on a not-yet-installed-port to only get a list of the dependencies 
instead of downloading the complete package ? Or is there just an other 
utility which can display this information which I'm not aware of ?


Thanks in advance,



I needed this functionality, so I wrote a script... and sent it to the 
list for thoughts and opinions.  After a few folks chipped in... this is 
what we had.


Try the following (mind any wrapping):
#! /bin/sh

# Script to determine the differences between what is necessary for
# a port, and what is already present on the local machine.

awkprgt='{
count = 0
pkgs = 
for(i=5; i=NF-2; i++) {
  pkg = $i

  # the if is here to hack it around when you get:
  # This port requires package(s)  to build.
  if (pkg != \\) {
if (index(pkg, \) == 1)
  {pkg = substr(pkg, 2, length(pkg)-1)}
if (index(pkg, \)  1)
  {pkg = substr(pkg, 1, length(pkg)-1)}

if ( system(pkg_info -e  pkg) == 1) {
  pkgs = pkgs   pkg
  count++
}
  }
}

if ( count ) {
  printf You need the following %d (%typ) perequisites:, count
  print pkgs
}
else {
  print All (%typ) prerequisites are present.
}

  }
  END {
# triggered, eg., by audio/artswrapper (on my box, at least)
if( ! FNR) {
  print Bogus (empty) %s dependency information
}
  }
'

awkit() {
# Resolve %s-s via sed is a blunt hack
# but good enough here and thus we don't have
# to care about the number of occurrences
awk `echo $awkprgt | sed s/%typ/$1/g`
}


make pretty-print-build-depends-list | awkit build

make pretty-print-run-depends-list | awkit run

### End Script

HTH.  I use it all the time.

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


Re: Upgrade a binary package

2006-12-14 Thread Kris Kennaway
On Thu, Dec 14, 2006 at 12:46:05PM -0700, Eric Brunson wrote:
 I've been searching the manual and the man pages, but I can't seem to 
 find a command to update an installed package to a newer version.  I 
 always get a message like this:
 
 pkg_add: package 'expect-5.43.0_1' or its older version already installed
 
 I only find info on pkg_add and pkg_delete for binary packages, the 
 only references to updating a package give directions on how to use the 
 ports tree.
 
 Is there a way to update an installed package with a newer version?

sysutils/portupgrade is the usual tool.  I think portmaster can do this too.

Kris


pgpE4zZ93tjb8.pgp
Description: PGP signature


Re: nfs_client_enable=YES usage

2006-12-14 Thread Jeff Royle

Frank Staals wrote:
I am running a nfs-client and nfs-server here for quite some time and 
I'm very happy about it. The client is my laptop ( running 6.1-RELEASE 
) and the server a 6.0-STABLE machine. I have enabled nfs_client with 
nfs_client_enable=YES on my FreeBSD laptop as stated in the 
handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html 
allthough when I'm not at home I notice FreeBSD halting during boot 
after NFS access cache time=2 , when I hit ctrl+c it continues fine. 
Since I always mount my NFS dirs manually I started wondering about 
how usefull the entry in /etc/rc.conf was. So I quoted out 
nfs_client_enable=YES in /etc/rc.conf and I still could mount my nfs 
dirs perfectly


So my question was: Is the entry in rc.conf only needed when mounting 
a nfs dir at boot ? or is it not needed at all ( since my test proved 
it isn't needed when you mount the dirs manually after boot )



Referenced from man rc.conf ...

nfs_client_enable - If set to YES run the NFS client daemons at boot 
time.  

You would need this option enabled to connect to a NFS server on boot, 
otherwise it is not needed.
.. now I have yet to figure out why my ndis NIC won't work when 
disableing nfs_client :S 




Cheers,

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


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Chris Whitehouse

Frank Staals wrote:

Hey...,

Is there a utility to display the dependencies of a port which have yet 
to be installed ? I know you can get a complete dependency list on 
freebsd.org/ports , pkg_info -r or just looking in the files in the 
ports dir. But is there a command to display only the dependencies which 
haven't been installed on your system yet ? I also looked at pkg_add -n 
but it immediately starts fetching the packages needed. I don't want to 
start downloading the complete package just because I want a list of 
ports I haven't installed yet.


Hi Frank,

It's not exactly what you want but at least it contains what you want: 
portmanager -s displays the status of each port including missing 
dependencies.


Chris

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


Re: key differences between Darwin FreeBSD; Darwin Mac OSX ?

2006-12-14 Thread Peter A. Giessel
On 2006/12/14 10:47, Nathan Vidican seems to have typed:
 What does darwin offer that FreeBSD doesn't? Similarily, what does OSX 
 offer that Darwin doesn't?

Apple answers your questions here:
http://developer.apple.com/opensource/faq.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade a binary package

2006-12-14 Thread Gerard Seibert
On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote:


  I've been searching the manual and the man pages, but I can't seem to 
  find a command to update an installed package to a newer version.  I 
  always get a message like this:
  
  pkg_add: package 'expect-5.43.0_1' or its older version already installed
  
  I only find info on pkg_add and pkg_delete for binary packages, the 
  only references to updating a package give directions on how to use the 
  ports tree.
  
  Is there a way to update an installed package with a newer version?
 
 sysutils/portupgrade is the usual tool.  I think portmaster can do this too.

portmanager lang/expect -l

-- 
Gerard

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


Re: key differences between Darwin FreeBSD; Darwin Mac OSX ?

2006-12-14 Thread rw
On Thursday 14 December 2006 19:47, Nathan Vidican wrote:
 I know there there may be more appropriate places to post and/or ask,
 and I'm not asking for an advanced technical difference in terms of code
 or anything... but does anyone know some of the key differences between
 Darwin and FreeBSD, and/or the differences between Darwin and Mac OSX ?
 What does darwin offer that FreeBSD doesn't? Similarily, what does OSX
 offer that Darwin doesn't?

 Any ideas, comments, suggestions, rtfm-referrals, and or links would be
 greatly appreciated.

Google will give you any number of discussions on this subject.
See also http://en.wikipedia.org/wiki/Darwin_(operating_system)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PowerEdge 6850 Install

2006-12-14 Thread d.hill
Many thanks to your quick response. Everything is in 
working order. The install and kernel rebuild for SMP took 
all of about 20 minutes with rebooting.


On Thu, 14 Dec 2006 13:20:16 -0500
 Bill Moran [EMAIL PROTECTED] wrote:

In response to [EMAIL PROTECTED]:

I've got an issue with getting FreeBSD to recognize past 
four gigs of ram. The server we have has 12 gig. I am 
able 
to successfully recompile the kernel and get the four 
CPU's to show up that are installed in the server.


I've taken and attempted to compile the PAE kernel file 
and every time the server attempts to boot to the 
default 
option on the standard boot menu, the server reboots 
itself. This is a continuous cycle.


One of the required drivers probably doesn't work right 
with PAE.
I don't know how well PAE is supported anymore, now that 
amd64

is stable.

Can anyone direct me to what I need to do for having the 
server recognize all 12 gig? I've seen threads on using 
the ia64 install, however the install notes state it is 
for the Itanium and Itanium 2 CPU's. Attempting to boot 
from the first ISO CD doesn't do anything.


You want the amd64 version.

--
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023
___
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: Dell 2950 1950

2006-12-14 Thread Bill Moran
In response to Peter Grigor [EMAIL PROTECTED]:
 
 I looked through the archives and couldn't find much information on the
 megarc problem. Have you gotten any feedback on whether a megarc fix is
 forthcoming in the 6.x branch?

That's because megarc isn't relevant to the problem, really.  The x9xx
series uses a newer RAID controller that doesn't use the same driver and
is incompatible with megarc.  My point is that there's no equiv at this
time.

 BTW, are you in Pittsburgh too? :)

Yes.

 On 12/14/06, Bill Moran [EMAIL PROTECTED] wrote:
 
  In response to Peter Grigor [EMAIL PROTECTED]:
 
   I've just gotten some quotes on a few dell machines and I was wondering
  now
   if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
   Intel chips are my worries :)
  
   Anyone have any experiences they'd like to share? Anyone successfully
   running mysql on an IA64 architecture with Freebsd?
 
  We're in the early stages of deployment with these.  None of them are
  actually in production yet, but we're in the final stages of putting
  them there.
 
  6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
  or wait for 6.2.  Otherwise, everything 64-bit works as far as we
  can tell.  We're a little grumpy that we don't have any way to
  monitor the RAID (our Dell x850 systems use megarc to automatically
  signal us if a drive fails)  We've also had occasional problems
  with the reboot and shutdown commands not completing, but it's been
  so intermittent that we can't seem to isolate the cause.  Symptom
  is that it gets to the final stage of reboot/shutdown and then waits
  indefinitely without issuing the final ACPI command.
 
  Do some searches on my name and/or those topics on the stable@
  list archives for more details.
 
  --
  Bill Moran
  Collaborative Fusion Inc.
 
  [EMAIL PROTECTED]
  Phone: 412-422-3463x4023
 
 
 
 
 -- 
 Peter Grigor
 Hoobly Inc
 http://www.hoobly.com
 


-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


error trying to compile /usr/src

2006-12-14 Thread Suporte Dsgx

im trying to compile freebsd 4.10 P24
but on the make world gives me this error
cd /usr/src/etc; install -o root -g wheel -m 444  amd.map apmd.conf 
auth.conf  crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf 
fbtab ftpusers gettytab group  hosts hosts.allow host.conf hosts.equiv 
hosts.lpd  inetd.conf login.access login.conf  motd modems networks 
newsyslog.conf  pam.conf phones printcap profile protocols  rc rc.atm 
rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.network 
rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  rc.syscons 
rc.sysctl remote rpc services  shells sysctl.conf syslog.conf usbd.conf  
etc.i386/disktab  etc.i386/rc.i386  etc.i386/ttys  
/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn netstart 
pccard_ether rc.suspend rc.resume nsmb.conf opieaccess  
/usr/share/examples/etc
cd /usr/src/etc/defaults; install -o root -g wheel -m 444  rc.conf 
make.conf pccard.conf periodic.conf /usr/share/examples/etc/defaults

make: don't know how to make copies. Stop
*** Error code 2

Stop in /usr/src/share.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--
what can it be and how to fix it ?
thanks

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


Externally connecting to databases?

2006-12-14 Thread john Mish III
I have mysqld installed (4.1) on my FreeBSD 6.1 box. I need a totally 
different box to connect to those databases through PHP scripts. I've 
already tried editing hosts.allow in the /etc/ folder, but no effect. Does 
FreeBSD need to be restarted after these changes are done, or just inetd, 
cause I've tried inetd forcerestart, but it does nothing. When I run my PHP 
script, it waits a couple seconds, then shows a completly blank page.


_
View Athlete’s Collections with Live Search 
http://sportmaps.live.com/index.html?source=hmemailtaglinenov06FORM=MGAC01


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


Legato Client for freeBSD

2006-12-14 Thread Phillip Upchurch



I am running Legato on a sun server.

I have a server running freeBSD that needs the legato backup client installed.

Is there a working legato client for freeBSD  ??


Thanks
Phil Upchurch
713 513 1143
Schlumberger
Houston EMC
Server Ops Team

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


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Erik Norgaard

Fabian Keil wrote:

Erik Norgaard [EMAIL PROTECTED] wrote:

I have been thinking to make /home on my laptop encrypted - seems like a 
good idea if it gets stolen. Now, how safe is this? Not in terms of the 
strength of the encryption algorithm, but in terms of integrity.


I have no insight on the code, but as nobody else answered,
my response may be better than nothing.
 
What happens in case of power failure, the battery runs out or system 
crashes for whatever reason?


I have my home slice encrypted with GELI for several month now
and so far I didn't notice any effects on the data integrity.

I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).

The only inconvenience is that the system boots to single-user
mode if the home slice isn't clean and I then have to fsck it
manually.

At that point the password for the key is already entered,
so I'm not sure why the slice can't be fscked automatically.
It could be the .eli extension, but I didn't investigate this
any further.


Thanks, reading man-pages and stuff I think I have understood that 
sectors are encrypted individually, so errors in one sector does not 
affect the decryption of other sectors. Is this correctly understood?


It's a mess though if you have to manually run fsck. I can't figure out 
why either: if you have attached the device it ought to be transparrent. 
The geli man-page claims you can even encrypt the root device - wonder 
how fsck will work then...


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Externally connecting to databases?

2006-12-14 Thread Murray Taylor
Make sure that skip-networking is commented out or removed
from /etc/my.cnf  You may be 'turned off' there.
You will need to stop - start mysql if you change this setting.

mjt 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 john Mish III
 Sent: Friday, 15 December 2006 8:56 AM
 To: [EMAIL PROTECTED]
 Subject: Externally connecting to databases?
 
 I have mysqld installed (4.1) on my FreeBSD 6.1 box. I need a totally 
 different box to connect to those databases through PHP scripts. I've 
 already tried editing hosts.allow in the /etc/ folder, but no 
 effect. Does 
 FreeBSD need to be restarted after these changes are done, or 
 just inetd, 
 cause I've tried inetd forcerestart, but it does nothing. 
 When I run my PHP 
 script, it waits a couple seconds, then shows a completly blank page.
 
 _
 View Athlete's Collections with Live Search 
 http://sportmaps.live.com/index.html?source=hmemailtaglinenov0
 6FORM=MGAC01
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: processes not getting fair share of available disk I/O

2006-12-14 Thread Dieter
 Sorry, yes.  Nothing else contended for it though, so it doesn't
 appear to be a source of performance problems - it is probably a
 secondary effect from something else.  I guess you're running some old
 version of FreeBSD since those line numbers don't correspond to
 anything reasonable in the current 6.x source, so I dunno what
 exactly.

FreeBSD 6.0

   The rest looks fine at a quick glance too.
 =20
  What should I be looking for?  Do I need to collect stats for a long
  period of time, or is a few seconds enough?  Dd can kill the transfer
  in about 3 seconds.
 
 You need to make sure your sampling while the system is in the bad
 state.
 
 A mutex that has a lot of acquisitions and a lot of contention for
 those acquisitions is a performance bottleneck.  Nothing below falls
 into that class - in particular it's definitely not Giant causing
 performance loss to the filesystem.

Aren't the numbers (other than max and avg) going to depend a lot on how
long I collect data?  Are you looking for one or two locks that have
contention a couple orders of magnitude higher than everything else?

 Still looks like it's a driver and/or hardware problem, but you'd need
 specialized knowledge to proceed with debugging it.

Maybe I didn't beat on it hard enough.  Data below is with two processes
reading data from Ethernet and writing to disk.  (common Ethernet, different
disks) and a loop with 3 copies of dd writing from /dev/zero to disks,
and then 3 copies of dd reading the files back and writing to /dev/null.
This ground away for a few minutes.


Writing

5 usersLoad  2.47  1.73  0.90  Dec 14 13:17

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  8684963520   893416 7564  176776 count
All 18355483856 1622626k 8056 pages
  zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Fltcow4582 total
   4 44 137964 205713128   13  676116 wire998 0: clk
   449292 act 1: atkb
32.3%Sys  31.5%Intr  0.0%User  0.0%Nice 36.2%Idl   710892 inact32 3: sio1
||||||||||   4024 cache   4: sio0
   172752 free7: ppc0
  daefr   stray 7
Namei Name-cacheDir-cache prcfr   128 8: rtc
Calls hits% hits% react79 10: ohc
  pdwak  3251 11: fwo
  pdpgs   14: ata
Disks   ad2   ad4   ad6   ad8  ad10   da0   cd0   intrn94 15: ata
KB/t128  0.00   128   128   128   128  0.00218608 buf
tps  47 0393712 8 024 dirtybuf
MB/s   5.84  0.00  4.87  4.63  1.46  0.97  0.0010 desiredvnodes
% busy   91 0786919 8 0   917 numvnodes
  522 freevnodes

Reading

5 usersLoad  1.38  1.59  0.91  Dec 14 13:18

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  8684963520   893416 7564   61148 count
All 20072603856 1623531k 8056 pages
  zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Fltcow4878 total
 3   45 153195 199813154   37  675864 wire   1002 0: clk
   449312 act 1: atkb
74.8%Sys  25.2%Intr  0.0%User  0.0%Nice  0.0%Idl   828676 inact36 3: sio1
||||||||||  58184 cache   4: sio0
=+++ 2964 free7: ppc0
  daefr   stray 7
Namei Name-cacheDir-cache prcfr   128 8: rtc
Calls hits% hits% 313 react   253 10: ohc
  pdwak  3307 11: fwo
  pdpgs   14: ata
Disks   ad2   ad4   ad6   ad8  ad10   da0   cd0   intrn   152 15: ata
KB/t112  0.00   105 99.66   128   128  0.00218400 buf
tps  87 0   154   17110 7 011 dirtybuf
MB/s   9.52  0.00 15.81 16.64  1.22  0.85  0.0010 desiredvnodes
% busy   14 0453717 7 0   917 numvnodes
  522 freevnodes

interrupt  total   rate
irq0: clk

Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Wojciech Puchar



I have been thinking to make /home on my laptop encrypted - seems like a
good idea if it gets stolen. Now, how safe is this? Not in terms of the
strength of the encryption algorithm, but in terms of integrity.


I have no insight on the code, but as nobody else answered,
my response may be better than nothing.


as safe as unencrypted unless you won't forget password.

if just perform encryption before writing sector, and decryption after 
reading - so it's as safe as underlaying hardware.


while i'm using gbde not geli, it's true too IMHO.


I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).


exactly will behave as crash on unencrypted partition.

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


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Wojciech Puchar


Another thing to consider is the performance hit when using geli with a high
encryption. I have mine set to the highest (I think) bit possible and when
transferring anything ~500MB+ it lags the system a bit to do the encryption.

not a problem at all for me (and most users i think) when encrypted 
partition is used only for really private data which are rarely huge 
files.

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


Re: OOPS www proxy

2006-12-14 Thread Wojciech Puchar

for me it works. and works really fast, much faster than squid but after
maybe 8-12 hours it crashes.

is it buggy or i'm doing something wrong?


I used it for several years and am still using it, but not on high
loads. It works without crashing on the default install (ports) settings.



on default install settings (berkeley db) it says that db doesn't support 
pthreads right and then runs without storages :(

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


Re: disk I/O tuning parameters

2006-12-14 Thread Wojciech Puchar

Is there a different, more detailed, description of
its effects (and/or similar tuning parameters) than found in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html

Is there a way to limit the runningspace, bufspace, or similar parameters
on a per disk, per process, or per file basis rather than system wide?
I haven't been able to find anything.

I need a way to protect the disk I/O bandwidth of one process from
other processes.  Having its own disk, and running at rtprio is not


IMHO no, while it could be useful.

priority schedules only CPU usage.


BTW - if you are processing huge files often consider editing 
/usr/src/sys/sys/param.h


and change

#define MAXPHYS (128 * 1024)   /* max raw I/O transfer size */

to

#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */


it won't make disk I/O scheduling better (even a bit worse) but will 
GREATLY speed up huge file I/O. bump hi and lorunning space at least twice 
the default (4 and 2MB) maybe more if you have many concurrent disks.


i'm using that settings on every FreeBSD machine, no problems.


when making new filesystem set -a option right when doing newfs (read 
man).



PS. it's not answer for your question but it may help either
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: processes not getting fair share of available disk I/O

2006-12-14 Thread Kris Kennaway
On Thu, Dec 14, 2006 at 02:37:31PM +, Dieter wrote:
  Sorry, yes.  Nothing else contended for it though, so it doesn't
  appear to be a source of performance problems - it is probably a
  secondary effect from something else.  I guess you're running some old
  version of FreeBSD since those line numbers don't correspond to
  anything reasonable in the current 6.x source, so I dunno what
  exactly.
 
 FreeBSD 6.0

Erk.  How about retrying with something modern ;-)  We do fix lots of
bugs over time you know!

The rest looks fine at a quick glance too.
  =20
   What should I be looking for?  Do I need to collect stats for a long
   period of time, or is a few seconds enough?  Dd can kill the transfer
   in about 3 seconds.
  
  You need to make sure your sampling while the system is in the bad
  state.
  
  A mutex that has a lot of acquisitions and a lot of contention for
  those acquisitions is a performance bottleneck.  Nothing below falls
  into that class - in particular it's definitely not Giant causing
  performance loss to the filesystem.
 
 Aren't the numbers (other than max and avg) going to depend a lot on how
 long I collect data?  Are you looking for one or two locks that have
 contention a couple orders of magnitude higher than everything else?

Yes, and with a large number of acquisitions.  i.e. it's not usually
an issue if a mutex is contended but is only acquired a few thousand
times out of billions of mutex operations, but it is an issue if it's
heavily used and also heavily contended.

  Still looks like it's a driver and/or hardware problem, but you'd need
  specialized knowledge to proceed with debugging it.
 
 Maybe I didn't beat on it hard enough.  Data below is with two processes
 reading data from Ethernet and writing to disk.  (common Ethernet, different
 disks) and a loop with 3 copies of dd writing from /dev/zero to disks,
 and then 3 copies of dd reading the files back and writing to /dev/null.
 This ground away for a few minutes.

Interrupt CPU usage might be high, but the first thing you should do
is retry with 6.2-rc1 and work from there.

Kris


pgprbmivFmi6T.pgp
Description: PGP signature


Re: error trying to compile /usr/src

2006-12-14 Thread Garrett Cooper

Suporte Dsgx wrote:

im trying to compile freebsd 4.10 P24
but on the make world gives me this error
cd /usr/src/etc; install -o root -g wheel -m 444  amd.map apmd.conf 
auth.conf  crontab csh.cshrc csh.login csh.logout  dhclient.conf 
dm.conf fbtab ftpusers gettytab group  hosts hosts.allow host.conf 
hosts.equiv hosts.lpd  inetd.conf login.access login.conf  motd modems 
networks newsyslog.conf  pam.conf phones printcap profile protocols  
rc rc.atm rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  
rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  
rc.syscons rc.sysctl remote rpc services  shells sysctl.conf 
syslog.conf usbd.conf  etc.i386/disktab  etc.i386/rc.i386  
etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn netstart 
pccard_ether rc.suspend rc.resume nsmb.conf opieaccess  
/usr/share/examples/etc
cd /usr/src/etc/defaults; install -o root -g wheel -m 444  rc.conf 
make.conf pccard.conf periodic.conf /usr/share/examples/etc/defaults

make: don't know how to make copies. Stop
*** Error code 2

Stop in /usr/src/share.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--
what can it be and how to fix it ?
thanks

3 questions:
   What's your make.conf file look like?
   What's the exact command / variables you are sending to make world?
   Why are you recompiling 4.10? That's pretty out of date..
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OOPS www proxy

2006-12-14 Thread Ivan Voras
Wojciech Puchar wrote:
 for me it works. and works really fast, much faster than squid but after
 maybe 8-12 hours it crashes.

 is it buggy or i'm doing something wrong?

 I used it for several years and am still using it, but not on high
 loads. It works without crashing on the default install (ports) settings.

 on default install settings (berkeley db) it says that db doesn't
 support pthreads right and then runs without storages :(

?

Maybe I'm misremembering, but my storage default was gigabase and it works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade a binary package

2006-12-14 Thread RW
On Thursday 14 December 2006 20:55, Gerard Seibert wrote:
 On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote:
 ...
   I only find info on pkg_add and pkg_delete for binary packages, the
   only references to updating a package give directions on how to use the
   ports tree.
  
   Is there a way to update an installed package with a newer version?
 
  sysutils/portupgrade is the usual tool.  I think portmaster can do this
  too.

   portmanager lang/expect -l

Portmanager cannot upgrade from binary packages - only from ports.

One thing that hasn't been mentioned is that the packages for a release are 
not normally updated. From the handbook,  4.4.1 Installing a Package:

Note: pkg_add(1) will download the latest version of your application if you 
are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, 
it will grab the version of the package that was built with your release. It 
is possible to change this behavior by overriding the PACKAGESITE environment 
variable. 

See the manual for how to fetch 6-stable packages



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


Re: remote syslog to specific file

2006-12-14 Thread bsd

Thanks David but…


I have followed precisely your advises and It keeps on loging to /var/ 
log/messages instead of /var/log/sonic.log ??



!fw
*.* /var/log/sonic.log


Using tab instead and no spaces - restarting syslog - ??
I have also tried !firewall // no success //

My logs are coming from a remote host maybe this is the reason why it  
can't log to sonic.log ?


localhost -- 192.168.2.2

remote host -- 192.168.2.1


Any help would still be apreciated ?!?

Le 14 déc. 06 à 20:02, David Robillard a écrit :


Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among  
them :


 +fw.xxx.yyy
 local0.*   /var/log/sonic.log
 +@
-- not working

 local0.*   /var/log/sonic.log
-- not working either


In /var/log/messages my log are of that format :

 Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time=2006-12-14
 14:50:45 fw=80.98.206.97 pri=5 c=64 m=36 msg=TCP connection
 dropped n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee
 dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135



Any help would be welcome.


Try installing those two lines in your syslog.conf(5) file and make
sure you use TAB instead of spaces.

!fw
*.* /var/log/sonic.log

Then issue a `sudo touch /var/log/sonic.log` as the file must exist
before syslogd(8) can write to it (i.e. syslogd(8) does not create
files).

After this run `sudo /etc/rc.d/syslogd restart` to instruct syslogd(8)
of the changes you've made to syslog.conf(5).

Finally, make sure you edit newsyslog.conf(5) with something like this
to keep your /var file system from filling up.

/var/log/sonic.logwww:wheel 640  7 100  *   J

man newsyslog.conf for more on newsyslog.conf(5)'s syntax.

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§


P Please consider your environmental responsibility before printing  
this e-mail



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


OpenBSM on 6.2-RC1

2006-12-14 Thread Hugo Silva

Hi list,

I'm experimenting with OpenBSM and I'm stuck on something. I've read the 
manpages and the handbook section related to it, so either I'm missing 
something obvious, or it doesn't work properly yet.


audit_control (relevant part):
flags:+all,-all:no
naflags:lo

audit_user:
username:+all,-all:no

I had fm,fd on my username as a test, for chmod and trying to remove 
files. These don't get logged at all. The only thing I've seen thru 
praudit is su'ing to root (which gets logged, regardless if I input the 
right password or not). The expected result (at least from my basic 
knowledge of OpenBSM's  syntax, I've been around this for a few hours 
only) would be logging every success and every failure from my username.


I am not using console logins, this is over SSH. I'm not sure if they're 
related.


The only way I could make OpenBSM log any more than su'ing up was to 
change naflags to all.


According to 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit-config.html, 



The naflags option specifies audit classes to be audited for 
non-attributed events, such as the login process and system daemons.



So the only thing that could be happening based on my limited knowledge 
of this software, is that somehow it cannot distinguish usernames on SSH 
connections. This seems odd, to say the least, so I'm resorting to the 
list, in the hopes that someone can point me in the right direction.


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


Re: Black Lines on my monitor

2006-12-14 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Sequence recovered, long/short syndrome.

On Thursday, 14 December 2006 at  5:42:11 -0800, Renegade Penguin wrote:
 P Tyrrell wrote:
 Hello - Help

 About two weeks ago I noticed that there was a shadow appearing on
 the monitor alond any black type or dark picture - thinking it
 wasthe monitor I swaped it with another and there are still black
 lines appearing along the lines of text.

 What can I do to get rid of this?
 Please bear in mind youre talking to a layman not a professional techie.
 thankyou.

 If it's the video card, it very likely could be a speck of dust across
 some of the traces on any number of chips on the card.  Taking out the
 video card, blowing it off, and re-seating it may help.  A thorough
 cleaning out of the case could help as well.

And if that doesn't work, then put it in the dishwasher on the hottest
cycle.  If the card doesn't work after that, replace it.

Seriously, I can only assume that your statement was meant as a joke.
Getting back to the original question, the description could be
clearer.  Are these horizontal or vertical?  How wide?  For what I
know, there are several possibilities.  It could really be the card no
longer being able to drive the display adequately, or it could be the
connection between the card and the monitor.  This kind of problem
often occurs when monitors are connected via KVAs.  But to really
understand the situation, you (P) need to describe the appearance of
the shadows more clearly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpw9F5s4wpKE.pgp
Description: PGP signature


Re: Dell 2950 1950

2006-12-14 Thread Jay Chandler

Bill Moran wrote:

In response to Peter Grigor [EMAIL PROTECTED]:

  

I've just gotten some quotes on a few dell machines and I was wondering now
if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
Intel chips are my worries :)

Anyone have any experiences they'd like to share? Anyone successfully
running mysql on an IA64 architecture with Freebsd?



We're in the early stages of deployment with these.  None of them are
actually in production yet, but we're in the final stages of putting
them there.

6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
or wait for 6.2.  Otherwise, everything 64-bit works as far as we
can tell.  We're a little grumpy that we don't have any way to
monitor the RAID (our Dell x850 systems use megarc to automatically
signal us if a drive fails)  We've also had occasional problems
with the reboot and shutdown commands not completing, but it's been
so intermittent that we can't seem to isolate the cause.  Symptom
is that it gets to the final stage of reboot/shutdown and then waits
indefinitely without issuing the final ACPI command.

Do some searches on my name and/or those topics on the stable@
list archives for more details.

  

Running the same 1950 platform here with the i386 base-- I've seen the
same problems you mention.  The onboard NIC worked intermittently, but
kept crashing, so was replaced with an Intel NIC.  I just placed an
order for 7 more, and made sure to get the Intel onboard NIC option.
Restarting is buggy as well, with the same symptoms.  My (inelegant)
solution is to install a pair of ethernet managed power strips, so I can
kill power remotely to bring it all the way down if need be.

What advantages/disadvantages do you see with running the 64 bit
architecture?  I must confess, it never occured to me to try that...
I'm running the Dual Core Xeon processors, if that helps anything.

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: astropneumatic oscillations in the water-cooling



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


Re: Dell 2950 1950

2006-12-14 Thread Bill Moran
Jay Chandler [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
  In response to Peter Grigor [EMAIL PROTECTED]:

  I've just gotten some quotes on a few dell machines and I was wondering now
  if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
  Intel chips are my worries :)
 
  Anyone have any experiences they'd like to share? Anyone successfully
  running mysql on an IA64 architecture with Freebsd?
  
 
  We're in the early stages of deployment with these.  None of them are
  actually in production yet, but we're in the final stages of putting
  them there.
 
  6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
  or wait for 6.2.  Otherwise, everything 64-bit works as far as we
  can tell.  We're a little grumpy that we don't have any way to
  monitor the RAID (our Dell x850 systems use megarc to automatically
  signal us if a drive fails)  We've also had occasional problems
  with the reboot and shutdown commands not completing, but it's been
  so intermittent that we can't seem to isolate the cause.  Symptom
  is that it gets to the final stage of reboot/shutdown and then waits
  indefinitely without issuing the final ACPI command.
 
  Do some searches on my name and/or those topics on the stable@
  list archives for more details.
 
 Running the same 1950 platform here with the i386 base-- I've seen the
 same problems you mention.  The onboard NIC worked intermittently, but
 kept crashing, so was replaced with an Intel NIC.  I just placed an
 order for 7 more, and made sure to get the Intel onboard NIC option.
 Restarting is buggy as well, with the same symptoms.  My (inelegant)
 solution is to install a pair of ethernet managed power strips, so I can
 kill power remotely to bring it all the way down if need be.

We get all our units with Dell's remote access card installed.  It
gives us the same kind of remote admin -- equivalent to being able to
hit the power button from the other side of the planet.

 What advantages/disadvantages do you see with running the 64 bit
 architecture?  I must confess, it never occured to me to try that...
 I'm running the Dual Core Xeon processors, if that helps anything.

In our case, we're primarily concerned about RAM.  These units are starting
out with 4G, and we're monitoring them so we can add RAM when the usage
goes up.  amd64 is obviously going to be better supported going forward
than PAE.

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


Re: Dell 2950 1950

2006-12-14 Thread Jay Chandler

Bill Moran wrote:

We get all our units with Dell's remote access card installed.  It
gives us the same kind of remote admin -- equivalent to being able to
hit the power button from the other side of the planet.
  
Some of our servers have it, some of them don't-- I've been here four 
months, and wasn't involved in prior purchases.  If I had my druthers, 
we'd be on HP servers instead (I'd also probably be able to get a good 
price on Ebay for druthers, but I digress), or IBM, or one of several 
other more expensive options, but for now I'm playing the hand I was 
dealt, serverwise.  On the plus side, they're all starting out with a 
comfortable 4 gigs of RAM.



What advantages/disadvantages do you see with running the 64 bit
architecture?  I must confess, it never occured to me to try that...
I'm running the Dual Core Xeon processors, if that helps anything.



In our case, we're primarily concerned about RAM.  These units are starting
out with 4G, and we're monitoring them so we can add RAM when the usage
goes up.  amd64 is obviously going to be better supported going forward
than PAE.
  
Right, PAE is sort of a blast from the past, and I'd much sooner go to a 
new server than screw around with the 4gb limit personally.  Is there 
any more work to maintaining an amd64 install than grab a different ISO 
when it's time to install the box?


Also, will it work on the Xeon dual core?  I've always been comfortably 
removed from the hardware level, and my new responsibilities aren't 
quite familiar to me yet...


--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Processes running slowly due to weak power supply 


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


Re: Legato Client for freeBSD

2006-12-14 Thread D G Teed

The legato client in ports has been dropped for lack of
maintenance and security issue of the default config.
You can get a 6.0 compatible client by back dating ports.
Current 7.x versions of the legato server will not work with this
old FreeBSD client version, so it may be a dead end.

We are implementing a Linux box with JOBD to rsync-diff
our BSD boxes to, and then the Linux box will be backed
up by networker.

--Donald


On 12/14/06, Phillip Upchurch [EMAIL PROTECTED] wrote:




I am running Legato on a sun server.

I have a server running freeBSD that needs the legato backup client
installed.

Is there a working legato client for freeBSD  ??


Thanks
Phil Upchurch
713 513 1143
Schlumberger
Houston EMC
Server Ops Team

___
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: Dell 2950 1950

2006-12-14 Thread d.hill

On Thu, 14 Dec 2006 17:40:57 -0800
 Jay Chandler [EMAIL PROTECTED] wrote:

Bill Moran wrote:
We get all our units with Dell's remote access card 
installed.  It
gives us the same kind of remote admin -- equivalent to 
being able to

hit the power button from the other side of the planet.
  
Some of our servers have it, some of them don't-- I've 
been here four months, and wasn't involved in prior 
purchases.  If I had my druthers, we'd be on HP servers 
instead (I'd also probably be able to get a good price on 
Ebay for druthers, but I digress), or IBM, or one of 
several other more expensive options, but for now I'm 
playing the hand I was dealt, serverwise.  On the plus 
side, they're all starting out with a comfortable 4 gigs 
of RAM.


What advantages/disadvantages do you see with running 
the 64 bit
architecture?  I must confess, it never occured to me to 
try that...
I'm running the Dual Core Xeon processors, if that helps 
anything.



In our case, we're primarily concerned about RAM.  These 
units are starting
out with 4G, and we're monitoring them so we can add RAM 
when the usage
goes up.  amd64 is obviously going to be better 
supported going forward

than PAE.
  
Right, PAE is sort of a blast from the past, and I'd much 
sooner go to a new server than screw around with the 4gb 
limit personally.  Is there any more work to maintaining 
an amd64 install than grab a different ISO when it's 
time to install the box?


Also, will it work on the Xeon dual core?  I've always 
been comfortably removed from the hardware level, and my 
new responsibilities aren't quite familiar to me yet...


We just recently purchased a PowerEdge 6850 configured 
with
4x3.0ghz dual core zeon processors. The AMD64 ISO install 
was
used. Once the basic install was complete, I recompiled 
the

kernel with SMP. They are all showing up and operational.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD ports tree on OpenBSD/NetBSD

2006-12-14 Thread Ansar Mohammed
Does the FreeBSd ports tree work on NetBSD or OpenBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup and amd64

2006-12-14 Thread Z. Wade Hampton
Greetings to all,
I'm running a dell 1501 laptop with amd64x2 processor.
I got a disk from a guru specifically for this architecture, booted it, and 
installed 6.1 via FTP.

Yesterday I ran cvsup successfully.
Today I did make buildworld successfully.

Now, I have a little paranoia about buildkernel.

Please tell me, did I need to specify anything specifically about the amd64 
architecture when running cvsup?  Did I possibly get a GENERIC kernel file 
through cvsup that is not compatible with amd?

Anxious in Montana,
Z. Wade Hampton
Twin Bridges, MT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup and amd64

2006-12-14 Thread Jay Chandler

Z. Wade Hampton wrote:

Greetings to all,
I'm running a dell 1501 laptop with amd64x2 processor.
I got a disk from a guru specifically for this architecture, booted it, and 
installed 6.1 via FTP.


Yesterday I ran cvsup successfully.
Today I did make buildworld successfully.

Now, I have a little paranoia about buildkernel.

Please tell me, did I need to specify anything specifically about the amd64 
architecture when running cvsup?  Did I possibly get a GENERIC kernel file 
through cvsup that is not compatible with amd?


Anxious in Montana,
Z. Wade Hampton
Twin Bridges, MT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I'm told that KERNCONF=SMP is the command to pass-- you're also going to 
want to throw in a -j4 or so.


So the command will be:

make -j4 buildkernel KERNCONF=SMP; make -j4 installkernel KERNCONF=SMP

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Processes running slowly due to weak power supply 


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


Re: processes not getting fair share of available disk I/O

2006-12-14 Thread Dieter
  FreeBSD 6.0
 
 Erk.  How about retrying with something modern ;-)  We do fix lots of
 bugs over time you know!

In my defense, 6.0 is only one revision down.  (until 6.2 comes out real soon 
now)

 32.3%Sys  31.5%Intr  0.0%User  0.0%Nice 36.2%Idl   710892 inact32 3: sio1

 74.8%Sys  25.2%Intr  0.0%User  0.0%Nice  0.0%Idl   828676 inact36 3: sio1

 Interrupt CPU usage might be high, but the first thing you should do
 is retry with 6.2-rc1 and work from there.

Whoops, the systat -vmstat and vmstat -i were with mutex profiling enabled.
Sorry about that.  CPU usage is much lower with it off.  85-95% idle when 
writing.

writing:

5 usersLoad  0.33  0.33  0.22  Dec 14 16:06

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  8687843600   893464 7828   62208 count
All 20039563904 1623566k 8284 pages
  zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Fltcow2179 total
   5 43  42651  856 48612  677056 wire   1002 0: clk
   449856 act 1: atkb
 2.3%Sys   2.3%Intr  0.0%User  0.0%Nice 95.3%Idl   822692 inact31 3: sio1
||||||||||  59244 cache   4: sio0
=+   2964 free7: ppc0
  daefr   stray 7
Namei Name-cacheDir-cache prcfr   128 8: rtc
Calls hits% hits%   2 react44 10: ohc
  pdwak   922 11: fwo
  pdpgs   14: ata
Disks   ad2   ad4   ad6   ad8  ad10   da0   cd0   intrn52 15: ata
KB/t119  0.00   128   128   128   128  0.00218640 buf
tps  27 02226 3 3 025 dirtybuf
MB/s   3.13  0.00  2.74  3.24  0.37  0.37  0.0010 desiredvnodes
% busy   47 04148 5 3 0   985 numvnodes
  582 freevnodes


reading:

5 usersLoad  0.47  0.35  0.23  Dec 14 16:07

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  8687763592   893464 7828  109448 count
All 20049883896 1623995k 8284 pages
  zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Fltcow6984 total
   3 45 244965 221416918   78  677084 wire   1003 0: clk
   449984 act 1: atkb
45.3%Sys  10.9%Intr  0.0%User  0.0%Nice 43.8%Idl   776328 inact32 3: sio1
|||||||||| 106484 cache   4: sio0
===+ 2964 free7: ppc0
  daefr   stray 7
Namei Name-cacheDir-cache prcfr   128 8: rtc
Calls hits% hits% 322 react   825 10: ohc
3 pdwak  4365 11: fwo
39334 pdpgs   14: ata
Disks   ad2   ad4   ad6   ad8  ad10   da0   cd0   intrn   631 15: ata
KB/t125  0.00   128   115   128   128  0.00218592 buf
tps 321 0   412   521 9 9 015 dirtybuf
MB/s  39.30  0.00 51.45 58.62  1.12  1.12  0.0010 desiredvnodes
% busy  100 0   100821510 0   985 numvnodes
  582 freevnodes


interrupt  total   rate
irq0: clk   15227816   1000
irq1: atkbd0   2  0
irq3: sio1361128 23
irq4: sio0   702  0
irq7: ppc083  0
stray irq7 1  0
irq8: rtc1948792127
irq10: ohci0 ohci1+   287380 18
irq11: fwohci0 bge*  8675757569
irq14: ata0   57  0
irq15: ata1   238863 15
Total   26740581   1756
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD ports tree on OpenBSD/NetBSD

2006-12-14 Thread Eric Buchanan
On Thursday 14 December 2006 18:37, Ansar Mohammed wrote:
 Does the FreeBSd ports tree work on NetBSD or OpenBSD?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

FreeBSD's ports tree only works on FreeBSD. NetBSD and OpenBSD have their own 
ports trees derived from FreeBSD. NetBSD's port tree (pkgsrc) will work on 
quite a few other operating sytems, including FreeBSD. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Palm Tx + jpilot

2006-12-14 Thread Armin Arh
Running a 6.2PRERELEASE kernel here.

Just purchased a brand new Palm TX Handheld and connected
it via usb to my PC. Surprisingly jpilot did not work, did
so for my elder Zire71 (which is broken...) running 5.4-RELEASE.

After clearing the confusion about ucom0 was renamed
to cuaU0 (why?) it worked, theoretically...

Every time i press the hotsync button devfs creates
the device newly, but with wrong privileges.

In /etc/devfs.conf:
perm   cuaU0  0666

but then:
## l /dev/cuaU0
crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0

The /dev/devfs.conf permissions only apply when i run /etc/rc.d/devfs restart
This is a nogo because i have only 1 second between pressing
sync on the Handheld and clicking sync on jpilot.

TIA

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


proftpd syntax error

2006-12-14 Thread Beech Rintoul
I'm in the process of updating this port. I'm getting this on a test build:

support.c: In function `sreplace':
support.c:862: error: syntax error at end of input
gmake[1]: *** [support.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/ftp/proftpd.test/work/proftpd-1.3.1rc1/src'
gmake: *** [src] Error 2
*** Error code 2

And here's the code in question:

const char *pr_strtime(time_t t) {
  static char buf[30];
  static char *mons[] = { Jan, Feb, Mar, Apr, May, Jun, Jul,
Aug, Sep, Oct, Nov, Dec };
  static char *days[] = { Sun, Mon, Tue, Wed, Thu, Fri, Sat };
  struct tm *tr;

  memset(buf, '\0', sizeof(buf));

  tr = localtime(t);
  if (tr != NULL) {
snprintf(buf, sizeof(buf), %s %s %2d %02d:%02d:%02d %d,
  days[tr-tm_wday], mons[tr-tm_mon], tr-tm_mday, tr-tm_hour,
  tr-tm_min, tr-tm_sec, tr-tm_year + 1900);

  } else
buf[0] = '\0';

  buf[sizeof(buf)-1] = '\0';

  return buf;
}

Can someone tell  me what's wrong?

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpCUCTbWxfdz.pgp
Description: PGP signature


Re: processes not getting fair share of available disk I/O

2006-12-14 Thread Kris Kennaway
On Thu, Dec 14, 2006 at 04:26:18PM +, Dieter wrote:
   FreeBSD 6.0
  
  Erk.  How about retrying with something modern ;-)  We do fix lots of
  bugs over time you know!
 
 In my defense, 6.0 is only one revision down.  (until 6.2 comes out real soon 
 now)

Or to put it another way, your system is missing 13 1/2 months of
continuous bug fixes :-D

  32.3%Sys  31.5%Intr  0.0%User  0.0%Nice 36.2%Idl   710892 inact32 3: 
  sio1
 
  74.8%Sys  25.2%Intr  0.0%User  0.0%Nice  0.0%Idl   828676 inact36 3: 
  sio1
 
  Interrupt CPU usage might be high, but the first thing you should do
  is retry with 6.2-rc1 and work from there.
 
 Whoops, the systat -vmstat and vmstat -i were with mutex profiling enabled.
 Sorry about that.  CPU usage is much lower with it off.  85-95% idle when 
 writing.

OK, that's better.  Still, the only thing that fits is some kind of
driver or hardware problem, so check 6.2-rc1 and see if it's still
there.

Kris


pgpOBIdaTHE44.pgp
Description: PGP signature


Re: cvsup and amd64

2006-12-14 Thread Kris Kennaway
On Thu, Dec 14, 2006 at 08:18:11PM -0700, Z. Wade Hampton wrote:
 Greetings to all,
 I'm running a dell 1501 laptop with amd64x2 processor.
 I got a disk from a guru specifically for this architecture, booted it, and 
 installed 6.1 via FTP.
 
 Yesterday I ran cvsup successfully.
 Today I did make buildworld successfully.
 
 Now, I have a little paranoia about buildkernel.
 
 Please tell me, did I need to specify anything specifically about the amd64 
 architecture when running cvsup?  Did I possibly get a GENERIC kernel file 
 through cvsup that is not compatible with amd?

No, unless you tried hard to avoid it, the source tree you downloaded
includes the amd64 code, and you'll be building an amd64 kernel from
it.

Kris


pgpGxFfAWh0UG.pgp
Description: PGP signature


Re: Palm Tx + jpilot

2006-12-14 Thread Anish Mistry
On Thursday 14 December 2006 23:59, Armin Arh wrote:
 Running a 6.2PRERELEASE kernel here.

 Just purchased a brand new Palm TX Handheld and connected
 it via usb to my PC. Surprisingly jpilot did not work, did
 so for my elder Zire71 (which is broken...) running 5.4-RELEASE.

 After clearing the confusion about ucom0 was renamed
 to cuaU0 (why?) it worked, theoretically...

 Every time i press the hotsync button devfs creates
 the device newly, but with wrong privileges.

 In /etc/devfs.conf:
 perm   cuaU0  0666

 but then:
 ## l /dev/cuaU0
 crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0

 The /dev/devfs.conf permissions only apply when i run
 /etc/rc.d/devfs restart This is a nogo because i have only 1
 second between pressing sync on the Handheld and clicking sync on
 jpilot.
man devfs.rules

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpHkAwfpLseh.pgp
Description: PGP signature


Re: Palm Tx + jpilot

2006-12-14 Thread Armin Arh
On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
  In /etc/devfs.conf:
  perm   cuaU0  0666
 
  but then:
  ## l /dev/cuaU0
  crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
 
  The /dev/devfs.conf permissions only apply when i run
  /etc/rc.d/devfs restart This is a nogo because i have only 1
  second between pressing sync on the Handheld and clicking sync on
  jpilot.
 man devfs.rules

Thx.
Now devfs.rules(5) redirects me to devfs.conf(5)
which clearly states i should set

perm   cuaU0  0666

and i did so as described in my initial post.
Nevertheless the permissions became wrong.
Maybe it works after the next reboot, which is hard to
believe... we'll see.
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade a binary package

2006-12-14 Thread Boris Samorodov
On Thu, 14 Dec 2006 15:11:30 -0500 Kris Kennaway wrote:

 On Thu, Dec 14, 2006 at 12:46:05PM -0700, Eric Brunson wrote:
  I've been searching the manual and the man pages, but I can't seem to 
  find a command to update an installed package to a newer version.  I 
  always get a message like this:
  
  pkg_add: package 'expect-5.43.0_1' or its older version already installed
  
  I only find info on pkg_add and pkg_delete for binary packages, the 
  only references to updating a package give directions on how to use the 
  ports tree.
  
  Is there a way to update an installed package with a newer version?

 sysutils/portupgrade is the usual tool.  I think portmaster can do this too.

portupgrdae -P will try to use a package and then fall back to
building a port and portupgrade -PP will try to use only packages
while portmaster is not capable (so far?) to use packages.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipf and dealing with inbound RPC services

2006-12-14 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello once again,
Just setup ipf on my freebsd server, and I'm having some issues
with RPC services and my firewall rules.
I run nfsd and smbd, exporting my directories to a number of
clients, and everything works without the firewall running, but stuff
doesn't work with it running in smbd. Here are my effective rules for
the server so far:

[EMAIL PROTECTED] /home/gcooper]# ipfstat -i
pass in quick on lo0 all
block in quick from any to any with frag
block in quick from 172.16.0.0/12 to any
block in quick from 10.0.0.0/8 to any
block in quick from 127.0.0.0/8 to any
block in quick from 0.0.0.0/8 to any
block in quick from 169.254.0.0/16 to any
block in quick from 192.0.2.0/24 to any
block in quick from 204.152.64.0/23 to any
block in quick from 224.0.0.0/3 to any
pass in quick proto tcp from any to 192.168.0.100/32 port = ssh flags
S/FSRPAU keep state
pass in quick proto tcp/udp from any to any port = sunrpc keep state
pass in quick proto tcp/udp from any to any port 830  884 keep state
pass in quick proto tcp/udp from any to any port 137  139 keep state
pass in quick proto tcp/udp from any to any port = microsoft-ds keep state
pass in quick proto tcp/udp from any to any port = nfsd keep state
pass in quick proto tcp/udp from any to any port = 3632 keep state
pass in quick proto icmp from any to 192.168.0.100/32 keep state
[EMAIL PROTECTED] /home/gcooper]# ipfstat -o
pass out quick on lo0 all
pass out quick all keep state

nfsd works, but only after experimenting with the open ports a bit.
Figured out that rpcbind semi-randomly selects ports for mountd and I
have to write a script to auto-add rules for the ports it creates for
mountd.

As for smbd, I can't seem to get incoming packets past the ipf firewall.
Would anyone have any ideas for why things aren't working for smbd and
have solutions for how you got your ipf firewall to work with smbd? All
the solutions I can find after some searching have to deal with Solaris
or ancient versions of Freebsd (2.1... eep).

TIA,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgk1bEnKyINQw/HARAr3yAJ9L4lZcsj16a3m+ls+1S6MxfrVAvgCdFyWh
ClC5K3YxBiXtzkMsouyKih8=
=uDi2
-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: Local DNS Caching not caching on external interface

2006-12-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 14 Dec 2006 08:34:11 -0500
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 14 Dec 2006 01:08:11 -0800
  Christopher Cowart [EMAIL PROTECTED] wrote:
 
   On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
Dear All,
   
I am very new to Bind and FreeBSD.
   
I have just configured a Local DNS server using the built-in
Bind 9.3.1 on a FreeBSD 5.4 machine.
   
My problem is that the machine can cache queries on the
localhost and loop back (127.0.0.1) interface only.
   
I have a public static IP on this machine too and I can't seem
to query the caching name server from my local network.
   
In Linux, this is no problem. I just can't seem to get Bind to
work as in my local network. It works only on the loopback
interface.
  
   The default /etc/namedb/named.conf configuration file for BIND
   says:
  
   | // If named is being used only as a local resolver, this is a
   | safe default. // For named to be accessible to the network,
   | comment this option, specify // the proper IP address, or
   | delete this option. listen-on   { 127.0.0.1; };
  
   It looks like if you comment out that option, it will listen on *
   by default. You could also add the other IP address on which you
   want named to listen.
  
   --
   Chris Cowart
   Network and Infrastructure Systems Administrator
   RSSP-IT, UC Berkeley
   May all your pushes be popped
  
 
  Dear Chris,
 
  Thank you for your help. I did comment and added my public static IP
  like the following:
 
 
  listen-on   { 202.x.x.x; }; # My Static IP
 
  Now when I do from my local PC:
 
  dig yahoo.com @202.x.x.x , I can do DNS lookups.
 
  But when I try doing that from another computer on my network, I
  can't do any DNS lookups.
 
 
  Is that anything that I miss?
 
 
  - --
 
 
  With best regards and good wishes,
 
  Yours sincerely,
 
  Tek Bahadur Limbu
 
  (TAG/TDG Group)
  Jwl Systems Department
 
  Worldlink Communications Pvt. Ltd.
 
  Jawalakhel, Nepal
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (FreeBSD)
 
  iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
  168ArGMkI0+9Qj/MpzFbmUo=
  =p9RV
  -END PGP SIGNATURE-
  ___
 
 
 
 You have to tell the other machines on your network to use the IP of
 the local DNS server for domain name resolution. If you are using
 DHCP you can configure your DHCP server to give this information with
 the IP. Otherwise you must manually do it, which will be different
 between operating systems.
 
 HINT: In FreeBSD add the IP of the DNS server to /etc/resolve.conf
 
 Chad
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

Dear Chad,

Thanks for the tip.

I am using static public IPs in all my machines in my network. Yes I
have added the IP of the local caching nameserver in /etc/resolve.conf
but it still not resolving.

I am still puzzled and any help would be appreciated.

As I said, the local caching nameserver can resolve domain names on
it's own but I can't seem to use it from my network. 

Thanks.

 -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFglIZVrOl+eVhOvYRAu2eAJ0RoV9ajmjUxoAa6BWM+jHjsUpjDACePkA8
Robngcewgz8oiDfuhUZZySE=
=qtSI
-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: Local DNS Caching not caching on external interface

2006-12-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 14 Dec 2006 08:34:11 -0500
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 14 Dec 2006 01:08:11 -0800
  Christopher Cowart [EMAIL PROTECTED] wrote:
 
   On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
Dear All,
   
I am very new to Bind and FreeBSD.
   
I have just configured a Local DNS server using the built-in
Bind 9.3.1 on a FreeBSD 5.4 machine.
   
My problem is that the machine can cache queries on the
localhost and loop back (127.0.0.1) interface only.
   
I have a public static IP on this machine too and I can't seem
to query the caching name server from my local network.
   
In Linux, this is no problem. I just can't seem to get Bind to
work as in my local network. It works only on the loopback
interface.
  
   The default /etc/namedb/named.conf configuration file for BIND
   says:
  
   | // If named is being used only as a local resolver, this is a
   | safe default. // For named to be accessible to the network,
   | comment this option, specify // the proper IP address, or
   | delete this option. listen-on   { 127.0.0.1; };
  
   It looks like if you comment out that option, it will listen on *
   by default. You could also add the other IP address on which you
   want named to listen.
  
   --
   Chris Cowart
   Network and Infrastructure Systems Administrator
   RSSP-IT, UC Berkeley
   May all your pushes be popped
  
 
  Dear Chris,
 
  Thank you for your help. I did comment and added my public static IP
  like the following:
 
 
  listen-on   { 202.x.x.x; }; # My Static IP
 
  Now when I do from my local PC:
 
  dig yahoo.com @202.x.x.x , I can do DNS lookups.
 
  But when I try doing that from another computer on my network, I
  can't do any DNS lookups.
 
 
  Is that anything that I miss?
 
 
  - --
 
 
  With best regards and good wishes,
 
  Yours sincerely,
 
  Tek Bahadur Limbu
 
  (TAG/TDG Group)
  Jwl Systems Department
 
  Worldlink Communications Pvt. Ltd.
 
  Jawalakhel, Nepal
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (FreeBSD)
 
  iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
  168ArGMkI0+9Qj/MpzFbmUo=
  =p9RV
  -END PGP SIGNATURE-
  ___
 
 
 
 You have to tell the other machines on your network to use the IP of
 the local DNS server for domain name resolution. If you are using
 DHCP you can configure your DHCP server to give this information with
 the IP. Otherwise you must manually do it, which will be different
 between operating systems.
 
 HINT: In FreeBSD add the IP of the DNS server to /etc/resolve.conf
 
 Chad
 


Dear Chad,

I just get the following logs while troubleshooting with tcpdump.

local nameserver IP: 202.102.5.100
network PC IP: 202.102.5.50

When I do a nslookup of yahoo and google from network PC using the
local caching nameserver, I only get this on the caching nameserver.

13:23:58.707604 IP 202.102.5.50.44778  202.102.5.100.53:  56955+ A?
google.com. (28)
13:23:32.899379 IP 202.102.5.50.40229  202.102.5.100.53:  47636+ A?
yahoo.com. (27) 


Note: Please note that the above Static IPs are just arbitrary values.

Can you please shed some light on this issue?

- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFglUsVrOl+eVhOvYRAsmMAJ9sb0fGdKiPp89CszMg5dXkvteojQCfdk0e
fW0ofW8HJYq4RZXuROX7zPw=
=5Ieg
-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]