Re: Checking remote processes

2006-10-03 Thread Ow Mun Heng
On Tue, 2006-10-03 at 15:12 +1000, Norberto Meijome wrote:
 ssh some.hosts.address ps aux | grep httpd | grep -v grep

ps aux | grep [h]ttpd


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


Re: USB IrDA Adapter

2006-10-03 Thread Zeng Nan
On Sat, Sep 30, 2006 at 02:58:45PM +0300, Luchezar Petkov wrote:
 Hello all,
   I really need your help. I've just brought my first USB IrDA
   adapter to conncect my phone (Sony Ericsson K300i) to my computer.
   It is recognized by FreeBSD (6.2 beta 1) ::
   ugen0: Prolific Technology Inc. USB-Serial Controller, rev
   1.10/3.00, addr 2
   --
   addr 1: OHCI root hub, SiS
  uhub1
addr 2: USB-Serial Controller, Prolific Technology Inc.
 ugen0
 
And... What to do now? How to take the pictures from my photo
camera? How to put files on my phone? I don't know what to do..
Any ideas?
 
Check out: gnokii, gammu in the ports. I have successfully 
sent out sms with my Nokia 6070 under AT mode using gnokii. 
You may also need birda, but I'm not sure.

-- 
Zeng Nan   

MY BLOG: http://zengnan.blogspot.com
Public Key: http://pgp.mit.edu/ | www.keyserver.net

~~~
Just because you're paranoid doesn't mean they AREN'T after you.

~~~


pgpCthZgZeaBP.pgp
Description: PGP signature


Re: Mount permissions on disk

2006-10-03 Thread Norberto Meijome
On Mon, 02 Oct 2006 23:58:26 +0200
Daniel Johansson [EMAIL PROTECTED] wrote:

 If I remember correctly in 4.x all you had to do was to set 775 on the 
 dir you use as mount point but in FreeBSD 6.1 this doesn't seem to work.

well, it  depends on the owner and group of the mount point

_
{Beto|Norberto|Numard} Meijome

I'm not afraid of dying, I just don't want to be there when it happens.
  Woody Allen

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scripting question

2006-10-03 Thread Ivan Levchenko

(forgot to cc the list =))
Remove the word root from the crontab entry. The user should be
specified only in the system crontab.

On 10/3/06, jan gestre [EMAIL PROTECTED] wrote:

i made a script and put on root's crontab, however it's not doing or showing
the output that is forwarded to my email address correctly therefore i'm not
sure if it is working or not. below is what the script look like:

#
# cvsrun - Weekly CVSup Run

echo Subject: `hostname` weekly cvsup run
/usr/local/bin/cvsup -g -L 2 /root/ports-supfile
echo 
/usr/local/bin/portmanager -s | grep OLD
echo 
echo cvsrun done.

#

i would like the output of this command

/usr/local/bin/portmanager -s | grep OLD

to show in my mail where i forwarded it. below is the cronjob.

30 8 * * * root /usr/local/bin/cvsrun | mail -s Daily cvsup run and
portmanager user1

can someone help me to correct this script, to show the output that i want.

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




--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


--
Best Regards,

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


What about carpdev?

2006-10-03 Thread Prokofiev S.P.

When will carpdev option appear for CARP devices in FreeBSD ?

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


Re: Ruby gaining weight? [RESOLVED]

2006-10-03 Thread Pete Slagle
Alex Zbyslaw wrote:
 Pete Slagle wrote:
 Recent versions of ruby18 seem to take more than 145 MB of virtual
 memory to build with portupgrade or make install clean.

 Karol Kwiatkowski wrote less than a week ago:
 # cd /usr/ports/lang/ruby18
 # make -DNOPORTDOCS install


That put me on the right track, thanks!

Karol's example works well for the initial installation of ruby. When
upgrading, this invocation:

  portupgrade -m '-DNOPORTDOCS' ruby

does the equivalent thing. Both save a tremendous amount of time and
disk activity.

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


Re: Ruby gaining weight? [RESOLVED]

2006-10-03 Thread Karol Kwiatkowski
On 03/10/2006 11:37, Pete Slagle wrote:
 Alex Zbyslaw wrote:
 Pete Slagle wrote:
 Recent versions of ruby18 seem to take more than 145 MB of virtual
 memory to build with portupgrade or make install clean.
 
 Karol Kwiatkowski wrote less than a week ago:
 # cd /usr/ports/lang/ruby18
 # make -DNOPORTDOCS install
 
 
 That put me on the right track, thanks!
 
 Karol's example works well for the initial installation of ruby. When
 upgrading, this invocation:
 
   portupgrade -m '-DNOPORTDOCS' ruby
 
 does the equivalent thing. Both save a tremendous amount of time and
 disk activity.

Just for the record, the last update[1] to ruby18 port brought us a
brand new knob 'WITHOUT_RDOC' :)

Cheers,

Karol

[1]
http://www.freebsd.org/cgi/getmsg.cgi?fetch=129223+0+current/cvs-ports

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


cvsup.freebsd.org DNS lookup failure(s)

2006-10-03 Thread Forrest Aldrich

Anyone else seeing this problem today?

   Name lookup failure for cvsup.FreeBSD.org: Host name lookup failed
   Will retry at 07:54:22


Other hosts resolve fine.

I did a search on the lists and didn't notice anything about host 
changes, etc.



_F

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


need help with ppp

2006-10-03 Thread KHOO Guan_Chen

Sorry for using up bandwidth.

I cannot connect to my ISP with FreeBSD (6.0). The ISP is not using 
PAP/CHAP in my case, but apparently something very old. Using minicom 
I can see that

1. my modem is connected to /dev/cuad0
2. after i dailled the ISP, they put me through a login. password and 
a local phase ie.after atdtISP phone_nbr \r, I see:-

connect 115200
Login: my user_id \r
Password: my_password \r
Local
 I have tried to enter things like ppp, ~ppp cppp ppp after 
the (Local) in my chat_script
but  no go. In minicom, I see that they sometimes drop me into a 
shell to which I can only exit,


Could someone give me a few more hints or the correct string to enter? please.

Oh my ISP help is no use. They replied to my request with sorry we 
cannot help you (because)
We at Technical Helpdesk are trained to support Windows and Mac 
based platforms. Your kind understanding is greatly appreciated. ARRGH  !!


Thanks alot

PS :- my chat_script
ABORT BUSY ABORT NO CARRIER  ATZ OK ATDT1234567 CONNECT  
TIMEOUT 10 ogin:-BREAK-ogin: user_id TIMEOUT 10 sword: my_password 
TIMEOUT 10 ocal ~ppp


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


installing ports

2006-10-03 Thread Mbuthia Wangui
I have a bandwidth manager running on FreeBSD 4.9 LOCAL. I want to install 
net-snmp so that traffic generated on the bwmger can be pointed to cacti (like 
mrtg). My problem is that I have gone through enough manuals to get assistance 
on which commands I should run to install the ports hierarchy. I have even 
tried using the cvsup utility but I get an error: Parsing supfile 
ports-supfile
Release not specified for collection host=cvsup.FreeBSD.org. It doesn't 
matter which host I use, the response is still the same.

