RE: Problem with compiling sendmail+sasl

2005-09-29 Thread Sasa Stupar
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasa Stupar
Sent: Thursday, September 29, 2005 7:04 AM
To: freebsd-questions@freebsd.org
Subject: RE: Problem with compiling sendmail+sasl

Still problem with unknown verifier when I try to authenticate myself. 
Now my sendmail is copiled with sasl2:
--
mig29# sendmail -d0.1 -bv root
Version 8.13.5
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF
SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
--

And when I telnet to port 25:
--
mig29# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.workgroup.
Escape character is '^]'.
220 xmail.homelinux.net ESMTP Sendmail 8.13.5/8.13.5; Thu, 29 Sep 2005 06:59:07 
+0200 (CEST)
ehlo localhost
250-xmail.homelinux.net Hello localhost.workgroup [127.0.0.1], pleased to meet 
you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 10480760
250-DSN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
--

And SASL2 is working too. I have verified with testsaslauthd and it return OK.

So what am I still missing here?

I am starting getting desperate.

Regards,
Sasa




OK some additional info from the detailed logging:

Sep 29 09:42:48 mig29 sendmail[26205]: j8T7fvhP026205: AUTH failure (plain): 
bad protocol / cancel (-5) SASL(-5): bad protocol / cancel: Can only find 
author (no password)
Sep 29 09:42:58 mig29 sendmail[26205]: j8T7fvhP026205: AUTH failure (login): no 
mechanism available (-4) SASL(-4): no mechanism available: checkpass failed

I have tried it thru console.
Why it is stated no mechanism for login and for plain bad protocol?

Regards,
Sasa

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


Update after crash

2005-09-29 Thread zlatozar
Hi all,
 Yesterday my filesystem crashed and had to run manually
 nexus# fsck /dev/ad6s1d (mounded as /usr)
 Today I try to update FreeBSD, but see the error
 
nexus# cd /usr/ports/
nexus# make fetchindex
/usr/bin/id: not found
/usr/ports/Mk/bsd.port.subdir.mk, line 69: warning: /usr/bin/id -u
returned non-zero status
INDEX-6.bz2 100% of 678 kB 14 kBps 00m00s
 Would you tell me please is there a way to repairer system? Please advice!
 Thank you,
Zlatozar

--
(__)
\\\ ' ' , )
\ / \ ^
.\ ._/_)

http://zlatozar.blogspot.com/
I'm not a great programmer; I'm just a good programmer with great habits.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick TTY Question

2005-09-29 Thread Sebastien Chassot
Le Mercredi 28 septembre 2005 à 20:56 -0500, Eric Schuele a écrit :
 Eric Murphy wrote:
  Hey all after installing the newest version of Xorg I am uable to switch 
  consoles... with CTRL-ALT-F#
  
  
  Im running AMD64 version of BSD 6.0 this worked in i386 wonder why its not 
  working in amd64
  
  I have gdm set in /etc/ttys instead of xdm... didnt see anything that 
  wouldnt allow me to set consoles any ideas?
 
 Anything like this in your xorg.conf file?
 
  Section ServerFlags
   Option DontVTSwitch
   Option DontZap
  EndSection
 

Sorry about taking advantage of this threat to solve my own similar
problem. 

In my case I've already did some googling ans checked that point.
Unfortunately it's something else, commun to xfce and wmaker.



-- 
Sebastien Chassot - Geneva

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


Re: openssl 0.9.8 breaking things

2005-09-29 Thread Mark Edwards

On Sep 28, 2005, at 7:26 PM, Gary Kline wrote:


On Wed, Sep 28, 2005 at 06:48:03PM +0200, Daniel Gerzo wrote:


Hello Mark,

Wednesday, September 28, 2005, 6:41:47 PM, you contributed this to  
our collective wisdom:


Just upgraded to openssl 0.9.8 and things are breaking, namely  
exim and
cyrus-imap.  Non-SSL connections work, SSL connections cause a  
segfault.




I'm going back to 0.9.7g using the WITH_OPENSSL_097 flag, but is  
there
some way to make this work with 0.9.8?  Have I totally missed  
something

here?



you need to recompile your software (exim,cyrus-imap,...) against new
openssl libs.


I'll toss in my two cents here just FWIW.  I had troubles
with all sorts of sh* (stuff) breaking when I touched openssl.

