Re: Need to build a new mail server
On Thu, May 29, 2008 at 10:52 PM, Jerry McAllister [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 01:35:27PM -0400, Patrick Baldwin wrote: Hi all, I've got an older Solaris system running Sendmail for my mail server right now. It's about time to replace it, and I'm thinking FreeBSD might be the best choice of OS for the replacement. Given that, a FreeBSD system could be almost a drop-in replacement. Sendmail should be the same or very nearly so (depends on the version you are using now and the nre version). Aliases should work just the same. Your only differences might be in where some things live.But, check out the hier(7) man page in FreeBSD. It documents the FreeBSD directory conventions. There are other MTAs and other utilities available to experiment with. But, if you are comfortable with sendmail, there is no reason to change. It is mature and very functional; does what you need.A modern machine with FreeBSD 7.x should handle large numbers of Email users - even heavy users. jerry The only perfect answer! We should all clap for you for giving this answer. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump and remote file fetching
On Wed, May 28, 2008 at 9:53 AM, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Hi there, Need a word of advice. I use dump to backup my data. All fine. Dump saves compressed *.bz2 files. Nice. All I need now is a way to copy them from the server to a remote backup machine. The problem I am facing is that bz2 files are owned by root:wheel. So if I use scp [EMAIL PROTECTED]:/path/to/*.bz2, it does not have sufficient permissions to fetch the files. I can use sudo, but then I need to interactively type the password, which I would like to avoid. Can you suggest simple ways of getting around this? I don't mind using special tools for the job, especially if they are not too complicated... :) Before firing this email off I took a look at rsync and it seems easy enough to do just what I need but still many thanks for suggestions! I have been very happy with rsnapshot. Take that for a spin and see how it works for you I have taken a look at rsnapshot but it seems I am left to deal with the same problem: From their page: In addition to full paths on the local filesystem, you can also backup remote systems using rsync over ssh. If you have ssh installed and enabled (via the cmd_ssh parameter), you can specify a path like: backup [EMAIL PROTECTED]:/etc/ example.com/ This behaves fundamentally the same way, but you must take a few extra things into account. a/ The ssh daemon must be running on example.com b/ You must have access to the account you specify the remote machine, in this case the root user on example.com. I do not allow remote root login so what are my options in that case? How do you deal with such a scenario? Many thanks! HI ZS, I used to do something like this with a very simple shell script, using ftp. In the script, I was simply checking the filename, extracting the date from it, comparing the date with today's date, and pushing into a nother server all files that are dated yesterday. These were log files created using another script, which would create them like main.MMDD.log. IIRC, ftp relies on a file ~/.netrc which can have the destination hostname, username and password. With these, ftp will be automated - no need to enter any logon credentials. Please read the man page for ftp on how to use the netrc file or the ~/.netrc If you need more assistance, find me off list:-) Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
On Tue, May 20, 2008 at 8:11 AM, Randy Bush [EMAIL PROTECTED] wrote: did you ever try comment out the three extensions I mentioned in my previous email? That fixed it right up for me. i did not have those extensions at all. or maybe i did not understand where they are. Could you guys google for fixphpextorder.sh and see if that would help. It did help me last year when I had this problem and I always rely on it during upgrade, but I'm not saying I guarantee it will:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: measure traffic caused by pppd (UMTS)
On Fri, May 16, 2008 at 11:08 PM, Toni Schmidbauer [EMAIL PROTECTED] wrote: At Fri, 2 May 2008 11:46:46 +0200, Matthias Apitz wrote: Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'` date=`date +%s` echo MB Transfered: $mb echo $date $mb ~/tmp/grps_kosten.txt works for me. i'm using the above code snipped after shutting down pppd. ..as in from ppp.linkdown? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [6.3/PHP5] Right way to add APC?
On Fri, May 16, 2008 at 8:16 AM, Gilles [EMAIL PROTECTED] wrote: Hello Before I go ahead and mess with that 6.3 host... I figured I should ask the experts. I'd like to add the APC cache add-on, but I don't know how to do this. After compiling and installing /usr/ports/www/pecl-APC, should I... 1. edit /usr/local/etc/php.ini or /usr/local/etc/php/extensions.ini 2. and what to put there? That is supposed to have happened automatically! The extension is supposed to have been added to /usr/local/etc/php/extensions.ini so basically you just need to restart apache (after configuring whatever options you were after). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 on Windows 2008 (Hyper-V)
On Mon, May 12, 2008 at 9:48 AM, Wojciech Puchar [EMAIL PROTECTED] wrote: so install on clean machine, then run windows in emulator. much better solution ;) Much difficult and bad advise for a person who has said he's novice! Don't do this again or I'll ban you from the list! :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 on Windows 2008 (Hyper-V)
On Mon, May 12, 2008 at 3:54 PM, Wojciech Puchar [EMAIL PROTECTED] wrote: so install on clean machine, then run windows in emulator. much better solution ;) Much difficult and bad advise for a person who has said he's novice! it's actually best advice. read below. Don't do this again or I'll ban you from the list! :-) i will say what i think. including my opinion about being novice and using windows. simply - as long as one is using windows, or any easy environment in unix he/she will be novice forever. i know HUNDREDS of people that learns FreeBSD or learns linux. they learns years without any progress. actually it's just to show all friends how big expert he/she is. I was kidding! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nagios Apache and FreeBSD
On Mon, May 12, 2008 at 2:03 PM, DSA - JCR [EMAIL PROTECTED] wrote: Hi to all I use FreeBSD 6.2 I have installed Nagios from ports and configured and also as required by Nagios Apache22 The problem I have is that I cannot access the server by web, in order to see the Nagios frontend doing http://mynagiosIP/nagios doesn't work I suspect that maybe as I use inetd I must put somewhere in inetd.conf something about apache, is true? I have nagios_enable=YES and apache_enable=YES in rc.conf apache22_enable=YES Please look at /usr/local/etc/rc.d/apache22 for params to put in /etc/rc.conf then try /usr/local/etc/rc.d/apache22 start -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 on Windows 2008 (Hyper-V)
On Mon, May 12, 2008 at 5:04 PM, Wojciech Puchar [EMAIL PROTECTED] wrote: in unix he/she will be novice forever. i know HUNDREDS of people that learns FreeBSD or learns linux. they learns years without any progress. actually it's just to show all friends how big expert he/she is. I was kidding! OK :) but i was not. really i see lots of people like that. or others that have at least windows, 3 linux distros, freebsd, openbsd and netbsd installed, reinstalls each of them 3 times a month, and didn't learn anything.. They have to stop smoking! ;-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installing php4 and php5 on one machine
On Mon, May 12, 2008 at 5:54 PM, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Hi there, I am using FreeBSD 7.0-RELEASE-p1. The machine has PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli). We're going to host one of our sites which currently is hosted by our ISP. This site requires php4 to work before it gets rewritten or dumped. Anyway, my current BSD machine is a dedicated one so I can do with it what I like but I am not really sure how to go about installing two versions of php. php5 has been installed from ports and works well. The main issue here is: Which php would you want Apache to refer to, and at what time? Honestly, I don't have an answer for this!. Perhaps you have to run a whole different system within a jail:-( There may be an easier way, but when I read this, that is where my /etc (end of thinking capacity) got me for now. How would you advise me to go about installing php4? I do not think I will be able to do it from ports (it will require an ancient version of php 4.10). Also I do not want to mix dependencies and such. Another issue is how to host the site. Use a different port for it (*:8080)? Use jails (never been in jail so no experience with it so far ;)? Why not just use the final version of php-4.x.x? Even this breaks your site? I do have several IPs to play with so I can use them if that helps. Use a jail. I'd appreciate your opinion about it. Many thanks to you all in advance! I am not even sure my opinion helps, but well, the whole world reads this list!:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: automate ports upgrade (portmanager -u -l)
On Thu, May 8, 2008 at 2:10 PM, Simon Jolle [EMAIL PROTECTED] wrote: Hi FreeBSD users How to do unattended ports upgrade? I am using FreeBSD 7.0 and portmanager ask me strange questions[0] (about compile-time options) Unattended? Even on Windows, I doubt they do that:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Automounting External USB Drive on FreeBSD 7.x
Hello list, I have a requirement to automatically mount a USB disk to, say, ~backup/data automatically when the device is plugged to into the machine. I can handle/manage the umount part. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libmap.conf
Instead of: ln -s /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2 Perhaps there is a way to map this using /etc/libmap.conf? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ It's always a long day; 86400 doesn't fit into a short. smime.p7s Description: S/MIME cryptographic signature
Re: php5-interbase dependancy on firebird2-client - SOLVED
* On 12/05/07 15:00 +0300, Wash wrote: | Hi people, | | I have installed (by luck) firebird-{server|client} on FreeBSD | 6.2-STABLE. | Now I want to install php5-interbase, but it seems dependent on | firebird2-client, but I have installed firebird1-client! | | How can I make it depend on firebird-client instead of firebird2-client? | | My webdev insists on using firebird 1.5.x instead of firebird2. | | Besides, installing firebird2-* is such a pain in the you know where :-) | | I am using the ports tree to do all this. Not clean, but what I did is: ln -s /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2 Perhaps there is a way to map this using /etc/libmap.conf? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ If you took all the students that felt asleep in class and laid them end to end, they'd be a lot more comfortable. -- Graffiti in the Big Ten smime.p7s Description: S/MIME cryptographic signature
Re: Building 5.x binaries on 6.2-RELEASE
* On 14/05/07 10:30 -0400, Brian Hourigan wrote: | I'm involved in some software development and we need to provide | precompiled binaries for FreeBSD 5.x from a 6.2-RELEASE system | | I checked through the documentation on the pointyhat package building | cluster, it mentions the machines run 7.0-CURRENT and produces binaries | for 5.x and 6.x.. but I can't find the scripts or any documentation on how | exactly this is accomplished | | If anyone has any information please point me in the right direction, | thanks! You want to build binaries to be run on 5.x on 6.2 or you want to run binaries built on a 5.x system on 6.2? If the later, then /usr/ports/misc/compat5x is your friend. If the former, I don't know ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Due to lack of disk space, this fortune database has been discontinued. smime.p7s Description: S/MIME cryptographic signature
php5-interbase dependancy on firebird2-client
Hi people, I have installed (by luck) firebird-{server|client} on FreeBSD 6.2-STABLE. Now I want to install php5-interbase, but it seems dependent on firebird2-client, but I have installed firebird1-client! How can I make it depend on firebird-client instead of firebird2-client? My webdev insists on using firebird 1.5.x instead of firebird2. Besides, installing firebird2-* is such a pain in the you know where :-) I am using the ports tree to do all this. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Art is anything you can get away with. -- Marshall McLuhan. - End forwarded message - -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Death is God's way of telling you not to be such a wise guy. smime.p7s Description: S/MIME cryptographic signature
Error on installation of Firebird2 (Revised)
Installation of Firebird2-server on FreeBSD 6.2-STABLE is giving me so much grief When I just do `make`, it fails with the following: cut == Please do not build firebird as 'root' because this may cause conflicts with SysV semaphores of running services. *** Error code 1 Stop in /usr/ports/databases/firebird2-client. *** Error code 1 Stop in /usr/ports/databases/firebird2-server. also, if I build with make -DWITHOUT_IPC_CLEANUP, it fails with: /cut If I do `make -DWITHOUT_IPC_CLEANUP`, it dies as follows... cut gpre version FB-V2.0.1.12855 Firebird 2.0 Version(s) for database yachts.lnk Firebird/FreeBSD/i386 (access method), version FB-V2.0.1.12855 Firebird 2.0 on disk structure version 11.0 c++ -O2 -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -I/usr/local/include -DNAMESPACE=Vulcan -O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC -DPROD_BUILD -c ../src/isql/show.cpp -o ../temp/boot/isql/show.o c++ -Wl,-rpath,/var/db/firebird/lib -Wl,-rpath,/var/db/firebird/intl -Wl,-rpath,../gen/firebird/lib ../temp/boot/isql/extract.o ../temp/boot/isql/isql.o ../temp/boot/isql/show.o ../temp/boot/common/classes/alloc.o ../temp/boot/common/classes/locks.o ../temp/boot/common/classes/fb_string.o ../temp/boot/common/classes/timestamp.o ../temp/boot/common/fb_exception.o ../temp/boot/common/utils.o ../temp/boot/common/classes/MetaName.o ../temp/boot/config/AdminException.o ../temp/boot/config/Args.o ../temp/boot/config/ArgsException.o ../temp/boot/config/ConfObj.o ../temp/boot/config/ConfObject.o ../temp/boot/config/ConfigFile.o ../temp/boot/config/Configuration.o ../temp/boot/config/DirectoryList.o ../temp/boot/config/Element.o ../temp/boot/config/FileName.o ../temp/boot/config/InputFile.o ../temp/boot/config/InputStream.o ../temp/boot/config/Lex.o ../temp/boot/config/ScanDir.o ../temp/boot/config/Stream.o ../temp/boot/config/StreamSegment.o ../temp/boot/vulcan/JString.o ../temp/boot/vulcan/PathName.o ../temp/boot/vulcan/RefObject.o -o ../gen/firebird/bin/isql_static -L../gen/firebird/lib -lfbstatic -lstdc++ -lcurses -lm -lc -ledit -lreadline -licui18n -licuuc -licudata -L/usr/local/lib ../temp/boot/isql/isql.o(.text+0x2cde): In function `add_row(char*)': : warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() ../temp/boot/isql/isql.o(.text+0x7a8): In function `readNextInputLine(char const*)': : undefined reference to `readline(char const*)' ../temp/boot/isql/isql.o(.text+0x7d0): In function `readNextInputLine(char const*)': : undefined reference to `add_history(char*)' gmake[3]: *** [../gen/firebird/bin/isql_static] Error 1 rm ../src/isql/extract.cpp ../src/isql/isql.cpp ../src/isql/show.cpp gmake[3]: Leaving directory `/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen' gmake[2]: *** [../gen/firebird/bin/isql_static] Error 2 gmake[2]: Leaving directory `/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen' gmake[1]: *** [../gen/firebird/security2.fdb] Error 2 gmake[1]: Leaving directory `/usr/ports/databases/firebird2-client/work/Firebird-2.0.1.12855-0/gen' gmake: *** [firebird_basic] Error 2 *** Error code 2 Stop in /usr/ports/databases/firebird2-client. *** Error code 1 Stop in /usr/ports/databases/firebird2-server. /cut How do I go around these? -Wash -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Good advice is something a man gives when he is too old to set a bad example. -- La Rouchefoucauld ___ freebsd-questions@freebsd.org mailing
Error on installation of Firebird2
I am trying to install databases/firebird2-server, but the process keeps failing with: cut == Please do not build firebird as 'root' because this may cause conflicts with SysV semaphores of running services. *** Error code 1 Stop in /usr/ports/databases/firebird2-client. *** Error code 1 Stop in /usr/ports/databases/firebird2-server. /cut Now, I am simply not sure how else I can install without being 'root':-) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Sooner or later you must pay for your sins. (Those who have already paid may disregard this fortune). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firebird-2.x - I am at /etc
Having googled over and over and tried the various suggestions without success, I am forced to ask here: How does one install databases/firebird2-\* in FreeBSD? I am running 6.2-STABLE. Thanks! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Reality is for those who can't face Science Fiction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firebird-2.x - I am at /etc
* On 09/05/07 10:26 -0400, Schiz0 wrote: | On 5/9/07, Odhiambo Washington [EMAIL PROTECTED] wrote: | | Having googled over and over and tried the various suggestions without | success, I am forced to ask here: | | How does one install databases/firebird2-\* in FreeBSD? I am running | 6.2-STABLE. | | man ports | | http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html I have read the man page, besides having also read a post that suggests WRKDIRPREFIX, but that really has NOT helped. As I said, I am at etc - end of thinking capacity ;) I read this: http://lists.freebsd.org/pipermail/freebsd-ports/2006-November/036801.html I have done the following: mkdir -P ~wash/ports/firebird/usr chown -R wash ~wash/ports/firebird cd /usr/ports/databases/firebird2-server make WRKDIRPREFIX=~wash/ports/firebird install I also added this line to /etc/make.conf: SU_CMD= /usr/local/bin/sudo /bin/sh -c and still no luck! What do you suppose I could be missing from the man page? It's the clue I am missing. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ We don't know who discovered water, but we're certain it wasn't a fish. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing
* On 01/01/07 17:17 +0700, Office of the CIO-rithy4u.NET wrote: | I try to do dual routing on my freebsd box but its was not | sucecssfull. any one can help? Explain what is dual routing. What exactly are you trying to achieve? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Everything is controlled by a small evil group to which, unfortunately, no one we know belongs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nightmares installing kde-3.5.5
Bon Anee! I have been trying to install kde-3.5.5 onto my box for 4 days now without success. I have even wiped out 3.5.3 (which is what I was running before) but still 3.5.5 wouldn't install. The problem is somewhere around kdelibs3 and cups but I cannot figure out how to go around it. I'd appreciate some help on what I need to do. I'd like to start the new year with brand new kde! Here is where it fails: gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups/cupsdconf2' gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups' if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/ kssl -I../../kjs -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../kdecore/network -I../../dcop -I../../libl tdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I /usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_KDEPRINT_COMPILE -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/inclu de -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O 2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_N O_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT ipprequest.lo -MD -MP -MF .deps/ipprequest.Tpo -c -o ipprequest.lo ipprequest.cpp; \ then mv -f .deps/ipprequest.Tpo .deps/ipprequest.Plo; else rm -f .deps/ipprequest.Tpo; exit 1; fi ipprequest.cpp: In static member function `static QString IppRequest::assembleURI(const QString, int, const QString)': ipprequest.cpp:573: error: incomplete type `KURL' used in nested name specifier ipprequest.cpp:577: error: incomplete type `KURL' used in nested name specifier gmake[4]: *** [ipprequest.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdelibs3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 -Wash DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ No violence, gentlemen -- no violence, I beg of you! Consider the furniture! -- Sherlock Holmes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Calculate the time of last modification of a file
* On 27/12/06 10:54 -0600, Dan Nelson wrote: | In the last episode (Dec 27), Odhiambo Washington said: | I am trying to determine the time of last modification of a file, on | FreeBSD. | | The following code achieves the same on Linux: | | # AGE = (current time) - (time of last modification of $FILE) | # please check your systems 'stat' command! | AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) | | test $AGE -lt $DELAY { | echo -n yes | exit 0 | } | | You can use stat -f '%m' $FILE, which is identical to Linux's | stat -c '%Y' $FILE . Bang! Thank you so much, Dan! Best regards, Odhiambo Washington Systems Admin, Wananchi Online Ltd. Voted ISP of the Year 2006 Computer Society of Kenya Annual Awards 30Th Nov., 2006 Panari Hotel, Nairobi DISCLAIMER: See http://www.wananchi.com/bms/terms.php --+- Odhiambo WASHINGTON. WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Laptrust Plaza, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI --+- ``It is always the best policy to speak the truth -- unless, of course, you are an exceptionally good liar.'' (Jerome K Jerome) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Calculate the time of last modification of a file
Hiya, I hope you had a merry Christmas ;) I am trying to determine the time of last modification of a file, on FreeBSD. The following code achieves the same on Linux: # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } Here is the whole bash script, just so that everything is clear: cut #!/usr/local/bin/bash test -t 0 trap echo EXIT NAME=$1; shift DELAY=${1:-600}; shift BASE=${1:-/var/run/greydata}; shift NAME=${NAME//.//} DIR=$BASE/${NAME%/*} FILE=$DIR/${NAME##*/} test -d $DIR || mkdir -p $DIR test -f $FILE || { $FILE echo -n yes exit 0 } # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } read $FILE echo -n no exit 0 /cut The `stat -c` is illegal for FreeBSD. However I don't seem to understand clearly what the man page for stat is telling me, to enable me make this work. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie on tunnelling
I need to create a VPN between two offices. Each has a LAN that is behind a FreeBSD router/firewall. I have managed to do the following manually: hq-office: kldload if_gre.ko ifconfig gre0 create ifconfig gre0 tunnel 62.8.68.94 62.8.82.142 ifconfig gre0 inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252 route add -net 192.168.1.0/24 -interface gre0 sub-office: kldload if_gre.ko ifconfig gre0 create ifconfig gre0 tunnel 62.8.82.142 62.8.68.94 ifconfig gre0 inet 10.0.0.2 10.0.0.1 netmask 255.255.255.252 route add -net 192.168.0.0/24 -interface gre0 Now my simple question is: How do I automate these commands during boot time? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ This is an unauthorized cybernetic announcement. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie on tunnelling
* On 13/12/06 15:48 +, Chris wrote: | Loading a kernel module at boot time is done by editing (or creating) | loader.conf in /boot. And adding [module_name]_load=YES to load a module, | so: if_gre_load=YES. | | Edit rc.conf for startup configurations. Take a look at man rc.conf. The | sections on network_interfaces and static_routes will be of some help. | | On 13/12/06, Odhiambo Washington [EMAIL PROTECTED] wrote: | | I need to create a VPN between two offices. Each has a LAN that is | behind a FreeBSD router/firewall. | | I have managed to do the following manually: | | hq-office: | kldload if_gre.ko | ifconfig gre0 create | ifconfig gre0 tunnel 62.8.68.94 62.8.82.142 | ifconfig gre0 inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252 | route add -net 192.168.1.0/24 -interface gre0 | | sub-office: | kldload if_gre.ko | ifconfig gre0 create | ifconfig gre0 tunnel 62.8.82.142 62.8.68.94 | ifconfig gre0 inet 10.0.0.2 10.0.0.1 netmask 255.255.255.252 | route add -net 192.168.0.0/24 -interface gre0 | | Now my simple question is: How do I automate these commands during boot | time? | So, if I compiled kernel with device gre (FreeBSD 5.5 here, sorry) then there is no need to load the module via loader.conf, yes? So in rc.conf. would the following suffice (for hq-office)? cloned_interfaces=gre0 ifconfig_gre0=inet 10.0.0.1 10.0.0.2 tunnel 62.8.68.94 62.8.82.142 up How about the static route portions? It's still not clear to me how to take care of them in rc.conf. TIA -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ APL is a mistake, carried through to perfection. It is the language of the future for the problems of the past: it creates a new generation of coding bums. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.x binaries on 6.1
How do I run binaries compiled in FreeBSD 4.11 on a box running 6.2-PRE? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ I was gratified to be able to answer promptly, and I did. I said I didn't know. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
giflib port??
Does anyone have some news how I can install giflib on FreeBSD? Thanks. -Wash -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Rudin's Law: If there is a wrong way to do something, most people will do it every time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dummynet in an IPFilter setup
Hiya, Since freebsd-ipfw is dead and mostly for spammers, let me try my luck here once more ;) I am trying to prove a point to a customer - that he can save the cost of expensive routing hardware by just having a FreeBSD box on their LAN. Unfortunately, this also means that I need to spend days reading about IPFW, which, sincerely, is not one of those firewall implementations that is easy for me. I therefore need help to prove a point and keep a customer.. The scenario: I am running a FreeBSD 5.x box with IPFilter/IPNAT. The box has two interfaces at the moment, external interface connected to the hostile Internet and internal interface connected to a switch for the LAN. The ISP gives 256Kbit/s on the external interface. Out of this, I need to dedicate/guarantee 128Kbit/s to just one machine. A streaming server has been introduced on the LAN, and it is considered a VIP host as far as bandwidth allocation is concerned. The problem is that p2p is also officially allowed on the LAN. I hate it but it is allowed. Period. No argument about it. I need to guarantee 128Kbit/s of the available bandwidth to the streaming host (server, if you can call it). My thinking/plan: 1. Add one more NIC to the FreeBSD box (it's also the router, firewall, _everything_ server) and put this on a separate IP block. To this NIC I will connect the VIP host, which needs the guaranteed bandwidth. I will therefore NAT traffic to/from it. 2. Restrict the current LAN hosts to 128Kbit/s via ipfw pipe. To me, this means that: (a) They cannot go beyond 128Kbit/s (b) The VIP box will go above 128K/bit's in case the throttled LAN is not using all of the 128Kbit/s I need to control bandwidth on the external interface only, not on the LAN (internal interfaces). Is this rightful thinking or sheer imagination which is not practical? My problem: Most important is being dumb when it comes to IPFW and hence the pipes and all that pertains to it. Here is my ipfw configuration, in black and white (firewall_type=OPEN) # Outside interface network and netmask and ip oif=bfe0 iif=xl0 onet=62.8.68.0 omask=255.255.255.252 oip=62.8.68.22 # Inside interface network and netmask and ip iif=xl0 inet=10.0.0.0 imask=255.255.255.0 iip=10.0.0.2 ipfw pipe 1 config bw 128Kbit/s # Allow any traffic to or from my own net. ${fwcmd} add pass all from ${iip} to ${inet}:${imask} ${fwcmd} add pass all from ${inet}:${imask} to ${iip} # Throttle now ipfw add pipe 1 tcp from $${inet}:${imask} to any out via ${oif} state ${fwcmd} add 65000 pass all from any to any With this configuration, it seems like even LAN-LAN communication is being restricted to 128Kbit/s. I am not sure why, as simple as it looks! Can someone tell me why that is happening? Now, supposing the 3rd NIC was on 10.0.1.0/24 network, and there is no bandwidth limitation configuration, is it not true that I will have achieved my goal? I'll simply give the FreeBSD box 10.0.1.1 and the VIP box 10.0.1.2 and have a static route for the VIP box, with NAT for any connections to/from it. I'll really appreciate any help/advise towards a perfect configuration for the firewall, and how I can get this to work. Thanks in advance. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Minnie Mouse is a slow maze learner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dummynet in an IPFilter setup
* On 20/09/06 11:16 -0400, Bill Moran wrote: | In response to Odhiambo Washington [EMAIL PROTECTED]: | | [snip] | | The scenario: | | I am running a FreeBSD 5.x box with IPFilter/IPNAT. The box has two | interfaces at the moment, external interface connected to the hostile | Internet and internal interface connected to a switch for the LAN. | | The ISP gives 256Kbit/s on the external interface. Out of this, I | need to dedicate/guarantee 128Kbit/s to just one machine. | | A streaming server has been introduced on the LAN, and it is considered | a VIP host as far as bandwidth allocation is concerned. | The problem is that p2p is also officially allowed on the LAN. I hate | it but it is allowed. Period. No argument about it. | | I need to guarantee 128Kbit/s of the available bandwidth to the | streaming host (server, if you can call it). | | | My thinking/plan: | | 1. Add one more NIC to the FreeBSD box (it's also the router, |firewall, _everything_ server) and put this on a separate IP block. |To this NIC I will connect the VIP host, which needs the guaranteed |bandwidth. I will therefore NAT traffic to/from it. | | 2. Restrict the current LAN hosts to 128Kbit/s via ipfw pipe. To me, | this means that: | (a) They cannot go beyond 128Kbit/s | (b) The VIP box will go above 128K/bit's in case the throttled | LAN is not using all of the 128Kbit/s | | I need to control bandwidth on the external interface only, not on the | LAN (internal interfaces). | | Is this rightful thinking or sheer imagination which is not practical? | | Seems reasonable. See below ... Thanks, Bill for that verification. | My problem: | | | Most important is being dumb when it comes to IPFW and hence the pipes | and all that pertains to it. | | Here is my ipfw configuration, in black and white (firewall_type=OPEN) | | | # Outside interface network and netmask and ip | oif=bfe0 | iif=xl0 | onet=62.8.68.0 | omask=255.255.255.252 | oip=62.8.68.22 | | # Inside interface network and netmask and ip | iif=xl0 | inet=10.0.0.0 | imask=255.255.255.0 | iip=10.0.0.2 | | ipfw pipe 1 config bw 128Kbit/s | | # Allow any traffic to or from my own net. | ${fwcmd} add pass all from ${iip} to ${inet}:${imask} | ${fwcmd} add pass all from ${inet}:${imask} to ${iip} | | # Throttle now | ipfw add pipe 1 tcp from $${inet}:${imask} to any out via ${oif} state |^^ | | Is this direct cut/paste? If so, you've got a sticky $ key. Yes, it was a paste in the process of modifying ;) Noted with thanks. | | ${fwcmd} add 65000 pass all from any to any | | | With this configuration, it seems like even LAN-LAN communication is | being restricted to 128Kbit/s. I am not sure why, as simple as it looks! | Can someone tell me why that is happening? | | Now, supposing the 3rd NIC was on 10.0.1.0/24 network, and there is no | bandwidth limitation configuration, is it not true that I will have | achieved my goal? | | I'll simply give the FreeBSD box 10.0.1.1 and the VIP box 10.0.1.2 and | have a static route for the VIP box, with NAT for any connections | to/from it. | | | I'll really appreciate any help/advise towards a perfect configuration | for the firewall, and how I can get this to work. | | Thanks in advance. Bill, you did not say anything on my problem with intra-LAN traffic. Does that mean this configuration is okay, and should not at all affect traffic within the LAN? Best regards, Odhiambo Washington Systems Admin, Wananchi Online Ltd. Are you hosting your domain name with the leaders??: See http://webhosting.info/webhosts/tophosts/Country/KE DISCLAIMER: See http://www.wananchi.com/bms/terms.php --+- Odhiambo WASHINGTON. WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Laptrust Plaza, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI --+- Many are the plans in a man's heart, but it is the Lord's purpose that prevails. Proverbs 19:21 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dummynet in an IPFilter setup
* On 20/09/06 17:16 +0200, Erik Norgaard wrote: | Odhiambo Washington wrote: | | I need to control bandwidth on the external interface only, not on the | LAN (internal interfaces). | | Is this rightful thinking or sheer imagination which is not practical? | | If you're happy with IPFilter and need to ensure minimum bandwidth for | some network segment, take a look at packet filter, you can take much of | your knowledge with you and then set up queues that will ensure the | minimum bandwidth. And you don't need extra interfaces. That is the way to go ultimately, but I am still a newbie with PF. I would not want to transfer my newbie-ness into a customers network ;) I am happy with IPFilter, yes, but I am gradually shifting to PF, but I have to graduate before I can put that out there. At the moment, I just want to solve an immediate problem which has presented itself. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ A university is what a college becomes when the faculty loses interest in students. -- John Ciardi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 hangs at mountroot during bootup
* On 20/09/06 16:47 -0700, Mike Peirson wrote: | Hi all, | First off, I'm new to FreeBSD and this mailinglist so I hope I am in the | right place. Anyways, right now I am having some problems with FreeBSD | booting up. I have tried to install 3 times now and keep getting the | same error. When I try to boot into FreeBSD, this eventually comes up: | | Manual root filesystem specification: | fstype:device Mount device using filesystem | fstype |eg. ufs:da0s1a | ? List valid disk boot devices | empty line abort manual input | Mountroot | | This seems to be a prompt where I need to specify the location of the | root partition, but the problem here is that it hangs or freezes and I | cannot input any text. At first I thought it may be a result of FreeBSD | not properly recognizing my HDD's geometry but I manually fixed that and | it still is giving me this same issue. If anyone has had a similar | problem or knows how to fix this I would greatly appreciate any help. I | looked through the Handbook and googled this but I haven't found a | solution yet. Any further details about your hardware specs in general? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ A man wrapped up in himself makes a very small package. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
* On 14/09/06 16:51 +0200, Frank Bonnet wrote: | Hello | | Our mailhub is actually a HP DL360 with one processor (Xeon 2.8 ghz) | with 2 Gb RAM and 120 Gb disks, it is 3 years old. | | It runs Postfix + imap + imaps + pop3 + pop3s + squirrelmail + vexira | antivirus + postgrey | and some small auxiliary services. | | We have approx 2500 users / mailboxes and the machine is often really loaded | | So I decided it is time to purchase a new server and I need some feedback | from | admins that could help me to choose a new hardware system that could runs | like | a charm with FreeBSD 6.1 ? | | I need SCSI Disks of course , budget is around 10K$ Your server is good enough to handle even 10k users. You just need to identify what is causing the overload. Adding one processor and 2GB extra RAM should be enough, I think. If what you want is to get a new server thinking it will be fast just because of the CPU and RAM, then your thinking is ill-advised. I have an HP ML350 with one 2.4GHz CPU, 1GB RAM, 2x146GB SCSI HDD and it runs Exim, courier-imap (pop3/imap), squirrelmail, spamassassin, ClamAv, MySQL with 8k individual mail accounts on it. The only thing I feel like updating on it is to double the CPU and double the RAM and I am sure to run it for longer. Do you see my line of thinking? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Boy, life takes a long time to live -- Steven Wright ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw - bandwidth throttling (sanity check!)
Hello Security guy ;) I have tried very hard to understand ipfw just for the purpose of bandwidth throttling for smtp service. Basically, I want to throttle the bandwidth used by my SMTP server outbound to _anyone_ else except my ip blocks. My Server is 1.2.3.4 and my ip blocks are a.b.c.d/19 and e.f.g.h/20 Are the following rules sane enough? ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 tcp from 1.2.3.4 to not a.b.c.d/19 25 ipfw add pipe 1 tcp from 1.2.3.4 to not e.f.g.h/20 25 Any smtp traffic not to these netblocks should be throttled. By that, I am thinking it will match everything smtp outbound only, not inbound. Thank you for your time. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Don't put off for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw - bandwidth throttling (sanity check!)
* On 12/09/06 22:13 +0100, RW wrote: | On Tuesday 12 September 2006 20:49, Odhiambo Washington wrote: | Hello Security guy ;) | | I have tried very hard to understand ipfw just for the purpose of | bandwidth throttling for smtp service. | | Basically, I want to throttle the bandwidth used by my SMTP | server outbound to _anyone_ else except my ip blocks. | | My Server is 1.2.3.4 and my ip blocks are a.b.c.d/19 and | e.f.g.h/20 | | | Are the following rules sane enough? | | ipfw pipe 1 config bw 256Kbit/s | ipfw add pipe 1 tcp from 1.2.3.4 to not a.b.c.d/19 25 | ipfw add pipe 1 tcp from 1.2.3.4 to not e.f.g.h/20 25 | | This queues all outgoing smtp to the pipe. | | You also need to set net.inet.ip.fw.one_pass=1 to avoid the packets | re-entering the rules on the next line. Setting that means that the packets | cannot pass through dynamic rules. It is possible to use dynamic rules with | dummynet, but it's a pain. Thank you so much for clarifying that. What I wanted to be clarified is if it is true that smtp traffic to a.b.c.d/19 and e.f.g.h/20 is NOT being put through this pipe.. net.inet.ip.fw.one_pass=1 seems to be the default on my system. Not sure why, but I will RTFM about it. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ If only one could get that wonderful feeling of accomplishment without having to accomplish anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting a snapshot of a file system
* On 19/08/06 13:28 +0930, Malcolm Kay wrote: | On Fri, 18 Aug 2006 01:21 am, Odhiambo Washington wrote: | Hi all, | | I believe that this might be possible.. | | I have created a snapshot of a filesystem and moved it to a | remote host: | | dump -L0af - / | ssh remote_host 'gzip snapshot.gz' | | Now I have the file snapshot.gz on the remote host. | | Two questions: | | 1. How can I mount this snapshot and access its contents? | | # zcat snapshot.gz | restore -i -f - | See the restore(8) man page. Thanks for this. I did read the restore man page, but I missed the point. I'll stop working late into the night! | 2. How can I use this snapshot to create another system (a | clone)? | This question leaves me wondering whether you realise that dump | only backsup a single partition. From your dump you can only | clone the root partition which usually is quite small and does | not on its own lead to a useful system. I know that fact. I needed to have clarified that this dump is actually the whole system, all partitions. In this particular case, the disk is divided into two, swap (2.5xRAM) and / only. | Anyway to restore this you need to create a suitable partition, | initialise it with newfs, mount the partition, cd into the | partition and then run restore -r. Again look at the restore(8) | man page. Oops... putting on my worn out boots and running to restore(8). Thank you very very much. My actual problem was that I read too much of the dump(8), until I simply got dumped ;) Best regards, Odhiambo Washington Systems Admin, Wananchi Online Ltd. Are you hosting your domain name with the leaders??: See http://webhosting.info/webhosts/tophosts/Country/KE DISCLAIMER: See http://www.wananchi.com/bms/terms.php --+- Odhiambo WASHINGTON. WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Laptrust Plaza, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI --+- Even a stopped clock gives the right time twice a day... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting a snapshot of a file system
Hi all, I believe that this might be possible.. I have created a snapshot of a filesystem and moved it to a remote host: dump -L0af - / | ssh remote_host 'gzip snapshot.gz' Now I have the file snapshot.gz on the remote host. Two questions: 1. How can I mount this snapshot and access its contents? 2. How can I use this snapshot to create another system (a clone)? Thank you for today ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Quigley's Law: Whoever has any authority over you, no matter how small, will atttempt to use it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Downgrade port
* On 17/08/06 14:20 +0200, Johnny Choque wrote: | Hi all, | | When I have tried to install java 1.5 in freebsd 6.1-release using the | binary file provided in: | http://www.freebsdfoundation.org/downloads/java.shtml | | I got an error message pointing out that it needed javavmwrapper-2.0.6 | instead of 2.3 (which I actually have installed). I'm trying to use | portdowngrade in order to downgrade javavmwrapper but I have problems with | cvs servers listed in: | http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html | | Could you tell me if there is another way to downgrade a port? cd /port/directory edit Makefile and change the version from 2.3 - 2.0.6 edit distinfo and change version there too. then portupgrade -f portname It will actually downgrade it. I am not quite sure how this blends with the related libraries but it does work. I've used it but mostly during minor version changes, not the major version change like you have. Why don't you deinstall the 2.3 and install 2.0.6 though? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ A professor is one who talks in someone else's sleep. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to bypass loader.conf at boot
* On 17/08/06 21:22 +0400, Nguyen Tam Chinh wrote: | Hi all, | | I edited the /boot/loader.conf to add values for kern.maxdsiz and | kern.dfldsiz. | Unfortunately my server can not boot after that (the values are too big). | How can I bypass the loader.conf parameters at | boot? Or how I can change these values interactively? | The server is located in a data center and I can access to it through | supporter. | Please advice. | Thanks all for helping. | | PS. Please CC me because I'm not in this list. Off the top of my head . Get the guy at the data centre to get a 5.x or 6.x installation CD. He should boot with it and choose the Fixit option, and select the live filesystem on CD. After that, he will be dropped into a shell and the following steps will work: fsck -y /dev/da0s1a (change to the correct slice name!!) Once that is complete: mount /dev/da0s1a /mnt vi /mnt/boot/loader.conf save changes Exit the Fixit mode and reboot, removing the CD, and voila! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth. -- Nero Wolfe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stupid question about mountpoints and fstab
Hello people, I have never figured out something like this can be done, but today I see it. We have purchased s co-lo server. They have installed it and given me access to do whatever you want with the box, but their fstab has left me thirsty, wanting to know what's going on ... sp2817a# less /etc/fstab # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1g /home ufs rw 2 2 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw 2 2 /dev/ad0s1d /varufs rw 2 2 /dev/ad0s2 /home ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 sp2817a# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a2.9G 54M2.6G 2%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1g 15G 22K 13G 0%/home /dev/ad0s1e248M8.0K228M 0%/tmp /dev/ad0s1f9.7G1.9G7.0G22%/usr /dev/ad0s1d6.8G 46M6.2G 1%/var /dev/ad0s2 72G 22K 66G 0%/home Now, if someone can explain to me what the hell is being done with /home in this server... ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ ... I told my doctor I got all the exercise I needed being a pallbearer for all my friends who run and do exercises! -- Winston Churchill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD as a VPN Server/Router
I am going to venture into the field of the security gurus so help me God! It looks like I am gonna get stuck in wet cement, I can feel it;) I have two sites, siteA and siteB. Each site has a horde of Windows PCs behind a FreeBSD box, which acts as a firewall/router/proxy/everything:) Each site has got a dedicated connection to an ISP. At the moment it's the same ISP, if that matters, but my thinking is that it can be any ISP. I have a challenge of establishing a WAN between the two sites. They are geographically apart. In this scenario, siteA has several applications running on several windows servers which are behind the FreeBSD box. The challenge is to allow siteB to access these applications securely via the WAN setup. VPN comes straight to mind, but this is a new area to me. The boxes are both FreeBSD 5.5-STABLE. I am looking for pointers/clues on how to do the setup in a clean way, while adhering to K.I.S.S as closely as possible. If extra hardware (other than the FreeBSD boxes) is required so that the WAN is efficient, I'd be happy to know. I am very optimistic on pulling this one off, since I belong to a community full of security experts (FreeBSD users). PS: I am already googling, perhaps with the wrong keywords:-) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Who messed with my anti-paranoia shot? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Doing Routing On My Production Server
* On 09/08/06 14:01 -0400, beno wrote: | Hi; | I'm updating my firewall and I've found a nifty how-to that recommends | using a BSD box in front of another box as your firewall, using the | first as a router and passing one NIC to the other box. Can't all that | be done from the same box? Hi Beno, If you don't mind exposing the one box to the hostile Internet, then the answer is yes. Just block everything using the firewall on the same box. What is your concept of a firewall, by the way? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ First Rule of History: History doesn't repeat itself -- historians merely repeat each other. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to filter the contents of two text files ..
Hi Some little help is needed here ... I have two text files, each has just a single column of data FileA has 2798 entries, while FileB has 4242 entries; There are entries in FileA that are also in FileB... I'd like to filter against the two files, so I only get those entries in FileB that don't occur only in FileA I am thinking about using `diff` but again it doesn't look quite straight to me. How do I get the data from FileB that isn't in FileA ? There could be many possible ways but I am simply brain dead at the moment. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Lysistrata had a good idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rebooting and crashes on dell server
I had a very similar experience with a Dell PowerEdge 2800 recently, not even 3 weeks have elapsed! The problem, as we realized from some Dell engineer, was with the firmware on the mobo of this model. I was running FreeBSD 4.11-STABLE on the box. I bought HP ML350, migrated the whole setup to it and no problems even as I speak now! I am still waiting for a replacement motherboard from Dell (local vendor) for the 2800. There is a Dell 2850 that I setup as a server for a client, using FreeBSD 5.2.1. It's been running rock solid, and the only update I ever did was to update it to 5.2.1-patch14, which it will never go beyond, as I see no need. So, the moral of the story? Put the Dell aside, get a good HP and sit easy. * On 28/02/06 21:44 -0800, BSD Guy wrote: | Theres alot to this problem, but I'll try to be | concise so I don't loose people. I started out with a | cheap dell server running scsi raid and 5.x It | crashed or locked up with a kernel panic in a | different process (everything, syslog, you name it) | ever few days. I swapped ram around figuring it was | at fault since it was bought used on ebay. Still no | luck. | | Tired of messing with it, I bought a new dell | poweredge 2650, with scsi raid, a couple gigs of ram, | duals, and just a new system, configured it, copied | user data over and switched to it. Sure enough still | the worst stability I've ever seen. It has dual power | supplies, each in a different UPS. I don't believe | power is the problem or I'd see similar problems on | the other server or router I have plugged in there. I | even upgraded to 6.0-Release-p1 but no luck. | | It panics from time to time, but usually now it just | randomly reboots. Often at least every 36 hours. | Often 2-3 times a few minutes apart when it does. I | did install a debug kernel 2 weeks ago to try to get a | crash dump, but no panic's since then. | | My make.conf is pretty simple: | KERNCONF=crapbox | CPUTYPE?=p4 | CFLAGS= -O -pipe | NO_BLUETOOTH= true# do not build Bluetooth | related stuff | NO_I4B= true# do not build isdn4bsd package | NO_LPR= true# do not build lpr and related | programs | NO_GAMES=true# do not build games (games/ | subdir) | MAKE_IDEA= YES # IDEA (128 bit symmetric | encryption) | # added by use.perl 2005-09-29 11:26:41 | PERL_VER=5.8.7 | PERL_VERSION=5.8.7 | | Its not all that stressed of a box: | load averages: 0.14, 0.07, 0.06 | Mem: 235M Active, 367M Inact, 160M Wired, 33M Cache, | 99M Buf, 81M Free | Swap: 1024M Total, 1024M Free | | I've tweaked all the kernel values mentioned in the | tuneable section of the manual, but the reboots | continue. The box runs radiator (a perl based radius | server), apache+mod_ssl-1.3.x with php5, postfix-2.2, | amavisd-new-2.3, courier-imap-4.0, pure-ftp, nrpe | (nagios), net-snmp, ssh, and bind 9.3.1 all from ports | (except radiator). | | I run the same mail server setup on another server | with no problem, although it processes far less mail. | I use radiator on another server with no problem. | This is a unique combination of packages I'm running, | but no unique programs or configurations to this | server. Between amavis and radiator it does alot of | perl, and everything is a mysql lookup to another | server. While all logic and experience points to a | hardware problem I feel like the complete hardware | replacement has pretty much laid the blame on | software. | | I'm open to any suggestion as to what I might need to | look at to clear this up. I'm about to have a nervous | breakdown and insteall debian in desperation heh. I've | tried a kernel without smp, I've tried disabling acpi | on boot. If you need any more information feel free | to ask for it, I'll happily provide it. | Thanks! | | __ | Do You Yahoo!? | Tired of spam? Yahoo! Mail has the best spam protection around | http://mail.yahoo.com | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ ... I'm IMAGINING a sensuous GIRAFFE, CAVORTING in the BACK ROOM of a KOSHER DELI!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spontaneous reboots with Dell PowerEdge
on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 uhub3: 2 ports with 2 removable, self powered IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default acd0: CDROM HL-DT-ST GCR-8240N at ata0-master PIO4 amrd0: LSILogic MegaRAID logical drive on amr0 amrd0: 839400MB (1719091200 sectors) RAID 5 (optimal) pass0 at amr0 bus 0 target 6 lun 0 pass0: PE/PV 1x8 SCSI BP 1.0 Fixed Processor SCSI-2 device Mounting root from ufs:/dev/amrd0s1a -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ If at first you don't succeed, redefine success. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange errors from BIND on FreeBSD 4.x system
* On 05/07/06 11:57 -0600, Brett Glass wrote: | I'm working with a client's FreeBSD system (4.9 with patches) which is having trouble resolving certain domains | but not others. When I try to execute the same queries using dig, I see the error message | | res_nsend: Protocol not supported | | Via various search engines, I've seen hints that the problem may have something to do with IPV6 but no | instructions as to how to resolve it. Can anyone explain what's wrong and how to fix it? Which Bind version? From this thread: http://listserv2.cfi.co.ug/pipermail/afnog/2005-May/000759.html, I think you should try the following: cd /usr/ports/dns/bind9 make -DWITH_PORT_REPLACES_BASE_BIND9 install clean (That will give you bind-9.3.2) Try again and update us. The installation of bind-9.3.2 can be undone, so don't fear :-) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Genetics explains why you look like your father, and if you don't, why you should. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB keyboard and loader
* On 10/06/06 11:21 +0200, Andrea Venturoli wrote: | NgD Vulto wrote: | | I have some doubts about your question, it happens at the screen of the | freebsd-loader when you are installing or you installed it already and then | you can't access the options of the loader? | | I had to use a PS/2 keyboard to install, or at least, I remember so (it | was a long time ago). | | Now I'm talking going single user on boot on an already working system. usbd_enable=YES in /etc/rc.conf should almost solve your problem on a running system. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The best way to make a fire with two sticks is to make sure one of them is a match. -- Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
enterprisedb + FreeBSD
Out of curiosity, does anyone run enterprisedb on FreeBSD? I can see a version for Linux, but me and Linux don't even say Hi on the street ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Self Test for Paranoia: You know you have it when you can't think of anything that's your own fault. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 6.1 from 5.4
* On 21/05/06 20:23 +0800, Jiongyi Jiang (citiz) wrote: | Dear all, | | I got 5.4 installed before and now wants to have 6.1. | Is there any way to upgrade from 6.1 to 5.4 rather than install a | fresh version of 6.1? Thanks in advance. hi Jiang, I am FreeBSD damu (by blood), and so I'll tell you how I do it. Between 5.x and 6.x, you really do not need a fresh install. Just use cvsup to update. If you know how to use cvsup, then in your supfile for the source tree, you could change the tag to: *default release=cvs tag=RELENG_6_1_0_RELEASE (This will give you 6.1-RELEASE). Then just run cvsup: cvsup -g -L 2 /path/to/supfile Now read the UPDATING: less /usr/src/UPDATING If you've been updating sources and UPDATING before, then reading this file almost tells you everything you need to know, and even what is likely to bite you. Now that we are at it, /usr/ports/UPDATING is another masterpiece. Both files are chronicled from the last time there was a major version change/bump. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Blessed are the young for they shall inherit the national debt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-4.11 and 4GB RAM
* On 17/04/06 14:32 -0400, Kris Kennaway wrote: | On Mon, Apr 17, 2006 at 10:52:30AM +0300, Odhiambo Washington wrote: | * On 16/04/06 12:40 -0800, Beech Rintoul wrote: | | On Sunday 16 April 2006 11:18, Odhiambo Washington wrote: | | On my brand new Dell PowerEdge, now running FreeBSD 4.11-RELEASE under | | test, there is 4GB RAM, but looking at dmesg.boot, this is what shows: | | | | real memory 268173312 (261888K bytes) | | available memory 255455235 (249468K bytes) | | | | This is 2GB RAM only showing, with kernel.GENERIC. | | | | There must be something I need to compile in the kernel so as to access | | more than 2GB RAM. | | | | I have compiled options PAE in the kernel but it still does not see | | the full 4GB RAM. | | | | 4.11 will soon be completely unsupported, besides putting 4.11 on a new server | | is akin to putting a flathead-6 engine in a Ferrari. You should | | upgrade/reinstall 6-pr and go from there. You will have far fewer problems. | | If it were not that I really respect your name ;) | Anyway, I know about the fact that 4.11 is not gonna be supported. All | my other systems are running 5.5-PRE and 6.1-PRE and you can see there | is really no problem with updating all those even to -CURRENT... which | I am not afraid to do. | | Simple question: How do I make 4.11 see the 4GB RAM? | | I'm not aware of any special steps required. Does 6.x see the extra | RAM? | | Kris After this prodding, I looked further. In the BIOS of this box, when you leave OS Install mode to ON, it limits the available RAM to 256MB. Why the hell they do that could be explained elsewhere. I think some OS will choke at so much RAM. Once I turned this to off, my server now sees 4GB RAM and is blazing fast! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The good die young -- because they see it's no use living if you've got to be good. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB 2 support in 4.11-STABLE
I am looking around for information on whether 4.11-STABLE supports USB 2.0 I'll appreciate any pointers. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. -- Alan McKay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE + GNOME?
* On 20/04/06 13:19 +0200, Andreas Davour wrote: | On Wed, 19 Apr 2006, Paul Schmehl wrote: | | I just switched from Gnome to KDE because I had to many problems with | Gnome. KDE is a much more finished product (IMNSHO) and it's much | easier to work with regarding adding new menus, printer configuration | and other things that are the real reason you have a desktop. | | Gnome requires dbus and seems to have problems connecting to it at | times. Gnome updates are also a royal PITA (keep in mind, I haven't | done a KDE update yet), and I got tired of having to run and rerun the | updates to try and get everything working right again. It also | generates a bunch of errors that I was never able to successfully | eradicate, some of which make no sense. | | Gnome is prettier (IMNSHO), but pretty is secondary to functionality, | and KDE has Gnome beat hands down in that category. | | Agree. | | Don't shoot - just one man's opinion. | | Seconded. KDE updates works much better, and the developers don't call | you an idiot if you ask them why they took a specific design decision. And [EMAIL PROTECTED] gives GREAT support -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Radioactive cats have 18 half-lives. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB 2 support in 4.11-STABLE
* On 20/04/06 13:20 +0100, Alex Zbyslaw wrote: | Odhiambo Washington wrote: | | I am looking around for information on whether 4.11-STABLE supports USB | 2.0 | | I'll appreciate any pointers. | | | | man ehci on 5.4 says | | The ehci device driver first appeared in FreeBSD 5.1. | | | | So I guess that would be a no. | | Also, if you look in CVS | (http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/Attic/LINT?only_with_tag=RELENG_4) | and download LINT, there is an ohci device but no ehci, so that sill sounds | like no. Thanks. I had looked at the LINT file for ehci and could not see it. I was just confirming that I wasn't mistaken at my conclusion about it being a no ;) Thanks! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What color is a chameleon on a mirror? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?
* On 16/04/06 09:48 -0400, Jim Stapleton wrote: | I want a non-root user (I'm happy to limit it to wheel users), to be | able to mount smb shares and rip music, but I don't know how to do | this. Where can I find documentation on this? You already have the answer for the mounting part. For access to devices, required for ripping, try reading this article [1]. [1]http://caia.swin.edu.au/reports/041130A/ -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ MESSAGE ACKNOWLEDGED -- The Pershing II missiles have been launched. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-4.11 and 4GB RAM
* On 16/04/06 12:40 -0800, Beech Rintoul wrote: | On Sunday 16 April 2006 11:18, Odhiambo Washington wrote: | On my brand new Dell PowerEdge, now running FreeBSD 4.11-RELEASE under | test, there is 4GB RAM, but looking at dmesg.boot, this is what shows: | | real memory 268173312 (261888K bytes) | available memory 255455235 (249468K bytes) | | This is 2GB RAM only showing, with kernel.GENERIC. | | There must be something I need to compile in the kernel so as to access | more than 2GB RAM. | | I have compiled options PAE in the kernel but it still does not see | the full 4GB RAM. | | 4.11 will soon be completely unsupported, besides putting 4.11 on a new server | is akin to putting a flathead-6 engine in a Ferrari. You should | upgrade/reinstall 6-pr and go from there. You will have far fewer problems. If it were not that I really respect your name ;) Anyway, I know about the fact that 4.11 is not gonna be supported. All my other systems are running 5.5-PRE and 6.1-PRE and you can see there is really no problem with updating all those even to -CURRENT... which I am not afraid to do. Simple question: How do I make 4.11 see the 4GB RAM? Best regards, Odhiambo Washington Systems Admin, Wananchi Online Ltd. Are you hosting your domain name with the leaders??: See http://webhosting.info/webhosts/tophosts/Country/KE DISCLAIMER: See http://www.wananchi.com/bms/terms.php --+- Odhiambo WASHINGTON. WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Laptrust Plaza, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI --+- All of mankind has still a lot to learn. Me too... ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD-4.11 and 4GB RAM
On my brand new Dell PowerEdge, now running FreeBSD 4.11-RELEASE under test, there is 4GB RAM, but looking at dmesg.boot, this is what shows: real memory 268173312 (261888K bytes) available memory 255455235 (249468K bytes) This is 2GB RAM only showing, with kernel.GENERIC. There must be something I need to compile in the kernel so as to access more than 2GB RAM. I have compiled options PAE in the kernel but it still does not see the full 4GB RAM. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ It's not the valleys in life I dread so much as the dips. -- Garfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: stop/start services
* On 12/04/06 16:13 -0400, fbsd wrote: | etc/rc.d is for software that is part of the operating system and | stuff in here gets launched by control statments in rc.conf | | /usr/local/etc/rc.d is where software installed from the ports | normally put their start up scripts. | At boot time the directory is read and all scripts | ending in .sh get executed. With rcNG, it seems that any script with the executable mode set and with a matching control statement in /etc/rc.conf will get started regardless of whether it ends in .sh or not. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Gee, Toto, I don't think we are in Kansas anymore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop/start services
* On 12/04/06 20:46 +0100, eoghan wrote: | Matthew Seaman wrote: | eoghan wrote: | | I asked a question about stopping/starting tomcat, but I suppose I didnt | ask it right. | What I should have asked is: | How do I stop/start services that I have enabled in my rc.conf, such as | mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will | not work for me... | | Like this: | | /usr/local/etc/rc.d/tomcat.sh start | | If that doesn't print out anything then double check what's in /etc/rc.conf | If the service apparently starts up, but then you find it's not running | a few seconds later, then check any log files that application uses -- it's | quite often the case that there's a configuration fubar somewhere that is | causing the service to give up. | | Cheers, | | Matthew | | | Hi Matthew, | Well I have the service enabled in my rc.conf... so going to | localhost:8180 shows me the default tomcat page saying its working | etc... the jsp examples work fine. | When i try /usr/local/etc/rc.d/tomcat55.sh stop | i get: | tomcat55 not running? (check /var/run/tomcat55.pid) | Thats it. tomcat55.pid contains 2039. | I created a jsp file with just plain html in it... but when i browse to | it I get a HTTP 500 error (exception report). | I have the file in the correct place according to the docs so Im not | sure why is not working... I have originally some small piece of jsp but | figured Id have to restart the server in order for it to work, which is | what Im trying to do now... Have you checked that the script refers to the correct pid file? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ It is against the law for a monster to enter the corporate limits of Urbana, Illinois. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount floppy and CD
* On 12/04/06 15:47 -0300, Aguiar Magalhaes wrote: | Hi list, | | Using FreeBSD 6.0, how can a ordinary user (without | become root) mount the floppy an CDs? http://caia.swin.edu.au/reports/041130A/ is a very good tutorial as well as what Gilbert sent. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Q: How many heterosexual males does it take to screw in a light bulb in San Francisco? A: Both of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing FreeBSD-4.11 on Dell PowerEdge 2800
Hi, I just need some pointers towards installing FreeBSD 4.11 on a Dell PowerEdge 2800 with 4GB RAM, Dual CPU, with 1TB disk storage on RAID 5. I have a production system that I am not willing to upgrade beyond 4.11 at all as it is rock solid as it is.;) Currently it's running on HP ML 350 but I have acquired this Dell which I'd like to migrate it to. I have read some posts about PAE in the kernel so as to recognize my 4GB RAM. Basically, I have tested the install using a 4.10 CD, but this was meant to only do a mininal install before I do a few things here and there that would make it run as expected. I am fairly conversant with those aspects. The problem right now is that it tells me it did not find my disk ;) I could be missing a few things that are must-know, so pointers, please. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What is worth doing is worth the trouble of asking somebody to do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeradius freebsd-6.0
* On 12/01/06 10:26 +0700, Beastie wrote: Dear List. I try to running freeradius 1.0.5 on FreeBSD-6.0 Stable. freeradius install from latest port, installation was successfull. but i can't see the server is running and working. ps ax | grep radius or netsat -ta | grep radius came with no result, after starting service from rc startup file provided or via command line tools radiusd. Maybe the startup script wants you to add an entry in /etc/rc.conf if it relies on the rcNG. Read that script and see what is inside. http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ His great aim was to escape from civilization, and, as soon as he had money, he went to Southern California. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie problems with svscan and arp
* On 16/12/05 07:23 -0800, manish jain wrote: Hi, I am trying my hand at FreeBSD administration and would greatly appreciate assistance with some problems I am facing with setting up mail services and the network properly. My system has 2 network cards (rl0 and dc0). rl0 has been assigned a local IP (192.168.10.37/255.255.255.0) and dc0 has been assigned a real IP (202.54.195.85/255.255.255.240). The gateway is 202.54.195.81 and the name server 202.54.1.30. After booting my console starts getting the following message : 192.168.10.1 is on rl0 but got reply from dc0. What is the error I might be committing ? The local router is located at 192.168.10.55, but I don't know where to put this information. Despite the message, I am able to access the internet smoothly. The cables connecting to dc0 and rl0 are both connected to the same switch/hub, yes? Why? I think you have a connection to the Internet also connected to the switch, yes? Further, I am trying to set up qmail as the MTA. Qmail apparantly needs svscan from the daemontools port to be running. My rc.local calls /usr/local/bin/svscanboot at system startup, but when I do 'ps -waux | grep svscan', I get nothing. A few qmail processes are however running. How do I get svscan to start ? RTFM for qmail, I guess. I only know about Exim - http://www.exim.org ;) Seriously though, if you look at /usr/local/etc/rc.d/svscan.sh, you'll probably see that you need to add the following to /etc/rc.conf: svscan_enable=YES If you do that, you need to edit rc.local and remove that svscan entry. It's my guess, sir. My rc.conf, inetd.conf, hosts and /usr/local/etc/rc.d/svscan.sh files are attached. They did not get attached, as is protocol on most lists. You need to include them in-line in the message body. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Goldenstern's Rules: (1) Always hire a rich attorney (2) Never buy from a rich salesman. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache22 build error
I am still going through my upgrade woes since updating to 6.0-STABLE. Perhaps what I am seeing now is different and not FreeBSD-specific but it might be as well ;) I completed my portupgrade -af yesterday. Now I am looking at moving ahead with life on 6.0 platform, with new kids on the block. Compiling www/apache20 works fine, but www/apache22 fails viz: cut config.status: creating docs/conf/httpd.conf config.status: creating docs/conf/extra/httpd-autoindex.conf config.status: creating docs/conf/extra/httpd-dav.conf config.status: creating docs/conf/extra/httpd-default.conf config.status: creating docs/conf/extra/httpd-info.conf config.status: creating docs/conf/extra/httpd-languages.conf config.status: creating docs/conf/extra/httpd-manual.conf config.status: creating docs/conf/extra/httpd-mpm.conf config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf config.status: creating docs/conf/extra/httpd-ssl.conf config.status: creating docs/conf/extra/httpd-userdir.conf config.status: creating docs/conf/extra/httpd-vhosts.conf config.status: creating include/ap_config_layout.h config.status: creating support/apxs config.status: creating support/apachectl config.status: creating support/dbmmanage config.status: creating support/envvars-std config.status: creating support/log_server_status config.status: creating support/logresolve.pl config.status: creating support/phf_abuse_log.cgi config.status: creating support/split-logfile config.status: creating build/rules.mk config.status: creating build/pkg/pkginfo config.status: creating build/config_vars.sh config.status: creating include/ap_config_auto.h config.status: executing default commands /usr/bin/sed -i.bak -e s,%%WWWOWN%%,www, ; s,%%WWWGRP%%,www, /usr/ports/www/apache22/work/httpd-2.2.0/docs/conf/httpd.conf === Building for apache-2.2.0_1 Making all in srclib Making all in pcre /usr/local/build-1/libtool --silent --mode=compile cc -g -O2 -fno-strict-aliasing -pipe -I/usr/ports/www/apache22/work/httpd-2.2. 0/srclib/pcre -I. -I/usr/ports/www/apache22/work/httpd-2.2.0/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.0/server/mpm/prefork -I/u sr/ports/www/apache22/work/httpd-2.2.0/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/filters -I/usr/ports/www/apache2 2/work/httpd-2.2.0/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.0/include -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/ generators -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/database -I/us r/local/include/apr-1 -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/proxy/../generators -I/usr/include -I/usr /ports/www/apache22/work/httpd-2.2.0/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.0/modules/dav/main -prefer-non-pic -static -c maketables.c touch maketables.lo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' *** Error code 1 Stop in /usr/ports/www/apache22/work/httpd-2.2.0/srclib/pcre. *** Error code 1 Stop in /usr/ports/www/apache22/work/httpd-2.2.0/srclib/pcre. *** Error code 1 Stop in /usr/ports/www/apache22/work/httpd-2.2.0/srclib. *** Error code 1 Stop in /usr/ports/www/apache22/work/httpd-2.2.0. *** Error code 1 Stop in /usr/ports/www/apache22. /cut Anyone knows why it fails at this point and how i can fix it? TIA -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Real computer scientists don't program in assembler. They don't write in anything less portable than a number two pencil. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't connect to local MySQL server
* On 13/12/05 23:20 -0800, Jose Borquez wrote: I am attempting to create a mysql database so that I can install Group Office using mysqladmin create groupoffice and I keep getting the following errors: mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! I looked in /tmp and mysql.sock is not there. Can someone please tell me what is wrong and what I need to do to correct this? echo mysql_enable=YES /etc/rc.conf sh /usr/local/etc/rc.d/mysql-server.sh start ls -al /tmp/mysql.sock # If it's still missing, let me know! -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Always borrow money from a pessimist; he doesn't expect to be paid back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't open Apache web page
* On 14/12/05 00:38 -0800, Jose Borquez wrote: I have set up Apache and when I attempt to enter the ip address of the server I just get a Connecting to 172.16.1.10 and then it times out. What do I need to check to try and troubleshoot this problem? httpd is currently running. Here is the output of top: PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 533 mysql 200 56640K 26280K kserel 0:02 0.00% 0.00% mysqld 492 jose 960 6116K 2964K select 0:00 0.00% 0.00% sshd 558 root 960 8808K 6548K select 0:00 0.00% 0.00% httpd 380 root 960 2900K 1732K select 0:00 0.00% 0.00% ntpd 552 root 200 2284K 1760K pause0:00 0.00% 0.00% csh 169 root 80 1780K 1384K nanslp 0:00 0.00% 0.00% ipmon 400 root 960 3456K 2668K select 0:00 0.00% 0.00% sendmail 493 jose 200 2280K 1756K pause0:00 0.00% 0.00% tcsh 489 root 40 6136K 2892K sbwait 0:00 0.00% 0.00% sshd 609 root 960 2312K 1580K RUN 0:00 0.00% 0.00% top 515 mysql 80 1664K 1264K wait 0:00 0.00% 0.00% sh 551 jose 80 1608K 1296K wait 0:00 0.00% 0.00% su 272 root 960 1324K 864K select 0:00 0.00% 0.00% syslogd 416 root 80 1364K 1052K nanslp 0:00 0.00% 0.00% cron 481 root 50 1288K 952K ttyin0:00 0.00% 0.00% getty 482 root 50 1288K 952K ttyin0:00 0.00% 0.00% getty 485 root 50 1288K 952K ttyin0:00 0.00% 0.00% getty Thanks in advance, Jose Login to the box and do: telnet 172.16.1.10 80 GET / Enter Enter If you get a semblance of a page, then check your firewall, although I doubt you know what that would do to you ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The moon is a planet just like the Earth, only it is even deader. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any idea why I get these in /var/log/messages?
I have two questions about 6.0-STABLE, which I updated to from 5.4-STABLE. I get the following messages: Dec 11 23:44:45 beastie kernel: KLD mac_lomac.ko: depends on kernel_mac_support - not available ... what could be causing it? When I compile a kernel with options MAC then my network access is disabled ;) I have read the man page of ifconfig but did not see how to go around this. Take it that I am simply dumb on this one. Secondly, I also see these on the console: link_elf_lookup_symbol: missing symbol hash table link_elf_lookup_symbol: missing symbol hash table but I am also clueless on the cause. Thanks for any pointers. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The human mind treats a new idea the way the body treats a strange protein -- it rejects it. -- P. Medawar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: May be a question repeated
* On 13/12/05 04:15 +0530, Jayesh Jayan wrote: Hi, I have a server which runs Apache/1.3.33 (Unix) and exim 4.53-0 on a FreeBSD 5.4. I wanted to upgrade exim to 4.60 so i did the below steps 1 ) cd /usr/ports/mail/exim 2 ) make clean 3 ) make at this step the make stops saying openssl already installed. I have on the server OpenSSL 0.9.7e and exim is trying to upgrade even open ssl to the latest. This may break http and other services running on the server. Error message is as below ** === Installing for openssl-0.9.8a === Generating temporary packing list === Checking if security/openssl already installed pkg_info: package bsdpan-CPAN-1.80 has no origin recorded pkg_info: package bsdpan-Filesys-Statvfs_Statfs_Df-0.78 has no origin recorded pkg_info: package bsdpan-GDGraph-1.43 has no origin recorded pkg_info: package bsdpan-GDTextUtil-0.86 has no origin recorded pkg_info: package bsdpan-IO-Interactive-undef has no origin recorded pkg_info: package bsdpan-MailTools-1.67 has no origin recorded pkg_info: package bsdpan-Net_SSLeay.pm-1.25 has no origin recorded pkg_info: package bsdpan-ShadowHash-0.07 has no origin recorded pkg_info: package bsdpan-Term-ReadLine-Perl-1.0203 has no origin recorded pkg_info: package bsdpan-TermReadKey-2.30 has no origin recorded pkg_info: package bsdpan-Tie-Watch-1.2 has no origin recorded pkg_info: package bsdpan-Tree-MultiNode-1.0.10 has no origin recorded pkg_info: package bsdpan-libwww-perl-5.803 has no origin recorded pkg_info: package bsdpan-libwww-perl-5.804 has no origin recorded pkg_info: package bsdpan-libwww-perl-5.805 has no origin recorded === An older version of security/openssl is already installed ( openssl-0.9.7e_2) 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 security/openssl 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/security/openssl. *** Error code 1 Stop in /usr/ports/mail/exim. ** Please guide me on how I can upgrade exim without effecting other services running on the server. You did install openssl from the ports, yes? You probably shouldn't have done that, as openssl is supposed to be in the base system for FreeBSD. I am not going to help you fix that though. You have to decide on what steps to take - either deinstall the /usr/ports/security/openssl and rely on the one from the base system or use it as is. For the purposes of your current problem, Exim is assuming you are using TLS, which is what is pulling in the openssl dependency. If you don't really need TLS support on Exim, then do: cd /usr/ports/mail/exim make -DWITHOUT_TLS ..and proceed from there... I'd advise you to rely on utils like /usr/ports/sysutils/portupgrade or /usr/ports/sysutils/portmanager to manage your ports. Lastly, you will be happy to deinstall your openssl from the ports and rebuild all your apps that were relying on it to instead link against the one in the base system. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Those who express random thoughts to legislative committees are often surprised and appalled to find themselves the instigators of law. -- Mark B. Cohen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache13 to 22
* On 09/12/05 11:13 +0200, Perttu Laine wrote: And how about upgrading of apache itself. I can't just remove apache13 cause lots of proggies are depending on it. So how I do procedure of upgrading it? There is no clear-cut upgrade procedure, but it's doable, I think, but on the same machine, you really have to schedule a downtime and let your users know that you will be upgrading and the downtime will be about NN minutes long. You'll really need to deinstall apache13, then install apache22 and reinstall mod_php5. This is where the downtime comes in. apachectl stop cd /usr/ports/www/apache13 make deinstall cd /usr/ports/www/apache22 make install cd /usr/ports/www/mod_php5 make -DWITH_APACHE2 -DFORCE_PKG_REGISTER reinstall PS: Please make sure you have simulated the whole procedure elsewhere. Sometimes, things do happen which might make you go crazy! Suppose something fails to compile, or even to start within the planned down time. BTW, I did not ask what motivation you have to upgrade to apache22 ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The best book on programming for the layman is Alice in Wonderland; but that's because it's the best book on anything for the layman. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache13 to 22
* On 09/12/05 09:23 -0500, Mike Hernandez wrote: On Fri, Dec 09, 2005 at 04:34:23PM +0300, Odhiambo Washington wrote: * On 09/12/05 11:13 +0200, Perttu Laine wrote: And how about upgrading of apache itself. I can't just remove apache13 cause lots of proggies are depending on it. So how I do procedure of upgrading it? There is no clear-cut upgrade procedure, but it's doable, I think, but on the same machine, you really have to schedule a downtime and let your users know that you will be upgrading and the downtime will be about NN minutes long. You'll really need to deinstall apache13, then install apache22 and reinstall mod_php5. This is where the downtime comes in. I'm messing with apache on my home computer, and with apache13 I was able to use mod_ruby. mod_ruby doesn't seem to like apache22 though =/ Is it even possible to use mod_ruby with apache 2? I was going to start a new thread but it's related to this so I figured I'd just add to this one. Your question seems to belong to apache-users list, no? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The new Congressmen say they're going to turn the government around. I hope I don't get run over again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPA fails to run on 6.0
Hello pple, For a long time I have been running IP (sysutils/ipa) on 5.x through to 5.4. Then I decided to update the PC to 6.0-STABLE via cvsup. I rebuilt all ports (portupgrade -af). However, IPA simply refuses to run now. I have checked almost everything about rebuilding the port. -bash-2.05b$ sudo ipa -d Password: ipa[7125]: ipa[7125]: IPA: version 1.3.6 started by UID 0 GID 0 ipa[7125]: current umask is 0227 ipa[7125]: use configuration file /usr/local/etc/ipa.conf, parsing... ipa[7125]: file /usr/local/etc/ipa.conf is readable by group and/or other users ipa[7125]: loaded 3 accounting rules ipa[7125]: init IP Filter support ipa[7125]: make IP accounting... ipa[7125]: kipfil_read_table: ioctl(SIOCGETFS): Invalid argument ipa[7125]: cannot make IP accounting ipa[7125]: abnormal termination #-bash-2.05b$ sudo ipa -v IPA, version 1.3.6 (FreeBSD/i386 6.0-STABLE) I have been using IPA with IPFilter. I have googled and found no solution. Thanks for any insights. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ ... A booming voice says, Wrong, cretin!, and you notice that you have turned into a pile of dust. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect hardware changes
Have you compiled a custom kernel? Do you have the nge driver included in that kernel? * On 08/12/05 15:14 -0600, Keith Bottner wrote: I believe so but for some reason it is still not showing up in ifconfig or as a dev node. Do I need to do something special for FreeBSD to start recognizing it at boot? -Original Message- From: Peter Giessel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 3:02 PM To: Keith Bottner Cc: 'FreeBSD Questions' Subject: RE: Detect hardware changes On 12/8/2005 11:51, Keith Bottner seems to have typed: [EMAIL PROTECTED]:9:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class= network subclass = ethernet -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ One monk said to the other, The fish has flopped out of the net! How will it live? The other said, When you have gotten out of the net, I'll tell you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache13 to 22
* On 09/12/05 08:53 +0200, Perttu Laine wrote: I'd like to upgrade Apache13 to Apache22, but I'm wondering what else I need to change or reinstall? PHP, MySQL, SquirrelMail are those I'm wondering about. Do I need reinstall them, some of them or change confics much. Or is it just removing apache13 and installing apache22? And also can I copy paste vhost rules etc. from old config or are they very different? Box I need to do this in has about 150 www-users in it so I don't like to break it for a long time. Apache2 config file differs from that of 1.3.x so you will have to craft a whole new config file. Vhost rules will work mostly without any major changes. PHP (lang/php4, lang/php4-extensions, or www/mod_php4), depending on the one you use, will need to be reinstalled. MySQL and Squirrel will not require any changes that I know of. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ We can defeat gravity. The problem is the paperwork involved. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.4 - 6.0
* On 08/12/05 09:13 +0100, Sasa Stupar wrote: Hi! Can someone tell me the proper steps for upgrading from 5.4 - 6.0? I have also stuff installed from the ports collection, eg. cyrus-imapd, clamav, etc. /usr/src/UPDATING has steps to accomplish this. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Pure drivel tends to drive ordinary drivel off of the TV screen. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
* On 09/12/05 08:51 +0100, Sasa Stupar wrote: --On 9. december 2005 9:33 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 08/12/05 20:00 +0100, Sasa Stupar wrote: Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed 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 databases/db43 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/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Hello Sasa, You have two options around this, I think; portupgrade -m FORCE_PKG_REGISTER=1 or add FORCE_PKG_REGISTER=yes to /etc/make.conf HTH -Wash I have put in make.conf to force pkg register and now when I make install I get an error: - === Registering installation for db43-4.3.29 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -- It looks like it can't find db43 on my system. Anything else I could try? I wonder what command you are running ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Avoid reality at all costs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Update 5.4 - 6.0
It's my suspicion that updating 5.4 to 6.0 via CVSup leaves alot of old libraries in place. Is this anywhere near correct? I updated my system recently thus, using the steps in /usr/src/UPDATING, but now when updating the ports (I am yet to try out portupgrade -a), I see such output as: /usr/bin/ld: warning: libcrypt.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.3 /usr/bin/ld: warning: libz.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libz.so.3 /usr/bin/ld: warning: libc.so.5, needed by /usr/local/lib/libsasl2.so.2, may conflict with libc.so.6 What does these suggest? Is there an easy way to fix them? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Health is merely the slowest possible rate at which one can die. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: system time slowing down ?
* On 28/11/05 18:47 -0500, Charles Swiger wrote: On Nov 28, 2005, at 6:40 PM, Odhiambo Washington wrote: For some time now, I have noticed that the time on my system keeps lagging behind. I reset it with `date 2005MMDDHHMM` but after a few days I see that it's lost quite some hours again? What should I suspect? CMOS battery has been changed, but phenomena is still there. My localtime is set to correctly using sysinstall so I don't doubt it. If your hardware clock loses hours over the course of a few days, the CMOS time-of-day clock is probably broken. Is ntpd able to keep your clock sane? I'll try that option and monitor, since we have a local time server in Kenya ;) What does sysctl kern.timecounter say? beastie# sysctl kern.timecounter kern.timecounter.tick: 1 kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) kern.timecounter.hardware: TSC kern.timecounter.nsetclock: 3 kern.timecounter.ngetmicrotime: 231411 kern.timecounter.ngetnanotime: 0 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetmicrouptime: 337002 kern.timecounter.ngetnanouptime: 6191 kern.timecounter.ngetbinuptime: 12350 kern.timecounter.nmicrotime: 392742 kern.timecounter.nnanotime: 892365 kern.timecounter.nbintime: 1285111 kern.timecounter.nmicrouptime: 1584 kern.timecounter.nnanouptime: 0 kern.timecounter.nbinuptime: 7282034 kern.timecounter.stepwarnings: 0 kern.timecounter.smp_tsc: 0 -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ You're at the end of the road again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh troubles with 6.0-STABLE
I use shellguard as my ssh client on my Windows box. However I see a problem with 6.0-RELEASE, in a pattern whose solution I can't find even in google. On my machine which I have just updated from 5.4-STABLE - 6.0-STABLE, when I try to connect with shellguard, I get this: cut Exception. no matching comp found. Client zlib Server: none,[EMAIL PROTECTED] /cut This happens to even a box installed with clean 6.0-RELEASE. I am stumped about this! -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. -- Bertrand Russell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh troubles with 6.0-STABLE
* On 29/11/05 00:21 +0300, Wash wrote: I use shellguard as my ssh client on my Windows box. However I see a problem with 6.0-RELEASE, in a pattern whose solution I can't find even in google. On my machine which I have just updated from 5.4-STABLE - 6.0-STABLE, when I try to connect with shellguard, I get this: cut Exception. no matching comp found. Client zlib Server: none,[EMAIL PROTECTED] /cut This happens to even a box installed with clean 6.0-RELEASE. I am stumped about this! I hate this, but I seem to have found the answer: Setting Compression yes in /etc/ssh/sshd_config seems to be the solution. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The giraffe you thought you offended last week is willing to be nuzzled today. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
system time slowing down ?
For some time now, I have noticed that the time on my system keeps lagging behind. I reset it with `date 2005MMDDHHMM` but after a few days I see that it's lost quite some hours again? What should I suspect? CMOS battery has been changed, but phenomena is still there. My localtime is set to correctly using sysinstall so I don't doubt it. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ When a fellow says, It ain't the money but the principle of the thing, it's the money. -- Kim Hubbard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozilla Firefox - anyone succeeded in installing?
All attempts at compiling firefox on 5.4-STABLE fail at the same point: c++ -o nsDNSService2.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ -DBUILD_ID=00 -DIMPL_NS_NET -I./../../base/s rc -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/unicharutil -I../../../dist /include/necko -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I../../../dist/sdk/include -I/usr/X1 1R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconv ersion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-alia sing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -DMO ZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHostResolver.h: At global scope: nsHostResolver.h:209: error: `PRAddrInfo' has not been declared nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString_internal)': nsDNSService2.cpp:98: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:99: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:99: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)': nsDNSService2.cpp:115: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:116: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:116: error: `PR_EnumerateAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString_internal)': nsDNSService2.cpp:537: error: `PR_AF_UNSPEC' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox-devel. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ My theology, briefly, is that the universe was dictated but not signed. -- Christopher Morley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
args to `make` within the ports tree
There appears to be so many arguments to `make` when compiling applications fro the ports tree. What beats me is where they are documented ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Turnaucka's Law: The attention span of a computer is only as long as its electrical cord. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: args to `make` within the ports tree
* On 23/11/05 17:47 +0100, Roland Smith wrote: On Wed, Nov 23, 2005 at 10:50:19AM -0500, Mike Hernandez wrote: On Wed, Nov 23, 2005 at 06:35:13PM +0300, Odhiambo Washington wrote: There appears to be so many arguments to `make` when compiling applications fro the ports tree. What beats me is where they are documented ;) /etc/make.conf? Try /usr/ports/KNOBS for the most common ones, and the Makefile of each port for specific ones. Bull! Thanks, Roland. This is what I've missed all these days. And thanks also to the OPs for offside answers ;) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ A great many people think they are thinking when they are merely rearranging their prejudices. -- William James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mozilla firefox-1.0.7 on 5.4-STABLE
Has anyone managed to go all the way to install firefox-1.0.7? I get stuck at this error: or -Wno-long-long -O2 -fno-strict-aliasing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -I/usr/local/include -I/usr/X1 1R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHostResolver.h: At global scope: nsHostResolver.h:209: error: `PRAddrInfo' has not been declared nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString)': nsDNSService2.cpp:95: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)': nsDNSService2.cpp:112: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: 'class nsDerivedSafensHostRecord' has no member named 'addr_info' nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first use this function) nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString)': nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Tax reform means Don't tax you, don't tax me, tax that fellow behind the tree. -- Russell Long ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a FreeBSD equivalent of this?
Hello everyone, I am snooping on the squid-users mailing list and something interesting (maybe not!) is mentioned: http://www.faqs.org/docs/securing/chap6sec73.html Do we have an equivalent on this in any branch (4.x, 5.x, 6.x) bar for the 'mount' option? I have to think about everything in *BSD terms ;-) -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Everything journalists write is true, except when they write about something you know. -- Dag-Erling Smorgrav, June 1999, FreeBSD-Stable Mailing List ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with IPFilter/IPNAT
I am using IPFilter and IPNat on several FreeBSD boxes. They are mostly configured the same. Each box has two interfaces, public and internal, and acts as a router to the LAN which is 'behind' it. The LAN machines use the FreeBSD as the gateway, as well as a DNS server. I run cache-only config. The problem I have is that when, for any reason, the public link goes down, the machines on the LAN timeout when communicating. I can simulate this by simply pulling out the connection from the $ext_iface (assume this is ADSL or something like that) which is connected to the ISP upstream. I don't know if it is my NAT configuration causing this. Here is the /etc/ipnat.rules that I use: I'd want a situation where network communications within the LAN should not be affected when the circuit to the ISP is down since it is only used for web traffic and for the mail server on the FreeBSD router to send outbound e-mails, not local e-mails. cut # rl0 is the internal interface. rl1 is external interface. # These redirection rules are to force users on the LAN # to go through Squid cache. # First we let this machine access itself because there is a web server # on it. # Redirect direct web traffic to local web server. rdr rl0 192.168.100.31/32 port 80 - 192.168.100.31 port 80 tcp rdr rl0 192.168.100.31/32 port 443 - 192.168.100.31 port 443 tcp # Transparently redirect all outgoing web traffic through squid on # port 3128 rdr rl0 0.0.0.0/0 port 80 - 127.0.0.1 port 3128 # Also all SMTP Connections must go via localhost rdr rl0 0.0.0.0/0 port 25 - 127.0.0.1 port 25 # Now do NAT, but only for packets that are NOT local. map rl1 from 192.168.100.0/24 ! to 192.168.100.0/24 - 0/32 portmap tcp/udp auto map rl1 from 192.168.100.0/24 ! to 192.168.100.0/24 - 0/32 /cut What am I missing or doing wrong here??? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Due to lack of disk space, this fortune database has been discontinued. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with IPFilter/IPNAT
* On 30/07/05 15:20 +0200, Alex de Kruijff wrote: On Sat, Jul 30, 2005 at 01:41:52PM +0300, Odhiambo Washington wrote: I am using IPFilter and IPNat on several FreeBSD boxes. They are mostly configured the same. Each box has two interfaces, public and internal, and acts as a router to the LAN which is 'behind' it. The LAN machines use the FreeBSD as the gateway, as well as a DNS server. I run cache-only config. The problem I have is that when, for any reason, the public link goes down, the machines on the LAN timeout when communicating. It sound like there tying to lookup hostnames via DNS or something like this. Are you able to ping them with there ip addresses? Are you able to ping them with there host names? Ping by IP addresses works. However, I have not tried ping by hostname since I have not setup any DNS or host entries for the machines on the LAN. I did not think this is a REQUIREMENTS at all. Is it?? So is this a DNS problem that I can resolve by just using /etc/hosts entries, maybe? Does my ipnat rules look okay? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ It is said that the lonely eagle flies to the mountain peaks while the lowly ant crawls the ground, but cannot the soul of the ant soar as high as the eagle? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where is bsdnews.com?
Hi, I am trying to access bsdnews.com for this document: http://www.bsdnews.org/02/dummynet.php But the site is down. I want to refer to it for a project I am working on, to configure OS X firewall with traffic shaping. I have read the man pages anyway but I want to see an example to be comfortable. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ She liked him; he was a man of many qualities, even if most of them were bad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
host is not on local network??
Hello FreeBSD users, I am sure I can learn from the expertise available on this list! I know it has some of the best brains in networking. I have several machines on the same physical LAN, but all those machines have been sending me this output in their daily security run output for the past few days: hostname-changed.wananchi.com kernel log messages: arplookup 62.8.72.2 failed: host is not on local network arplookup 62.8.72.2 failed: host is not on local network I have asked our network engineers what they screwed up that led to these messages coming on our servers every night but they are not giving me answers, so I am looking for something to use to hit them where it matters ;) Can someone explain this to me? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Character Density, n.: The number of very weird people in the office. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Device access - /dev/ipnat
Hello FreeBSD lovers, In the current FreeBSD ports, squid-2.5STABLE10 has a patch that allows it to run without dying even though it does not have access to /dev/ipnat. This access is important where squid is running in a transparent proxy setup. I am running several FreeBSD 5.x boxes with squid in transparent proxy mode, so this problem is a big one for me. The patch seems to be a workaround, but I'd really like to give squid access to this device anyway. My thinking was that I can solve the problem of access to /dev/ipnat using /etc/devfs.conf. However, my reading of the comments in this file does not give me any clear method of achieving what I want. Am I right in my thinking that /dev/ipnat device is created on the fly in FreeBSD 5.x? As such I cannot change the permissions on it, yes? How do I solve my problem, if anyone can advise me? It will server as my first lesson with devices in 5.x. Thanks in advance. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ When we are planning for posterity, we ought to remember that virtue is not hereditary. -- Thomas Paine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I run this cron job?
Perhaps trivial How do I run a cron job at the end of every month? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ This novel is not to be tossed lightly aside, but to be hurled with great force. -- Dorothy Parker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 apache vs. apache+mod_ssl and mod_php4 dependencies.
* Joe Capali [EMAIL PROTECTED] [20050513 17:21]: wrote: Back in the day...4.9-RELEASE you were able to install apache+mod_ssl and mod_php4. Yes. Now 5.4-RELEASE requires apache as a dependency to install mod_php4 So what do you want mod_php4 for if not for use with Apache? Anyway it is not a __must__ I believe. You can install it without Apache. and fails with apache+mod_ssl already installed. So that is where you are getting this is a problem just I am having. True. It's your problem - with the approach you are taking. I would like to end up with my 4.9 config on 5.4, any ideas would be appreciated. All references are to apache 1.3. Install apache-13-modssl install lang/php-extensions #it is more modular Still I don't believe that installing mod_php4 would fail if it finds apache13-modssl already installed. There is no conflict really! -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PF aliases -- how can these be improved?
* Fafa Hafiz Krantz [EMAIL PROTECTED] [20050508 15:32]: wrote: Hey! Here are some aliases I snagged of some dood on IRC: How can these PF aliases be improved? The last one doesn't really reload PF. I need to reboot for that. alias pfdump 'tcpdump -n -e -ttt -r /var/log/pflog' alias pfmon 'tcpdump -n -e -ttt -i pflog0' alias pfreload 'pfctl -f /etc/pf.conf' man pfdump man tcpdump man pfctl http://www.openbsd.org/faq/pf/ http://freebsd.vinf.ru/doc/en/books/handbook/firewalls-pf.html -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Flappity, floppity, flip The mouse on the mobius strip; The strip revolved, The mouse dissolved In a chronodimensional skip. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-extensions php5-cli
* Gavin Cameron [EMAIL PROTECTED] [20050429 17:22]: wrote: Hi all, Is there anyway using the ports to install php5-extensions php5-cli? I've got php5-cli installed and when I try to install php5-extensions I get the error: This port requires the Apache Module for PHP, but you have already installed a conflicting PHP port without the Apache Module. *** Error code 1 Now, installing php5-cli does appears to install the Apache module cause I have a new libphp5.so in /usr/local/libexec/apache2 which correspond to the install I just did of php5-cli and apache is quite happily serving out .php files correctly. Am I doing something wrong? What is the easiest way to get php module, php CLI plus extensions installed on one machine? With php4 (and I assume this is the same with php5): cd /usr/ports/lang/php5 make WITH_APACHE2=yes install clean cd /usr/ports/lang/php5-extensions make config make install clean That has always worked for me with php4. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Even if you do learn to speak correct English, whom are you going to speak it to? -- Clarence Darrow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UPDATING on AMD Processor
PS: I asked this Q stupidly before... No wonder I did not get any responses ;) When it comes to the Intel platform, I can always find my way around, but in this one case of AMD, I am purely clueless. I don't even know what keyword to search for in the handbook, FAQ, google. Attached you will find the dmesg output of an oldish box on which I just installed FreeBSD 5.x, and I would like to: make buildworld make kernel make installworld I want to use this box as a firewall on my network. Can someone please point me to the relevant documentation that will guide me in the above process. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ WARNING TO ALL PERSONNEL: Firings will continue until morale improves. Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RC2 #0: Sun Oct 31 08:32:33 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU) Origin = AuthenticAMD Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! real memory = 134217728 (128 MB) avail memory = 121696256 (116 MB) K6-family MTRR support enabled (2 registers) npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 8 Entries on motherboard pci0: PCI bus on pcib0 $PIR: No matching entry for 0.7.INTD agp0: VIA 82C597 (Apollo VP3) host to PCI bridge mem 0xe000-0xe3ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 $PIR: ROUTE_INTERRUPT failed. pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C586B UDMA33 controller port 0xe800-0xe80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: VIA 83C572 USB controller port 0xe000-0xe01f irq 10 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem 0xe610-0xe61000ff irq 9 at device 12.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:e0:4c:45:0c:c4 pcib2: PCI-PCI bridge at device 19.0 on pci0 pci2: PCI bus on pcib2 $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. $PIR: ROUTE_INTERRUPT failed. vr0: VIA VT6105M Rhine III 10/100BaseTX port 0xd000-0xd0ff mem 0xe600-0xe6ff irq 12 at device 8.0 on pci2 miibus1: MII bus on vr0 ukphy0: Generic IEEE 802.3u media interface on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0c:42:02:16:27 vr1: VIA VT6105M Rhine III 10/100BaseTX port 0xd400-0xd4ff mem 0xe6001000-0xe60010ff irq 5 at device 9.0 on pci2 miibus2: MII bus on vr1 ukphy1: Generic IEEE 802.3u media interface on miibus2 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr1: Ethernet address: 00:0c:42:02:16:28 vr2: VIA VT6105M Rhine III 10/100BaseTX port 0xd800-0xd8ff mem 0xe6002000-0xe60020ff irq 11 at device 10.0 on pci2 miibus3: MII bus on vr2 ukphy2: Generic IEEE 802.3u media interface on miibus3 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr2: Ethernet address: 00:0c:42:02:16:29 vr3: VIA VT6105M Rhine III 10/100BaseTX port 0xdc00-0xdcff mem 0xe6003000-0xe60030ff irq 9 at device 11.0 on pci2 miibus4: MII bus on vr3 ukphy3: Generic IEEE 802.3u media interface on miibus4 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr3: Ethernet address: 00:0c:42:02:16:2a cpu0 on motherboard orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface
Re: UPDATING on AMD Processor
* Hexren [EMAIL PROTECTED] [20050425 21:48]: wrote: PS: I asked this Q stupidly before... No wonder I did not get any responses ;) When it comes to the Intel platform, I can always find my way around, but in this one case of AMD, I am purely clueless. I don't even know what keyword to search for in the handbook, FAQ, google. Attached you will find the dmesg output of an oldish box on which I just installed FreeBSD 5.x, and I would like to: make buildworld make kernel make installworld I want to use this box as a firewall on my network. Can someone please point me to the relevant documentation that will guide me in the above process. - In General http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html http://www.freebsd.org/cgi/man.cgi More special http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Incase you do not have any problems not mentioned in your email. Some people might feel it appropiate to tell you rtfm now... I did mention I am clueless on this so I don't feel bad being told anything. When I cannot even install a port on this box, I wouldn't mind shit being thrown at me ;-) cd /some/port make install - everything fails!! -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The warning message we sent the Russians was a calculated ambiguity that would be clearly understood. -- Alexander Haig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UPDATING on AMD Processor
* Hexren [EMAIL PROTECTED] [20050425 21:57]: wrote: [...] http://www.catb.org/~esr/faqs/smart-questions.html Beeing more specific helps. What error messages are there what port did you try, did system install go without errors ? Hexren, I know about all these things you are telling me. I just wanted confirmation that I can use the same procedure as I use everyday on the other CPUs I am familiar with ;-) Please cool down. I will give details when I am finally stuck. Right now I am using other methods to update the sources on this box b4 I can tell the whole world where I get stuck. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ I may not be totally perfect, but parts of me are excellent. -- Ashleigh Brilliant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I do UPDATINg in AMD Architecture?
Hello people, When it comes to the Intel platform, I can always find my way around, but in this one case of AMD, I am purely clueless. I don't even know what keyword to search for in the handbook, FAQ, google. Attached you will find the dmesg output of an oldish box on which I just installed FreeBSD 5.x, and I would like to: make buildworld make kernel make installworld I want to use this box as a firewall on my network. Can someone please point me to the relevant documentation that will guide me in the above process. TIA -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ The Pig, if I am not mistaken, Gives us ham and pork and Bacon. Let others think his heart is big, I think it stupid of the Pig. -- Ogden Nash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running PPP via crontab
Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in auto or ondemand modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Do you realize how many holes there could be if people would just take the time to take the dirt out of them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running PPP via crontab
* Andrew P. [EMAIL PROTECTED] [20050410 14:44]: wrote: Odhiambo Washington wrote: Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in auto or ondemand modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? 1 */1 * * * root /usr/sbin/ppp -quiet -ddial -nat mtu Something like this where root is the user to run ppp as (remove it in case you're not a superuser and not editing /etc/crontab), -ddial is the mode - change it to whatever you need, -nat enables nat (you can also do it from ppp.conf), and mtu is the section of ppp.conf to load. Hello Andrew, et al, I figured out I could use ppp -background sucks (where sucks is the ISP label in ppp.conf). This seems to be what I am looking for, no?? I can run it on the command line. I hope it will do same thing via cron. -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ One way to make your old car run better is to look up the price of a new model. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RFC 2005 - mounting two slices from 2 different disks to same mount point ;)
Hello Gang! On FreeBSD 5.3-RELEASE, we have mounted slices as follows: -bash-2.05b$ mount /dev/ad0s3a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3e on /tmp (ufs, local, soft-updates) /dev/ad0s3f on /usr (ufs, local, soft-updates) /dev/ad0s3d on /var (ufs, local, soft-updates) devfs on /var/named/dev (devfs, local) /dev/ad0s5 on /drive_d (msdosfs, local) /dev/ad3s1d on /tmp (ufs, local, soft-updates) /dev/ad0s3e was 500MB /dev/ad3s1d was 40GB In /etc/fstab, we specified the mount point for both to /tmp. We then wrote a 1GB file to /tmp and there was no error. The file was successfully written. Can an expert with disks tell me where the file was written? How did the system decide where to write the file? How did it select /tmp in this case? Linux guys have talked about disk spanning using the method we just tested. I am wondering the dangers I face doing such a thing!! Happy Easter to ye all!! -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Gee, Toto, I don't think we are in Kansas anymore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]