Is there something I'm doing wrong or missing out. Will really appreciate 
prompt response. 

P.S. Can someone please recommend a FreeBSD book for dummies.

Thanks

Phyllis Mbuthia 
Assistant Network Engineer
Africa Online, Kenya
Tel: +254 (20) 243 775
Fax: +254 (20) 27 100 10
Email: [EMAIL PROTECTED]
AIM: Zytuni
 


Africa Online Disclaimer and Confidentiality Note 

This e-mail, its attachments and any rights attaching hereto are, unless the 
context clearly indicates otherwise, the property of Africa Online Holdings 
(Kenya) Limited and / or its subsidiaries (the Group). It is confidential and 
intended for the addressee only. Should you not be the addressee and have 
received this e-mail by mistake, kindly notify the sender, delete this e-mail 
immediately and do not disclose or use the same in any manner whatsoever. Views 
and opinions expressed in this e-mail are those of the sender unless clearly 
stated as those of the Group. The Group accepts no liability whatsoever for any 
loss or damages, however incurred, resulting from the use of this e-mail or its 
attachments. The Group does not warrant the integrity of this e-mail, nor that 
it is free of errors, viruses, interception or interference. For more 
information about Africa Online, please visit our website at 
http://www.africaonline.com 

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

Re: installing ports

2006-10-03 Thread Garrett Cooper

On Oct 3, 2006, at 5:51 AM, Mbuthia Wangui wrote:

I have a bandwidth manager running on FreeBSD 4.9 LOCAL. I want to  
install net-snmp so that traffic generated on the bwmger can be  
pointed to cacti (like mrtg). My problem is that I have gone  
through enough manuals to get assistance on which commands I should  
run to install the ports hierarchy. I have even tried using the  
cvsup utility but I get an error: Parsing supfile ports-supfile
Release not specified for collection host=cvsup.FreeBSD.org. It  
doesn't matter which host I use, the response is still the same.


Is there something I'm doing wrong or missing out. Will really  
appreciate prompt response.


P.S. Can someone please recommend a FreeBSD book for dummies.

Thanks

Phyllis Mbuthia
Assistant Network Engineer
Africa Online, Kenya
Tel: +254 (20) 243 775
Fax: +254 (20) 27 100 10
Email: [EMAIL PROTECTED]
AIM: Zytuni


Try something like this in your ports supfile:

*default release=cvs tag=.

Refer to /usr/share/examples/cvsup/ports-supfile for a valid ports  
supfile.

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


Re: installing ports

2006-10-03 Thread Bill Moran
In response to Mbuthia Wangui [EMAIL PROTECTED]:

 I have a bandwidth manager running on FreeBSD 4.9 LOCAL. I want to
 install net-snmp so that traffic generated on the bwmger can be pointed
 to cacti (like mrtg). My problem is that I have gone through enough
 manuals to get assistance on which commands I should run to install the
 ports hierarchy. I have even tried using the cvsup utility but I get an
 error: Parsing supfile ports-supfile
 Release not specified for collection host=cvsup.FreeBSD.org. It
 doesn't matter which host I use, the response is still the same.
 
 Is there something I'm doing wrong or missing out. Will really
 appreciate prompt response.

Please wrap your lines around 72 chars.

I checked my crystal ball but didn't see your supfile or a cut/paste of
the error message in it.  Since you didn't provide those either, I can
only make the wildest of guesses: Looks like you didn't specify a line
like:
*default release=cvs tag=.

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


Re: cvsup.freebsd.org DNS lookup failure(s)

2006-10-03 Thread Matthew Seaman
Forrest Aldrich wrote:
 Anyone else seeing this problem today?
 
Name lookup failure for cvsup.FreeBSD.org: Host name lookup failed
Will retry at 07:54:22
 
 
 Other hosts resolve fine.
 
 I did a search on the lists and didn't notice anything about host
 changes, etc.

One of the registered NSes for freebsd.org appears to be down at the moment:

;  DiG 9.3.2-P1  @NS1.DOWNLOADTECH.COM. cvsup.freebsd.org IN A
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached

If you just try again, chances are you'll hit one of the other three
authoritative nameservers and get a response.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: need help with ppp

2006-10-03 Thread Nikos Vassiliadis
On Tuesday 03 October 2006 14:55, KHOO Guan_Chen wrote:
 Sorry for using up bandwidth.

 I cannot connect to my ISP with FreeBSD (6.0). The ISP is not using
 PAP/CHAP in my case, but apparently something very old. Using minicom
 I can see that
 1. my modem is connected to /dev/cuad0
 2. after i dailled the ISP, they put me through a login. password and
 a local phase ie.after atdtISP phone_nbr \r, I see:-
 connect 115200
 Login: my user_id \r
 Password: my_password \r
 Local
   I have tried to enter things like ppp, ~ppp cppp ppp after
 the (Local) in my chat_script
 but  no go. In minicom, I see that they sometimes drop me into a
 shell to which I can only exit,

I think that some network access servers work in both unix login
and ppp mode. They enter unix login mode after some time of
inactivity. I also recall that they tend to timeout really quickly. Did
you try to use plain ppp?


 Could someone give me a few more hints or the correct string to enter?
 please.

 Oh my ISP help is no use. They replied to my request with sorry we
 cannot help you (because)
 We at Technical Helpdesk are trained to support Windows and Mac
 based platforms. Your kind understanding is greatly appreciated. ARRGH
  !!


I also think that if special settings were required, your ISP's helpdesk would
know. Just don't use any scary words like FreeBSD...

Try a plain ppp first

HTH, Nikos

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


Re: Checking remote processes

2006-10-03 Thread David King

On Tue, 2006-10-03 at 15:12 +1000, Norberto Meijome wrote:

ssh some.hosts.address ps aux | grep httpd | grep -v grep

ps aux | grep [h]ttpd


ssh [EMAIL PROTECTED] pgrep httpd

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


Re: mail to root

2006-10-03 Thread Malcolm Kay
On Wed, 20 Sep 2006 02:20 pm, jekillen wrote:
 Hello again;
 I have a question about how mail from the system is generated
 for root. This question was prompted when I edited the Postfix
 aliases file and ran newaliases, then did postfix reload,
 assuming the mail system was running. I was informed that
 Postfix was not running. So the question, how does mail
 generated by the system get delivered to the root account?
 Here is my motive:
 I have a server that I want to run headless. I want to be able
 to retrieve
 mail to root from another machine via ssh login (on the same
 private net work number/netmask 255.255.255.0). I cannot login
 to the system as root over ssh. I don't know if I can read
 root mail with su (as wheel group
 member). I tried this but maybe I'm not using the appropriate
 parameter. Or maybe there isn't any. 

There is!
You can use :
# mail -u root

That is the approach I usually employ.

Or as others have explained adopt root's profile by using su -
in in place of su.

Malcolm

 I don't know where to 
 look for an answer to this
 question, other than this knowledgeable group.Oh, man mail
 maybe? Thanks in advance
 Jeff K

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