I had not---or maybe I did, inadvertently--used the openssl
port.  I *had* to use /usr/src/secure/openssl/whatever;
when applications began breaking.  I pkg_deleted openssl
and rebuilt the native /usr/src/* stuff.  These apps are
tightly interdependent; that's why you are seeing things
break.

This may or may not work generally.  It cost me at least
a day's investigation ... and I'm  *still* not sure that
everything's right.


I think I have a clue as to why this is becoming complicated.  I  
didn't have either WITH_OPENSSL_BASE=yes or WITH_OPENSSL_PORT=yes in / 
etc/make.conf.  What must be happening is that some things are using  
the base openssl, and some are using the port, which is causing a  
conflict.  That's my guess.  For whatever reason, the 0.9.7g port  
doesn't cause a conflict, whereas 0.9.8 does.


I don't really see the point of having the openssl port installed, in  
my case.  Its only installed because some port wanted it and built  
it, and I didn't have WITH_OPENSSL_BASE=yes set.  So, I'm now going  
to set WITH_OPENSSL_BASE=yes, remove the openssl port, and rebuild  
everything that depended upon the openssl port.


Can anyone either refute any of the above guesses, or tell me why I  
am a fool to go with the base  openssl rather than the port?


Thanks!

--
Mark Edwards
[EMAIL PROTECTED]
cell: +46704070332


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


Re: upgrading

2005-09-29 Thread Andrew P.
On 9/29/05, eoghan [EMAIL PROTECTED] wrote:

 On 28 Sep 2005, at 21:46, Beecher Rintoul wrote:

  On Wednesday 28 September 2005 12:28 pm, eoghan wrote:
 
  Hello
  Im going to do a fresh install of 5.3 over the weekend, then id like
  to upgrade to 5.4. My reasons for upgrading are: ill have to do it
  some time or another and I cant always rely on having my trusty dvd
  with me. So, the question is: what is the best way to do an upgrade?
  I figure ill do the install, make sure its all ok, and before I go
  ahead and install anything ill upgrade. I did hear people say that
  using the sysinstall isnt the way to go - maybe or maybe not? So any
  opinions here on how it should be done would be appreciated.
 
 
  To save yourself some time, just boot from your disk change the tag
  in the
  options screen to 5.4-RELEASE and do a net install. No need to
  start from
  5.3.
 
  Beech

 Thanks for your advice. and thank you Derrick. I will read into those
 articles. Mike, the main reason is just so I can learn how to do it.
 Im using freebsd on my other computer only to learn it.
 Thanks all
 Eoghan



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


The Handbook has an excellent article on updating:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

For 5.3-5.4 or 5.3-6.0 or 5.4-6.0 transition you'll have to:

1. cvsup
2. make buildworld  make buildkernel
3. make installkernel  make installworld
4. mergemaster  # be careful here
5. shutdown -r now

Personally I tried each of these three transiotions and
had absolutely no problem, though it did require some
attention and reading.

Have fun!

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


Re: Sharing /usr/ports

2005-09-29 Thread Andrew P.
On 9/28/05, Robert Marella [EMAIL PROTECTED] wrote:
 On Tue, 27 Sep 2005 12:46:49 +0400
 Andrew P. [EMAIL PROTECTED] wrote:

  On 9/24/05, Gordon Ross [EMAIL PROTECTED] wrote:
   I've got two FreeBSD 5.4 machines. One is a server, the other is a
   desktop.
  
 snip
 
  Like others have already told you here, the best solution
  is packaging. There is a problem though - you can't make
  a package without installing the port first.
 
  If you're using portupgrade the whole thing is very simple.
  You mount /usr/ports from your file server on every client
  machine, and 'setenv WRKDIRPREFIX /usr/local/mywrk'.
 
  Then you just always run portupgrade with the -p switch
  on your fast machines, and use -PP (double P) switch
  on your slow machines. If they are all of single architecture
  and you don't put some very custom stuff in /etc/make.conf,
  it'll all work completely hassle-free.
 
  You'll also want to ensure that portupgrade uses the same
  ports db driver on all machines. dbm_hash is probably the
  most portable one, so you can place
  ENV['PORTS_DBDRIVER'] = 'dbm_hash'
  in /usr/local/etc/pkgtools.conf on every machine.
 
  From then on you can portsnap fetch  portsnap update \
   portsdb -uUF  portupgrade -arRF every morning,
  portupgrade -aprR on your build boxes, portupgrade -arRPP
  on your other boxes - and then just relax sit back and enjoy
  the magical feeling of being up-to-date.
 
 
  Cheerz,
  Andrew P.

 Thank you for posting this Andrew. I have been messing with keeping my
 slower systems updated for awhile. This will make it quicker.

 I have one question. Is there an easy way to keep
 the /usr/ports/packages/All directory clean?

 This is an example of what I mean:

 p4# cd /usr/ports/packages/All
 p4# ls -l xfce*
 -rw-r--r--  1 root  wheel 2886 Mar 18  2005 xfce-4.2.0_1.tbz
 -rw-r--r--  1 root  wheel 2893 Apr  7 18:33 xfce-4.2.1.1.tbz
 -rw-r--r--  1 root  wheel 2246 Sep 27 08:41 xfce-4.2.2.tbz
 -rw-r--r--  1 root  wheel94955 Mar 18  2005 xfce4-appfinder-4.2.0_1.tbz
 -rw-r--r--  1 root  wheel95435 Apr  7 17:42 xfce4-appfinder-4.2.1.tbz
 -rw-r--r--  1 root  wheel   203207 Sep 27 08:43 xfce4-appfinder-4.2.2.tbz
 -rw-r--r--  1 root  wheel  2100621 Mar 18  2005 xfce4-desktop-4.2.0_1.tbz
 -rw-r--r--  1 root  wheel  2125020 Apr  7 17:52 xfce4-desktop-4.2.1.tbz
 -rw-r--r--  1 root  wheel  2344995 Sep 27 08:47 xfce4-desktop-4.2.2.tbz
 -rw-r--r--  1 root  wheel  1962410 Mar 18  2005 xfce4-fm-4.2.0_1.tbz
 -rw-r--r--  1 root  wheel  1966223 Apr  7 17:38 xfce4-fm-4.2.1.tbz
 -rw-r--r--  1 root  wheel  3162381 Sep 27 08:45 xfce4-fm-4.2.2.tbz

 etcetera, etcetera, etcetera.

 The old packages can start to take up a lot of space.

 Thanks

 Robert


Glad to be helpful, Robert!

Sure, there's an easy way, just run
# portsclean -P
and all your outdated packages are gone. man
portsclean for details.

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


Re: portaudit question.....

2005-09-29 Thread Alex Zbyslaw

Wright Jim Contractor 14MDSS/SGSI wrote:


I guess my question is this.

How do I use the FreeBSD tools, Ports/Packages, etc, to install this latest
version??

Or am I missing the concept altogether ?

( I understand the process of downloading this latest version and installing
it manually. Just trying to understand and use the FreeBSD tools )

 

IMHO, the messages from portaudit are misleadingly worded.  Portaudit is 
correct that some of the software you installed has *some kind* of 
security vulnerability.  But everything else it says is potentially 
misleading.


1) There may be no upgrade available yet.  For there to be an upgrade 
the original code has to be fixed; in your example by the Mozilla team.  
Then, whoever is maintaining the port has to go through the work of 
fixing the new code to work on FreeBSD.  For a few simple bug fixes, 
that may not be too hard, but it still has to be done. How long all this 
takes will vary from port to port.  Mozilla is generally quite quick, 
from my experience, but xloadimage hung around for ages, not long ago.


2) The advice that you should either upgrade or de-install in 
unnecessarily authoritarian and frightening.  De-installing may not be 
an option, and the actual bug may have zero affect on your environment.  
And the presence of a bug does not indicate the presence of an exploit.  
If you are worried about a particular package then follow up the links 
portaudit provides and make up your mind what to do.



However, that fact that you have so many packages reporting problems 
says that either you are doing something wrong or not checking often enough.


1) cvsup your ports tree
2) either make fetchindex in /usr/ports and run portsdb -u, or run 
portsdb -Uu (slower but more accurate)

3) run pkg_version -L= to see what needs upgrading
4) use portupgrade to upgrade on a schedule that suits.  That might be 
daily or monthly depending on you environment.  Remember to read 
/usr/port/UPDATING *before* doing any upgrades.



All of that except the upgrading can be automated safely to run at 3am, 
or any other quiet time you might have.

--Alex

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


RE: Problem with compiling sendmail+sasl (QUIT FBSD)

2005-09-29 Thread Sasa Stupar
After two three days of trying unsuccesfully to configure sendmail with sasl I 
have decided to quit on FreeBSD and go back to linux.

Thank you all guys who tried to help me out.

Sasa

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


Help setting up Vinum mirror

2005-09-29 Thread Peter Clutton
Hi, I have gone through the docs on this but am just missing a couple of points
conceptually, and would be grateful for any help.

Basically i have created two slices on two IDE drives and mounted them
(through fdisk, label etc), and had that all up and running correctly.
I then went into Vinum in interactive mode and (hopefully) created a
mirror by typing
mirror -d /dev/ad0s2d  /dev/ad1s1d  .  It then gave me successful
messages and gave the drive a name and said it's up.

I'm just wondering after this point, can i just type quit and it's up
and running? I noticed on reboot the directories that were my mount
point for these partitions say they are not a directory now. Do i
need to go on and mount the mirror? Or did i make a mistake mounting
these partitions before creating the mirror. How do i utilize it after
issuing the mirror command.
Many thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Upgrade from 5.2 to 5.4

2005-09-29 Thread Andrew P.
On 9/28/05, Jay Moore [EMAIL PROTECTED] wrote:
 On Tuesday 27 September 2005 08:43 pm, Peter Clutton wrote:
   What's the deal? I've read the upgrade documentation, but it's just not
   clear
   to me what's going on - can someone point me to a better/more detailed
   source
   of documentation on the upgrade process (in particular wrt HD config)?
 
   This might help:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
   No hard drive messing required. You will also need to read up on csv in
  handbook.

 This is pretty old hardware - 200 MHz Pentium; I tried the makeworld route
 once before, and it took too long. I just wanted a nice, simple, binary
 upgrade... maybe that's not possible; maybe I will have to do a fresh
 install.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


If I were you, I'd try the binary update first. In the
hard drive configuration screens, leave the partiotions
untouched (press q in the partiotioning screen) and
type in the mount points in the labelling screen.

You can check out your current mount points by
typing # mount on your running system. Just
jot it down - and type it in later. Also make
sure the newfs toggles are off (this is probably
the default) if you don't want to reformat your
drive.

If you get stuck, you can try to install 5.4 over
5.2 without formatting your partitions. Just use
the same set of instructions. You might need
to run mergemaster after installation.

And if you don't have any important data on
the hard drive - why bother at all? Just make
a clean install.


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


Re: cyrus-sasl2 configuration

2005-09-29 Thread Kevin Kobb
Gerard Seibert wrote:
 This document is available on the FreeBSD site:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
 
 However, this doc references security/cyrus-sasl version 1.x. Is it
 still relevant to version2.x? If so, are there any specific changes that
 should be made to the installation? I think the modification I made in
 the following statements is correct, but I am not sure.
 
 SENDMAIL_CFLAGS=-I/usr/local/include/sasl2 -DSASL
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl
 
 One last question. In the above document, there is a reference to 'pwcheck'.
 Is the port suppose to be built with that option and if so, how do I go
 about setting it?
 
From the Sendmail.README file of the cyrus-sasl2 port.

# Add SMTP AUTH support to Sendmail
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2

Take a look at this readme to start.

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


Re: SCSI tape drive

2005-09-29 Thread Jerry McAllister
 
 Dear all,
 
 I am a newbies to BSD world so bare with me a moment here please.. I
 inherited this freebsd 4.10-RELEASE server and i was told to install a DLT
 20/40 tape drive to the server.
 
 So, what i did was;
 1. shutdown the server
 2. Install the Adaptec SCSI card into the PCI slot in the server
 3. Connect the tape drive to the server
 4. Power up the tape drive then the server
 
 I though thats all i need to do to get it working but i was wrong..
 
 I tried;
 red1# mt status
 mt: /dev/nsa0: Device not configured
 AND
 red1# mt -f /dev/rsa0 status
 mt: /dev/rsa0: Device not configured

Did you put a tape in the drive?
If there is no tape in the drive it will report
  mt: /dev/rsa0: Device not configured

Other problems can get that response too, of course.

jerry

 
 When i did a
 red1# camcontrol devlist -v
 scbus0 on ata0 bus 0:
 SONY DVD RW DRU-700A VY02 at scbus0 target 1 lun 0 (pass0,cd0)
   at scbus0 target -1 lun -1 ()
 scbus1 on ata1 bus 0:
   at scbus1 target -1 lun -1 ()
 scbus-1 on xpt0 bus 0:
   at scbus-1 target -1 lun -1 (xpt0)
 
 As i'm not sure what this camcontrol list means, can someone please explain?
 
 It doesn't seems like the server detect the new tape drive. I google around,
 didn't find anything hopefull.
 
 Does anyone have any ideas what i did wrong or suggestions that i can try?
 
 Thanks in advance!
 ___
 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: strange routing (?) issues with a jail

2005-09-29 Thread tsuraan
On 28/09/05, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 04:08 PM 9/28/2005, tsuraan wrote:
 I have a freebsd 5.3 machine, with a jailed off machine running in it.
   Let's call them host and slave (they have seperate IP addresses and
 hostnames).  Within the slave, I have sshd and apache running.  In the
 host, I just have sshd running.   From within the slave machine, I can
 connect to localhost ports 80 and 22, with the expected results.  From
 within the host machine, I can connect to the slave's ports 80 and 22
 correctly as well.  From outside that machine, I can only connect to
 port 22 on the slave.  Attempts to connect to port 80 on the slave
 time out.
 
 The slave is running apache version 1.33+modssl from ports.  I have it
 configured with a basic vhosting setup, and it seems to work perfectly
 from within the physical machine the jail is running on.  Pf is
 totally disabled, and it's a fresh install with no strange services
 running or unnecessary packages installed.  Can anyone give a hint as
 to why someone external would be unable to connect to port 80, but
 able to connect to port 22?

 Are the IP's for the host and the jail on the same network?  A look
 at the relevant portions of rc.conf from both the host and the jail
 would be most helpful in troubleshooting the problem.

The rc.conf for the host looks like this:

hostname=host.domain.dom
sendmail_enable=NO
inetd_flags=-wW -a 192.168.240.104
rpcbind_enable=NO
#ifconfig_fxp0=inet 192.168.240.104 netmask 255.255.127.0
ifconfig_fxp0=DHCP
ifconfig_fxp0_alias0=inet 192.168.240.224 netmask 255.255.255.255
ifconfig_fxp0_alias1=inet 192.168.240.225 netmask 255.255.255.255
linux_enable=NO
moused_enable=NO
sshd_enable=YES

And the jail looks like this:

rpcbind_enable=NO
network_interfaces=
sendmail_enable=NONE
sshd_enable=YES
apache_enable=YES
apache_flags=


 You'll also want to make sure that sshd in the host is being told to
 listen only to it's IP.  If you don't and there's no sshd running in
 the jail, you'll get a connection to the host instead of the jail.

When I log into the jail through ssh from an external computer, I am
logging in to the correct machine:

my-box:~ $ ssh 192.168.240.104
host:~ $ hostname
host
host:~ $

--

my-box:~ $ ssh 192.168.240.224
$ hostname
slave
$

But if I try to telnet to port 80 on the slave, it only works from the
host machine:

my-box:~ $ telnet 192.168.240.224 80
Trying 192.168.240.224
telnet: connect to address 192.168.240.224: Operation timed out
telnet: Unable to connect to remote host

--

host:~ $ telnet 192.168.240.224 80
Trying 192.168.240.224...
Connected to 224-240-168-192.domain.dom.
Escape character is '^]'.

So, apache is clearly running, but not answering to external queries. 
Running ifconfig from within the jail gives me:

$ ifconfig fxp0
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.240.224 netmask 0xff00 broadcast 192.168.240.255
ether 00:0e:0c:4e:62:31
media: Ethernet autoselect (100baseTX full-duplex)
status: active

And I can ping google from within the jail, and that works.  So, any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Continous JAVA build error on AMD64 and i386

2005-09-29 Thread O. Hartmann

Hello.
I reported earlier in this list about trouble in building and installing 
  JAVA on both AMD64 and i386 architectures.
In the meanwhile, I can compile ports/jdk15 on AMD64/FreeBSD-6.0, but 
jdk15 does not include or have the desired plugin for Mozilla/FireFox, 
so I tried compiling ports/jdk14. I got every recent and needed file for 
this compilation, but although I compiled LINUX32 __and__ COMPAT32 
options into kernel (also procfs and linprocfs and everything is 
installed and working correct), I receive the the message: this port is 
for i386 and you are running amd64. That's really nice.


So I tried compiling jdk14 and jdk15 on an DELL Optiplex 280 running 
FreeBSD 6.0 (most recent buildworld as with the amd64 box!). I never had 
success compiling either jdk14 or jdk15, both end up in the attached 
error of mising BOOTDIR environment.

Examining the log output shows some curiuous portions:

   JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2
--BOOTSTRAP J2SDK VERSION: Segmentation fault
   OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

This seems to be a fault in the Linux environment. I tried either 
Linuxulator as loadable kernel module or fixed compiled into kernel, 
with no success.


Deinstalling everything belonging to Linux and doing a fresh install via 
dependencies while installing jdk14/jdk15 doesn't result in any suitable 
 situation, I reiceive always the same error.


What's up?

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


Re: FreeBSD Upgrade from 5.2 to 5.4

2005-09-29 Thread Aaron Siegel

Jay

Read 
http://www.freebsd.org/doc/handbook/install-steps.html

I think I understand your question.  Sysinstall's label editor does not obtain 
the labels from an existing installation, you have to relabel the all of the 
partitions everytime you run sysinstall.  When I perform an upgrade using 
binaries I write down the output of the df command and use that to relabel 
the partitions. I have attached some examples of the disklabel editor bellow. 
The first is what the disk editor should look like before when you open it 
for the first time, the second is the out put of df, and the third is the 
disklabel with the mount points setup(corresponds to the df output).  The Y 
and N tell the installer wheather you want to reformat that partition or 
leave it alone. Be very carefull with this. I reformat my / and /usr, if you 
have any data other than the system in these directories back them up.


Bellow is an example of what the disklabel editor should look like when you 
first run sysinstall:

 FreeBSD Disklabel Editor

Disk: ad0   Partition name: ad0s1   Free: 0 blocks (0MB)
Disk: ad0   Partition name: ad0s2   Free: 61432560 blocks (29996MB)
Disk: ad0   Partition name: ad0s3   Free: 0 blocks (0MB)

Part  Mount  Size Newfs   Part  Mount  Size Newfs
  -   -     -   -
ad0s1bswap 1024MB SWAP
ad0s1anone256MB *
ad0s1dnone  28716MB *
ad0s3dnone  92632MB *

The following commands are valid here (upper or lower case):
C = CreateD = Delete   M = Mount pt.W = Write
N = Newfs OptsQ = Finish   S = Toggle SoftUpdates   Z = Custom Newfs
T = Toggle Newfs  U = Undo A = Auto DefaultsR = Delete+Merge

The output of df:
[EMAIL PROTECTED]# df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s1a25367871116   16226830%/
devfs   110   100%/dev
/dev/ad0s1d  28476004 13801282 1239664253%/usr
/dev/ad0s3d  93352888 16840342 6904431620%/usr/home
linprocfs   440   100%/usr/compat/linux/proc
/dev/cd0   530556   5305560   100%/cdrom

This is how it should look for performing the install

FreeBSD Disklabel Editor

Disk: ad0   Partition name: ad0s1   Free: 0 blocks (0MB)
Disk: ad0   Partition name: ad0s2   Free: 61432560 blocks (29996MB)
Disk: ad0   Partition name: ad0s3   Free: 0 blocks (0MB)

Part  Mount  Size Newfs   Part  Mount  Size Newfs
  -   -     -   -
ad0s1bswap  1024MBSWAP
ad0s1a/ 256MB UFS2   Y
ad0s1d/usr/home 28716MB UFS2+S N
ad0s3d/usr  92632MB UFS2+S Y

The following commands are valid here (upper or lower case):
C = CreateD = Delete   M = Mount pt.W = Write
N = Newfs OptsQ = Finish   S = Toggle SoftUpdates   Z = Custom Newfs
T = Toggle Newfs  U = Undo A = Auto DefaultsR = Delete+Merge


On Tuesday 27 September 2005 9:18 pm, Jay Moore wrote
 On Tuesday 27 September 2005 09:36 pm, Kris Kennaway wrote:
  On Tue, Sep 27, 2005 at 07:41:57PM -0500, Jay Moore wrote:
   I started an upgrade from 5.2.1 to 5.4 earlier, but postponed it until
   I can understand why the upgrade requires input re the hard drive
   configuration.
 
  What are you talking about? :-) Please describe your problem in more
  detail, e.g. exactly what you are doing and exactly what is going
  wrong.

 I boot from the cd. sysinstall starts. shortly thereafter I get to the
 disklabel editor. the partitions are identified (and sized), but mount
 column is blank.

 Why is the mount column blank?

 Thnx,
 Jay
 ___
 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: Updating exim failed

2005-09-29 Thread Joe Altman
I upgraded without issue on September 28th, at about 4 PM EDT to
exim-4.53-0; it's mostly a default localhost delivery agent, so there
are no special tweaks in any config files.

4. Updating exim failed (Hamza Eraldi)
 
 --
 
 Message: 4
 Date: Thu, 29 Sep 2005 00:07:04 +0300
 From: Hamza Eraldi [EMAIL PROTECTED]
 Subject: Updating exim failed
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-9
 
 i am trying to update exim port from exim-4.52 to exim-4.53.
 OS: FreeBSD 5.4-STABLE
 Here is the error output, any suggestions appreciated..
 
 server# portversion -v -l 
 exim-4.52 needs updating (port has 4.53)
 server# portupgrade -varRDD
 ..
 rm -f exim
 cc -o exim
 lookups/lookups.a(nis.o)(.text+0xd): In function `nis_open':
 : undefined reference to `yp_get_default_domain'
 lookups/lookups.a(nis.o)(.text+0x70): In function `nis_find':
 : undefined reference to `yp_match'
 lookups/lookups.a(nis.o)(.text+0xe1): In function `nis0_find':
 : undefined reference to `yp_match'
 *** Error code 1
 
 Stop in /var/tmp/usr/ports/mail/exim/work/exim-4.53/build-FreeBSD-i386.
 *** Error code 1
 
 Stop in /var/tmp/usr/ports/mail/exim/work/exim-4.53.
 *** Error code 1
 
 Stop in /usr/ports/mail/exim.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade773.4 make
 ** Fix the problem and try again.

-- 
.sig is .tired.

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


Problems with IPF after upgrading from 4.11 to 5.4

2005-09-29 Thread Aaron Siegel
Hello

I am having problems with my gateway after upgrading from 4.11 to 5.4. The 
firewall rules that worked in 4.11 are not working in 5.4.  A am able to 
access the internet from the gateway but not its clients.  The only ruleset I 
can get to work is the open ruleset that is supplied with the distribution. 
When I use the ruleset that work with 4.11 or the simple ruleset (modified 
to work with my network) the clients can access the gateway but not the 
internet .  My ISP provides a NAT router which does not provide the ability 
to disable NAT. I have cometed out all the lines that block packets from 
192.168.0.0 network.

 I have compiled the IPFIREWALL and IPDIVERT  options into the kernel  and I 
have setup setup rc.conf see bellow. Access to the internet seems slow it 
takes a long time for a page to download. When performing a ping test the ip 
address is resolved quickly so I do not think it is DNS.

Is there anything that has changed from 4.11 to 5.4 that would cause this 
problem.

Thank You
Aaron
#Network Configuration
hostname=hal.siegel-tech.org
ifconfig_dc0=192.168.0.2
ifconfig_fxp0=192.168.245.1 netmask 255.255.255.0
defaultrouter=192.168.0.1

#Gateway Configurations
gateway_enable=YES
firewall_enable=YES
firewall_type=open
natd_enable=YES
natd_interface=dc0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dialin

2005-09-29 Thread Efren Bravo
Hi,

Im trying to setup my fBSD box to accept incoming connections from winxp
through cnet v.92 datafax modem.

I've followed the instructions of fBSD Handbook, modifying:

file: /etc/ttys
ttyd0   /usr/libexec/getty V57000  dialup  on  insecure

file: /etc/gettytab adding:
vm|VH33600|Very High Speed Modem at 33600, 8-bit:\
:nx=VH57000:tc=std.33600:
vn|VH57000|Very High Speed Modem at 57000, 8-bit:\
:nx=VH33600:tc=std.57000:

file: /etc/rc.serial
stty -f /dev/ttyid0 crtscts
stty -f /dev/cuaia0 crtscts


After that I called to the modem but it doesn't pickup the call.

When I execute #ps -ax it shows:
661  ??  S  0:00.00 /usr/libexec/getty V57000 ttyd0


What is happens?   
After the above mentioned works, what is the next step, the ppp?

Thanks


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


Re: Shadowed Files

2005-09-29 Thread Gary Kline
On Wed, Sep 28, 2005 at 04:42:15PM -0400, Gerard Seibert wrote:
 When running 'portsclean', this message is displayed:
 
 ** /usr/local/lib/libcrypto.so.3 is shadowed by /lib/libcrypto.so.3
  /lib/libcrypto.so.3 - ?
  /usr/local/lib/libcrypto.so.3   - openssl-0.9.8
   -- This may be an undesirable situation
 Leave /lib/libcrypto.so.3 (specify -i to ask on this)
 
 ** /usr/local/lib/libssl.so.3 is shadowed by /usr/lib/libssl.so.3
  /usr/lib/libssl.so.3- ?
  /usr/local/lib/libssl.so.3  - openssl-0.9.8
   -- This may be an undesirable situation
 Leave /usr/lib/libssl.so.3 (specify -i to ask on this)
 
 Would it be safe to delete the redundant library? I assume that I should 
 remove the /usr/lib/ version and not the /usr/local/lib version.
 

No  one has jumped in with advice, so I'd like to know
if you make any decision:: like mv'ing, say,
/lib/libcrypto.so.3 to /lib/libcrypto.so.3.tmp
and see what hits the fan.  If anything.  

I'm working, carefully, on upgrading my three FBSD 
platforms and saw the same thing you have with portsclean.
I also used libchk, but it didn't help very much.
So I'm wondering too.

(NOT to complain, but how does Linux/Ubuntulinux keep its
systems free of excess libs?)

gary




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


IPFW logging and dynamic rules

2005-09-29 Thread Bob Johnson
In FreeBSD 5.4R, I tried an IPFW configuration that includes something
like this (plus a lot of other rules):

   check-state
   deny tcp from any to any established
   allow log tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3
+ other rules that use keep-state

When I do this, _every_ ssh packet is logged, in both directions.  To
get it to log ONLY the initial connection, I had to give up on using
dynamic rules for ssh and instead do something like:

   allow log tcp from any to ${my-ip} dst-port 22 setup
   allow tcp from any to ${my-ip} dst-port 22 established
   allow tcp from ${my-ip} 22 to any established
   check-state
   deny tcp from any to any established
+ other rules that use keep-state

So now I have lost the per-host ssh limit rule I wanted to include,
and I am filtering packets on flags that can be spoofed
(established) rather than the actual dynamic state of the
connection.  Am I wrong to believe there is an advantage to this?

Is there some way to get the first version to log only the initial
packet while still retaining the dynamic limit src-addr rule?

Thanks,

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


looks strange on pppoe

2005-09-29 Thread Tang Ho Yim
Hi, I am going to setup a FreeBSD 5.4 box as a
Internet gateway by pppoe.

The lan card, xl0(Mac:00:50:da:19:2e:78) is attach
directly to the ISP server (I think) which using DHCP
to get the private IP (10.167.X.X ) when boot up. Then
go though Internet by pppoe

/etc/ppp/ppp.conf
default:
set log Phase tun command
set device PPPoE:xl0
set pppoe standard
set speed sync
set mru 1492
set mtu 1492
set timeout 0
disable deflate
disable pred1
disable vjcomp
disable acfcomp
disable protocomp
disable lqr
add default HISADDR
Internet:
set authname [EMAIL PROTECTED]
set authkey xxx

The Internet connection seem ok, but I get the error
say session in wrong state.

I dump the packets and found something that I don't
understand (may be in cause the error session in
wrong state ?)

#tcpdump -e -i xl0 -s 1500 not ip
#pppoe -ddial Internet
02:16:41.790177 00:50:da:19:2e:78  Broadcast,
ethertype PPPoE D (0x8863), length 32: PPPoE PADI
[Host-Uniq 0x409A1FC1]
02:16:41.791614 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE D (0x8863), length 60: PPPoE PADO
[Host-Uniq 0x409A1FC1] [Service-Name] [AC-Name
SUNC-AG
G-BRAS01] [EOL]
02:16:41.791678 00:e0:fc:0e:97:45  00:50:da:19:2e:78,
ethertype PPPoE D (0x8863), length 60: PPPoE PADO
[Host-Uniq 0x409A1FC1] [Service-Name] [AC-Name
HIDC-AG
G-BRAS01] [EOL]
02:16:41.791794 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE D (0x8863), length 51: PPPoE PADR
[Host-Uniq 0x409A1FC1] [AC-Name SUNC-AGG-BRAS01]
02:16:41.792336 00:e0:fc:0f:39:a2  00:50:da:19:2e:78,
ethertype PPPoE D (0x8863), length 60: PPPoE PADO
[Host-Uniq 0x409A1FC1] [Service-Name] [AC-Name
SUNC-AG
G-BRAS05] [EOL]
02:16:41.792359 00:e0:fc:0e:96:be  00:50:da:19:2e:78,
ethertype PPPoE D (0x8863), length 60: PPPoE PADO
[Host-Uniq 0x409A1FC1] [Service-Name] [AC-Name
SUNC-AG
G-BRAS03] [EOL]
02:16:41.793481 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE D (0x8863), length 60: PPPoE PADS [ses
0x5] [Host-Uniq 0x409A1FC1] [AC-Name SUNC-AGG-BRA
S01] [Service-Name] [EOL]

02:16:41.793605 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 21: LCP, Conf-Request
(0x01), id 0, MRU  1492, Auth-Prot  CHAP, MD5,
Magic-Num  0x6a2b9767, length 19
02:16:42.797894 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 36: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 16: LCP, Conf-Request
(0x01), id 1, MRU  1492, Magic-Num  0x2f5cb37e, length
14
02:16:42.798612 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 41: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 21: LCP, Conf-Ack
(0x02), id 0, MRU  1492, Auth-Prot  CHAP, MD5,
Magic-Num  0x6a2b9767, length 19
02:16:42.799492 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 16: LCP, Conf-Ack (0x02)
, id 1, MRU  1492, Magic-Num  0x2f5cb37e, length 14

02:16:42.800390 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-CHAP (0xc223), length 23: Chal(1), Value 4375
4f127b461a693f4f97f5490e80ed, Name 
02:16:42.801011 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 67: PPPoE  [ses
0x5] PPP-CHAP (0xc223), length 47: Resp(1), Value 82ec
08d7efab73a63d6097a8747427da, Name [EMAIL PROTECTED]
02:16:42.806136 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 20: LCP, Conf-Request (0
x01), id 1, MRU  1492, Auth-Prot  PAP, Magic-Num 
0x6a2bc421, length 18
02:16:42.807189 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 36: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 16: LCP, Conf-Request
(0x01), id 2, MRU  1492, Magic-Num  0x98aa8b62, length
14
02:16:42.807468 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 40: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 20: LCP, Conf-Ack
(0x02), id 1, MRU  1492, Auth-Prot  PAP, Magic-Num 
0x6a2bc421, length 18
02:16:42.808306 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-LCP (0xc021), length 16: LCP, Conf-Ack
(0x02), id 2, MRU  1492, Magic-Num  0x98aa8b62, length
14

02:16:42.808841 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-PAP (0xc023), length 40: Auth-Req(1), Peer
[EMAIL PROTECTED], Name xxx
02:16:42.867620 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 72: PPPoE  [ses
0x5] PPP-PAP (0xc023), length 52: Auth-Ack(1), Msg Wel
come to use Quidway ROUTER, Huawei Tech.\015\012
02:16:42.867676 00:e0:fc:12:f4:ca  00:50:da:19:2e:78,
ethertype PPPoE S (0x8864), length 60: PPPoE  [ses
0x5] PPP-IPCP (0x8021), length 12: IPCP, Conf-Request
(0x01), id 0, IP-Addr x.x.x.x, length 10

02:16:42.868994 00:50:da:19:2e:78  00:e0:fc:12:f4:ca,
ethertype PPPoE S 

NFS export problem

2005-09-29 Thread Valerio daelli
Hello
I am trying to export two directories via NFS.
The two directories are on the same filesystem.
This is our /etc/exports file:

/raid/lower/data -maproot=root -network 10.210.0.0 http://10.210.0.0 -mask
255.255.0.0 http://255.255.0.0
/raid/lower/home -maproot=nobody -network 10.210.0.0 http://10.210.0.0-mask
255.255.0.0 http://255.255.0.0
/raid/upper/db -maproot=root -network 10.210.0.0 http://10.210.0.0 -mask
255.255.0.0 http://255.255.0.0
/raid/upper/scratch -maproot=root -network 10.210.0.0 http://10.210.0.0-mask
255.255.0.0 http://255.255.0.0

but we keep getting this strange errors in /var/log/messages:

Sep 29 17:38:46 biopresto mountd[411]: can't change attributes for
/raid/lower/home
Sep 29 17:38:46 biopresto mountd[411]: bad exports list line
/raid/lower/home -maproot
Sep 29 17:38:46 biopresto mountd[411]: can't change attributes for
/raid/upper/scratch
Sep 29 17:38:46 biopresto mountd[411]: bad exports list line
/raid/upper/scratch -maproot

We heard that there could be some problems sharing two directories on the
same
filesystem.
Is this true?
Thanks

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


Re: NFS export problem

2005-09-29 Thread albi
On Thu, 29 Sep 2005 17:49:01 +0200
Valerio daelli [EMAIL PROTECTED] wrote:

 I am trying to export two directories via NFS.
 The two directories are on the same filesystem.
 This is our /etc/exports file:
 
 /raid/lower/data -maproot=root -network 10.210.0.0 http://10.210.0.0 -mask
 255.255.0.0 http://255.255.0.0

you meant to write
/raid/lower/data -maproot=root -network 10.210.0.0 -mask 255.255.0.0
instead i assume !?

 /raid/lower/home -maproot=nobody -network 10.210.0.0 http://10.210.0.0-mask
 255.255.0.0 http://255.255.0.0
 /raid/upper/db -maproot=root -network 10.210.0.0 http://10.210.0.0 -mask
 255.255.0.0 http://255.255.0.0
 /raid/upper/scratch -maproot=root -network 10.210.0.0 http://10.210.0.0-mask
 255.255.0.0 http://255.255.0.0
-- cut --
 We heard that there could be some problems sharing two directories on the
 same filesystem.

i might be wrong but afaik you can only export a whole slice
(==partition) via NFS on FreeBSD

are all of these directories above slices ?

see also : man exports

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fwcontrol: unknown format 0x1e

2005-09-29 Thread Lowell Gilbert
Erik Nørgaard [EMAIL PROTECTED] writes:

 I'm a newbie when it comes to firewire, in fact I have never had it
 working because I never had a device to connect. Then recently I
 bought a Canon MVX200 (PAL) video cam. But when trying to transfer the
 video using fwcontrol as described in the man page I get:
 
 charm# fwcontrol -R test.dv
 (EAGAIN)
 (EAGAIN)
 fwcontrol: unknown format 0x1e

I don't know anything about Firewire, and can't seem to get through to
the specs, but a look at the code tells me that the only format that
receive routine knows is CIP_FMT_DVCR (which happens to be zero).  

You'll need someone who can figure out what the format you're getting
means, and how to handle it.  The recent comitters to the fwcontrol
utility would be a good place to start.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS export problem

2005-09-29 Thread Lowell Gilbert
albi [EMAIL PROTECTED] writes:

 i might be wrong but afaik you can only export a whole slice
 (==partition) via NFS on FreeBSD

Not exactly; a whole filesystem would be a more precise description.
This is true on all Unix systems, and to the best of my knowledge,
other OS as well.  [The reason is that the NFS transactions are tied
to inodes or file handles, not pathnames.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


long ftp dir listings

2005-09-29 Thread David
Dear list,

I am often annoyed trying to get a long directory listing from my unix box
while ftp'ing somewhere. pause is hardly useful, since the listing goes
by to quickly. Occasionally, I have found a site that uses |more , but this
is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
up a long listing. Any good methods would be appreciated.

David

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


Re: openssl 0.9.8 breaking things

2005-09-29 Thread Gary Kline
On Thu, Sep 29, 2005 at 11:05:33AM +0200, Mark Edwards wrote:
 On Sep 28, 2005, at 7:26 PM, Gary Kline wrote:
 
 I think I have a clue as to why this is becoming complicated.  I  
 didn't have either WITH_OPENSSL_BASE=yes or WITH_OPENSSL_PORT=yes in / 
 etc/make.conf.  What must be happening is that some things are using  
 the base openssl, and some are using the port, which is causing a  
 conflict.  That's my guess.  For whatever reason, the 0.9.7g port  
 doesn't cause a conflict, whereas 0.9.8 does.
 
 I don't really see the point of having the openssl port installed, in  
 my case.  Its only installed because some port wanted it and built  
 it, and I didn't have WITH_OPENSSL_BASE=yes set.  So, I'm now going  
 to set WITH_OPENSSL_BASE=yes, remove the openssl port, and rebuild  
 everything that depended upon the openssl port.

Thanks for finding this!  I believe in the KISS philosophy:
Keep it simple, Sir.  The only time  I used a
non-system-default port was when the default named was v8
and I used the v9 in ports.  Otherwise, FreeBSD has a great
selection of security programs as its default.  It may be
that some admins go for the bleeding-edge ports.  --Anyway,
I've added the openssl_base=yes to make.conf.  I've added
openssl to the local/etc/pkgtools.conf to my HOLD_PKGS
list.   

gary



 
 Can anyone either refute any of the above guesses, or tell me why I  
 am a fool to go with the base  openssl rather than the port?
 
 Thanks!
 
 --
 Mark Edwards
 [EMAIL PROTECTED]
 cell: +46704070332
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: long ftp dir listings

2005-09-29 Thread Dan Nelson
In the last episode (Sep 29), David said:
 Dear list,
 
 I am often annoyed trying to get a long directory listing from my unix box
 while ftp'ing somewhere. pause is hardly useful, since the listing goes
 by to quickly. Occasionally, I have found a site that uses |more , but this
 is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
 up a long listing. Any good methods would be appreciated.

If you're on a vty, hit scroll-lock and pageup. 

/usr/bin/ftp also has a pdir command that pipes the output to $PAGER
locally.  

-- 
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: libstdc++.so.5: cannot open shared object file

2005-09-29 Thread Lowell Gilbert
Kiffin Gish [EMAIL PROTECTED] writes:

 When I fire up a program, I get the following error message:
 
 libstdc++.so.5: cannot open shared object file
 
 What do I have to do to get the program working properly?

That depends on what version of FreeBSD you are running.
If you are running 5.x (or earlier), then I recommend you get a copy
of that program which has been compiled for your version of FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 + GVINUM + RAID5 = Good?

2005-09-29 Thread FreeBSD usergroup

On 26 sep 2005, at 19:57, Gadi Golan wrote:


Greetings,
I was curious to see whether or not GVINUM was stable enough and full
featured enough to reliabily support a RAID5.  I installed a 5.4
system and was supprised to find that VINUM was no longer supported
and that GVINUM was missing some of the basic features I was used to
in VINUM.  Specifically I was used to being required to INIT a new
RAID5 system, but GVINUM doesnt seem to support INIT yet.  Is there
any workaround for this.  Does anyone know a consistent, reasonable,
and reliable way of using GVINUM to get a RAID5 system going on 5.4?

I fully understand the limitations and complications behind using
software to do a RAID5 but I promise that for my purposes I only need
to have something that works reliabily (I dont want to loose my data)
and I want it to be cheap.  VINUM was the perfect solution in the
past, it worked fine even if it was hard to use.  Can GVINUM fill the
gap in the post-VINUM world?

Thanks for your help and thoughts,

Gadi Golan


Hi Gadi,

I've been running gvinum in 5.4 since p6 and it runs fine.
I must admit build the RAIDS in vinum though (RAID 1 and RAID 5)
Since p7 setstate is part of gvinum which makes it completely usable  
as far as i'm concerned.


I don't know about the init command but it should work.

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


Re: Problem with compiling sendmail+sasl (QUIT FBSD)

2005-09-29 Thread Greg Maruszeczka

Sasa Stupar wrote:

After two three days of trying unsuccesfully to configure sendmail with sasl I 
have decided to quit on FreeBSD and go back to linux.




Yes, go back to Fedora or whatever. When you can follow directions and 
the good advice given to you, come back and learn something.


Anything you'd like to add to that, Ted? :)

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


Re: Setting up mime-types globaly ...

2005-09-29 Thread Lowell Gilbert
Kiffin Gish [EMAIL PROTECTED] writes:

 What do I have to do to make sure that clicking on links fire up the
 correct applications. For example:
 
 http - firefox
 mailto -  thunderbird
 pls - xmms
 
 If from thunderbird I click on a http-link nothing happens, etc.
 
 For some strange reason this stopped working for me all of a sudden.

Since it changed in more than one application, the first guess would
be a damaged mailcap file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup through proxy

2005-09-29 Thread hal

I have a system with a non-routable address.  I want to
update the system using cvsup.  I have a proxy server
available.  Can I do this?  If so how?

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


Re: NFS export problem

2005-09-29 Thread Will Maier
On Thu, Sep 29, 2005 at 06:10:28PM +0200, albi wrote:
 On Thu, 29 Sep 2005 17:49:01 +0200 Valerio daelli [EMAIL PROTECTED] wrote:
  /raid/lower/data -maproot=root -network 10.210.0.0 http://10.210.0.0 -mask
  255.255.0.0 http://255.255.0.0

 you meant to write
 /raid/lower/data -maproot=root -network 10.210.0.0 -mask 255.255.0.0
 instead i assume !?

That's actually what he did write; Gmail munges outgoing messages,
adding those annoying URL tags.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: Help setting up Vinum mirror

2005-09-29 Thread FreeBSD usergroup


On 29 sep 2005, at 13:28, Peter Clutton wrote:


Hi, I have gone through the docs on this but am just missing a  
couple of points

conceptually, and would be grateful for any help.

Basically i have created two slices on two IDE drives and mounted them
(through fdisk, label etc), and had that all up and running correctly.
I then went into Vinum in interactive mode and (hopefully) created a
mirror by typing
mirror -d /dev/ad0s2d  /dev/ad1s1d  .  It then gave me successful
messages and gave the drive a name and said it's up.

I'm just wondering after this point, can i just type quit and it's up
and running? I noticed on reboot the directories that were my mount
point for these partitions say they are not a directory now. Do i
need to go on and mount the mirror? Or did i make a mistake mounting
these partitions before creating the mirror. How do i utilize it after
issuing the mirror command.
Many thanks in advance.



Which FBSD release do you use?

basically (FBSD  5.3)
for vinum you just have to type:
vinum start
after a reboot and it'll read the config from the disks and put the  
volume in /dev/vinum/

from there you can mount it manually or add a line to /etc/fstab

Arno

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


Re: long ftp dir listings

2005-09-29 Thread Mike Hernandez
On 9/29/05, David [EMAIL PROTECTED] wrote:
 Dear list,

 I am often annoyed trying to get a long directory listing from my unix box
 while ftp'ing somewhere. pause is hardly useful, since the listing goes
 by to quickly. Occasionally, I have found a site that uses |more , but this
 is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
 up a long listing. Any good methods would be appreciated.

I use zsh's built in ftp.  It's as simple as this (assuming zsh is installed):

#[probably put this in .zshrc]
zmodload zsh/zftp
autoload -U zfinit
zfinit

zfopen ftp.whatever.foo
[user  pass when prompted]
zfcd pub/example/test/etc
zfls|less

The real beauty of it is that you can use all of zsh's expansions and
the ftp stuff sits in the background while you use your shell.  For
more info man zshzftpsys

Good luck :)

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


Re: cvsup through proxy

2005-09-29 Thread Charles Swiger

On Sep 29, 2005, at 12:59 PM, hal wrote:

I have a system with a non-routable address.  I want to
update the system using cvsup.  I have a proxy server
available.  Can I do this?  If so how?


You can run cvsup through NAT traversal, if you have an unroutable  
IP, but your network must allow port 5999/tcp to pass through.  If  
you only have HTTP access via a proxy server, your network has  
admirable security, but you will not be able to use cvsup.


--
-Chuck


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


Re: NFS export problem

2005-09-29 Thread Charles Swiger

On Sep 29, 2005, at 11:49 AM, Valerio daelli wrote:
We heard that there could be some problems sharing two directories  
on the

same filesystem.
Is this true?


Sort of.  Try using the -alldirs option in the second column of  
your /etc/exports file, this will allow you to mount subdirectories  
of an exported filesystem in a way that is probably what you want.


Note that you should only export a filesystem once, not multiple  
times; doing so where there is an ancestral relationship between the  
paths will result in an error.  Basicly, you should only export the  
top-level mount points as displayed from the df command.


--
-Chuck


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


Re: Bye-bye beastie ...

2005-09-29 Thread Mike Jeays
On Tue, 2005-09-27 at 17:28, Kevin Kinsey wrote:
 Mike Jeays wrote:
 
 
 As well as turning off the beastie, is there a way to suppress all the
 dmesg and other output, so that the first thing to appear is the KDM or
 GDM login screen?  When I show FreeBSD to people who have only seen
 Windows before, their first reaction is how geeky all that text looks as
 it rolls by.  They are turned off before I even get to the login
 screen.  Most current Linuxes are 'better' in this respect.
 
 I realise it may make it harder to debug failed startups...
   
 
 
 We use a splash screen --- I forget where it's documented
 in the handbook/FAQ, but splash(4) has most of the 'GUI'
 details (pun intended).
 
 Basically, as root:
  $ echo splash_bmp_load=YES  /boot/loader.conf
  $ echo bitmap_name=/boot/splash.bmp  /boot/loader.conf
 
 This should cause splash_bmp.ko to be kldloaded at boot
 time.  The bitmap should be 320 x 200 x 8 colors (at least that's
 what works for us - probably related to console settings).  We use it
 as an opportunity to show the company logo.
 
 It comes up after the beastie menu and the copyright info
 (and a couple of error looking notices ... we're on 6.0-BETA5
 in the office now, dunno if it's related ;-), basically, during
 the kernel device probe.
 
 It will stay on as long as a key isn't pressed.   xdm takes
 over after the boot process (I assume gdm/kdm would, too)
 and so this is less geeky stuff to look at, I guess.  It can
 be a little confusing if you don't run an X based display
 manager --- it'll stay on and cover up the login: prompt
 on ttyv0, so a novice might well wonder how long is this
 going to take while your box sits patiently waiting for
 a login.
 
 Note that this splash/bitmap also acts as a screensaver when
 you're in console, AFAICT. 
 
 HTH,
 
 Kevin Kinsey
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Well - I tried this, and maybe I didn't get the syntax exactly right. 
My machine refused to boot at the point where it was trying to load the
splash screen, and seemed hopelessly wedged.

I downloaded the 5.3 Fixit disk, burnt a copy, and tried with that.  I
could not mount ad0s1a - it said Operation not permitted, although I
could mount 'e' and 'f'.  It wouldn't let me do an fsck on any of the
partitions.

I tried Knoppix, but 3.9 doesn't seem to know about UFS filesystems.

In desperation, I booted a copy of Freesbie 1.1 that I happened to have
around.  I had no trouble running fsck on all the partitions (they were
all clean anyway), and deleting the erroneous lines from
/boot/loader.conf.  My machine is now working again.

So - next time I get stuck, I will try the Freesbie disk first.

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


Error compiling Sablotron

2005-09-29 Thread K Anderson
Hey folks,
I'm trying to install Sablotron but keep getting a stop error. Hopefully I 
have included enough information so that somebody can help fix this or give 
assistance in correcting the issue.

Output from uname -a
FreeBSD msmouse.squeaks.net 6.0-BETA3 FreeBSD 6.0-BETA3 #4: Tue Sep  6 
00:41:58 PDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MOUSE-VIIi  i386

Installed packages/ports
Hermes-1.3.3_1  p5-Digest-MD5-2.33
apache+mod_ssl-1.3.33+2.8.22p5-HTML-Parser-3.38
aspell-0.50.5_3 p5-HTML-Tagset-3.03
autoconf-2.13.000227_5  p5-MIME-Base64-3.05
autoconf-2.53_3 p5-Net-1.19,1
autoconf-2.59_2 p5-SNMP_Session-1.07
automake-1.4.6_1p5-URI-1.35
automake-1.5_2,1p5-XML-Parser-2.34_1
bison-1.75_1p5-gettext-1.01_4
cclient-2004a,1 p5-libwww-5.79_1
cdrtools-2.0.3_3pdflib-6.0.0p1
cups-base-1.1.19.0  perl-5.6.1_15
cvsup-without-gui-16.1h_2   php4-bz2-4.4.0
docbook-sk-4.1.2_3  php4-ctype-4.4.0
docbook-xml-4.2_1   php4-gettext-4.4.0
docbook-xsl-1.65.1  php4-gmp-4.4.0
dri-5.0.2,1 php4-iconv-4.4.0
expat-1.95.8_3  php4-mcrypt-4.4.0
ezm3-1.1php4-mhash-4.4.0
fam-2.6.9_6 php4-mysql-4.4.0
fetchmail-6.2.5.2   php4-openssl-4.4.0
freetype2-2.1.7_3   php4-overload-4.4.0
gettext-0.13.1_1php4-pcre-4.4.0
gmake-3.80_2php4-pgsql-4.4.0
gsfonts-8.11_1  php4-posix-4.4.0
help2man-1.33.1 php4-session-4.4.0
imake-6.7.0_2   php4-sockets-4.4.0
imap-uw-2004a,1 php4-tokenizer-4.4.0
intltool-0.31.1 php4-wddx-4.4.0
isc-dhcp3-server-3.0.3  php4-xml-4.4.0
ispell-3.2.06_3 pine-4.58
jpeg-6b_3   pkgdb.db
lcms-1.13,1 png-1.2.5_8
libgmp-4.1.3popt-1.7
libiconv-1.9.2_1portaudit-0.5.9
libid3tag-0.15.0b_1 portupgrade-20041226_7
libltdl-1.5.6   postgresql-7.4.6
libmad-0.15.1b  python-2.3.4_1
libmcrypt-2.5.7_1   rpm-3.0.6_9
libmng-1.0.7rrdtool-1.0.49
libtool-1.3.5_2 ruby-1.8.1.2004.05.02_1
libtool-1.5.6_1 ruby18-bdb1-0.2.2
linux_base-rh-7.3   samba-3.0.14a_1,1
lynx-2.8.5  samba-libsmbclient-3.0.5_1
m4-1.4_1sdocbook-xml-4.1.2.5_2
mhash-0.9.1 sox-12.17.4_2
mm-1.3.0tf-5.0a14
mod_auth_mysql_another-2.9.0tiff-3.7.1_2
mod_auth_pgsql-0.9.12_2 unzip-5.51
mod_dav-1.0.3_2 wget-1.8.2_6
mod_php4-4.4.0,1xmlcatmgr-2.1
mysql-client-4.1.13 xorg-documents-6.7.0
mysql-server-4.1.13 xorg-fonts-100dpi-6.7.0
net-snmp-5.2_1  xorg-fonts-75dpi-6.7.0
nspr-4.4.1_1xorg-fonts-cyrillic-6.7.0
nss-3.9.2   xorg-fonts-encodings-6.7.0
p5-Authen-SASL-2.08 xorg-fonts-miscbitmaps-6.7.0
p5-Digest-1.10  zip-2.3_1


make  sablot.log

Output to standard error is:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: Directory /usr/local/share/doc/Sablot does not exist and 
will be created
encoding.cpp: In member function `Bool Recoder::conv(Situation, ConvInfo*, 
const char*, size_t, char*, size_t, EncResult)':
encoding.cpp:285: error: invalid conversion from `char**' to `const char**'
encoding.cpp:285: error:   initializing argument 2 of `size_t 
libiconv(void*, const char**, size_t*, char**, size_t*)'

gmake[2]: *** [encoding.lo] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1


Output from sablot.log
===  Found saved configuration for Sablot-1.0.1
===  Extracting for Sablot-1.0.1
= Checksum OK for Sablot-1.0.1.tar.gz.
===   Sablot-1.0.1 depends on file: /usr/local/bin/perl5.6.1 - found
===  Patching for Sablot-1.0.1
===   Sablot-1.0.1 depends on file: /usr/local/bin/perl5.6.1 - found
===   Sablot-1.0.1 depends on file: 
/usr/local/lib/perl5/site_perl/5.6.1/mach/X
ML/Parser.pm - found
===   Sablot-1.0.1 depends on executable: gmake - found
===   Sablot-1.0.1 depends on file: /usr/local/bin/perl5.6.1 - found
===   Sablot-1.0.1 depends on file: /usr/local/bin/libtool13 - found
===   Sablot-1.0.1 depends on shared library: expat.5 - found
===   Sablot-1.0.1 depends on shared library: iconv.3 - found
===  Configuring for Sablot-1.0.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking build system type... i386-portbld-freebsd6.0
checking host system type... 

Re: Sharing /usr/ports

2005-09-29 Thread Robert Marella
: 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Thu, 29 Sep 2005 13:35:38 +0400
Andrew P. [EMAIL PROTECTED] wrote:

 On 9/28/05, Robert Marella [EMAIL PROTECTED] wrote:
clip

  I have one question. Is there an easy way to keep
  the /usr/ports/packages/All directory clean?
 
clip
 
  The old packages can start to take up a lot of space.
 
  Thanks
 
  Robert
 
 
 Glad to be helpful, Robert!
 
 Sure, there's an easy way, just run
 # portsclean -P
 and all your outdated packages are gone. man
 portsclean for details.
 
 Cheerz,
 Andrew P.

Hi Andrew,

I could while away the hours
Conferrin' with the flowers
Consultin' with the rain
And my head, I'd be scratchin'
While my thoughts were busy hatchin'
If I only had a brain.

In my nightly cvsup I actually do a portsclean -CD.

Mea Culpa

Thanks again

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


Video CD?

2005-09-29 Thread Andrea Venturoli

Hello.
I'm unsuccesfully trying to watch a VideoCD on a 5.4p6 i386 system.
Here's the transcript:


alamar# mplayer vcd://2//dev/cd0
MPlayer 1.0pre7try2-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

Playing vcd://2//dev/cd0.
track 01:  adr=1  ctrl=4  format=2  00:02:00
track 02:  adr=1  ctrl=4  format=2  00:12:00
Error in CDRIOCSETBLOCKSIZEXMMS: found plugin: libcdaudio.so (CD Audio Player 
1.2.10)
XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.10)
XMMS: found plugin: libtonegen.so (Tone Generator 1.2.10)
XMMS: found plugin: libwav.so (Wave Player 1.2.10)
XMMS: found plugin: libmikmod.so (MikMod Player 1.2.10)
XMMS: found plugin: libvorbis.so (Ogg Vorbis Player 1.2.10)
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libvorbis.so
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libmikmod.so
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libwav.so
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libtonegen.so
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libmpg123.so
XMMS: Closing plugin /usr/X11R6/lib/xmms/Input/libcdaudio.so


Exiting... (End of file)
alamar#


For the time being I'm trying this as root, so as to wipe away any doubt 
about permissions, and I also tried xine with similiar results.

Also:


alamar# vcd-info
---
vcd-info - GNU VCDImager - (Super) Video CD Report
$Id: vcd-info.c,v 1.23 2005/05/08 08:42:09 rocky Exp $

++ WARN: transport failed: 335872
Couldn't automatically find a Video CD.


Any hint?

 bye  Thanks
av.
___
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 diagnose crashes?

2005-09-29 Thread Srikanth, Throvagunta
Chris,

The 5.3 have this problem. I think it has something to do with ACPI.
Either go back to the 5.2 or pick the latest. You say the system
reboots itself from time to time. Is it a panic you see before the
reboot?

There must be an option to turn on somewhere asking them to write to
disk the contents of the physical memory. You can, then, run gdb on
the dumped core. I think I have seen someone do that on NetBSD.

Srikanth
--
From [EMAIL PROTECTED]  Tue Jul  5 16:52:08 2005
Return-Path: [EMAIL PROTECTED]
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 59EEA16A41C
for freebsd-questions@freebsd.org;
Tue,  5 Jul 2005 16:52:08 + (GMT)
(envelope-from [EMAIL PROTECTED])
Received: from mx.muttart.org (mx.muttart.org [66.18.201.230])
by mx1.FreeBSD.org (Postfix) with ESMTP id 2681843D46
for freebsd-questions@freebsd.org;
Tue,  5 Jul 2005 16:52:07 + (GMT)
(envelope-from [EMAIL PROTECTED])
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Tue, 5 Jul 2005 10:52:06 -0600
Message-ID: [EMAIL PROTECTED]
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: How to diagnose crashes?
Thread-Index: AcWBfSbLBTVjYpQrS9ycve26kNNCCAABHXeA
From: Chris Burchell [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: How to diagnose crashes?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions freebsd-questions.freebsd.org
List-Unsubscribe:
http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
mailto:[EMAIL PROTECTED]
List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions
List-Post: mailto:freebsd-questions@freebsd.org
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
mailto:[EMAIL PROTECTED]
X-List-Received-Date: Tue, 05 Jul 2005 16:52:08 -

My FreeBSD 5.3-RELEASE box seems to be spontaneously restarting from
time to time.

I have not yet contacted the colo facility to determine if it's a power
issue, but wonder if anyone can help me out in how to diagnose whether
or not it's a server crash and not a power problem.

Where should I look for tips / hints that might help me determine the
cause of a crash that forced a reboot?

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


Re: Help setting up Vinum mirror

2005-09-29 Thread Drew Tomlinson

On 9/29/2005 10:04 AM FreeBSD usergroup wrote:



On 29 sep 2005, at 13:28, Peter Clutton wrote:


Hi, I have gone through the docs on this but am just missing a  
couple of points

conceptually, and would be grateful for any help.

Basically i have created two slices on two IDE drives and mounted them
(through fdisk, label etc), and had that all up and running correctly.
I then went into Vinum in interactive mode and (hopefully) created a
mirror by typing
mirror -d /dev/ad0s2d  /dev/ad1s1d  .  It then gave me successful
messages and gave the drive a name and said it's up.

I'm just wondering after this point, can i just type quit and it's up
and running? I noticed on reboot the directories that were my mount
point for these partitions say they are not a directory now. Do i
need to go on and mount the mirror? Or did i make a mistake mounting
these partitions before creating the mirror. How do i utilize it after
issuing the mirror command.
Many thanks in advance.



Which FBSD release do you use?

basically (FBSD  5.3)
for vinum you just have to type:
vinum start
after a reboot and it'll read the config from the disks and put the  
volume in /dev/vinum/
from there you can mount it manually or add a line to /etc/fstab 


Neither of this is probably necessary.  Vinum started automatically when 
'vinum' was typed on the console to create the mirror.  Once the mirror 
was created and shown as 'up', the volume was created in /dev/vinum.  
However there is something you need to add to /etc/rc.conf to have vinum 
start automatically upon booting and thus make your volume available for 
mounting.  Seems it was 'vinum_enable = yes' or something like that.  
Search /etc/defaults/rc.conf for the exact line.


HTH,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Bacula Won't Allow Me To Mount Next Tape

2005-09-29 Thread Drew Tomlinson
I've posted this on the bacula-users list but haven't heard anything 
yet.  Hoping maybe someone here has come across this.  Google turns up 
nothing.


I'm running FreeBSD 5.4 and using bextract 1.36.3 to restore multiple 
tape volumes to a drive I lost.  It's giving me the following message:


29-Sep 10:39 bextract: End of Volume at file 16 on device /dev/nsa0, 
Volume 
TAPE-0003|TAPE-0004|TAPE-0005|TAPE-0006|TAPE-0010|TAPE-0011|TAPE-0012
29-Sep 10:39 bextract: bextract Warning: Wrong Volume mounted on device 
/dev/nsa0: Wanted TAPE-0004 have TAPE-0003

Mount Volume TAPE-0004 on device /dev/nsa0 and press return when ready:

OK, I understand it wants me to mount the next volume.  However I can 
not get the drive to eject the tape.  It's an HP DLT-30 drive.  I press 
the eject button on the drive but get no response.  Any attempts to use 
the 'mt' program from FreeBSD result in a device busy error.  What 
should I try next?


Here's the relevant part of my storage daemon conf file:

---BEGIN---
Device {
Name = HP DLT 30
Media Type = DLT
Archive Device = /dev/nsa0
LabelMedia = yes;   # lets Bacula label unlabeled media
AutomaticMount = yes;   # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
# From the port info:
# Due to lack of some features in the FreeBSD tape driver
# implementation you MUST add some OS dependent options to
# the bacula-sd.conf file:

Hardware End of Medium = no;
Backward Space Record = no;
Backward Space File = no;

# With 2 filemart at EOT (see man mt):
Fast Forward Space File = no;
BSF at EOM = yes;
TWO EOF = yes;

}
---END---

Any ideas?

Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Is Kern/Pr 58045 is fixed, maybe related to usb/PR 65436?

2005-09-29 Thread Brian Black
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,
I am running 5.4 release and the pr link,
http://www.freebsd.org/cgi/query-pr.cgi?pr=58045 is giving me problems.

I had sent a message regurading this problem before to the list a few
months ago.  I was asked to provide some evidence.  Since then, I have
been trying to figure out how to save the Heavy, Bold, White text that
prints out to the screen (which I think is kernel messages).  Some have
said to use syslog, which does not get these messages for me.

anyways,  I still dont think this bug is fixed, at least not in 5.4R.
In addition, the usb/PR 65436 is still listed as being open.

I am experiencing the symptoms of both, (I think), and is it possible
that they can be related?

Reguardless, after the messages stop printing to the screen, I still
connot mount the device because no driver gets attached.

Any ideas?

brian


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDPFAZI9Y/1VIS+jgRAiL4AJ9aM2oH+3Lv/teJ//T39OF1gSVAuACggRF8
3sX68xsR/gw8l7pTUUTWt90=
=9cgY
-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]


Question about packages

2005-09-29 Thread Milscvaer
Hello,

I have question about packages. I would like to
upgrade some packages on my FreeBSD 5.4 system to the
latest versions avialable in ports, but I would like
to upgrade using binary packages and not compile them
from ports (using portupgrade -PP -R package). How
often are the binary packages in 5-stable for instance
rebuilt to the latest version? It is pretty critical
to keep these updated constantly, preferably every
day, to get the latest security fixes in a new version
of a package. I noticed that Firefox still seems to be
at 1.0.6 even though 1.0.7 has been out for several
days. Does FreeBSD have a system set up where when a
port is upgraded to a new version, the binary package
for the port is automatically rebuilt soon after, such
as at least within the next day so that the latest
version in ports is also avialable as a binary
package. This is very essential. I hope such a feature
can be provided.

Does also, is anything done to avoid the situation
where an older program needs an older version of a
dependancies and a newer program needs a newer version
of the same depedancy? The way, currently, that I
believe we avoid the
DLL-hell situation on FreeBSD, where a new program
would install a new version of a library, blowing up
older programs on the system that used an older
version of the same library, being
incompatable with the new version, is to append a
version number to every .so file in the lib
directories, and have all programs to a specific
version of a library, such as one program may use
mylib.so.1.0 while a new program might use
mylib.so.2.0. Thus if a new program needs a new
version of a library, it can be installed and use the
new version, but all older programs can continue to
use the old version. 

Does portupgrade leave older versions of a library
dependancy in place when installing a new version of
such a dependancy, so that applications that require
the newer version of the dependancy can use the new
version, while applications that need the older
version can use the older version?

thank you very much,
Alistar

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://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]


Re: fwcontrol: unknown format 0x1e

2005-09-29 Thread Erik Nørgaard

Lowell Gilbert wrote:


I don't know anything about Firewire, and can't seem to get through to
the specs, but a look at the code tells me that the only format that
receive routine knows is CIP_FMT_DVCR (which happens to be zero).  


You'll need someone who can figure out what the format you're getting
means, and how to handle it.  The recent comitters to the fwcontrol
utility would be a good place to start.


Just when you wrote it occured to me that I should try downgrading since 
I'm on 6.0-BETA4. I looked at the time stamps of the code and it appears 
that changes has been applied to fwdev.c in august.


I hope that works, otherwise I'd try going futher back in time, changes 
were applied to fwcontrol.c and fwohci_pci.c in may. And if I still have 
no luck, back to march.


I'm a bit currious: Looking at 5.4 STABLE all files in sys/dev/firewire
have timestamp 2005/01/30 but in 6.0-BETA4 files have timestamp 
2005/01/06 or some other date... Any explanation for this?


Well, going back in time on this will be my weekend project...

Thanks for replying!

Cheers, Erik

--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help setting up Vinum mirror

2005-09-29 Thread FreeBSD usergroup


On 29 sep 2005, at 21:57, Drew Tomlinson wrote:


On 9/29/2005 10:04 AM FreeBSD usergroup wrote:




On 29 sep 2005, at 13:28, Peter Clutton wrote:



Hi, I have gone through the docs on this but am just missing a   
couple of points

conceptually, and would be grateful for any help.

Basically i have created two slices on two IDE drives and mounted  
them
(through fdisk, label etc), and had that all up and running  
correctly.

I then went into Vinum in interactive mode and (hopefully) created a
mirror by typing
mirror -d /dev/ad0s2d  /dev/ad1s1d  .  It then gave me successful
messages and gave the drive a name and said it's up.

I'm just wondering after this point, can i just type quit and  
it's up

and running? I noticed on reboot the directories that were my mount
point for these partitions say they are not a directory now. Do i
need to go on and mount the mirror? Or did i make a mistake mounting
these partitions before creating the mirror. How do i utilize it  
after

issuing the mirror command.
Many thanks in advance.




Which FBSD release do you use?

basically (FBSD  5.3)
for vinum you just have to type:
vinum start
after a reboot and it'll read the config from the disks and put  
the  volume in /dev/vinum/

from there you can mount it manually or add a line to /etc/fstab



Neither of this is probably necessary.  Vinum started automatically  
when 'vinum' was typed on the console to create the mirror.  Once  
the mirror was created and shown as 'up', the volume was created  
in /dev/vinum.  However there is something you need to add to /etc/ 
rc.conf to have vinum start automatically upon booting and thus  
make your volume available for mounting.  Seems it was  
'vinum_enable = yes' or something like that.  Search /etc/ 
defaults/rc.conf for the exact line.


HTH,

Drew

--


In some releases 'vinum_enable=yes' in /etc/conf caused a kernel  
panic at boot.

Hence my question what OS...

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


Re: long ftp dir listings

2005-09-29 Thread Sandy Rutherford
 On Thu, 29 Sep 2005 09:27:31 -0700, 
 David [EMAIL PROTECTED] said:

  I am often annoyed trying to get a long directory listing from my unix box
  while ftp'ing somewhere. pause is hardly useful, since the listing goes
  by to quickly. Occasionally, I have found a site that uses |more , but this
  is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
  up a long listing. Any good methods would be appreciated.

If you are an Emacs user, you can use Dired and EFS (or Ange-FTP) to
browse FTP listings.  Ange-FTP only understands remote unix-style
listings.  EFS can additionally parse listings from:

VMS, CMS, MTS, MVS, ti-twenex, ti-explorer (the last two are lisp
machines), TOPS-20, DOS (running the Distinct, Novell, FTP software,
NCSA, Microsoft in both unix and DOS mode, Super TCP, and Hellsoft FTP
servers), unix descriptive listings (dl), KA9Q, OS/2, VOS, NOS/VE, CMS
running the KNET server, Tandem's Guardian OS, COKE, Mac (Running
Peter's ftpd)

In other words, pretty much anything.

Emacs + Dired works fine on a dumb terminal.  If you have X running
and you would rather avoid Emacs, then search the ports for FTP
clients with a GUI.  There are a number of them.

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


Modem doesn't answer the phone

2005-09-29 Thread Efren Bravo
Hi,

I need your help about incoming connections through the modem.

My modem is a External CNet C56k v.92 Data/Fax Modem and it is unable to
answer the phone. I made a test with an old Motorola V.3292 modem and it
works well. The CNet modem works fine on Win2k Advanced Server.

Where could be the problem, on fBSD box or on the modem?
What can I do?

Thanks 



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


Locking 'threaded messages'

2005-09-29 Thread Gerard Seibert
I was just wondering if I could drum up any enthusiasm for my latest idea 
to improve Becky's overall usability, functional ability and suitability 
to task rating.


By the way, if this is all ready possible please let me know. I have not 
been able to accomplish it. What I propose is for Carty to incorporate the 
ability to lock a thread either by locking the original message in the 
thread or by implicitly locking any message in the thread and indicating 
that the thread should be locked. By locking, I am referring to making the 
thread immune to deletion unless implicitly unlocked.


Presently, I have to lock every message in a thread to keep it from being 
deleted when I remove the other garbage in the box the message is located 
in. This is not a problem with Becky's forum since there are usually no 
more than a handful of messages anyway. However, on some forums I belong 
to, I can receive a hundred messages a day. Obviously, I have no use for 
the vast majority of them. Never the less, if there is a thread I want to 
keep, I am forced to lock each message individually. I would like the 
ability to globally lock a thread, in whatever fashion Carty might devise.


My sole purpose with this post is to see if there is any support for this 
from the other Becky users.



--
Gerard Seibert
[EMAIL PROTECTED]

  .:\:/:.
  +---+ .:\:\:/:/:.
  |   PLEASE DO NOT   |:.:\:\:/:/:.:
  |  FEED THE TROLLS  |   :=.' -   - '.=:
  |   |   '=(\ 9   9 /)='
  |   Thank you,  |  (  (_)  )
  |   Management  |  /`-vvv-'\
  +---+ / \
  |  |@@@  / /|,|\ \
  |  |@@@ /_//  /^\  \\_\
@x@@x@|  | |/ WW(  (   )  )WW
\/|  |\|   __\,,\ /,,/__
 \||/ |  | |  (__Y__)
/\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
___
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 packages

2005-09-29 Thread Charles Swiger

On Sep 29, 2005, at 4:38 PM, Milscvaer wrote:

How often are the binary packages in 5-stable for instance
rebuilt to the latest version? It is pretty critical
to keep these updated constantly, preferably every
day, to get the latest security fixes in a new version
of a package. I noticed that Firefox still seems to be
at 1.0.6 even though 1.0.7 has been out for several
days. Does FreeBSD have a system set up where when a
port is upgraded to a new version, the binary package
for the port is automatically rebuilt soon after, such
as at least within the next day so that the latest
version in ports is also avialable as a binary
package. This is very essential. I hope such a feature
can be provided.


The cluster of machines used to build precompiled packages operates  
pretty much continuously, as you can see for yourself at:


http://pointyhat.freebsd.org/errorlogs/

As this link says, Last full run on 5.x-stable [i386 (2005-09-27  
05:24)] was two days ago, and a new run is in progress which ought  
to have Firefox 1.0.7 and anything else which has been updated since  
the last run was started.  Note that building 13000 ports takes quite  
a while, so expecting less than 24-hour turnaround for binary  
packages might be too optimistic.


So if you want software updated more quickly, build it yourself--  
updating the 10 ports that you actually use is a lot easier than  
building everything.  Or you could donate more hardware to the  
FreeBSD project, or even set up your own build cluster if you think  
you can do a better job.



Does also, is anything done to avoid the situation
where an older program needs an older version of a
dependancies and a newer program needs a newer version
of the same depedancy?


Why, yes, people use shared library version numbers, or they install  
to different base prefixes, or any number of similar methods.  For  
popular software like the Berkeley DB, this support is well- 
integrated into the ports system and the options menu that many ports  
will display, using WITH_BDB_VER.  These mechanisms are documented in  
the Porter's Handbook here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ 
makefile-options.html#AEN2286



Does portupgrade leave older versions of a library
dependancy in place when installing a new version of
such a dependancy, so that applications that require
the newer version of the dependancy can use the new
version, while applications that need the older
version can use the older version?


Yes, it does.  Consider the output of du -a /usr/local/lib/compat/...

--
-Chuck

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


Re: Problems with IPF after upgrading from 4.11 to 5.4

2005-09-29 Thread Parv
in message [EMAIL PROTECTED],
wrote Aaron Siegel thusly...

 I have compiled the IPFIREWALL and IPDIVERT  options into the
 kernel  and I 

You wrote IPF, referers to IPFilter, in the subject...

  Subject: Problems with IPF after upgrading from 4.11 to 5.4


... and in body of the message you are referring actually to
ipfirewall.  Talk about false advertising.


  - Parv

-- 

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

2005-09-29 Thread Milscvaer
Thank you for your replies, it is greatly appreciated.
Yes, I do believe in making donations to the FreeBSD
project, and I have done so many times.

FreeBSD is my preferred operating system and it is
well worth it. I have tried both NetBSD and OpenBSD
before both of which failed to run at all on my
hardware, FreeBSD is the only thing that will run on
many of computers and which has the features I need so
I am a big supporter and proponent of FreeBSD to say
the least.


Thank you agian. 

--- Charles Swiger [EMAIL PROTECTED] wrote:

 On Sep 29, 2005, at 4:38 PM, Milscvaer wrote:
  How often are the binary packages in 5-stable for
 instance
  rebuilt to the latest version? It is pretty
 critical
  to keep these updated constantly, preferably every
  day, to get the latest security fixes in a new
 version
  of a package. I noticed that Firefox still seems
 to be
  at 1.0.6 even though 1.0.7 has been out for
 several
  days. Does FreeBSD have a system set up where when
 a
  port is upgraded to a new version, the binary
 package
  for the port is automatically rebuilt soon after,
 such
  as at least within the next day so that the latest
  version in ports is also avialable as a binary
  package. This is very essential. I hope such a
 feature
  can be provided.
 
 The cluster of machines used to build precompiled
 packages operates  
 pretty much continuously, as you can see for
 yourself at:
 
 http://pointyhat.freebsd.org/errorlogs/
 
 As this link says, Last full run on 5.x-stable
 [i386 (2005-09-27  
 05:24)] was two days ago, and a new run is in
 progress which ought  
 to have Firefox 1.0.7 and anything else which has
 been updated since  
 the last run was started.  Note that building 13000
 ports takes quite  
 a while, so expecting less than 24-hour turnaround
 for binary  
 packages might be too optimistic.
 
 So if you want software updated more quickly, build
 it yourself--  
 updating the 10 ports that you actually use is a lot
 easier than  
 building everything.  Or you could donate more
 hardware to the  
 FreeBSD project, or even set up your own build
 cluster if you think  
 you can do a better job.
 
  Does also, is anything done to avoid the situation
  where an older program needs an older version of a
  dependancies and a newer program needs a newer
 version
  of the same depedancy?
 
 Why, yes, people use shared library version numbers,
 or they install  
 to different base prefixes, or any number of similar
 methods.  For  
 popular software like the Berkeley DB, this support
 is well- 
 integrated into the ports system and the options
 menu that many ports  
 will display, using WITH_BDB_VER.  These mechanisms
 are documented in  
 the Porter's Handbook here:
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
 
 makefile-options.html#AEN2286
 
  Does portupgrade leave older versions of a library
  dependancy in place when installing a new version
 of
  such a dependancy, so that applications that
 require
  the newer version of the dependancy can use the
 new
  version, while applications that need the older
  version can use the older version?
 
 Yes, it does.  Consider the output of du -a
 /usr/local/lib/compat/...
 
 -- 
 -Chuck
 
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://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]


Re: Sharing /usr/ports

2005-09-29 Thread Andrew P.
On 9/29/05, Robert Marella [EMAIL PROTECTED] wrote:
 :
 Mime-Version: 1.0
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit

 On Thu, 29 Sep 2005 13:35:38 +0400
 Andrew P. [EMAIL PROTECTED] wrote:

  On 9/28/05, Robert Marella [EMAIL PROTECTED] wrote:
 clip

   I have one question. Is there an easy way to keep
   the /usr/ports/packages/All directory clean?
  
 clip
  
   The old packages can start to take up a lot of space.
  
   Thanks
  
   Robert
  
 
  Glad to be helpful, Robert!
 
  Sure, there's an easy way, just run
  # portsclean -P
  and all your outdated packages are gone. man
  portsclean for details.
 
  Cheerz,
  Andrew P.

 Hi Andrew,

 I could while away the hours
 Conferrin' with the flowers
 Consultin' with the rain
 And my head, I'd be scratchin'
 While my thoughts were busy hatchin'
 If I only had a brain.

 In my nightly cvsup I actually do a portsclean -CD.

 Mea Culpa

 Thanks again

 Robert


Should we send-pr for starting a freebsd-poetry mailing
list? :-)

You know, I actually think that it's better to send a dumb
question to freebsd-questions, than to RTFM. Know why?

1. Well, it's a pleasure for a nooby guy (like me) to find out
that he can actually help someone.

2. It's a pleasure for anyone to be given a good answer
instead of (probably more appropriate) reprimand. It also
makes this anyone think about subscribing and trying to
help others.

3. It makes us all able to say that in the absence of official
(commercial) vendor support, FreeBSD has a much more
efficient way of solving your problems, even without
investing your time into reading tomes of docs and manpages.

Have a great night,
Andrew P.
___
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 packages

2005-09-29 Thread Andrew P.
On 9/30/05, Charles Swiger [EMAIL PROTECTED] wrote:
 On Sep 29, 2005, at 4:38 PM, Milscvaer wrote:
  How often are the binary packages in 5-stable for instance
  rebuilt to the latest version? It is pretty critical
  to keep these updated constantly, preferably every
  day, to get the latest security fixes in a new version
  of a package. I noticed that Firefox still seems to be
  at 1.0.6 even though 1.0.7 has been out for several
  days. Does FreeBSD have a system set up where when a
  port is upgraded to a new version, the binary package
  for the port is automatically rebuilt soon after, such
  as at least within the next day so that the latest
  version in ports is also avialable as a binary
  package. This is very essential. I hope such a feature
  can be provided.

 The cluster of machines used to build precompiled packages operates
 pretty much continuously, as you can see for yourself at:

 http://pointyhat.freebsd.org/errorlogs/

 As this link says, Last full run on 5.x-stable [i386 (2005-09-27
 05:24)] was two days ago, and a new run is in progress which ought
 to have Firefox 1.0.7 and anything else which has been updated since
 the last run was started.  Note that building 13000 ports takes quite
 a while, so expecting less than 24-hour turnaround for binary
 packages might be too optimistic.

 So if you want software updated more quickly, build it yourself--
 updating the 10 ports that you actually use is a lot easier than
 building everything.  Or you could donate more hardware to the
 FreeBSD project, or even set up your own build cluster if you think
 you can do a better job.

  Does also, is anything done to avoid the situation
  where an older program needs an older version of a
  dependancies and a newer program needs a newer version
  of the same depedancy?

 Why, yes, people use shared library version numbers, or they install
 to different base prefixes, or any number of similar methods.  For
 popular software like the Berkeley DB, this support is well-
 integrated into the ports system and the options menu that many ports
 will display, using WITH_BDB_VER.  These mechanisms are documented in
 the Porter's Handbook here:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
 makefile-options.html#AEN2286

  Does portupgrade leave older versions of a library
  dependancy in place when installing a new version of
  such a dependancy, so that applications that require
  the newer version of the dependancy can use the new
  version, while applications that need the older
  version can use the older version?

 Yes, it does.  Consider the output of du -a /usr/local/lib/compat/...

 --
 -Chuck

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


Everyone,

I've been actually thinking about this whole subject
for the last few days. We've got to do something in
order to make major few hundred packages lag by not
more than a few hours.

Ideally, we should have a tool for distributed, but
secure port-building.

In the absence of such a tool, we should think of
something very simple, but workable. E.g., to ask
users to send in SHA checksums of their built
packages (with very specific build environment),
compare them to each other (verify) and ask one
of them to send the package itself to a central
location (ftp.freebsd.org).

Better yet - is to employ bittorrent, which would
do the hashing thing automatically, and provide
for a very fast download for anyone.

I really think that it's very simple and only takes
a tad of a spare time of one man to do it.

Personally, I have several machines at home
and at work, running FreeBSD i386 and amd64
day and night. They're currently wasting their
CPU cycles on dnetc, and I will gladly start
building all kinds of packages, but I don't have
much bandwidth to spare (hardly to upload,
impossible to distribute).

Please, those directly involved into the freebsd
project, step forward - and let's decide on
something. It's not time-critical, but it can't be
ignored forever.

People spend much of their free time in order
to keep the ports tree astonishingly up-to-date
(more up-to-date than software in any other OS I've
ever used). We've only got to spend machine
time, but the packages lag by weeks sometimes.


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


Re: Modem doesn't answer the phone

2005-09-29 Thread Chris Hill

On Thu, 29 Sep 2005, Efren Bravo wrote:


I need your help about incoming connections through the modem.

My modem is a External CNet C56k v.92 Data/Fax Modem and it is unable 
to answer the phone. I made a test with an old Motorola V.3292 modem 
and it works well. The CNet modem works fine on Win2k Advanced Server.


Where could be the problem, on fBSD box or on the modem?
What can I do?


You probably have to tell the modem to auto-answer incoming calls. The 
command is ATA, according to 
http://www.modemhelp.net/basicatcommand.shtml. I'd put this in a modem 
initialization script somewhere, but I haven't used a modem since 3.1 so 
I'm not sure exactly where that would go.


HTH.

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


Re: Modem doesn't answer the phone

2005-09-29 Thread Glenn Dawson

At 03:39 PM 9/29/2005, Chris Hill wrote:

On Thu, 29 Sep 2005, Efren Bravo wrote:


I need your help about incoming connections through the modem.

My modem is a External CNet C56k v.92 Data/Fax Modem and it is 
unable to answer the phone. I made a test with an old Motorola 
V.3292 modem and it works well. The CNet modem works fine on Win2k 
Advanced Server.


Where could be the problem, on fBSD box or on the modem?
What can I do?


You probably have to tell the modem to auto-answer incoming calls. 
The command is ATA, according to 
http://www.modemhelp.net/basicatcommand.shtml. I'd put this in a 
modem initialization script somewhere, but I haven't used a modem 
since 3.1 so I'm not sure exactly where that would go.


Actually, ata will tell the modem to pick up the phone and answer now.

ats0=1 will tell the modem to auto answer when the phone rings.

atw will typically tell the modem to write the current settings to 
nvram so that they are available the next time it's turned on.


-Glenn



HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
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: NextCom or eRacks?

2005-09-29 Thread Tom Vilot


Ah, to heck with it.

I bought an Apple PowerBook G4. Damn thing rulez ... ;)


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


Re: kdebase3.4.2 install error

2005-09-29 Thread eodyna
Thank you very much!!!
that seamed to have fixed the problem.
Greatly appreciated!!!

--eams
--- Tilman Linneweh [EMAIL PROTECTED] wrote:

 Hi,
 
 Am 27.09.2005 um 07:13 schrieb eodyna:
  I was wondering if someone can help me with this
  install problem.
 
  as well as the log it complains about
  favicons.cpp:29:77: kdatastream.h: No such file or
  directory
  kiontheme.h
  kimageio.h
  ksimpleconfig.h
  kstandardsdirs.h
  kio/job.h
 
  with the same error message
 
 
 reinstall your kdelibs port.
 
 regards
 arved
 
 




 
Do you Yahoo!? 
Messenger 7.0: Free worldwide PC to PC calls 
http://au.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


screen dead process

2005-09-29 Thread Dave

Hello,
   I was working on a 5.4 box using screen to ssh to several other boxes 
when my connection to the primary box was killed. I reconnected and not 
expecting screen to have survived i did a screen -r and got the msg that 
there is a screen on pid 3241 on hostname.pty0 or something similar then it 
said there are no screen sessions to be resumed. I'd like to get this screen 
session back if possible.

Thanks.
Dave.

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


Re: screen dead process

2005-09-29 Thread Glenn Dawson

At 08:08 PM 9/29/2005, Dave wrote:

Hello,
   I was working on a 5.4 box using screen to ssh to several other 
boxes when my connection to the primary box was killed. I 
reconnected and not expecting screen to have survived i did a 
screen -r and got the msg that there is a screen on pid 3241 on 
hostname.pty0 or something similar then it said there are no screen 
sessions to be resumed. I'd like to get this screen session back if possible.

Thanks.
Dave.


screen -rd

-Glenn


___
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: screen dead process

2005-09-29 Thread Daniel
On 9/30/05, Dave [EMAIL PROTECTED] wrote:
 Hello,
 I was working on a 5.4 box using screen to ssh to several other boxes
 when my connection to the primary box was killed. I reconnected and not
 expecting screen to have survived i did a screen -r and got the msg that
 there is a screen on pid 3241 on hostname.pty0 or something similar then it
 said there are no screen sessions to be resumed. I'd like to get this screen
 session back if possible.
 Thanks.
 Dave.

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


Re: UPS

2005-09-29 Thread Igor Robul

Chuck Swiger wrote:


Gerard Seibert wrote:

I am not looking for anything extraordinary. Just something, that can 
gracefully shut down my system if I lose power. An occurrence that 
transpires habitually in the northeast USA when I reside,



Your bog-standard APC brand plus sysutils/apcupsd port works fine for 
me for less than, say 3000 volt-ampere UPS.  If you're going to get 
something bigger, look at Leviton or Powerware.


I _do not_ recommend PowerWare. Their UPSes work fine, but their 
software is not compatible with recent versions of FreeBSD (5.X, 6.X). 
They have only Linux version of software, which worked fine with FreeBSD 
4.X, but does not work as expected with FreeBSD 5.X (timeouts while 
connecting to daemon), even more, their software coredumps on recent 
versions of Mandrake Linux. And Powerware 9125 (and newer)  is not 
supported by sysutils/nut because communication protocol is closed.

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