postfix problem in jail
Hi. So, i have a running jail and installed postfix from the ports in there. My problem is, that postfix wont start in the jail. /var/log/maillog shows: ct 18 09:20:08 briefzentrum postfix/postfix-script: starting the Postfix mail system Oct 18 09:20:08 briefzentrum postfix/master[481]: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1 So, what is the problem with that? How to setup a local interface for 127.0.0.1 in a jail, so that postfix should start at boottime? Thanks in advance. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: postfix problem in jail
On Fri, Oct 18, 2002 at 09:34:43AM +0200, Axel Gruner wrote: ct 18 09:20:08 briefzentrum postfix/postfix-script: starting the Postfix mail system Oct 18 09:20:08 briefzentrum postfix/master[481]: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1 So, what is the problem with that? How to setup a local interface for 127.0.0.1 in a jail, so that postfix should start at boottime? There is no local interface, 127.0.0.1 inside a jail, only the IP address that the jail has been given. You need to tell postfix to startup on the same IP address that the jail has been given. Do this either by setting: myhostname = yourmachine and putting yourmachine into /etc/hosts with the correct IP, or by setting: inet_interfaces = youripaddress Both changes can be done in the postfix main.cf config file. Obviously replace yourmachine and youripaddress to their correct values. -- Michael Pye To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
apache install problems w/expat
i have problems installing apache. i'm getting the following errors eventhough i have expat-1.95.4 installed. -- === Installing for expat-1.95.4 === expat-1.95.4 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of expat-1.95.4 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/expat2. *** Error code 1 -- when i tried doing it again i get the following error: Error: shared library expat.4 does not exist *** Error code 1 Stop in /usr/ports/www/apache2. i've tried to uninstall expat and then reinstall it... i've also tried running portupgrade on expat... but i'm still stuck. as always, any and all help will be appreciated __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Hello, thanks for reading this email!
Warning Unable to process data: multipart/mixed;boundary==_NextPart_000_00E3_54C03D2D.E8357D18
Re: A curious dmesg output entry
On Thu, Oct 17, 2002 at 05:30:35PM -0700, Wayne Lubin wrote: I am recompiling the kernel to include the following devices apm0 smbus viapm smb but it stops with the following tail end make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs mkdep -a -f .newdep -O -p ipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-pro totypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdi nc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfil ter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/pci/viapm.c:53: iicbb_if.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Apologies: I missed some of the dependencies. You'll need: apm0 device iicbb device iicbus device iicsmb device smbus device smb device viapm Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: opengl
i would like to program in opengl on freebsd with c/c++ what do i need to install from the ports directory to do this or am i already set up.. Install /usr/ports/graphics/Mesa3, which is an implementation of OpenGL. -- -- Ramsey G. Brenner [EMAIL PROTECTED] http://home.earthlink.net/~rgbrenner/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: natd not allowing incoming ftp connections, but web is okay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Chip, Friday, October 18, 2002, 8:36:47 AM, you wrote: CW I have a server set up to run both web server and ftp CW server. The web server is working great, internet CW connect to it just fine. The ftpd server is running, it CW works great on the intranet, but from the internet CW connections are not allowed - according to wsftp the CW message is connection refused skip CW My natd.conf looks like this - CW use sockets yes CW port 8668 CW alias address xx.xx.xx.xxx CW log CW unregistered only CW redirect_port tcp 192.168.1.14:20-21 20-21 CW redirect_port tcp 192.168.1.14:80 80 CW I don't understand why the port 80 line works and the CW port 20-21 line does not. That is because of the nature of the FTP protocol. FTP uses two separate TCP connections: one for commands (port 21) and another one for data (port 20). What's going on when client tries to establish the FTP session? 1. Client allocates two ports for himself (both above 1023) 2. It uses first port to connect to server's port 21 3. Using this established session client issues directive PORT to server to tell the server port number for data transfer. 4. Server initiates connection from its port 20 to client's second opened port. So if client uses active mode ftp you should not mention port 20 in redirect port directive (data channel will be aliased according to alias address directive): redirect_port tcp 192.168.1.14:21 21 If client uses passive mode FTP then you probably should use two directives: redirect_port tcp 192.168.1.14:21 21 redirect_port tcp 192.168.1.14:49152-65535 49152-65535 CW Even though it says log, there is no log file being CW written to, all log items show on the local display, I CW don't know why. CW Any ideas what to check? Is /var/log/alias.log exists and has correct permissions? You may also try to log events via syslog using log_facility directive. - -- Best regards, Artemmailto:aokounev;yahoo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (MingW32) iD8DBQE9r+F6bOuJ0KL1C+MRAsAhAJ9uV3if84mDkq6DLy6mHDTLO1+V5ACdHf5/ zIYu6XId3WVQPDqBdERC0FA= =+gLt -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: off-topic -- ports
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Razvan, Friday, October 18, 2002, 1:13:12 PM, you wrote: RC what is the difference between 4.x-mini.iso and 4.x-install.iso? RC what does mini not have ? mini.iso does not contain precompiled packages. - -- Best regards, Artemmailto:aokounev;yahoo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (MingW32) iD8DBQE9r+OmbOuJ0KL1C+MRAgsMAJ49D2ndfH8ATNMGxx3a0xVo9VpRdwCeNeXJ CpMNsMlQwwLnHHCIcvevhlg= =ou5M -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Apache DOS, help needed
Hi, I'm using apache 1.27 with recent modssl. I'm not vulnerable to this bug. But I see from time to time large scans, which have the symptoms of this worm. All my FreeBSD childs get used and are waiting in a queue and the server gets unresponsive for 5-6 mins. I set correctly limits: RLimitNPROC 25 RLimitMEM 4000 RLimitCPU 5 But in this case, RLimitNPROC seems not to work :P I also tried mod_throttle, but it does also not help in this case because all connections are made at the same time and they timeout 180 seconds later. [Fri Oct 18 05:51:43 2002] [error] [client 202.131.107.1] client sent HTTP/1.1 request witho ut hostname (see RFC2616 section 14.23): / [Fri Oct 18 05:51:43 2002] [error] [client 202.131.107.1] client sent HTTP/1.1 request witho ut hostname (see RFC2616 section 14.23): / [Fri Oct 18 05:51:43 2002] [error] [client 202.131.107.1] client sent HTTP/1.1 request witho ut hostname (see RFC2616 section 14.23): / Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 502 total children [Fri Oct 18 05:51:48 2002] [error] server reached MaxClients setting, consider raising the M axClients setting [Fri Oct 18 05:54:26 2002] [info] [client 202.131.107.1] read request line timed out [Fri Oct 18 05:54:26 2002] [info] [client 202.131.107.1] read request line timed out [Fri Oct 18 05:54:26 2002] [info] [client 202.131.107.1] read request line timed out [Fri Oct 18 05:54:26 2002] [info] [client 202.131.107.1] read request line timed out [Fri Oct 18 05:54:29 2002] [info] [client 202.131.107.1] read request line timed out And so on. Has someone a quick fix for this or a idea ? Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED] -- ImproWare AG, UNIXSP ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: finger -l [EMAIL PROTECTED] PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem with sendmail
# [EMAIL PROTECTED] / 2002-10-17 07:58:48 -0400: On Thu, 17 Oct 2002, Ada Cheng wrote: On Wed, 16 Oct 2002, Dirk Meyer wrote: Ada Cheng schrieb:, I am unable to receive any email send to my box. I am running 4.6.2 with sendmail 8.12.6_1. When I try to send a test mail to another source which I then redirect back to my box I obtain the following message in Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000): Operation not permitted (r=1, e=1) Please add in your sendmail.mc file: MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl mail.local is not SUID, so sendmail must start it as root. I have added the line recommended below but I am still getting a similiar error, except now I have Oct 17 05:43:38 infinity mail.local: setreuid(0, 0): Operation not permitted (r=1, e=1) I realize what my problem was. I didn't reboot the system after I rebuild sendmail. Thanks everyone!! That was pretty lame. How did you rebuilt sendmail? By issuing `make install` in /etc/mail? Do you realize the Makefile contained therein is a plaintext, commented, quite easily understandable file? If you skimmed it you would have realized adding the 'restart' target to the make command would have done just what you needed without taking down the whole box. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: citrix ica client
I had the same citrix-ica problems a while back. Reinstalling XFree86-libraries solved it. see http://www.freebsd.org/cgi/getmsg.cgi?fetch=542242+545230+/usr/local/www/db/text/2002/freebsd-ports/20020929.freebsd-ports Well alright, that sounds plausible. Thanks Karel! -Will To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ftp site problem
Hello, Well I just installed FreeBSD release 4.5 through ftp. The problem is that /statd/sysinstall did not find the packages I requested on the ftp sites (i tried several sites that the installer listed). So now I have FreeBSD with XF386 (but no KDE), man pages, info files and several other stuff, but not a single package installed (pkg_info -a tells me that). So whats wrong? Does the site have a problem? Thanks for listening. Razvan __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
problem with network cards in server, plz help!
I have two different cards on my Netfinity 5000 server, a pci Netgear FA311 (showing up as a NatSemi (sis0), and the onboard network card which seems to have an AMD chipset (pcn0). If I have the onboard ethernet card enabled at all and have an active cable connected to it and restart the computer it comes up on ukphy0, turns the pci error light on and I get no internet access which it later makes the computer reboot automatically without any warning. If I disable that card and put in a PCI Netgear card, have also tried other cards such as Intel or IBM cards, once in a while it will boot normally but every once in a while it will get hung up on the ukphy0 as well, giving me the same problem as the onboard network and reboot itself. At first I thought it was an IRQ problem but all of my devices now have individual IRQ's set in the bios and I'm still having this problem. I'm afraid to reboot this thing because I'm afraid it won't be coming back up. Below are from my dmesg, the first is when I have my onboard ethernet enabled and the second is when I have the netgear installed. Any help would be much appreciated on what to do with this problem. By the wayI'm running on FreeBSD 4.6.2 but also have this problem running 4.7, I it also usually hangs on the driver initialization during installation of the os. Dave Oct 4 21:11:36 hermes /kernel: pcn0: AMD PCnet/PCI 10/100BaseTX port 0x2180-0 x219f mem 0xfebfdc00-0xfebfdc1f irq 10 at device 9.0 on pci0 Oct 4 21:11:36 hermes /kernel: pcn0: Ethernet address: 00:06:29:39:bf:a9 Oct 4 21:11:36 hermes /kernel: miibus0: MII bus on pcn0 Oct 4 21:11:36 hermes /kernel: ukphy0: Generic IEEE 802.3u media interface on miibus0 Oct 4 21:11:36 hermes /kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100bas eTX-FDX, auto pcib1: ServerWorks NB6536 2.0HE host to PCI bridge on motherboard pci1: PCI bus on pcib1 sis0: NatSemi DP83815 10/100BaseTX port 0x4b00-0x4bff mem 0xc0fdf000-0xc0fd irq 5 at device 4.0 on pci1 sis0: Ethernet address: 00:a0:cc:76:d9:f1 miibus0: MII bus on sis0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading installed ports after CVSup
John Bleichert wrote: I've CVSup'd my system to 4.7 and all is well. Tonight I CVSup'd the ports tree. Now, a couple quick questions: Is there an automated way to upgrade all my installed ports, if an update is available? Or do I just do it manually by remaking them? Is this a job for portupgrade? I'm trying that now. What is the accepted method for upgrading installed ports? Yes. I did a portupgrade -a on my workstation (Compaq Deskpro PIII 800 (+-) w/ 128RAM and it took about 2 days compiling my 377 installed packages. I just had to fix some inconsistencies with pkgdb -F (return-return-return...) first, answer Accept when got to compile JDK and everything got smooth. Those inconsistencies came becouse it was FBSD 4.5, upgraded to 4.6 and to 4.6.2 and now to 4.7 and this was the first time I did portupgrade. [ ]'s -- Marcio Merlone To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla and Sylpheed
Bryan Cassidy wrote: Well, I guess no one replied to my e-mail because I didn't have a Subject: or no one knows. I will ask again though just in case something else happened. I use Mozilla as my web browser and when I click a mailto: link it opens Mozilla Mail. Well, I don't want it to open Mozilla Mail. I want it to open Sylpheed. If someone could tell me exactly how to do this I would appreciate it. Thank You. There is no way. Mozilla does not support any mailer (MUA) other than himself. Hope some day it does, bu not by now. [ ]'s -- Marcio Merlone To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How to start gnome2?
I just finished compiling gnome2 from the ports. But now how do I start? I added the line exec gnome to my .xsession and .xinitrc files, typed in startx, and got an error saying, could not find gnome. Is there a different syntax? Thanks in advance, Ronnie Clark __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Broken port?
Bwt, please CC to me as I am not on the list, thanks :-) Best regards Rafter -- Get your free email from www.linuxmail.org Powered by Outblaze To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
xdm wont run in deamon mode
Hello all, I am running FreeBSD haar038 4.6-RELEASE FreeBSD 4.6-RELEASE with XFree86-Server-4.2.1_3 I do not use a local client, but only connect with a remote client. and get the following error: 14:39 #henk# [/home/henk xdm -debug 1 DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.willing/DisplayManager.Willing value su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling Nothing left to do, exiting Anyone? Thanks! Henk Complete debug info: DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /var/log/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /var/run/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /usr/X11R6/lib/X11/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /usr/X11R6/lib/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /usr/X11R6/lib/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/X11R6/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 DisplayManager.sourceAddress/DisplayManager.SourceAddress value false DisplayManager.willing/DisplayManager.Willing value su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling Nothing left to do, exiting To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache DOS, help needed
Hi all, In the meantime I've found some datapoints. This is a slapper DOS attack, a linux work which has been modified to kill apaches or to take them down. All apaches (also 1.27) are vulnerable. It hammers the server till all slots are filled, and then the apache server is not able to serve any customers anymore until these requests timeout. http://groups.google.com/groups?q=worm+apache+DOS+slapperhl=enlr=ie=UTF-8oe=UTF-8selm=3ebd7d0b.0210142024.75d362b6%40posting.google.comrnum=5 http://groups.google.com/groups?q=worm+apache+DOS+slapperhl=enlr=ie=UTF-8oe=UTF-8selm=3ebd7d0b.0210142024.75d362b6%40posting.google.comrnum=5 And this was proposed as fast fix: # AWB - another attempt to keep apache from being DOS'd by slapper ServerTokens ProductOnly ServerSignature Off Beside that DOS, I'm able to block apache with just a telnet and a perl script. I'd consider this as severe DOD vulnerability. Martin Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED] -- ImproWare AG, UNIXSP ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: finger -l [EMAIL PROTECTED] PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: How to start gnome2?
Put this line in your .xinitrc exec gnome-session Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Ronnie Clark Sent: 18 October 2002 13:53 To: FreeBSD Questions Subject: How to start gnome2? I just finished compiling gnome2 from the ports. But now how do I start? I added the line exec gnome to my .xsession and .xinitrc files, typed in startx, and got an error saying, could not find gnome. Is there a different syntax? Thanks in advance, Ronnie Clark __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SIS 900 on board, FreeBSD 4.7
Hello, yesterday I've downloaded fbsd 4.7 iso and tried to boot on my laptop. All was going well until the kernel started probing for my ethernet card (which is SIS 900). It recognized it as SIS 900 and it said MII without PHY! and rebooted. I've looked around in the mailing list archive and found so far that this was fixed in FBSD 4.5-STABLE !? Please help me ! If you can give me a kernel patch or a fix to this problem, I'll be glad to have it ! Disabling the NIC is not a solution. P.S. I'm not subscribed for the mailing list so please include my email when replying. thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading installed ports after CVSup
On Fri, 18 Oct 2002, Marcio Merlone wrote: Date: Fri, 18 Oct 2002 09:28:03 -0300 From: Marcio Merlone [EMAIL PROTECTED] To: John Bleichert [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: upgrading installed ports after CVSup John Bleichert wrote: I've CVSup'd my system to 4.7 and all is well. Tonight I CVSup'd the ports tree. Now, a couple quick questions: Is there an automated way to upgrade all my installed ports, if an update is available? Or do I just do it manually by remaking them? Is this a job for portupgrade? I'm trying that now. What is the accepted method for upgrading installed ports? Yes. I did a portupgrade -a on my workstation (Compaq Deskpro PIII 800 (+-) w/ 128RAM and it took about 2 days compiling my 377 installed packages. I just had to fix some inconsistencies with pkgdb -F (return-return-return...) first, answer Accept when got to compile JDK and everything got smooth. Those inconsistencies came becouse it was FBSD 4.5, upgraded to 4.6 and to 4.6.2 and now to 4.7 and this was the first time I did portupgrade. [ ]'s -- Marcio Merlone yep I did it last night, it went fine. About 4.5 hours to build 183 ports. I didn't rebuild the JDK but it works fine with Mozilla and that's all I need it for :) portupgrade is quite cool, seems to work great. Thanks - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make gdk-pixbuf fails; jpeg linking error
I have 4.7 RELEASE generic and gdk-pixbuf-0.20 fails to build because libjpeg is doubly linked. See message below. I currently have gdk-pixbuf-0.17 and I'm trying to upgrade to 0.20 because a few other gnome ports I want to install are depend on it. Can anyone tell me why libjpeg becomes doubly linked? I've had this problem for a while === Building for gdk-pixbuf-0.20.0 gmake all-recursive gmake[1]: Entering directory `/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2 0.0' Making all in gdk-pixbuf gmake[2]: Entering directory `/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2 0.0/gdk-pixbuf' Making all in pixops gmake[3]: Entering directory `/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2 0.0/gdk-pixbuf/pixops' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.20 .0/gdk-pixbuf/pixops' gmake[3]: Entering directory `/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2 0.0/gdk-pixbuf' /bin/sh ../libtool --mode=link cc -O -pipe -o libpixbufloader-jpeg.la -rpath /usr/X11R6/lib/gdk-pixbuf/loaders -avoid-version -module io-jpeg.lo -ljpeg libgd k_pixbuf.la -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/l ib - Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -ltiff -ljpeg -lpng -lz - L/us r/local/lib rm -fr .libs/libpixbufloader-jpeg.la .libs/libpixbufloader-jpeg.* .libs/libpixbu floader-jpeg.* cc -shared io-jpeg.lo -Wl,--whole-archive /usr/local/lib/libjpeg.a /usr/local/l ib/libjpeg.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/usr/ports/graphics/gdk -pixbuf/work/gdk-pixbuf-0.20.0/gdk-pixbuf/.libs -Wl,--rpath -Wl,/usr/X11R6/l ib -L/u sr/X11R6/lib -L/usr/local/lib ./.libs/libgdk_pixbuf.so -lgtk12 -lgdk12 -lgmodule 12 -lglib12 -lintl -lXext -lX11 -lm -ltiff /usr/local/lib/libjpeg.a -lpng -lz -Wl,-E -Wl,-soname -Wl,libpixbufloader-jpeg.so -o .libs/libpixbufloader-jpeg.so /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress': jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x0): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_destroy_compress': jcapimin.o(.text+0x108): multiple definition of `jpeg_destroy_compress' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x108): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_abort_compress': jcapimin.o(.text+0x120): multiple definition of `jpeg_abort_compress' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x120): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_suppress_tables': jcapimin.o(.text+0x138): multiple definition of `jpeg_suppress_tables' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x138): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_finish_compress': jcapimin.o(.text+0x190): multiple definition of `jpeg_finish_compress' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x190): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_write_marker': jcapimin.o(.text+0x2d8): multiple definition of `jpeg_write_marker' /usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x2d8): first defined here /usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_write_m_header': jcapimin.o(.text+0x364): multiple definition of `jpeg_write_m_header' ... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: natd not allowing incoming ftp connections, but web is okay
[EMAIL PROTECTED] wrote on 10/18/2002 03:24:47 AM: snip That is because of the nature of the FTP protocol. FTP uses two separate TCP connections: one for commands (port 21) and another one for data (port 20). What's going on when client tries to establish the FTP session? I tried from my office using wsftp, twice, once in active mode and once in passive mode, both result in the following error: ! Can't get ftp://66.114.152.128/; host entry ! Connection failed ftp://66.114.152.128/ snip So if client uses active mode ftp you should not mention port 20 in redirect port directive (data channel will be aliased according to alias address directive): redirect_port tcp 192.168.1.14:21 21 If client uses passive mode FTP then you probably should use two directives: redirect_port tcp 192.168.1.14:21 21 redirect_port tcp 192.168.1.14:49152-65535 49152-65535 Is it okay to have all 3 of the above redirect lines? I changed my natd.conf line for ftp to the first line above, and also added the other two lines. Is that a problem? snip Is /var/log/alias.log exists and has correct permissions? It did exist, has two lines, but no error lines, so then I set the permissions to 755, it still didn't get written to, then I changed it to 777, still not getting written to. You may also try to log events via syslog using log_facility directive. Would that fill the syslog full of natd/firewall messages? Sometimes there are tons of messages. -- Chip - -- Best regards, Artemmailto:aokounev;yahoo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (MingW32) iD8DBQE9r+F6bOuJ0KL1C+MRAsAhAJ9uV3if84mDkq6DLy6mHDTLO1+V5ACdHf5/ zIYu6XId3WVQPDqBdERC0FA= =+gLt -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Top not showing correct CPU utilization
On Thu, Oct 17, 2002 at 09:53:45PM -0700, Elite Scholar wrote: Environment FreeBSD mybox.com 4.7-STABLE FreeBSD 4.7-STABLE #2: Sun Oct 13 16:41:48 PDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386 Description Built and installed custom kernel. All seemed to have gone well except when I run top. It always shows 0.00% Utilized. I know that setiathome should be showing 90's + utilization. The weird part about this is that I did a shutdown now and I cut power to my box too early. Then when I turned mybox back up top was working again. When I did a dmesg to see what happened. I saw an error stating that / was improperly unmounted. So I figured that it's fixed but to make sure I did a shutdown -r now to see if it happens again. And sure enough.. Back to 0.00% Utilization. Any help would be appreciated. last pid: 220; load averages: 1.00, 0.97, 0.78 up 0+00:24:06 21:19:32 31 processes: 2 running, 29 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 33M Active, 14M Inact, 16M Wired, 60K Cache, 15M Buf, 61M Free Swap: 241M Total, 241M Free PID USERNAME PRI NICE SIZERES STATE TIME WCPUCPU COMMAND 149 nobody 48 10 16556K 15380K RUN22:55 0.00% 0.00% setiathome snip How did you upgrade your machine? Did you download ALL system sources and do a `make buildword - make buildkernel - make installkernel - reboot - make installworld'? I'm not sure if this is your problem, but frequently when problems like this are aired on the list it turns out to be a problem related to userland code being out of sync with the kernel code. Verify that all your sources are up to date. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: IPSEC/NAT issues
On Fri, Oct 18, 2002 at 04:54:33PM +0200, [EMAIL PROTECTED] wrote: I have often wondered about this.. Surely there must be a way to do it. Actually, I guess not, they're working on this problem at IETF. Maybe you could look at this inetrnet-drafts: draft-ietf-ipsec-nat-reqts-02.txt Hope it helps, [EMAIL PROTECTED] -D -Original Message- From: Thomas Spreng [mailto:spreng;insomniac.ch] Sent: Friday, October 18, 2002 11:09 AM To: Charles Henrich Cc: [EMAIL PROTECTED] Subject: Re: IPSEC/NAT issues On Thu, Oct 17, 2002 at 11:15:24AM -0700, Charles Henrich wrote: I have a network/firewall where I want to nat an entire network. However, I also want nat traffic to one remote host in particular out on the internet to be IPsec'd as well. [A] (10.x) [B] (Nat) [C] (Real IP) I've setup IPsec on both machines, and from either machine (B,C) I can ssh to the other, with ipsec packets all happening happy as a clam. However if try a connection from behind the nat box to the remote host (A,C) the key exchange works fine (between BC), but then no data flows back and forth. Anyone have any suggestions on this? Thanks! -Crh hi charles, im not sure if i understand your problem right but just keep in mind that you cannot make a NAT between an IPSec connection. This is because the address translation rewrites the ip headers and the ipsec authentification header prevents the packet from being altered. greets To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: prc-tools-2.2 on FreeBSD-4.7 build errors
This appears to be an issue with not having libintl available on FreeBSD. I havn't tried these suggestions yet, but I thought I would pass them along. Is the libintl stuff available through a port? - Chris Cut and Paste from another e-mail. - /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `dcgettext__' Perhaps this could be added to BUILDING.html, but really I think it is obvious. Because it is a generic problem and not specific to prc-tools, I would expect that you would get better answers on that FreeBSD mailing list than here. These *msg_cat* and *gettest* functions are all to do with internationalisation and NLS. So the quickest and nastiest way to avoid this is to decide you don't care about NLS and configure with --disable-nls. I do not know why configure thinks that your machine provides libintl but in fact it does not. It seems to me that this likely implies a faulty libintl installation on your machine. Or perhaps there is a problem with prc-tools's configuration scripts in this area. Perhaps someone on that FreeBSD mailing list can shed more light which you can report to us if it is relevant. Cut and Paste from another e-mail. - This problem appears on Mac OS X as well. Disabling NLS through the autoconf script was always the way around this as you suggested. Interesting though that two BSD systems have the same problem, do you guys think this requires further investigation? -Original Message- From: Chris Ptacek [mailto:cptacek;sitaranetworks.com] Sent: Thursday, October 17, 2002 2:34 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: prc-tools-2.2 on FreeBSD-4.7 build errors I have followed the build instructions http://prc-tools.sourceforge.net/install/BUILDING.html and am having problems getting prc-tools-2.2 to build. Has anyone else had any luck? I am using the tarballs specified in the instructions. I have tried switching between patch, gpatch, make, and gmake without luck. I am extracting to /usr/local/pilot ... I actually get 2 different errors depending on my configure call: with: ../prc-tools-2.2/configure --target=m68k-palmos --enable-languages=c,c++ --with-headers=`pwd`/empty --with-palmdev-prefix=/usr/local/pilot I get the following errors: -- /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c:1350: undefined reference to `_nl_msg_cat_cntr' ../binutils/bfd/libbfd.a(dwarf2.o): In function `parse_comp_unit': /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15b1): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15cd): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x15da): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1609): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1625): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1632): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16bc): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16d8): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x16e5): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x171d): undefined ref erence to `_nl_msg_cat_cntr' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1739): undefined ref erence to `dcgettext__' /usr/local/pilot/build/binutils/bfd/../../../prc-tools-2.2/binutils/bfd/dwar f2.c(.text+0x1746): undefined ref erence to `_nl_msg_cat_cntr' gmake[1]: *** [build-prc] Error 1 gmake[1]: Leaving directory `/usr/local/pilot/build/tools' gmake: *** [tools] Error 2 with: ../prc-tools-2.2/configure --enable-targets=m68k-palmos,arm-palmos --enable-languages=c,c++ --with-headers=`pwd`/empty --with-palmdev-prefix=/usr/local/pilot I get the following errors:
Re: Problem with sendmail
# [EMAIL PROTECTED] / 2002-10-18 10:58:13 -0400: I realize what my problem was. I didn't reboot the system after I rebuild sendmail. Thanks everyone!! That was pretty lame. No piling on! They feel foolish for missing it already. Unsportsman like conduct penalty. erm, i didn't mean to insult / poke fun at anyone. i just wrote what i felt was the best description of the action. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache install problems w/expat
On Thu, Oct 17, 2002 at 11:01:09PM -0700, Bsd Neophyte wrote: i have problems installing apache. i'm getting the following errors eventhough i have expat-1.95.4 installed. -- === Installing for expat-1.95.4 === expat-1.95.4 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of expat-1.95.4 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/expat2. *** Error code 1 -- when i tried doing it again i get the following error: Error: shared library expat.4 does not exist *** Error code 1 Stop in /usr/ports/www/apache2. i've tried to uninstall expat and then reinstall it... i've also tried running portupgrade on expat... but i'm still stuck. as always, any and all help will be appreciated Try deinstalling the expat2 package/port with `pkg_deinstall' or `pkg_delete'. The run `pkgdb -F' and fix any problems that may arise. The go back to your apache build and try again, letting the apache port install expat2 itself. This may not solve the underlying problem you are having with the apache port, but it might get past the problem? Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Best practice when building a -STABLE branch kernel
Is it a best practice to include debuging options in a -STABLE tree kernel? I have read the following article which suggests that a business-as- usual practice should be to include debugging options. http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html?page=1 The kernel developer's handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html) does not offer an opinion Is there some alternative thinking? --- Joe Sotham --- Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make gdk-pixbuf fails; jpeg linking error
On Fri, 2002-10-18 at 10:02, Zeno Lee wrote: I have 4.7 RELEASE generic and gdk-pixbuf-0.20 fails to build because libjpeg is doubly linked. See message below. I currently have gdk-pixbuf-0.17 and I'm trying to upgrade to 0.20 because a few other gnome ports I want to install are depend on it. Can anyone tell me why libjpeg becomes doubly linked? Have you tried forcing an update of you jpeg port? I have not encountered this error myself, and I have built _many_ versions of gdk-pixbuf. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Best practice when building a -STABLE branch kernel
List, please correct me if I am wrong: The business-as-usual practice would be to not run -Stable, but rather run a -Release. -Stable, although more stable than -Current, should not be run in business-production, although my hunch is that many small environments do. If you are running -Stable, then chances are you have some technical knowledge, and could contribute back to the project, in which case including debugging options could be helpful. Any other thoughts? -Matt On Fri, 2002-10-18 at 12:10, joe wrote: Is it a best practice to include debuging options in a -STABLE tree kernel? I have read the following article which suggests that a business-as- usual practice should be to include debugging options. http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html?page=1 The kernel developer's handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html) does not offer an opinion Is there some alternative thinking? --- Joe Sotham --- Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache install problems w/expat
--- Nathan Kinkade [EMAIL PROTECTED] wrote: On Thu, Oct 17, 2002 at 11:01:09PM -0700, Bsd Neophyte wrote: i have problems installing apache. i'm getting the following errors eventhough i have expat-1.95.4 installed. -- === Installing for expat-1.95.4 === expat-1.95.4 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of expat-1.95.4 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/expat2. *** Error code 1 -- when i tried doing it again i get the following error: Error: shared library expat.4 does not exist *** Error code 1 Stop in /usr/ports/www/apache2. i've tried to uninstall expat and then reinstall it... i've also tried running portupgrade on expat... but i'm still stuck. as always, any and all help will be appreciated Try deinstalling the expat2 package/port with `pkg_deinstall' or `pkg_delete'. The run `pkgdb -F' and fix any problems that may arise. The go back to your apache build and try again, letting the apache port install expat2 itself. This may not solve the underlying problem you are having with the apache port, but it might get past the problem? Nathan i tried the pkg_delete as well as rebuilding the packages from the ports and then doing a make deinstall (i don't know if they're the same thing or different). i never knew about the pkgdb, which seems to be a pretty interesting feature. however, i regret to report, i am getting the exact same problem. :/ - === apache-2.0.43 depends on shared library: expat.4 - not found ===Verifying install for expat.4 in /usr/ports/textproc/expat2 === Returning to build of apache-2.0.43 Error: shared library expat.4 does not exist *** Error code 1 - any other suggestions? __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: PPP
Hi all, I have a question related to PPP. I have a FreeBSD -STABLE box set up as a gateway to a dial up account with Internode. I have also 2 Windows boxes with the default gateway set to the FreeBSD box. Question: Is there anyway to set up an Icon on a Windows box that will dial up the modem that's hanging off of the FreeBSD gateway. [ssh'ing in and running ppp manually is to much of an ask for people that want to use a computer to actually do work ;-)]. Has anyone done this before. clip I'm going to venture a guess that you want a dial-on-demand setup. Look at mpd (/usr/ports/net/mpd). Current version is 3.9. Should do what you want. Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla and Sylpheed
On Thu, Oct 17, 2002 at 11:42:29AM -0700, paul beard wrote: Bryan Cassidy wrote: Well, I guess no one replied to my e-mail because I didn't have a Subject: or no one knows. I will ask again though just in case something else happened. I use Mozilla as my web browser and when I click a mailto: link it opens Mozilla Mail. Well, I don't want it to open Mozilla Mail. I want it to open Sylpheed. If someone could tell me exactly how to do this I would appreciate it. Thank You. Given any thought to using a mozilla-based browser if you don't need the other components? Galeon is quite nice As is phoenix. (portinstall linux-phoenix) - Nick To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problems with 'nautilus2' port
On Thu, Oct 17, 2002 at 03:37:50PM -0700, Nick Jennings wrote: On Thu, Oct 17, 2002 at 05:03:12PM -0400, Joe Marcus Clarke wrote: On Thu, 2002-10-17 at 17:05, Nick Jennings wrote: I had GNOME installed, and just recently upgraded to GNOME 2.0 (after cvsuping to the latest ports tree). Nautilus2 built fine, but when I try to run it, I get the following error: nkj@grenzik: ~$ nautilus /usr/libexec/ld-elf.so.1: Shared object libgailutil.so.13 not found [...] When I use the binary package (pkg_add -r nautilus2) I get the same error. [...] I upgraded from GNOME 1.x and am not sure if that has anything to do with it. I did try to get rid of what GNOME 1.x stuff I could identify, (and which did not have listed dependencies), so I'm not sure if that did it. Also, I've tried removing nautilus2 and re-building, but I get the same behavior. libgailutil is installed as part of x11-toolkits/gail. It's imported into nautilus2 via the eel2 port. Do this: portupgrade -fr gail You should be set after that. Thanks for the tip. I did so, and it finished successfully [...] However I am still getting the same error when running nautilus. Also (since I just discovered the portupgrade package) have just realized that my pkgdb is a bit off. Running pkgdb -F comes up with quite a few bad references. I am still a bit fuzzy on what *exactly* I should answer yes or no to when doing this, so I'm kinda blindly fumbling my way through it. Then I suppose I will try your suggested command again. Just to follow up on this thread. I resolved the problem by completing a 'pkgdb -F' updating any obvious matches, and the ones which did not matched I skipped, then cast their newer counterpart (usually gnome2 stuff like, gdm/gdm2 bugbuddy/bugbuddy2) then re-ran and linked until 'pkgdb -F' ran clean. Then I did another 'portupgrade -fr gail' and nautilus2 works like a charm :) Thanks for all the help. -- Nick Jennings [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache install problems w/expat
On Fri, Oct 18, 2002 at 09:22:15AM -0700, Bsd Neophyte wrote: --- Nathan Kinkade [EMAIL PROTECTED] wrote: On Thu, Oct 17, 2002 at 11:01:09PM -0700, Bsd Neophyte wrote: i have problems installing apache. i'm getting the following errors eventhough i have expat-1.95.4 installed. -- === Installing for expat-1.95.4 === expat-1.95.4 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of expat-1.95.4 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/textproc/expat2. *** Error code 1 -- when i tried doing it again i get the following error: Error: shared library expat.4 does not exist *** Error code 1 Stop in /usr/ports/www/apache2. i've tried to uninstall expat and then reinstall it... i've also tried running portupgrade on expat... but i'm still stuck. as always, any and all help will be appreciated Try deinstalling the expat2 package/port with `pkg_deinstall' or `pkg_delete'. The run `pkgdb -F' and fix any problems that may arise. The go back to your apache build and try again, letting the apache port install expat2 itself. This may not solve the underlying problem you are having with the apache port, but it might get past the problem? Nathan i tried the pkg_delete as well as rebuilding the packages from the ports and then doing a make deinstall (i don't know if they're the same thing or different). i never knew about the pkgdb, which seems to be a pretty interesting feature. however, i regret to report, i am getting the exact same problem. :/ - === apache-2.0.43 depends on shared library: expat.4 - not found ===Verifying install for expat.4 in /usr/ports/textproc/expat2 === Returning to build of apache-2.0.43 Error: shared library expat.4 does not exist *** Error code 1 - any other suggestions? Well, does library expat.4 actually exist? If not, then what version is the expat2 port installing? Assuming that expat2 installs a newer version of the library, you might be able to simply create a link named expat.4 and point it to the one expat installs. Then requests for expat.4 will simply point to the newer version, but this may only work reliably if you are sure that the newer version of the library is backward compatible with the older one. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failing?
On Fri, 18 Oct 2002, Fuzzy wrote: I've done cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld mkdir -p /tmp/install.62 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.62; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.62 make -f Makefile.inc1 reinstall make: permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What am I doing wrong? Fuz To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Is /tmp mounted as 'noexec' ? ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failing?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.18.2002 @ 1044 PST): Fuzzy said, in 1.2K: I've done cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld end of make installworld failing? from Fuzzy Fuzzy - / is already mounted when you boot into single-user mode. Instead of mount -rw /, do mount -u /. That will re-mount the fs with different (here, default) permissions. For more info on this, read /usr/src/UPDATING. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9sE9no8KM2ULHQ/0RAo7mAJ43Gm3xJslSdO6EetADn8Xux5+GvgCbBWum 7G4mIzpVpTyj2lA8e9s4VmA= =A8Ea -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache install problems w/expat
--- Nathan Kinkade [EMAIL PROTECTED] wrote: ...snip... Well, does library expat.4 actually exist? If not, then what version is the expat2 port installing? Assuming that expat2 installs a newer version of the library, you might be able to simply create a link named expat.4 and point it to the one expat installs. Then requests for expat.4 will simply point to the newer version, but this may only work reliably if you are sure that the newer version of the library is backward compatible with the older one. i don't know if this is the proper way to find it... but i did a find / -name expat.4 which yielded no results. i'm assuming this library does not exist. as for the installation. the port information about expat-2 reveals the following: $ make search name=expat Port: expat-1.95.5 Path: /usr/ports/textproc/expat2 Info: XML 1.0 parser written in C Maint: [EMAIL PROTECTED] Index: textproc B-deps: libtool-1.3.4_4 R-deps: i found v.1.95.5 on the sourceforge site... but the ports will not get this version... it will build expat-1.95.4. what i did was pure experimentation, because i really don't know how this all works. however, i downloaded the latest build of expat and did a tar -xvf... what i believe was /usr/ports/textproc/expat2/files/work (which was where i found the source files) and then i tried doind a make make install however, this didn't resolve the problem either. so where can i find the libraries if i am not looking in the proper place... and how do i make the link... and what do i make the link to? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Best practice when building a -STABLE branch kernel
Matt Smith [EMAIL PROTECTED] writes: The business-as-usual practice would be to not run -Stable, but rather run a -Release. -Stable, although more stable than -Current, should not be run in business-production, although my hunch is that many small environments do. IMO, the best practice is to build your OS and thoroughly test it as you will be using it before putting it into important use. If you do this, you might as well use -STABLE. Otherwise, unless you really need something in -STABLE, you should use -RELEASE except that you should review security fixes, etc, and maybe upgrade using a cvs tag like RELENG_4_7 which has only important fixes for -RELEASE-4.7. If you are running -Stable, then chances are you have some technical knowledge, and could contribute back to the project, in which case including debugging options could be helpful. AFAIK, including the debugging options is not risky or performance- harming (except maybe using more memory?). But for most people, it doesn't make much sense to use it unless you also prepare your OS to save crash dumps. Most will do all this only so they can help OS development by giving decent reports about OS crashes. I know of no good reason not to do it for any OS version, except to avoid the setup effort. It doesn't take much technical knowledge that can't be learned by reading the FAQ about kernel panics (and maybe a few manuals starting with crash(8)). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Multiple FreeBSD SCSI Hosts
I'm interested in setting up two FreeBSD systems in a very simple clustering type configuration around centralized external SCSI storage devices for hardware redundancy. The specific configuration I'm thinking about is shown in the simple diagram below: +---+ +--+ +---+ | FreeBSD | | | | FreeBSD | | Host 1 | | External | | Host 2 | | (primary) | | SCSI | |(secondary)| | | |RAID/DRIVE| | | | SCSI r/w | | | | SCSI r/o | +-+-+ +---+--+---+ +-+-+ | | | | +---+ +---+ There would be two FreeBSD systems with the primary server mounting the external SCSI storage read-write and the secondary server mounting the external SCSI storage read-only. Each server would have non-shared /, /usr and /var partitions on local drives. In a fail over situation, I would manually power down the primary server and re-mount the SCSI storage read-write on the secondary server to continue operation. My questions about this are as follows: 1. Do the FreeBSD SCSI drivers support such a configuration by implementing the SCSI RESERVE/RELEASE commands to lock access to the SCSI bus? If so, which drivers for which specific SCSI adapters? 2. Many external raid controllers describe themselves as host dual capability. Is the type of configuration they are describing? 3. Will the secondary server still experience a corrupted file system because of write caching by the primary server? If so, would it be possible to configure the primary server to write through the cache? 4. Are there any FreeBSD specific projects or ports that would make such a dual host SCSI configuration easier to configure or maintain? 5. What am I overlooking in such a configuration? 6. Are there alternatives to this type of scenario that may work better for FreeBSD? 7. Finally, are there resources already on the web that would answer these questions for me? I would be very much interested in hearing if other people have attempted such a configuration with FreeBSD servers and their experience. Also, specific hardware recommendations would be helpful. Thanks, Mike Thompson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: oaf-slay not working.
On Fri, 2002-10-18 at 14:44, Nick Jennings wrote: Hi All, I am using evolution 1.0.8, and it has a tendency to not completely die when you close it (various processes still run in the background). The oaf-slay command is what is used to take care of this. For instance when you need to modify the evolution data by hand, you must make sure not evolution processes are running. On my various linux machines, oaf-slay works fine, however on my BSD box I get the following error: su-2.05b# oaf-slay Can not open directory /usr/X11R6/share/oaf No such file or directory su-2.05b# mkdir /usr/X11R6/share/oaf su-2.05b# oaf-slay ps: args: keyword not found su-2.05b# Any ideas on what I can do to fix this problem? Yes, I can get off my ass and fix it. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: oaf-slay not working.
On Fri, 2002-10-18 at 14:44, Nick Jennings wrote: Hi All, I am using evolution 1.0.8, and it has a tendency to not completely die when you close it (various processes still run in the background). The oaf-slay command is what is used to take care of this. For instance when you need to modify the evolution data by hand, you must make sure not evolution processes are running. On my various linux machines, oaf-slay works fine, however on my BSD box I get the following error: su-2.05b# oaf-slay Can not open directory /usr/X11R6/share/oaf No such file or directory This should be fixed now. Just cvsup ports, and upgrade oaf. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: devbuf state in top
In message [EMAIL PROTECTED], Chris Ptacek writes: I had a process whose state under top was listed as devbuf. This process seemed to be stuck and I was unable to kill it. I ended up rebooting the box to reset it. None of the man pages (TOP, PS) list the devbuf state. What is it and what was the process trying to do? I am guessing it had something to do with memory allocation. It means that the kernel is trying to allocate memory with a type code of M_DEVBUF, but the kernel limit for that type has been reached. Hence the process is stuck waiting for something to free M_DEVBUF memory for it to use. `vmstat -m' shows the current amount of memory allocated by each malloc type. As the name suggests M_DEVBUF is normally used for buffers in kernel devices. Maybe you have created a very large number of devices or configured a device in a way that requires a lot of memory (e.g set a huge value for SC_HISTORY_SIZE), maybe there is a memory leak, or possibly you just need to increase the value of MAXUSERS in the kernel configuration file. Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Missing vendor info for generic Realtek clone (FBSD4.6)
I recently inherited a very old Compaq Presario which I decided to put FreeBSD on. The network card is a generic 10/100 card (it's so generic the company name isn't anywhere on the card OR in the manual), but searching google on the model number turns up a Windows and Linux driver and some DOS real-mode utilities. The card turns out to be based on the RealTek RTL8139 chipset, so I added the rl driver and the miibus device to my kernel and rebuilt. pccardd, however, tells me that the vendor information is (null)((null)). `pccardc dumpcis` also shows absolutely nothing, just a terminator. I've used `pccardc pccardmem` to set the pccard base memory locations to 0xd, 0xd4000, 0xd8000, and 0xdc000, all produce the same results. I also tried forcing pccardc to activate the card using `pccardc enabler` and the IRQ, I/O port, and base memory location I read off the card using the real mode DOS utilties, but I get a device is not confugured error. I'm pretty sure my issue is that I'm not pointing the pccard system to the right memory location, but I am now out of ideas on how to do so. I have the source code to the Linux realtek driver and what appears to be a snippet from a Redhat 7.0 pcmcia.conf file from this card's vendor, but I have managed to avoid knowing anything about Linux thus far and want to stay that way :) What steps can I take to locate the correct pccard configuration to use this card? Thanks for your time, --Mike Edenfield ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
custom kernel build fails at pxe.c
I've been a Linux user for years but I just installed FreeBSD for the first time last night. It's on a machine that I want to use as a firewall, so I started building a custom kernel (with IPFIREWALL, etc. enabled) from the straight-out-of-the-box 4.7-RELEASE sources. I got the following error (trimmed down for legibility): -- cc -O -pipe -I/usr/src/sys/boot/i386/libi386/../../common -I/usr/src/sys/boot/i386/libi386/../btx/lib -I/usr/src/sys/boot/i386/libi386/../.. /.. -I. -DCOMPORT=0x3f8 -DCOMSPEED=9600 -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -DTERM_EMU -mpreferred-stack-boundary=2 -c pxe.c -o pxe.o pxe.c:41: net.h: No such file or directory pxe.c:42: netif.h: No such file or directory pxe.c:43: nfsv2.h: No such file or directory pxe.c:44: iodesc.h: No such file or directory pxe.c:46: bootp.h: No such file or directory -- The only source code packages I installed were sbase, sincludes and ssys. Apparently, I forgot something because I can't find these headers anywhere on the system. I did some looking around in the ML archives to try to solve this, but I'm stumped. I've gathered that I has to do with compiling for PXE boots, but I don't need that feature. LINT doesn't have any options for disabling PXE, so it looks like I've got to find these headers. Where are they? Or is there some other way to disable PXE? -- Soren Harward CAEDM SysOp / CSR [EMAIL PROTECTED] __ Inflex Virus Scanner - installed on mailserver for domain @et.byu.edu Queries to: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Iomega external (USB) CD-RW
Hi, I have an iomega predator external (usb) cd-rw drive. Has anyone had success using this or any other usb cd-rw drive with freebsd? (please include me on the reply, as I am not subscribed to the list) Thanks, Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Re Ports Ymessenger
On Fri, Oct 18, 2002 at 03:59:41PM -0600, MIKE wrote: Fire up KDE. Create an icon for /usr/local/bin/ymessenger or just use the Run... dialog. so, here's where I am stuck. How do I start the program. It's a common question for folks new to Unix. Yes, you've been spoiled by MS. :) Seriously, it can be called by simply typing the command ymessenger That will start it. HTH I hate to think that Microshaft has spoiled me, like, where is the icon?. Not funny. but how do I start the program? what if I want to run it from xwindows or run from KDE3. Can someone point me in the right direction and also tell me what to do to start the program. I will learn, but I guess I am just a little dense sometimes. Thanks in advance. Has anyody else ever been here? Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Scott PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Cordelia: What's going on? Oh god, is the world ending? I have to research a paper on Bosnia for tomorrow, but if the world's ending, I'm not gonna bother. msg05668/pgp0.pgp Description: PGP signature
Re: make installworld failing?
in message [EMAIL PROTECTED], wrote Nick Jennings thusly... On Fri, Oct 18, 2002 at 01:44:47PM -0400, Fuzzy wrote: cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld On a side note, is this all the standard way of updating your base system? yes; mount commands may or may not differ based on you fs layout. I've just done the following, and it seemed to work fine: cvsup to RELENG_4_7 # make buildkernel KERNCONF=GRENZIK # make installkernel KERNCONF=GRENZIK # make buildworld # make installworld reboot Am I being blissfully ignorant? Is the WrongWay to do it? seems like it; see /usr/src/UPDATING for the upgrade procedure. -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: LPD protocol screwup and ctl_renametf error
At 1:12 PM -0400 10/18/02, TheGlenMann wrote: Docs on the subtleties on LPD seem to be in short supply. It looks like the PAGEPROTECT thing breaks the whole system, then the cannot rename seems to be Windows trying again to send the file... How can I determine what is wrong? I suspect that permissions are preventing transfer of the actual print file (given on the l line), as I cannot find it on the system. I do a lot of the support for lpr/lpd in freebsd. From a quick look at your message, I suspect that the windows side is not doing the right thing when it comes to sending the data-file for a print job. I'll try to take a longer look at your report, and give you a better answer within the next few days. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD C/C++ Development Environment
On Fri, 18 Oct 2002, Matthias Trevarthan wrote: Date: Fri, 18 Oct 2002 16:30:41 -0400 From: Matthias Trevarthan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: FreeBSD C/C++ Development Environment Howdy. I'm a Windows C/C++ DirectX developer turned FreeBSD systems administrator. What is the standard development environment on FreeBSD systems for C/C++? Does everyone really just use a Makefile, and editor like VIM, and a command-line compiler? Or is that just the distributed format, and everyone uses something else to actually write/debug their code? You'll have to forgive my ignorance. I've been using Microsoft Visual Studio for the last 6 years. Thanks! Matthias If you like a full IDE like Visual Studio, check out KDevelop. A slimmer but function-rich C/C++ editor is Code Crusader. I prefer Nedit. And yes, Make and makefiles are the way to go. There are many front-ends to the command line compilers (KDevelop and Code Crusader both provide compile buttons) but they all use the command line stuff behind the scenes. All those editors and many more are in the ports collection. I used VS for a few years, I used Code Crusader for quite a while when I switched to *nix, and I now prefer Nedit as it's useful for many, many languages. vi and emacs are fine too, but I prefer a graphical editor. I use vi constantly on remote boxes. HTH - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD C/C++ Development Environment (updated)
On Fri, 18 Oct 2002, John Bleichert wrote: Date: Fri, 18 Oct 2002 18:36:59 -0400 (EDT) From: John Bleichert [EMAIL PROTECTED] To: Matthias Trevarthan [EMAIL PROTECTED] On Fri, 18 Oct 2002, Matthias Trevarthan wrote: Date: Fri, 18 Oct 2002 16:30:41 -0400 From: Matthias Trevarthan [EMAIL PROTECTED] Howdy. I'm a Windows C/C++ DirectX developer turned FreeBSD systems administrator. What is the standard development environment on FreeBSD systems for C/C++? Does everyone really just use a Makefile, and editor like VIM, and a command-line compiler? Or is that just the distributed format, and everyone uses something else to actually write/debug their code? You'll have to forgive my ignorance. I've been using Microsoft Visual Studio for the last 6 years. Thanks! Matthias If you like a full IDE like Visual Studio, check out KDevelop. A slimmer but function-rich C/C++ editor is Code Crusader. I prefer Nedit. And yes, Make and makefiles are the way to go. There are many front-ends to the command line compilers (KDevelop and Code Crusader both provide compile buttons) but they all use the command line stuff behind the scenes. All those editors and many more are in the ports collection. I used VS for a few years, I used Code Crusader for quite a while when I switched to *nix, and I now prefer Nedit as it's useful for many, many languages. vi and emacs are fine too, but I prefer a graphical editor. I use vi constantly on remote boxes. Also, there's Visual Slickedit. It's not even nearly free, but many people use it at work in Windows, Linux and AIX and it's an excellent, full-blown IDE. http://www.slickedit.com/ I still prefer Nedit, but I would have been remiss in my duties if I didn't point this one out :) Runs on lots of platforms. JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
dump problem in FreeBSD 4.6---Help needed
Hello, My server seems to execute dump everyday at 3:01 every day (there is no cron job that calls this job) and it allways exits with this error (when I run dump by hand it give me the same error ( /kernel:pid677 (dump), uid 0: exited on signal 11 (core dumped). I am using FreeBSD Release 4.6 Any help would be apprecciated Alvaro A. Rosales Rojas. a.k.a. RAZA Proud user of Pegasus Mail Soporte Tecnico de Sistemas Procacao S.A 3368113 ext 260 You'll never know how far you can go until you break the chains that tie your soul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
hi i am having a problem with my sound and with my cdrom drive working.
Hi i added 'device pcm' to my kernel and for some reason my sound is showing up on the system when i type 'dmesg | grep pcm i made the device nodes in /dev for snd0 and i setup the mixer so that the volume is up on X windows i can hear the speakers humming but when i try and play a .wav file from the sound menu of multimedia nothing happens. I also tried to setup my cdrom by adding 'device cd' to the kernel but nothing seems to happen i can use the cdrom to install packages but i cant seem to use the cdrom to play music in X windows. (btw i am using Gnome as a window manager.) please help me its been driving me crazy thanx. sincerely, David Weinberg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Buildworld error
On Wed, 16 Oct 2002, Bryce Newall wrote: I checked on vgrind and only the Makefile has changed in the last year. I wonder if you have corrupted sources for it. You could always cd /usr/src/usr.bin/vgrind and try rebuilding it and see if that helps. Otherwise, I would remove everything in the vgrind directory, re-cvsup 4-stable, and try doing a buildworld again. I'll give that a try and let you know what happens. Thanks! Just a follow-up...after a lot of experimenting with different versions of FreeBSD, I ended up doing 4.7 again. I must have gotten a bad install the first time, because the second time around everything worked great. Thanks for the help! * *Bryce Newall*Email: [EMAIL PROTECTED]* * www.dreamhaven.org/~data* * Computers make very fast, very accurate mistakes. * * To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: hi i am having a problem with my sound and with my cdrom drive working.
- Original Message - From: dweinberg1 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 18, 2002 8:04 PM Subject: hi i am having a problem with my sound and with my cdrom drive working. Hi i added 'device pcm' to my kernel and for some reason my sound is showing up on the system when i type 'dmesg | grep pcm i made the device nodes in /dev for snd0 and i setup the mixer so that the volume is up on X windows i can hear the speakers humming but when i try and play a .wav file from the sound menu of multimedia nothing happens. You probably need to disable esound using the sound monitor applet. Simply add the monitor to a panel (if it's not there already) and choose the place esound in stanby option. I also tried to setup my cdrom by adding 'device cd' to the kernel but nothing seems to happen i can use the cdrom to install packages but i cant seem to use the cdrom to play music in X windows. (btw i am using Gnome as a window manager.) please help me its been driving me crazy thanx. sincerely, David Weinberg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
problem with network cards in server, plz help
I have two different cards on my Netfinity 5000 server, a pci Netgear FA311 (showing up as a NatSemi (sis0), and the onboard network card which seems to have an AMD chipset (pcn0). If I have the onboard ethernet card enabled at all and have an active cable connected to it and restart the computer it comes up on ukphy0, turns the pci error light on and I get no internet access which it later makes the computer reboot automatically without any warning. If I disable that card and put in a PCI Netgear card, have also tried other cards such as Intel or IBM cards, once in a while it will boot normally but every once in a while it will get hung up on the ukphy0 as well, giving me the same problem as the onboard network and reboot itself. At first I thought it was an IRQ problem but all of my devices now have individual IRQ's set in the bios and I'm still having this problem. I'm afraid to reboot this thing because I'm afraid it won't be coming back up. Below are from my dmesg, the first is when I have my onboard ethernet enabled and the second is when I have the netgear installed. Any help would be much appreciated on what to do with this problem. By the wayI'm running on FreeBSD 4.6.2 but also have this problem running 4.7, I it also usually hangs on the driver initialization during installation of the os. Dave Oct 4 21:11:36 hermes /kernel: pcn0: AMD PCnet/PCI 10/100BaseTX port 0x2180-0 x219f mem 0xfebfdc00-0xfebfdc1f irq 10 at device 9.0 on pci0 Oct 4 21:11:36 hermes /kernel: pcn0: Ethernet address: 00:06:29:39:bf:a9 Oct 4 21:11:36 hermes /kernel: miibus0: MII bus on pcn0 Oct 4 21:11:36 hermes /kernel: ukphy0: Generic IEEE 802.3u media interface on miibus0 Oct 4 21:11:36 hermes /kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100bas eTX-FDX, auto pcib1: ServerWorks NB6536 2.0HE host to PCI bridge on motherboard pci1: PCI bus on pcib1 sis0: NatSemi DP83815 10/100BaseTX port 0x4b00-0x4bff mem 0xc0fdf000-0xc0fd irq 5 at device 4.0 on pci1 sis0: Ethernet address: 00:a0:cc:76:d9:f1 miibus0: MII bus on sis0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
favorite security software
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi just wanted to get people's opinions - i'm probably going to configure ipfw on a new box. this box is a combo web/ftp/mysql box. do people have any favorite security software that they always run in addition to ipfw or ipfilter? thanks for any feedback you may have redmond -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9sJv2FNjun16SvHYRAleLAJ462zDoYIsHaaK8XEd88WCsd2ThIQCdHltt SbbvP0NcNGQdgapf4wn5pRo= =4g9N -END PGP SIGNATURE- msg05679/pgp0.pgp Description: PGP signature
Mike Hogsett: Re: need software MAC address
Ooops forgot the list... ---BeginMessage--- Instead of replacing the NIC can't he just use the link address family option in ifconfig to assign a different MAC address so that it appears to be a different machine? flagg# ifconfig fxp1 fxp1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:30:48:11:be:23 media: Ethernet autoselect (none) status: no carrier flagg# ifconfig fxp1 ether aa:bb:cc:dd:ee:ff flagg# ifconfig fxp1 fxp1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether aa:bb:cc:dd:ee:ff media: Ethernet autoselect (none) status: no carrier - Mike From: Scott M. Nolde [EMAIL PROTECTED] To: Mr. Darren [EMAIL PROTECTED] Cc: freebsd [EMAIL PROTECTED] Sent: Friday, October 18, 2002 5:49 PM Subject: Re: need software MAC address Mr. Darren([EMAIL PROTECTED])@2002.10.18 09:51:54 +: My isp has partitioned the bandwidth it has assigned me in half.(they assume everyone has 2 computers) If I want to use it, I can buy a switch and add an extra NIC card. I however would prefer to simply create a fake interface, give it a separate MAC address.. and BRIDGE it. any input on this would be helpfull. -Darren Tell them to go piss up a flagpole and give you your other rightful half of your bandwidth. Bitch like hell or get another provider. Remind them that assume is making an ass out of u and me. -- Scott Nolde GPG Key 0xD869AB48 LOL. He may have the right idea. Hard to believe they'd do such a thang. Here's my thought ... Tell them you bought and run your (two!) computer(s) through a hardware router for security, and have them assign the IP to the router's mac addy, which, I guess, could just be the NIC in the box, what they dunno don't hurt? If that MAC is already on file, I've got a DI-604 I'd sell you cheap, but I like FBSDers, so I'd have to say I wouldn't wish that device on Linus Torvalds.. I guess another NIC don't cost too much, either, AFATG. Just my .02.. Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message ---End Message---
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update 3 September 1999 This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to [EMAIL PROTECTED] with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED] Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters specifically for people
The Complete FreeBSD, third edition: errata and addenda
Errata and addenda for the Complete FreeBSD, third edition Last revision: 2 August 1999 The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, ``The Complete FreeBSD'', published by Walnut Creek, is no exception. In- evitably, a number of bugs and changes have surfaced. The following is a list of modifications which go beyond simple typos. They relate to the third edition, formatted on 17 May 1999. You'll find this information on page iv (the page before the beginning of the Table of Contents). See the end of this document for instructions on how to find the errata for an older version. You can get the current document in four forms: o A PostScript version, suitable for printingout,at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third edition to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-3.html. All these modifications have been applied to the ongoing source text of the book, so if you buy a later edition, they will be in it as well. If you find a Page 1 The Complete FreeBSD bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED] Page ii ___ The instructions on page ii (opposite the title page) tell you to look at ftp://ftp.lemis.com/pub/cfbsd/errata-2 for the errata list. That's wrong. Look at this list. Pages 190 and 191 _ The description is not very clear about which text appears when booting from floppy for initial install, and which appears when booting normally. The procedure is very similar, but there are some differences. Add the following text after the heading Boot messages: You'll boot your system in at least two different ways: initially you'll boot from floppy or CD-ROM in order to install the system. Later, after the system is installed, you'll boot from hard disk. The procedure is almost identical, so we'll look at both versions in the following examples. Replace the text from the middle of page 191 with: If you're booting from 1.44 MB floppies, you will then see: Please insert MFS root floppy and press enter: When you insert the MFS root floppy and press Enter, you see more twirling batons, then the UserConfig screen appears. UserConfig: Modifying the boot configuration After the kernel has been loaded, the following screen will appear if you are installing the system, or if you have requested it with the -c option to the boot loader: Page 206 The bottom two lines on this page should be in bold constant font, indicating that this is input for your /etc/rc.config file Page 2 Errata and addenda for the Complete FreeBSD, third edition nfs_client_enable=YES # This host is an NFS client (or NO). nfs_server_enable=YES # This host is an NFS server (or NO). Page 265 The example on the second half of the page refers to the old SCSI driver. The scsi program is no longer available in FreeBSD 3.x. Instead, use the camcontrol program. Replace the text with:. Modern disks make provisions for recovering from such errors by allocating an alternate sector for the data. IDE drives do this automatically, but with SCSI drives you have the option of enabling or disabling reallocation. Usually it is turned on when you buy them, but occasionally it is not. When installing a new disk, you should check that the parameters ARRE (Auto Read Reallocation Enable) and AWRE (Auto Write Reallocation Enable) are turned on. For example, to check and set the values for disk da1, you would enter: # camcontrol modepage da1 -m 1 -e -P 3 # scsi -f /dev/rda1c -m 1 -e -P 3 This command will start up your favourite editor (either the one specified in the EDITOR environment variable, or vi by default) with the
Re: favorite security software
Saturday, October 19, 2002, 1:40:42 AM, you wrote: RM do people have any favorite security software that they always run in addition to ipfw or ipfilter? Dear Redmond, My favorite firewall is ipfilter. Mainly because it doesn't run in userland like ipfw does. This makes it a bit faster because it doesn't have the overhead a normal userland program has. I beleave it also has a bit more options for a normal firewall but no extra's like ipfw does. The later reason is way i also run ipfw. I use it for the traffic shaping and traffic policy only. -- Best regards, Alex The FreeBSD handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Modem
Where can I get list of all supported internal modems on FreeBSD(-4.7) ? I try to use Pentagram Omen modem (vendorid=0x11D4 deviceid=0x1805 ?=? Motorola SM56 PCI Speakerphone Modem) without positive results Thanks Grzybowski Rafal To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Meet Married Women!! 1226xpWf8-941arzZ0-17
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta http-equiv=content-type content=text/html;charset=iso-8859-1 meta name=generator content=Adobe GoLive 6 titleAdult Listings!/title /head body bgcolor=black div align=center table width=755 border=0 cellspacing=2 cellpadding=0 tr td colspan=3 div align=center img src=images/logo.jpg alt= height=95 width=452 border=0/div /td /tr tr td rowspan=2 colspan=3 valign=top div align=center table border=1 bordercolor=FBFF9A cellspacing=2 cellpadding=0 tr td background=images/background.jpg table width=100% border=0 cellspacing=0 cellpadding=0 tr td colspan=3 div align=center img src=images/header_01.jpg alt= border=0/div /td /tr tr td colspan=3 div align=center table width=75% border=0 cellspacing=0 cellpadding=0 tr td div align=center a href=enter.htmlimg src=images/026.jpg alt= height=200 width=150 border=0/a/div /td td div align=center a href=enter.htmlimg src=images/023.jpg alt= height=200 width=133 border=0/a/div /td td div align=center a href=enter.htmlimg src=images/021.jpg alt= height=200 width=130 border=0/a/div /td td div align=center
Re: favorite security software
on public server i run: portsentry tripwire swatch arpwatch - Original Message - From: Redmond Militante [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 18, 2002 7:40 PM Subject: favorite security software To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Trying to write a crash dump - Trying to debug a kernel panic
I am trying to debug a boot time kernel panic. This is completely new territory for me and I need some help. I'm taking this one step at a time, the first step is to get a crash dump. This is a repeateable panic which occurs when I boot from my windows partition to my FreeBSD partition. Once the panic occurs, booting again clears the problem. Following the documentation in -http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html has gotten me so far, but I am stuck. I can trap and get dumped into the debugger (I think it's the debugger, the prompt is db). However I am trying to get a core dump written and that's where I am having no success. 1) I've added the kernel debugging options -- options DDB #Debug Support makeoptions DEBUG=-g options KTRACE 2) made and installed the kernel, 3) added the following params to the rc.conf file -- dumpdir=/var/crash dumpdev=/dev/ad0s2b - where dumpdev corresponds to the swap device the fstab entry corresponds below. /dev/ad0s2b none swapsw0 0 4) executed the command dumpon -v /dev/ad0s2b 5) rebooted to wwindows 6) rebooted to freeBSD - panic - db prompt 7) At this point I examined a few commands, (e.g. trace, show reg) and finished with the panic command which according to the documentation at http://www.freebsd.org/doc/en_US.ISO8859-1/ \ books/developers-handbook/x9854.html This will cause your kernel to dump core and reboot, so you can later analyze the core on a higher level with gdb. 8) At which the system rebooted and came up, but with no core file Joe Sotham Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CPU Temperature
On Fri, 18 Oct 2002 04:51 am, Matthew Seaman wrote: The author also has FVCool, a CPU cooling utility. It reduces my CPU temp by 14 or 15 degrees C (from 46 to 32 or 31). Again, it's native and easy to install. (BTW, yes I do have CPU_SUSP_HLT in my kernel options. This utility is obviously doing something the kernel option isn't. The author says the same thing the utility does can be accomplished with pciconf, but I don't know how.) The port for fvcool seems to be broken - the only source of the tar.gz file produces a 154byte file with a bad checksum. Any advice you can offer? -- Regards, Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
learning about ./configure and pkg-config
I downloaded the following from gnome.org bonobo-activation-1.0.3.tgz and gunzipped then untarred it and changed to the resulting directory. When I ran `./configure` it got through most checks fine, except for the pkg-config ones near the end. Here is the output: ... checking for pkg-config... /usr/local/bin/pkg-config checking forgmodule-2.0 = 2.0.1ORBit-2.0 = 2.4.0 linc = 0.5.1... Requested 'ORBit-2.0 = 2.4.0' but version of ORBit-2.0 is 2.3.109 configure: error: Library requirements ( gmodule-2.0 = 2.0.1 ORBit-2.0 = 2.4.0 linc = 0.5.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Once this happened, I went searching simply for a download of the latest gmodule file but couldn't find anything pertinent! Since the error above said to consider adjusting PKG_CONFIG_PATH (currently not set), I read the manpage for pkg-config: pkg-config retrieves information about packages from special metadata files. These files are named after the package, with the extension .pc. By default, pkg-config looks in the directory prefix/lib/pkgconfig for these files; it will also look in the colon-separated (on Windows, semicolon- separated) list of directories specified by the PKG_CONFIG_PATH environment variable. I couldn't find my /lib/pkgconfig directory or locate sample PKG_CONFIG_PATH statements on the web. Can someone clue me in please? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crazy ports
On Thursday 17 October 2002 20:04, Kris Kennaway wrote: On Thu, Oct 17, 2002 at 06:44:54PM +0400, Denis N. Peplin wrote: I'm just try to install /usr/ports/emulators/vmware2, and result shown below: infinity loop. where is this bugs - in my system or in ports tree? Probably in your local configuration. Do you have any USE_* options set in your environment or make.conf? If so, remove them: they are for internal use only within a port makefile and may not be set externally. No. USE_* is not set anywhere. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Building Java without X11?
Hellom I'm trying to get native JDK13 to build but it insists on installing open-motif and the whole slew of X11 libraries which I don't want to have running on servers as there's simply no use at all for them on headless machine standing in a datacenter some 25km from here. So is there a way to build the JDK without X support? TIA regards, Gabriel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crazy ports
On Friday 18 October 2002 11:39, Kent Stewart wrote: Kris Kennaway wrote: On Fri, Oct 18, 2002 at 11:14:30AM +0400, Denis N. Peplin wrote: On Thursday 17 October 2002 20:04, Kris Kennaway wrote: On Thu, Oct 17, 2002 at 06:44:54PM +0400, Denis N. Peplin wrote: I'm just try to install /usr/ports/emulators/vmware2, and result shown below: infinity loop. where is this bugs - in my system or in ports tree? Probably in your local configuration. Do you have any USE_* options set in your environment or make.conf? If so, remove them: they are for internal use only within a port makefile and may not be set externally. No. USE_* is not set anywhere. Please post your /etc/make.conf I think it is the following from the commit messages to expat2 Revision 1.14 / (download) - annotate - [select for diffs], Fri May 10 17:40:21 2002 UTC (5 months, 1 week ago) by sobomax Branch: MAIN Changes since 1.13: +1 -2 lines Diff to previous 1.13 (colored) Use bmake instead of gmake - this hopefully resolves dependency deadloop (gettext-expat-gmake-gettext-expat-...) occasionally created by yours truly. I'm already avoid this deadlock by using # pkg_add -r expat To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crazy ports
On Friday 18 October 2002 11:33, Kris Kennaway wrote: On Fri, Oct 18, 2002 at 11:14:30AM +0400, Denis N. Peplin wrote: On Thursday 17 October 2002 20:04, Kris Kennaway wrote: On Thu, Oct 17, 2002 at 06:44:54PM +0400, Denis N. Peplin wrote: I'm just try to install /usr/ports/emulators/vmware2, and result shown below: infinity loop. where is this bugs - in my system or in ports tree? Probably in your local configuration. Do you have any USE_* options set in your environment or make.conf? If so, remove them: they are for internal use only within a port makefile and may not be set externally. No. USE_* is not set anywhere. Please post your /etc/make.conf I have only /etc/defaults/make.conf from 4.7-RELEASE To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ABIT KX7-333R problems: RAID NIC problems
I'm having some problems with a RAID setup and the network on a new system. I haven't found anyone mentioning the problems in the searching I've done (Google, FreeBSD Website, mailing lists). Hopefully someone can get me pointed in the right direction or tell me what I'm missing (or fix a bug if that is the case). Summary of Problems: Intel network cards (identical models -- see below) refuse to work on the network. They will not pull DHCP, and if manually configured, will not talk to anything on the network. All systems are connected via a hub. DHCP is run off of a FreeBSD system. The HUB and the cards do show a link light. When I create a mirrored array (2x 60GB 7200 RPM Seagates), each drive is set as master on its own IDE channel without anything else attached to the controller. When creating files, even very large ones, on the local system I get good throughput -- On the order of 20MB/sec. When I FTP a file from the other FreeBSD server down onto the mirrored array, the transfer will only go at about 100k/sec. (Additional debugging/testing I've performed below). Information: FreeBSD Version: Generic install off of the FreeBSD 4.6 cds for the testing below. Identical problems were noted after cvsup'ing to 4.7 remaking the world. Hardware Setup: Motherboard: ABIT KX7-333 w/RAID (Flashed the board with its latest BIOS update, problems remain) VIA KT333 VT8233A chipsets HighPoint HPT 372 RAID controller (UDMA/133 on board) CPU: Athlon 1600XP+ Drives: 2x 60GB 7200 RPM Seagate IDE drives. (All are running as UDMA 100) Drive Setup: Tried with the following configurations: 1) Directly to the mainboard IDE port, single drive, set as master. 2) Mirrored array, both disks, hooked onto the RAID controller. (Each set as a master on their individual channel) 3) Non RAID setup, using a disk connected to the RAID controller. Network Cards: I've tried a total of 4 cards: 2 x Intel 10BT/100BTX PILA8460B PRO/100+ PCI (fxp) 1 x Phoebe (rl) 1 x CNET (dc) NETWORK PROBLEM: I've tried at least 4 cables, all of which work on other systems. One specific cable was used for all of the below tests. The cards have all been tried in all PCI slots except slot 5, which the boards manual suggests not using because it /may/ have IRQ steering problems with the raid controller. To test the card I attempt to get dhcp configuration (dhclient interface), then I try and FTP a 180MB test file from another server (the DHCP server in this case). The three cards: Intel (fxp): I have two identical models here. Neither cards will pick up DHCP. If I manually set the IP addresses, they will still not talk to anything on the network. The link lights do light up on both the hub and the nic. RealTek (rl): The card gets DHCP info wonderfully, and will transfer files at about 6MB/sec. No errors, warning, etc. CNET (dc): Card also has no problems getting on the network. When I do the transfer, some problems can occur. I get TX underrun -- Increasing TX threshold repeatedly. Then, every 8 or 9 reboots, it will stall and give a broken pipe error. You then have to reboot to make the link work again. While it runs, it pulls at about 7MB/sec. In searching, I've seen a number of people with that error message with the dc driver, but because it normally (9 times out of 10) will continue to work, it doesn't feel like a NIC or NIC driver problem to me. Disabling the onboard RAID controller (in the BIOS) didn't have any effect on the problems whatsoever. RAID Problems: The problems occur with dc0 *and* rl0 network cards when FTPing the 180MB test file. The RAID -and- single drive setups work like a charm for everything local (and will install at the max speed the CDROM can handle -- regardless of configuration). Setup #1) Using the Raid IDE as general (non RAIDed) setup -- I'm able to install FreeBSD onto it and boot without a problem. Installs reads at drives speed (20+ MB/sec). Doing the FTP download the download will go at maximum speed the remote system network cards can handle. Setup #2) Using RAID with Mirroring option -- Each drive set as master of its IDE channel. Nothing else connected to it. I'm able to install FreeBSD onto it and boot without a problem. Installs reads at drives speed (20+ MB/sec). Doing the FTP download the download will only go about 100k/sec (UPLOADING that file to another system will go at full speed, just the download is severely limited). Both network cards go this speed. Identical CABLE NIC setups as the other configurations.. Setup #3) Using the regular IDE channel on the motherboard -- I'm able to install FreeBSD onto it and boot without a problem. Installs reads at drives speed (20+ MB/sec). Doing the FTP download the download will go at maximum speed the remote system network cards can handle. My goals are to get the Intel NICs to work, and get RAID to act properly (ie: full speed). I've
question: sending to stdout AND file
Hi all. This question is not specifically FreeBSD related. How do I redirect output to a file *and* stdout simultaneously. My particular want is to view the output of a script while also logging the output to a text file. Thanks for your time. -- David Smithson - Systems Administrator Custom Film Effects (http://www.customfilmeffects.com) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multiple FreeBSD SCSI Hosts
In the last episode (Oct 18), Mike Thompson said: I'm interested in setting up two FreeBSD systems in a very simple clustering type configuration around centralized external SCSI storage devices for hardware redundancy. The specific configuration I'm thinking about is shown in the simple diagram below: +---+ +--+ +---+ | FreeBSD | | | | FreeBSD | | Host 1 | | External | | Host 2 | | (primary) | | SCSI | |(secondary)| | | |RAID/DRIVE| | | | SCSI r/w | | | | SCSI r/o | +-+-+ +---+--+---+ +-+-+ | | | | +---+ +---+ Whoa. Deja vu here. http://groups.google.com/groups?threadm=Pine.LNX.4.44.0210101808560.3631-10;scribble.fsn.hu Your primary problem is that the disk cache on Host2 does not know about changes made to the filesystem by Host1. 1. Do the FreeBSD SCSI drivers support such a configuration by implementing the SCSI RESERVE/RELEASE commands to lock access to the SCSI bus? If so, which drivers for which specific SCSI adapters? Reserve/release looks like it is implemented for tape devices on open(), but not for disks (since it's legal to mount slice 1 on machine A but slice 2 on machine B, for example). Reserve/release is probably not useful in this situation anyway, as I don't know how easy it is to break a reservation (when host1 goes down, host2 has to break the reservation before it can acces the disk). 2. Many external raid controllers describe themselves as host dual capability. Is the type of configuration they are describing? Possibly. Most of the time it's to allow multiple hosts to access their own private storage, but you can usually force a volume to be visible on multiple ports. 3. Will the secondary server still experience a corrupted file system because of write caching by the primary server? If so, would it be possible to configure the primary server to write through the cache? Big time. The problem is not so much write caching on the primary, it's read caching on the secondary. Without a shared-storage filesystem, you're pretty much limited to NFS mounts (which are not all that bad). As for failover detection, one good way is to dedicate a small partition (da0s1a, for example) as a heartbeat partition. Host 1 writes a timestamp to /dev/da0s1a block 1 every second, Host 2 does the same thing on block 2. Each host then reads the other host's block, and if there are no updates for (say) 10 seconds, you can assume that the other host is dead, do a fsck, and mount the volume. Using the raw disk device bypasses any caches on the systems. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: question: sending to stdout AND file
The tee command does the job. Thanks! - Original Message - From: Dirk-Willem van Gulik [EMAIL PROTECTED] To: David Smithson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, October 18, 2002 12:35 PM Subject: Re: question: sending to stdout AND file How do I redirect output to a file *and* stdout simultaneously. My particular want is to view the output of a script while also logging the output to a text file. Check out tee(1), man tee Dw. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: question: sending to stdout AND file
One way is to use the tee command, e.g.: [johnnyb@zappa johnnyb]$ ls | tee listing.txt will send the results of the ls command to STDOUT and also to the file listing.txt. # man script To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: question: sending to stdout AND file
On Fri, 2002-10-18 at 14:37, John Bleichert wrote: On Fri, 18 Oct 2002, David Smithson wrote: Date: Fri, 18 Oct 2002 12:33:46 -0700 From: David Smithson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: question: sending to stdout AND file Hi all. This question is not specifically FreeBSD related. How do I redirect output to a file *and* stdout simultaneously. My particular want is to view the output of a script while also logging the output to a text file. Thanks for your time. -- David Smithson - Systems Administrator Custom Film Effects (http://www.customfilmeffects.com) One way is to use the tee command, e.g.: [johnnyb@zappa johnnyb]$ ls | tee listing.txt will send the results of the ls command to STDOUT and also to the file listing.txt. Another helper in these is the script(1) command. Read man script. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: UNIX operating system
On Fri, 2002-10-18 at 19:18, Karen LaPaugh wrote: Are there any limitations to this system? How much does it usually cost an individual? $0.00 for ALL. No. Please read http://www.freebsd.org/ -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ABIT KX7-333R
I have this motherboard and have not seen any problems. If you are seeing problems I'd suggest tweaking your bios a bit... That always helps me... Ken On Fri, 18 Oct 2002, Simon1 wrote: As a follow up to my initial post: A brand new board, with new memory, and a new processor failed to fix the problem. This newest board comes from a different supplier etc etc. I'm currently installing Win2k on the system to see if it has the same problems. I'm still seeing that the cards are not working properly, I haven't tried the RAID yet on the new board. Setting the speed down to 10Mb seems to greatly help the Intel card out (as in, it actually works). But, any faster than that... I went ahead and made two new cables, it'll light up the link at 100Mbit, but transfers on this card max out at 100k/sec down, and more like 1 or 2 k/sec upload. The only difference I can see between this board and the past ones that have worked flawlessly is the VIA KT333 chipset. Does FreeBSD have any known problems with this chipset? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Radui card with FM tuner PV-BT878P +FM
The bktr supports the 848 family chipset as I recall. I have used the Xv extensions made for the GATOS and KATOS projects. They are Linux projects, but do some work on FreeBSD as well. Almost a year ago I had it working with an ATI Wonder which also has an BT878 chipset. Peter On Friday 18 October 2002 02:21, Daniel O'Connor wrote: On Thu, 2002-10-17 at 22:38, Mantas S. wrote: I got %subj% but I cannot find support fot this on FreeBSD. Yes, Linux have this, but maybe anyone had such card or smth. It is probably supported by the bktr device driver. You'll need a TV viewer app like fxtv too. If you want radio then xmradio is OK. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Radui card with FM tuner PV-BT878P +FM
The bktr supports the 848 family chipset as I recall. I have used the Xv extensions made for the GATOS and KATOS projects. They are Linux projects, but do some work on FreeBSD as well. Almost a year ago I had it working with an ATI Wonder which also has an BT878 chipset. Yes.. I have a 878 based card and it works fine with bktr. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message