R: Re: ipfw cups

2006-10-03 Thread Vittorio
This are my rules (line 631 is about the same port!):

Ciao - Vittorio

#ipfw list
00500 check-state
00501 deny tcp from any to any established
00502 deny ip from any to any frag
00503 allow ip from any to any via 
lo0
00505 deny ip from any to 127.0.0.0/8
00508 deny ip from 127.0.0.0
/8 to any
00590 allow tcp from 10.155.0.0/16 to me dst-port 22,80,8080 
via fxp0 setup keep-state
00595 allow tcp from me to any dst-port 
22,80,8080,443 via fxp0 setup keep-state
00596 allow tcp from me to 
10.155.222.37 dst-port 1524 setup keep-state
00601 allow tcp from 
10.155.0.0/16 to me dst-port 81,137-139,445 via fxp0 setup keep-state
00602 allow udp from 10.155.0.0/16 to me dst-port 
123,81,137,138,139,445 via fxp0 setup keep-state
00603 allow tcp from 
me to any dst-port 81,137-139,445 via fxp0 setup keep-state
00604 allow 
udp from me to any dst-port 123,81,137,138,139,445 via fxp0 setup keep-
state
00605 allow tcp from 10.155.0.0/16 to me dst-port 
1024,3306,5432,5900-5909 via fxp0 setup keep-state
00607 allow udp from 
10.155.0.0/16 to me dst-port 1024,3306,5432,5900 via fxp0 setup keep-
state
00608 allow tcp from any to 10.155.102.6 dst-port 1491
00609 
allow tcp from 10.155.102.6 1491 to any
00610 allow tcp from me to any 
dst-port 53 out via fxp0 keep-state
00612 allow udp from me to any dst-
port 53 out via fxp0 keep-state
00631 allow tcp from 10.155.0.0/16 to 
me dst-port 631
00700 allow icmp from 10.155.0.0/16 to any via fxp0
65535 deny ip from any to any


Sorry for the way they're displayed but 
I'm writing on an awful webmail

Ciao
Vittorio

Messaggio 
originale
Da: [EMAIL PROTECTED]
Data: 3-ott-2006 7.08
A: 
freebsd-questions@freebsd.org
Cc: Vittorio[EMAIL PROTECTED]
Ogg: 
Re: ipfw amp; cups

On Mon, 2 Oct 2006 16:22:13 +0100 (GMT+01:00)
Vittorio [EMAIL PROTECTED] wrote:

 To my ipfw firewall I have 
added, according to what I found in the 
 internet, the following 
rule to allow the use of cupsd on the same box:
 
 00520 allow ip 
from any to any dst-port 631 in
 
 to no avail because it 
 is 
not even checked as you can see below from the log (obtained from 
 
kde kcontrol center trying (and failing) to display the connected 
cups' 
 printers):
 
 Am I missing something?
 What should I 
do?
 Ciao
 Vittorio
 ..
 
NbBSD# ipfw -td list
 00500 check-state
 
00501 Mon Oct  2 17:10:13 
 2006 deny tcp from any to any established
 00502 
 deny ip from any to any frag
 
00503 Mon Oct  2 17:10:13 2006 allow ip 
 from any to any via lo0
 
00514 deny ip from any 
 to any not 
verrevpath in
 00520 allow ip from 
 any to 
any dst-port 631 in
 00525 deny ip from 
 
any to 127.0.0.0/8
 
...
 
...
 00609 allow tcp from 10.155.102.6 1491 to 
any
 00610 allow tcp from me to any dst-port 
53 out 
 via fxp0 keep-state
 00612 allow 
udp from me to 
 any dst-port 53 out via fxp0 keep-state
 
00700 
 allow icmp from 10.155.0.0/16 to any 
via fxp0
 65535 Mon Oct  2 17:10:13 
 2006 deny ip from any to any

can you please send your rules again , making sure there is no dates 
inserted
all over the place? 
thx
_

{Beto|Norberto|Numard} Meijome

Throughout the centuries there were 
[people] who took first steps down new
paths armed only with their own 
vision. Ayn Rand

I speak for myself, not my employer. Contents may 
be hot. Slippery when wet.
Reading disclaimers makes you go blind. 
Writing them is worse. You have been
Warned.



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


Re: need help with ppp

2006-10-03 Thread Peter A. Giessel
On 2006/10/03 3:55, KHOO Guan_Chen seems to have typed:
 Local
   I have tried to enter things like ppp, ~ppp cppp ppp after 
 the (Local) in my chat_script
 but  no go. In minicom, I see that they sometimes drop me into a 
 shell to which I can only exit,

Somewhere over a decade ago, I had a similar ISP, and we used
start ppp or ppp start if I recall correctly.  This was more than
a decade ago, so I could be completely wrong, but you could try that.

You could also try BSD's ppp dameon:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html
which is similar to MacOS X's, so it may just work
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about installing FreeBSD

2006-10-03 Thread Pete C


Quoting Michael Christensen [EMAIL PROTECTED]:


Hi,

  I really hope that you're answering questions about installing   
FreeBSD, since I can't yet start threads on freebsdforum.org.


  My question is :
  I have downloaded the entire FreeBSD 6.1 (about 17,5 GB) and made   
a FREEBSD directory on one of my HDs and now trying to install BSD   
on the other.
  I'm booting from floppies and now can't understand why the   
sysinstall can't find the DOS partition on the slave. Is it because   
it's on a NTFS or what am I doing wrong?


  Thomas

. . the easier way to install is to download the .iso files and burn  
them to CD . . then use your boot floppies to start the install from  
the CDs (or just boot from the CD if supported by your equip)


Pete C

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


Re: how to block rj45 sockets.

2006-10-03 Thread Chuck Swiger

On Oct 2, 2006, at 4:44 PM, Marwan Sultan wrote:
Do you recommend any good switch product and model number which has  
port enable.disable

feature ? other than cisco, in a good price?


You're looking for managed switches; the HP Procurve lineup, and  
the 3com SuperStack III models are also pretty decent.


Cisco is litl bit expensive specially im talking about 24 switch  
each, 20 ports!!


$20 per port is about the lowest price-point for decent managed  
switches out there, and that goes up towards $40 or $50 per port if  
you want to have GBIC fibre or GB-over-copper switch uplinking or  
stacking capabilities; you start losing vital capabilities like  
individual port control  VLAN/trunking capabilities if you go  
cheaper


--
-Chuck

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


optimal kernel options for VMWARE guest system

2006-10-03 Thread Jeff Dickens
I have some Freebsd systems that are running as VMware guests.  I'd like 
to configure their kernels so as to minimize the overhead on the VMware 
host system.  After reading and partially digesting the white paper on 
timekeeping in VMware virtual machines 
(http://www.vmware.com/pdf/vmware_timekeeping.pdf) it appears that I 
might want to make some changes.


Has anyone addressed this issue?


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


sendmail won't start

2006-10-03 Thread Andy Greenwood

I modified my local freebsd.mc file to add support for spamhaus. After
I compilied the sendmail.cf file, sendmail won't start. What am I
doing wrong here?

[EMAIL PROTECTED] mail]# m4 freebsd.mc  sendmail.cf
[EMAIL PROTECTED] mail]# /etc/rc.d/sendmail start
554 5.0.0 /etc/mail/sendmail.cf: line 2: invalid argument to V line:
ERSIONID(FreeBSD: s
451 4.0.0 /etc/mail/sendmail.cf: line 6: fileclass: cannot open
'ATURE(access_db,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 7: fileclass: cannot open
'ATURE(blacklist_recipients)': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 8: fileclass: cannot open
'ATURE(local_lmtp)': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 9: fileclass: cannot open
'ATURE(mailertable,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 10: fileclass: cannot open
'ATURE(virtusertable,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 11: fileclass: cannot open
'ATURE(dnsbl,': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 25: MAILER(local): A= argument required
554 5.0.0 /etc/mail/sendmail.cf: line 26: MAILER(smtp): A= argument required
554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set


You can see my freebsd.mc file at http://agreenftp.no-ip.com/crap/freebsd.mc

--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail won't start

2006-10-03 Thread Philip Hallstrom

I modified my local freebsd.mc file to add support for spamhaus. After
I compilied the sendmail.cf file, sendmail won't start. What am I
doing wrong here?


You have this:

FEATURE(dnsbl, 'sbl.spamhaus.org', 'Rejected - see http://www.spamhaus.org')

You want this:

FEATURE(dnsbl, `sbl.spamhaus.org', `Rejected - see http://www.spamhaus.org')

notice the difference in quoting...



[EMAIL PROTECTED] mail]# m4 freebsd.mc  sendmail.cf
[EMAIL PROTECTED] mail]# /etc/rc.d/sendmail start
554 5.0.0 /etc/mail/sendmail.cf: line 2: invalid argument to V line:
ERSIONID(FreeBSD: s
451 4.0.0 /etc/mail/sendmail.cf: line 6: fileclass: cannot open
'ATURE(access_db,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 7: fileclass: cannot open
'ATURE(blacklist_recipients)': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 8: fileclass: cannot open
'ATURE(local_lmtp)': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 9: fileclass: cannot open
'ATURE(mailertable,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 10: fileclass: cannot open
'ATURE(virtusertable,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 11: fileclass: cannot open
'ATURE(dnsbl,': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 25: MAILER(local): A= argument required
554 5.0.0 /etc/mail/sendmail.cf: line 26: MAILER(smtp): A= argument required
554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set


You can see my freebsd.mc file at http://agreenftp.no-ip.com/crap/freebsd.mc

--
I'm nerdy in the extreme and whiter than sour cream
___
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: sendmail won't start

2006-10-03 Thread wc_lists

Andy Greenwood wrote:

I compilied the sendmail.cf file, sendmail won't start. What am I
doing wrong here?
554 5.0.0 /etc/mail/sendmail.cf: line 2: invalid argument to V line:
ERSIONID(FreeBSD: s
451 4.0.0 /etc/mail/sendmail.cf: line 6: fileclass: cannot open
'ATURE(access_db,': No such file or directory


What happened to the first character on each line?  Those should read 
VERSIONID and FEATURE.  Perhaps you got some kind of junk or control 
characters in there?  Or saved it with dos-style cr-lf line delimiters?


  -wayne

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


Re: installing ports

2006-10-03 Thread Jeff Palmer
snipped out the original email


You may want to try using portsnap.


pkg_add -r portsnap

then
portsnap fetch extract


BTW:  This sounds like one of the etnic (sp?) bandwidth manager boxes.
Would that happen to be the case?


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


PortSnap problems relocating ports

2006-10-03 Thread Wayne
I've been using portsnap on 6.x systems for some time now with no 
problems.  I decided to move /usr/ports and /usr/src to their own 
filesystem, /build, to make it easier to backup the important system 
stuff.  I also relocated /var/db/portsnap to /build/db/portsnap.


I thought I could edit /etc/portsnap.conf to reflect the new location, 
and do things as before.  I edited WORKDIR and PORTSDIR, and set 
PORTSDIR (env var) but now I get:


# portsnap fetch
portsnap: Directory does not exist or is not writable: /var/db/portsnap

Looks like it's ignoring portsnap.conf.  So I explicitly name it:

# portsnap -f /etc/portsnap.conf fetch
portsnap: Directory does not exist or is not writable: /var/db/portsnap

Same thing.  What's up?  So instead I specify both on the command line:

# portsnap -d /build/db/portsnap -p /build/ports fetch

Ahh now it works.  Bug?  Or am I doing something wrong.

Which brings up the next question:  What's the best way to relocate the 
source and ports?  I could grab the dull hatchet and sym-link all the 
defaults to the new locations.  But what's the correct method?


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


Can somebody help me out !!!!!!

2006-10-03 Thread DeadMan Xia ....

Well I am using FreeBSD 6.0 on Dell Power Edge 2850 running qmail, I am
using LogiTech RAID Controller.

I compile the kernel with normal IPFIREWALL, IPFIREWALL_FORWARD. I got some
power with my power, every night my UPS batteries get discharged and my
system shutdown hard. its about 4 to 6 times my system get Hard Shut in 2
days. although i run fsck do make my filesystem fix. Now when i reboot my
system, in dmesg i m getting warning like 

ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic3: Changing APIC ID to 5
ioapic3: WARNING: intbase 96 != expected base 88
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
ioapic3 Version 2.0 irqs 96-119 on motherboard

Can any body help me out , how this error occur and how to fix it ,,,

Regards,,

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


Re: Can somebody help me out !!!!!!

2006-10-03 Thread Chuck Swiger

On Oct 3, 2006, at 12:46 PM, DeadMan Xia  wrote:
I compile the kernel with normal IPFIREWALL, IPFIREWALL_FORWARD. I  
got some
power with my power, every night my UPS batteries get discharged  
and my
system shutdown hard. its about 4 to 6 times my system get Hard  
Shut in 2

days. although i run fsck do make my filesystem fix.


You should connect your UPS to the machine and have it shut down the  
system cleanly before your UPS battery is exhausted.  At least, if  
your UPS is smart enough to do so.



Now when i reboot my system, in dmesg i m getting warning like 

ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic3: Changing APIC ID to 5
ioapic3: WARNING: intbase 96 != expected base 88
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
ioapic3 Version 2.0 irqs 96-119 on motherboard


This is completely unrelated.  The APIC, Advanced Programmable  
Interrupt Controller, is what permits newer machines to access more  
than the 15 IRQ's traditionally available using Intel 8259 PICs.  I  
believe that the default expectation was that each APIC ID would  
control up to 32 IRQ lines, but the APIC in your Dell is set up to  
only control 24 IRQs per ID.


In theory, you can ignore these warnings, although in practice there  
still may be interrupt aliasing issues between IRQs which should be  
separate but are multiples of each other modulo 32 (or 24? in this  
case?).  Again, this is unrelated to having your machine shut down  
uncleanly because AC line power failed...


--
-Chuck

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


Re: optimal kernel options for VMWARE guest system

2006-10-03 Thread John Nielsen
On Tuesday 03 October 2006 12:58, Jeff Dickens wrote:
 I have some Freebsd systems that are running as VMware guests.  I'd like
 to configure their kernels so as to minimize the overhead on the VMware
 host system.  After reading and partially digesting the white paper on
 timekeeping in VMware virtual machines
 (http://www.vmware.com/pdf/vmware_timekeeping.pdf) it appears that I
 might want to make some changes.

 Has anyone addressed this issue?

I haven't read the white paper (yet; thanks for the link), but I've had good 
results with recent -STABLE VM's running under ESX server 3. Some thoughts:

As I do on most of my installs, I trimmed down GENERIC to include just the 
drivers I use. In this case that was mpt for the disk and le for the network 
(although I suspect forcing the VM to present e1000 hardware and then using 
the em driver would work as well if not better).

The VMware tools package that comes with ESX server does a poor job of getting 
itself to run, but it can be made to work without too much difficulty. Don't 
use the port, run the included install script to install the files, ignore 
the custom network driver and compile the memory management module from 
source (included). If using X.org, use the built-in vmware display driver, 
and copy the vmmouse driver .o file from the VMware tools dist to the 
appropriate dir under /usr/X11. Even though the included file is for X.org 
6.8, it works fine with 6.9/7.0 (X.org 7.1 should include the vmmouse 
driver.) Run the VMware tools config script from a non-X terminal (and you 
can ignore the warning about running it remotely if you're using SSH), so it 
won't mess with your X display (it doesn't do anything not accomplished 
above). Then run the rc.d script to start the VMware tools.

I haven't noticed any timekeeping issues so far.

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


Re: cvsup.freebsd.org DNS lookup failure(s)

2006-10-03 Thread Solovyov, Evgeny
On 03.10.06 07:53 , Forrest Aldrich wrote:
 Anyone else seeing this problem today?
 
Name lookup failure for cvsup.FreeBSD.org: Host name lookup failed
Will retry at 07:54:22
 
 
 Other hosts resolve fine.
 
 I did a search on the lists and didn't notice anything about host changes, 
 etc.
 
 
 _F
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I had have same with cvsup.uk.FreeBSD.org.
After the second try all was Ok.

-- 
If it sits on your desk for 15 minutes, you've just
become the expert.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing perl5.8.5

2006-10-03 Thread Bawan Karn

I have installed FreeBSD 4.1. The in-built perl is installed on that but I
have to install perl5.8.5. I have googled it and found answers to install
perl, but I am not sure what I am doing wrong. I can't install it. I am
wrting you the steps which I did:
1. Copied perl-5.8.5.tar.gz
2. Extracted this file which seems to be extracted on folder perl-5.8.5
3. Now when I am trying   *perl Makefile.PL* it gives me result as
Can't open perl script Makefile.PL: No such file or Directory
4. when i am doing *make install* it gives me result as make:don't know how
to make install. Stop

Can somebody tell me what I am doing wrong and how I can solve this issue.
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMART errors and file systems

2006-10-03 Thread Michael Knoll

I have a drive that gained a bad sector, detected by smartctl.  I have
the LBA number of the sector.  The drive is one large UFS partition.
Is it possible to determine where in the filesystem the sector lies?
Mostly, what file is corrupted by the bad sector?

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


vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-03 Thread perikillo

 Hi people i have read a some mails about this problem, it looks like all
was running some 5.X branch, i have been using FreeBSD 6.1 some months
ago,  yesterday i make the buildworld process, right now i have my box with
FreeBSD6.1-p10.

 This box runs bacula server with this NIC:

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem
0xee022000-0xee0220ff at device 18.0 on pci0
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus0: MII bus on vr0
vr0: bpf attached
vr0: Ethernet address: 00:01:6c:2c:09:90
vr0: [MPSAFE]

 This NIC is integrated with the motherboard, i used this box with freebsd
5.4-pX almost 1 year running bacula 1.38.5 without a problem.

 1 full backup take almost 140Gb of data.

Last week i lost 1 job Full Backup from one of my biggest servers running
RH9 aprox 80Gb off data, bacula just backup 35Gb and mark the job -Error

26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: No Job
status returned from FD.
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Error: Bacula
1.38.11(28Jun06): 26-Sep-2006 00:28:48

FD termination status:  Error
SD termination status:  Error
Termination:*** Backup Error ***

 I have no problem with the client, is running our ERP software and no
comment here.

In my freebsd console appear this:

vr0: watchdog timeout

 I reset the server, and all the Differential backups has been working
good, i do the buildworld yesterday and let my bacula server ready to do a
full backup for all my clients and whops...

I lost 2 clients jobs:

Client 1:

02-Oct 18:30 bacula-dir: Start Backup JobId 176, Job=PDC.2006-10-02_18.30.00
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: Network error
with FD during Backup: ERR=Operation timed out
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: No Job status
returned from FD.
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Error: Bacula
1.38.11(28Jun06): 02-Oct-2006 20:40:11
 JobId:  176
 Job:PDC.2006-10-02_18.30.00
 Backup Level:   Full
 Client:   PDC Windows NT 4.0,MVS,NT 4.0.1381
 FileSet:PDC-FS 2006-08-21 18:04:12
 Pool:   FullTape
 Storage:LTO-1
 Scheduled time: 02-Oct-2006 18:30:00
 Start time: 02-Oct-2006 18:30:06
 End time:   02-Oct-2006 20:40:11
 Elapsed time:   2 hours 10 mins 5 secs
 Priority:   11
 FD Files Written:   0
 SD Files Written:   0
 FD Bytes Written:   0 (0 B)
 SD Bytes Written:   0 (0 B)
 Rate:   0.0 KB/s
 Software Compression:   None
 Volume name(s): FullTape-0004
 Volume Session Id:  2
 Volume Session Time:1159832414
 Last Volume Bytes:  38,857,830,949 (38.85 GB)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Backup Error ***

Client 2

02-Oct 21:30 bacula-dir: Start Backup JobId 178, Job=
MBXBDCB.2006-10-02_21.30.00
02-Oct 21:31 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:37 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:44 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:51 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:58 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:04 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Fatal error: bnet.c:859
Unable to connect to File daemon on 192.168.2.9:9102. ERR=Host is down
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Error: Bacula
1.38.11(28Jun06): 02-Oct-2006 22:10:03
 JobId:  178
 Job:MBXBDCB.2006-10-02_21.30.00
 Backup Level:   Full
 Client: MBXBDCB i686-pc-linux-gnu,redhat,9
 FileSet:MBXBDCB-FS 2006-08-21 23:00:02
 Pool:   FullTape
 Storage:LTO-1
 Scheduled time: 02-Oct-2006 21:30:00
 Start time: 02-Oct-2006 21:30:02
 End time:   02-Oct-2006 22:10:03
 Elapsed time:   40 mins 1 sec
 Priority:   13
 FD Files Written:   0
 SD Files Written:   0
 FD Bytes Written:   0 (0 B)
 SD Bytes Written:   0 (0 B)
 Rate:

RE: installing perl5.8.5

2006-10-03 Thread Mark

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bawan Karn
 Sent: dinsdag 3 oktober 2006 22:36
 To: freebsd-questions@freebsd.org
 Subject: installing perl5.8.5
 
 
 
 I have installed FreeBSD 4.1.

I hope you mean 4.11; I really do. :) Otherwise, don't even bother with
upgrading Perl.

 I have googled it and found answers to install
 perl, but I am not sure what I am doing wrong. I can't 
 install it. I am
 wrting you the steps which I did:
 1. Copied perl-5.8.5.tar.gz
 2. Extracted this file which seems to be extracted on folder 
 perl-5.8.5
 3. Now when I am trying   *perl Makefile.PL* it gives me result as
 Can't open perl script Makefile.PL: No such file or Directory
 4. when i am doing *make install* it gives me result as 
 make:don't know how to make install. Stop

Assuming you're on 4.11, really, just do:

cd /usr/ports/lang/perl5.8
make
make test
make install

That's all. Maybe add PREFIX=/path-to=new-perl, if you want.

- Mark

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


Re: how to block rj45 sockets.

2006-10-03 Thread Marwan Sultan

Gurus

Thank you all for your advices, I would go ahead and look for managed 
switches :)

Belkin was a mistake,

Thank you again
Marwan




 Get real switching hardware to replace those Belkins.  Cisco and other
 switches will allow you to enable/disable ports on demand.

 Do you recommend any good switch product and model number which has port
 enable.disable
 feature ? other than cisco, in a good price?
 Cisco is litl  bit expensive specially im talking about 24 switch each, 
20

 ports!!

Don't top-post.

There are a number of vendors who sell managed switches.  I don't
recommend any of them.  I think Cisco is worth the extra money.

However, most manufactures who sell switches have a line of managed
switches.  I don't recommend Dells, but they do exist.  3Com has them --
just about anyone who's serious about selling networking equipment
has them.

--
Bill Moran

MAL: Hell, this job I would pull for free.
ZOE: Can I have your share?
MAL: No.
ZOE: If you die, can I have your share?
MAL: Yes.


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


ZendOptimizer and libm.so.2?

2006-10-03 Thread Mark

Hello,

Is there a particular reason ZendOptimizer
(/usr/ports/devel/ZendOptimizer) for PHP 4.4.4 requires FreeBSD 5.x or
higher? Near as I can tell, only reason it wouldn't run really, is because
of the absence of libm.so.3. But I resolved to be bold, and made a symlink
for libm.so.3 to libm.so.2, and now my new ZendOptimizer works just
flawlessly.

I hope someone can shed some light on this.

Thanks,

- Mark

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


RE: ZendOptimizer and libm.so.2?

2006-10-03 Thread Mark

I wrote:

 Subject: ZendOptimizer and libm.so.2?
 
 
 Hello,

 Is there a particular reason ZendOptimizer
 (/usr/ports/devel/ZendOptimizer) for PHP 4.4.4 requires FreeBSD 5.x or
 higher? Near as I can tell, only reason it wouldn't run
 really, is because of the absence of libm.so.3. But I resolved to be bold,
 and made a symlink for libm.so.3 to libm.so.2, and now my new
ZendOptimizer
 works just flawlessly.

I did some more research:

http://www.hostlibrary.com/SetupaFreeBSDproductionWebServerrerytretret.html

It says:

On FreeBSD 5.4 you might get an error when installing Zend Optimizer:
/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by
php

To fix the problem and go on with installation just create a symbolic link:

#ln -s /lib/libm.so.3 /lib/libm.so.2

then continue with Zend installation.

Which leads me to believe I'm correct in thinking Zend Optimizer really
just needs libm.so.2, right?

- Mark

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


Re: ZendOptimizer and libm.so.2?

2006-10-03 Thread Dan Nelson
In the last episode (Oct 03), Mark said:
  Is there a particular reason ZendOptimizer
  (/usr/ports/devel/ZendOptimizer) for PHP 4.4.4 requires FreeBSD 5.x
  or higher? Near as I can tell, only reason it wouldn't run really,
  is because of the absence of libm.so.3. But I resolved to be bold,
  and made a symlink for libm.so.3 to libm.so.2, and now my new
  ZendOptimizer works just flawlessly.
 
 I did some more research:
 
 http://www.hostlibrary.com/SetupaFreeBSDproductionWebServerrerytretret.html
 
 It says:
 
 On FreeBSD 5.4 you might get an error when installing Zend Optimizer:
 /usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by
 php
 
 To fix the problem and go on with installation just create a symbolic link:
 
 #ln -s /lib/libm.so.3 /lib/libm.so.2
 
 then continue with Zend installation.
 
 Which leads me to believe I'm correct in thinking Zend Optimizer really
 just needs libm.so.2, right?

You're better off installing the misc/compat4x port to get libm.so.2 .

-- 
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: ZendOptimizer and libm.so.2?

2006-10-03 Thread Mark

 -Original Message-
 From: Dan Nelson [mailto:[EMAIL PROTECTED] 
 Sent: woensdag 4 oktober 2006 0:19
 To: Mark
 Cc: 'FreeBSD-Questions Questions'
 Subject: Re: ZendOptimizer and libm.so.2?
 
 
  Which leads me to believe I'm correct in thinking Zend 
  Optimizer really just needs libm.so.2, right?
 
 You're better off installing the misc/compat4x port to get libm.so.2 .

No, I *have* libm.so.2 (FreeBSD 4.11); The port for Zend Optimizer
said it needed libm.so.3, but from what I read, I really think libm.so.2
suffices.

- Mark

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


Re[2]: ZendOptimizer and libm.so.2?

2006-10-03 Thread Daniel Gerzo
Hello Mark,

Wednesday, October 4, 2006, 12:22:28 AM, you wrote:

  Which leads me to believe I'm correct in thinking Zend 
  Optimizer really just needs libm.so.2, right?
 
 You're better off installing the misc/compat4x port to get libm.so.2 .

 No, I *have* libm.so.2 (FreeBSD 4.11); The port for Zend Optimizer

You should be better with not having such an ancient system :-)

And now seriously, its End Of Life (i.e. support from security team)
is sheduled on January 31th 2007.

 said it needed libm.so.3, but from what I read, I really think libm.so.2
 suffices.

 - Mark

-- 
Best regards,
 Danielmailto:[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: Re[2]: ZendOptimizer and libm.so.2?

2006-10-03 Thread Mark

 -Original Message-
 From: Daniel Gerzo [mailto:[EMAIL PROTECTED]
 Sent: woensdag 4 oktober 2006 0:27
 To: Mark
 Cc: 'Dan Nelson'; 'FreeBSD-Questions Questions'
 Subject: Re[2]: ZendOptimizer and libm.so.2?



 Hello Mark,

 Wednesday, October 4, 2006, 12:22:28 AM, you wrote:

   Which leads me to believe I'm correct in thinking Zend
   Optimizer really just needs libm.so.2, right?
 
  You're better off installing the misc/compat4x port to get
  libm.so.2 .

  No, I *have* libm.so.2 (FreeBSD 4.11); The port for Zend
  Optimizer

 You should be better with not having such an ancient system :-)

I still happen to think 4.11 is the most stable FreeBSD ever made. :)

I took the advice, though, but in reverse: I installed misc/compat5x
(after a bit of tweaking). And now I have a bonafide libm.so.3, in
/usr/local/lib/compat/libm.so.3. I'm probably not gonna win any beauty
contests with it, but this libm.so.3 is the real deal, at least.

- Mark

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


Strange cron behavior

2006-10-03 Thread stan
I'm having a hard time getting cron to run a task. I've run crontab -e
(as root), and added the following line:

12 * * * * /usr/local/bin/mirror_ubuntu

This script runs from teh command line. Now I've seen plenty of
strange beahviour because of the limited environment cron tasks
get, but a basic echo test  /tmp/stan isn't even creating
the file.

Sugestions?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scripting question

2006-10-03 Thread jan gestre

On 10/3/06, Ivan Levchenko [EMAIL PROTECTED] wrote:


Remove the word root from the crontab entry. The user should be
specified only in the system crontab.



thanks ivan,  but the solution i made was i put in the
/usr/local/etc/periodic/daily directory, it is now working :D


On 10/3/06, jan gestre [EMAIL PROTECTED] wrote:

 i made a script and put on root's crontab, however it's not doing or
showing
 the output that is forwarded to my email address correctly therefore i'm
not
 sure if it is working or not. below is what the script look like:

 #
 # cvsrun - Weekly CVSup Run

 echo Subject: `hostname` weekly cvsup run
 /usr/local/bin/cvsup -g -L 2 /root/ports-supfile
 echo 
 /usr/local/bin/portmanager -s | grep OLD
 echo 
 echo cvsrun done.

 #

 i would like the output of this command

 /usr/local/bin/portmanager -s | grep OLD

 to show in my mail where i forwarded it. below is the cronjob.

 30 8 * * * root /usr/local/bin/cvsrun | mail -s Daily cvsup run and
 portmanager user1

 can someone help me to correct this script, to show the output that i
want.

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



--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


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


mail server rejects local and virtual clients

2006-10-03 Thread [EMAIL PROTECTED]

Aloha,

Using help from this list and Greg Lehey's book I have built a FreeBSD 
6.2 server for a mail server and Installed Postfix from ports and tested 
it OK.
I can see mail on the server in the expected box by telnet.  I installed 
pop3 to capture the mail on another  FreeBSD 4.11  box on another 
network using  firebird just like a client would over the internet.

The passwords are in the /etc.passwd for local users.

Errors:

Sending of password did not succeed. Mail server mail.internetohana.net  
resopnded: Password supplied for [EMAIL PROTECTED]  is incorrect.






on the box istelf i get:

telnet localhost  110 
Connected to localhost.internetohana.org. 
OK



From the client command line on another network I get this using the servers 
name:


telnet mail.internetohana.org
Trying (etc) 
OK Qpopper.



telnet mail.hawaiidakine.com 110
mail.hawaiidakine.com 110: No address associated with hostname.  



This is a virtual host under /usr/local/etc/postfix/virtual

hawaiidakine.comanything
[EMAIL PROTECTED]   hdkmail


The alp mail is a local usr for testing and hdkmail is the local user for 
hawaiidakine.com the virtual domain.

Mozilla is the email reader I set up for fetching the [EMAIL PROTECTED] mail 
stored in the hdkmail box.
I maybe have faulty postfix settings.

Anybody know of a how to to set these virtual hosts up to respond properly? I have all of them in the local host under  /var/mail 


Thanks.

Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com -- 
-- http://internetohana.org -- http://freeBSDinfo.org --

+ Supporting open source computing - FreeBSD 6.* +


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


upgrading amavisd-new port fails

2006-10-03 Thread jan gestre

hi guys,


i tried upgrading the amavisd-new port via portmanager and portupgrade, both
methods failed, i had a similar problem before but i forgot how did i fix it
:(  is there a problem with the amavisd-new port?

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


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-03 Thread perikillo

On 10/3/06, perikillo [EMAIL PROTECTED] wrote:


  Hi people i have read a some mails about this problem, it looks like all
was running some 5.X branch, i have been using FreeBSD 6.1 some months
ago,  yesterday i make the buildworld process, right now i have my box with
FreeBSD6.1-p10.

  This box runs bacula server with this NIC:

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem
0xee022000-0xee0220ff at device 18.0 on pci0
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus0: MII bus on vr0
vr0: bpf attached
vr0: Ethernet address: 00:01:6c:2c:09:90
vr0: [MPSAFE]

  This NIC is integrated with the motherboard, i used this box with
freebsd 5.4-pX almost 1 year running bacula 1.38.5 without a problem.

  1 full backup take almost 140Gb of data.

Last week i lost 1 job Full Backup from one of my biggest servers running
RH9 aprox 80Gb off data, bacula just backup 35Gb and mark the job -Error

26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: No Job
status returned from FD.
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Error: Bacula 
1.38.11(28Jun06): 26-Sep-2006 00:28:48

FD termination status:  Error
SD termination status:  Error
Termination:*** Backup Error ***

  I have no problem with the client, is running our ERP software and no
comment here.

In my freebsd console appear this:

vr0: watchdog timeout

  I reset the server, and all the Differential backups has been working
good, i do the buildworld yesterday and let my bacula server ready to do a
full backup for all my clients and whops...

I lost 2 clients jobs:

Client 1:

02-Oct 18:30 bacula-dir: Start Backup JobId 176, Job=
PDC.2006-10-02_18.30.00
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: No Job
status returned from FD.
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Error: Bacula 
1.38.11(28Jun06): 02-Oct-2006 20:40:11
  JobId:  176
  Job:PDC.2006-10-02_18.30.00
  Backup Level:   Full
  Client:   PDC Windows NT 4.0,MVS,NT 4.0.1381
  FileSet:PDC-FS 2006-08-21 18:04:12
  Pool:   FullTape
  Storage:LTO-1
  Scheduled time: 02-Oct-2006 18:30:00
  Start time: 02-Oct-2006 18:30:06
  End time:   02-Oct-2006 20:40:11
  Elapsed time:   2 hours 10 mins 5 secs
  Priority:   11
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Volume name(s): FullTape-0004
  Volume Session Id:  2
  Volume Session Time:1159832414
  Last Volume Bytes:  38,857,830,949 ( 38.85 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

Client 2

02-Oct 21:30 bacula-dir: Start Backup JobId 178, Job=
MBXBDCB.2006-10-02_21.30.00
02-Oct 21:31 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:37 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:44 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:51 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:58 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:04 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Fatal error: bnet.c:859
Unable to connect to File daemon on 192.168.2.9:9102 . ERR=Host is down
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Error: Bacula 
1.38.11(28Jun06): 02-Oct-2006 22:10:03
  JobId:  178
  Job:MBXBDCB.2006-10-02_21.30.00
  Backup Level:   Full
  Client: MBXBDCB i686-pc-linux-gnu,redhat,9
  FileSet:MBXBDCB-FS 2006-08-21 23:00:02
  Pool:   FullTape
  Storage:LTO-1
  Scheduled time: 02-Oct-2006 21:30:00
  Start time: 02-Oct-2006 21:30:02
  End time:   02-Oct-2006 22:10:03
  Elapsed time:   40 mins 1 sec
  Priority:   13
  FD Files Written:   0
  SD 

port failing for me on xorg-libraries

2006-10-03 Thread Jeff MacDonald

Hi,

Running on 5.5 pre release. [Need to upgrade the machien, i know]

Just cvsup'd my ports and I'm adding curl for php5-extensions.

When it gets to the xorg-libraries I get this

snip
===   xorg-libraries-6.9.0 depends on shared library: drm - found
===   xorg-libraries-6.9.0 depends on shared library: freetype.9 - found
===   xorg-libraries-6.9.0 depends on shared library: fontconfig.1 - found
===  Configuring for xorg-libraries-6.9.0
cp: /usr/X11R6/lib/X11/config/date.def: No such file or directory
*** Error code 1

I'm not sure how to go from here.

Thanks.


--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

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


Re: IPFW + NATD rules

2006-10-03 Thread Alex de Kruijff
On Sun, Aug 27, 2006 at 01:04:54PM +0500, ?? ?? wrote:
 I'm a junior in FreeBSD, and I faced with problem.

You should know that others have mailers that are thread enabled. This
means that when you compose a new mail, but you that the reply sort cut
others may not read this, because it end up in the list.

I redirected the mail to questions@ becuase this is not related to the
stable development brance.

 I've a FreeBSD 6.1-stable box as a gate+firewall, and I want to divert
 incoming requests to my web-server, placed in DeMilitarized Zone
 (DMZ). To do this I wrote down settings in /etc/rc.conf as shown
 above:
 
   natd_flags=-redirect_port tcp 80 192.168.1.234 80
   natd_flags=-redirect_poort tcp 443 192.168.1.234 443

You proberbly can not have two lines. 

 I think, that all packets incoming from Internet will be diverted from
 the External interface via DMZ interface to my We-server. Is it right?
 If not, why not, and what the way to make it working?

Yes, but you made some mistakes:
1. You have two lines, where only one is allowed.
2. The file format is wrong: should be tcp forward_ip:port port
3. You made a typo
4. Did you setup ipfw?

I've done this with a seperate config file.

firewall_enable=YES
firewall_type=/etc/firewall.conf
natd_enable=YES
natd_flags=-f /etc/natd.conf
natd_interface=fxp0

/etc/firewall.conf contains:
add divert 8668 ip from any to any (note: src_ip and dst_ip changes
here, so keep this in mind if you
add rules)
add allow ip from any to any

/etc/natd.conf contains:
redirect_port tcp ip_to_goto:port local_port

Did you setup ipfw and directed packes to natd?

You also need to setup i
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Question about installing FreeBSD

2006-10-03 Thread jan gestre

On 10/4/06, Pete C [EMAIL PROTECTED] wrote:



Quoting Michael Christensen [EMAIL PROTECTED]:

 Hi,

   I really hope that you're answering questions about installing
 FreeBSD, since I can't yet start threads on freebsdforum.org.

   My question is :
   I have downloaded the entire FreeBSD 6.1 (about 17,5 GB) and made
 a FREEBSD directory on one of my HDs and now trying to install BSD
 on the other.
   I'm booting from floppies and now can't understand why the
 sysinstall can't find the DOS partition on the slave. Is it because
 it's on a NTFS or what am I doing wrong?

   Thomas

. . the easier way to install is to download the .iso files and burn
them to CD . . then use your boot floppies to start the install from
the CDs (or just boot from the CD if supported by your equip)

Pete C



since you were to able download that much file size, i agree with pete the
best way to install is via the .iso files, i dunno why is that the FreeBSD
files you downloaded amounted to that much space that's odd, when i
downloaded the iso's before, it only consists of iso's so that equals 2 cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about installing FreeBSD

2006-10-03 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jan gestre wrote:
 On 10/4/06, Pete C [EMAIL PROTECTED] wrote:


 Quoting Michael Christensen [EMAIL PROTECTED]:

  Hi,
 
I really hope that you're answering questions about installing
  FreeBSD, since I can't yet start threads on freebsdforum.org.
 
My question is :
I have downloaded the entire FreeBSD 6.1 (about 17,5 GB) and made
  a FREEBSD directory on one of my HDs and now trying to install BSD
  on the other.
I'm booting from floppies and now can't understand why the
  sysinstall can't find the DOS partition on the slave. Is it because
  it's on a NTFS or what am I doing wrong?
 
Thomas
 
 . . the easier way to install is to download the .iso files and burn
 them to CD . . then use your boot floppies to start the install from
 the CDs (or just boot from the CD if supported by your equip)

 Pete C
 
 
 since you were to able download that much file size, i agree with pete the
 best way to install is via the .iso files, i dunno why is that the FreeBSD
 files you downloaded amounted to that much space that's odd, when i
 downloaded the iso's before, it only consists of iso's so that equals 2 cd.

Sounds like Michael downloaded / mirrored the entire site for no
reason. Haha.. kind of defeats the purpose of the online installer
because you no doubt won't install all of the items that you found on
the FreeBSD site.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFIx4w6CkrZkzMC68RAlnTAJ4gS1C1vHH15yEH6uiN1KgC0R8IgwCeJfsE
VUrADNgyDOZa7CkbtoORZBA=
=c+R0
-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: Strange cron behavior

2006-10-03 Thread Philip Hallstrom

I'm having a hard time getting cron to run a task. I've run crontab -e
(as root), and added the following line:

12 * * * * /usr/local/bin/mirror_ubuntu

This script runs from teh command line. Now I've seen plenty of
strange beahviour because of the limited environment cron tasks
get, but a basic echo test  /tmp/stan isn't even creating
the file.

Sugestions?


Is the cron daemon running?  What is the output in /var/log/cron?

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


Re: Strange cron behavior

2006-10-03 Thread Atom Powers

On 10/3/06, stan [EMAIL PROTECTED] wrote:

I'm having a hard time getting cron to run a task. I've run crontab -e
(as root), and added the following line:

12 * * * * /usr/local/bin/mirror_ubuntu

This script runs from teh command line. Now I've seen plenty of
strange beahviour because of the limited environment cron tasks
get, but a basic echo test  /tmp/stan isn't even creating
the file.

Sugestions?



Even your basic script is making assumptions about the environment.
When writing cron scripts always use full-path to your executables and
be very aware of when you are globbing. If I recall, cron won't allow
globbing (the '*' and '?' characters in paths) in commands unless
explicitly enabled, and the only path you get is that defined in your
crontab.


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]