Re: CVSUP help
Hello! Im running a few FBSD systems doing a number of things from webhosting mail etcmost of the machines are Duel P3 450 w/ 512 MB ram (kinda old butohwell) My question is thisI have done a full system update of a FBSD system on a older system 4.1 FBSD..however im getting ready to update my servers (currently running 4.5 release) to the either 5.0 release or 4.7 stable. Which of these should i go to ? (personally id like to run the 5.0 seeing its suppose to have better SMP support... is this true ??) It is my understanding that SMPng is still not quite polished and given that many parts of 5.0-RELEASE still contain a lot of debugging code I doubt that you would see any performance gain. I am not a developer of course, so have a grain of salt with that. Anyhow, I in your shoes would read the Early Adopter's Guide from FreeBSD website, and then think deeply about it. Unless there is something in 5.0 that you *absolutely* can't live without, I would stay to 4.7 for now. Anywho ...the process of doing a cvsup ...has it changed or are there better methods that the guys at FBSD would recommend ? I personally wasn't even around when 4.1 was released, but since 4.3 there haven't been much changes. Maybe in the times of 4.1 they still used the make world target instead of make buildworld + make installworld as is done now... Anyway, all the details are in the Handbook, chapter 21. Have fun :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Top Secret! Burn before reading! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FW: FW: Retrieving web based mail?
The new powers that be have decided to turn of the POP2 server. There suggested alternative is a miserable web based mail access (Lotus Notes, I think, if it matters). Lotus Domino server (while being miserable indeed g) contains POP3 and IMAP server. Maybe you can persuade the admins to turn it on. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Windows NT - the world's only 80 MB solitaire game! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: remote denial-of-service in XDR encoder/decoder
Note that any statically linked applications that are not part of the base system (i.e. from the Ports Collection or other 3rd-party sources) must be recompiled. Which applications would be statically linked? This question has been asked on the list every time a SA with that notice comes out. Seems that there is no easy way to get a list of all applications that are statically linked. It is, however, quite easy to find out if a particular binary is linked statically or dynamically. For example, if you are interested in Apache: heerold# file `which httpd` /usr/local/sbin/httpd: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * What Happens if I. PPPSSS, sorry! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Interface Errors
Opps, forgot to mention that the collisions were a result of mismatched duplex settings. The switch and system are now hardcoded to 10mb full duplex and the number of collisions has not risen since. Well, by definition of full duplex there can't be any collisions, so this is not a surprise :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I`m not as think as you drunk I am... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: libdl (building Qt 3.1 from ports)
Hi! I cannot find libdl on any of the FreeBSD boxes I own, except in the Linux compat tree. Does anyone know what this library is, where to get it, why the Qt port is not building that which will provide it, and if I can somehow get by without it? Thanks. AFAIK, the functionality of libdl (whatever it is) is part of libc on FreeBSD, so you shouldn't need libdl. I met this issue a couple of months ago while compiling some code of Linux origin on FreeBSD. In that case, just removing -ldl from linker command line helped, but since we're dealing with a port here I don't know. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * RUNTIME ERROR 6D at 417A:32CF : Incompetent user To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Logging make install
Hi! If you 're building a package which is not in the ports tree using make and make install how would you log every file that gets installed in your system? I'm running FBSD 5.0 make script ./install.log make install exit That should capture the output of 'make install' in a file called install.log. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I take my wife everywhere, but she keeps finding her way back. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vinum based system
Hi! Having no experience with vinum or software RAID systems a number of questions come to mind: 1) All the examples appear to use scsi drives; but I assume EIDE are also usable? IDE seems to be pretty good these days and much cheaper than scsi. Yes, IDE drives can be used with Vinum. As to the price/quality ratio, that's up to you to decide. I myself still prefer SCSI for servers. I'd use SCSI, if the server needs to be, as you say, fairly reliable with respect to hardware failure - particularly disk drives. 2)To what extent can the system be fully mirrored? Without RAID hardware it seems to me that a conventional disk partition outside the mirrored volume is probably necessary for mounting / ; is this true? Yes. 3)If the regular partition is necessary can this be taken as a modest slice from one of the disks whose major part is devoted to the mirror volume, and perhaps the corresponding slice on the other used for swap? Yes. That's (almost) exactly what I'm doing - the corresponding slice on the other disk is used for swap and /var/tmp. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Be sure to use DEVICE=EXXON to screw up your environment. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to install 5.0 using a DAC960?
Hi Darren! My only other thought was to install from 4.X and upgrade to 5.0, but I think that would be far too messy considering their differences. We also have other machines of varying hardware to install on, but they all use DAC960 RAID controllers too. Is there a specific reason why you *have* to run 5.0? I assume that you have read the Early Adopter's Guide. FWIW, I'm happily running 4.7-RELEASE-p6 on DAC960PG (yes, mlx driver). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Life is too short to drink cheap beer. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Install To Dos Extended Partition
Hi! i have a 80 gig harddrive, and i have partitioned it to 4 drives, now i want to install my Freebsd on one of the secend drives. The first is NTFS partition, and then FAT32s. But when i go to the install screen, i only see it says the NTFS partition n the Extended partition, so how do i install it onto my extended partition?? You can't install FreeBSD to extended partition. You'll need to delete it and FreeBSD installation process will create another primary partition into the free space. Of course if some of your FAT32 logical drives already have data in them, You'll need to move it out of the way first. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Work is for people who don't know how to fish. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to determine if cpu-cache is working?
I am talking about a PII 300 MHz. The bios settings are OK for cpu-cache. The machine is slower than a PI 75 MHz. It does not look like hard disks. There is nothing in dmesg or messages that looks weird. So how can I see whether the cpu-cache memory is functioning? Could it be broken? memtest86 (www.memtest86.com) should be able to answer this. Even though it's main purpose is testing RAM, it also shows the information about L1 and L2 cache. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Shell to DOS... Come in DOS, do you copy? Shell to DOS... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cd sound on onboard card
Hi! also the CD is connected to the sound card because it does work in windows. This doesn't necessarily mean that the audio cable is connected. If you're using Windows Media Player to play audio CDs in Windows then you may be using the digital playback feature, in which case the data is read off the CD via IDE and then fed to sound card. If you can play CDs in windows using good old 'CD Player' or Winamp 2.7x (not sure about newer versions of Winamp) then we can indeed assume that the audio cable is connected. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Be sure to use DEVICE=EXXON to screw up your environment. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail 4.6 fixed binary on 4.5-RELEASE ?
Hi! But what if I use this binary replacement on a 4.5-RELEASE system ? Sendmail architecture on FreeBSD changed quite drastically between 4.5-RELEASE and 4.6-RELEASE (see /usr/src/UPDATING for details). I think that for this reason the binary update is not quite drop-in on 4.5, but I'm really no expert. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Why is it called tourist season if we can't shoot at them? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail 4.6 fixed binary on 4.5-RELEASE ?
Date: Tue, 4 Mar 2003 02:21:41 -0800 (PST) From: Josh Brooks [EMAIL PROTECTED] Format fixed (top-posting) On Tue, 4 Mar 2003, Toomas Aas wrote: Sendmail architecture on FreeBSD changed quite drastically between 4.5-RELEASE and 4.6-RELEASE (see /usr/src/UPDATING for details). I think that for this reason the binary update is not quite drop-in on 4.5, but I'm really no expert. Then why don't they have a section in the SA that deals with 4.5 ? Probably because if they would then someone would come and ask why they don't have information about 4.4. And then about 4.3. And then... and then... and then... down to and including 1.0 :-) For official word, see http://www.freebsd.org/security/#adv -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * A woman's husband's previous wife is called her 'wife-in-law.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD-SA-03:04 and postfix
Hello! Couple of questions regarding this Sendmail-related security advisory: 1. Am I right in assuming that the machines that have sendmail_enable=NONE in /etc/rc.conf are not vulnerable? How about sendmail_enable=NO? 2. On one of my 4.7-RELEASE-p6 servers, I'm running Postfix as MTA. I have NO_SENDMAIL=YES in /etc/make.conf so I don't rebuild sendmail when upgrading (which I have done many times on this machine). If I follow the security advisory by applying the patch supplied and rebuilding the system sendmail, will I end up replacing my Postfix with Sendmail? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I'd rather have a bottle in front of me than a frontal lobotomy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Updating parts of the system..
Hi! I was wondering if it was feasible to update just parts of the FreeBSD system without updating the whole thing...for instance the recent OpenSSL update - is it possible to update just OpenSSL on say a FreeBSD 4.3 box without updating the whole system? If the update is w.r.t a FreeBSD security advisory, then it is generally possible to update just the faulty part of the system. This involves downloading a patch from FreeBSD FTP server, applying it to your existing sources and rebuilding the necessary parts of the system. The exact instructions are given within the security advisory itself. HOWEVER: the patches are not guaranteed to work on a version as old as 4.3. The oldest version which seems to be currently supported by FreeBSD security officer is 4.6. Another thing to consider is that sometimes you'll need to build the entire world + kernel after applying the patch anyway. This is the case with FreeBSD-SA-03:02 (the recent OpenSSL advisory). In such case I personally find it more sensible to cvsup the sources to latest RELENG_4_X and rebuild the world + kernel from there. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Someday we'll look back on all this and plow into a parked car. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: create ftp account how?
Hi! I cannot find a way to create the ftp account on my fbsd-4.7R needed for running anonymous ftp server. A good tutorial about setting up anonymos ftp can be found in freebsddiary: http://www.freebsddiary.org/ftp-anonymous.php -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Yes means No and No means Yes. Delete all files [Y]? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Best way to log from several servers
Hi! You could write a Perl script to parse them and email them to you ... That's what I did for about 14 of my customers... I get an email daily that emails me the logs. As mentioned by Roger Vetterberg, the Real Men (tm) of course configure syslogd to have all machines to log to a central server. It's wussies like me who use some kind of e-mail solution described above ;-) You don't even have to do any scripting, because someone has already done it and the results are available in /usr/ports/security/logcheck. I have it installed on all the FreeBSD servers I'm responsible for. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Computers are not intelligent. They only think they are. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache - php problem
Hi! My apache and php has been working fine for some time. All of a sudden it gives me this error in the log; [Wed Feb 26 16:56:07 2003] [notice] Accept mutex: flock (Default: flock) and php scripts will not execute. Whatever the problem is, this is not it. Starting with I-dont-remember-exactly-which version of Apache it always gives this message. All my Apache 1.3.27 servers do it and PHP works just fine. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * This would easier understand fewer had omitted. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dd problem
Ok, I admit, most of my experience is on Solaris, but hey, I'd never expect such a command to fail on FreeBSD: # df -k Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 2064302 74140 1825018 4%/ /dev/ad0s1f 9247246 1895878 661159022%/usr /dev/ad0s1e 15483630 380750 13864190 3%/var procfs 4 40 100%/proc # # dd if=/dev/ad01sa of=/dev/ad2s1a bs=4096k dd: /dev/ad01sa: No such file or directory # What am I doing wrong? Feel like in the newbies time :/ Perhaps what you are doing wrong is using ad01sa instead of ad0s1a ? ;-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * The trouble with the global village are all the global village idiots. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Fail to boot off installation CD - pci-cfgintr?
Hi! I have a Dell Poweredge 2300/350 machine that I'm trying to install 5.0-RELEASE on via the CD. I'm getting an unusual error that my searches have revealed very little on (seems to be a problem a lot of laptop users get, although this is a 6U server). pci_cfgintr_search: linked (63) to configured irq 14 at 0:8:0 pci_cfgintr: 0:7 INTD routed to irq 14 I had a similar problem (booting halted after INTx routed to irq something message) when trying to boot an old IBM Netfinity 3500 server with the 5.0-RELEASE CD. What solved it for me was re-enabling the serial ports in BIOS, which I had disabled and removed from my 4.7 kernel. I guess that if you have some unneeded hardware which you have disabled in BIOS but which exists in 5.0 GENERIC kernel then enabling it in BIOS may help. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Why is there so much month left at the end of the money? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: hylafax / faxrcvd script / freebsd
Hi! The bin/faxrcvd works completely well from the command line, only fails when called from the hylafax server (excerpt from log below): RECV FAX: bin/faxrcvd recvq/fax00035.tif cuaa1 0067 here the script fails at line 202: $PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2/dev/null The $FILE.ps is created but not converted to $FILE.pdf. This works from the command line issued as: %ps2pdf -gsize -rresolution recvq/fax00035.tif.ps recvq/fax00035.tif.pdf I must admit I don't have a first clue about the arhchitecture of hylafax, but maybe the problem is that ps2pdf is simply not found in the path? In that case, replacing it with /path/to/ps2pdf in whichever script it is called from would help. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Nostalgia isn't what it used to be... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Question
I 'm working under linux platform (redhat advanced server with 20 web server computers): i'm wondering if i should use freebsd, what are his advantages ? Fiability ? Performances ? Network gestion ? Advocacy aside, if things work fine wit RH then why change? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Jesus has changed your life. Save changes (Y/N)? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem booting new kernel
Hi! I'm just trying to install 4.7 onto a new PC and have compiled a customer kernel so that I can get the Prism II card working. However on reboot I'm getting VIA C3 CPU CPU Class not configured guess type=wild you have wrong cpu option in your custom kernel /guess -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * ROM BASIC ERROR: Computer not found. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 still freeze status?
Hi! I subscribe to the CVS mailing list. I'm noticing all these changes in /usr/src. Is this to 5.0? How can I tell? And if it is in a frereze when will it unfreeze. If it is unfrozen I must have my cvsupfile tags wrong, is this correct? *default tag=RELENG_5_0 AFAIK, 5-STABLE branch has not been created yet. ISTR from the Early Adopter's Guide, that this will probably not happen until the release of 5.1 or even 5.2. Until then, only CURRENT branch (tag=.) will be available for upgrading 5.0. I'm sure someone will jump in if this is all wildly inaccurate :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * This message transmitted on 100% recycled electrons. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: top: nlist failed
Hi! I'm running FreeBSD 4.7 and when trying to exectute top I get the error message top: nlist failed This has never been a problem before. Has anyone else come across this and can point me in the right direction? It's in the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#NLIST-FAILED -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * How can i miss you if you won't go away? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installworld fails
Hello! I usually don't run mergemaster untill after I do a make installworld. mergemaster -p is a special case. This is meant specifically to run *before buildworld* (last time I checked), so that all the necessary changes for buildworld to complete will be done (such as the famous smmsp user account when upgrading to 4.6). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I am Pentium of Borg! Division is futile! You will be approximated! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kde3 on 300mhz / make package
Hi! I developed KDE on a P2/300 for quite some time. Run speed was fine, but compiling KDE is a little painful on this speed of machine -- but that's only really an issue if you are trying to run the latest HEAD development version of KDE. Well, here's my contest entry: I *built* KDE 3.0.5 plus XFree86 4.2.1 from ports on a P166 with 128 MB RAM. It took a week (although I must admit that since it was around new year there was this 3 day period where I just left it compiling and went off to celebrate ;-) ) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Yes means No and No means Yes. Delete all files [Y]? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xmlrpc-epi
From: Vallo Kallaste [EMAIL PROTECTED] On Tue, Feb 04, 2003 at 03:19:20PM +0200, Toomas Aas [EMAIL PROTECTED] wrote: If anyone has successfully built xmlrpc-epi ver 0.51 (http://xmlrpc-epi.sourceforge.net) under FreeBSD 4.x, I would be interested to know how. gcc -I/usr/local/include -o .libs/sample sample.o -L/usr/local/lib -L/home/xtee /lib ../src/.libs/libxmlrpc.so -Wl,--rpath -Wl,/home/xtee/lib ../src/.libs/libxmlrpc.so: undefined reference to `iconv_open' ../src/.libs/libxmlrpc.so: undefined reference to `iconv_close' ../src/.libs/libxmlrpc.so: undefined reference to `iconv' gmake[2]: *** [sample] Error 1 gmake[2]: Leaving directory `/home/install/src/xmlrpc-epi-0.51/sample' I do have libiconv-1.8_2 port installed and the build process can find it (otherwise it would complain about missing iconv.h). It's missing functions found in libiconv library. The library search path is right, try to add -liconv at the end of line, so it'll pick up the library. Thanks! Problem solved. So, in conclusion, if you need to build xmlrpc-epi ver 0.51 on FreeBSD, you need to set LDFLAGS=-L/usr/local/lib -liconv and CFLAGS=/usr/local/include (if you have libiconv installed from ports to its default location at /usr/local -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I went to a general store, but they wouldn't let me buy anything specific. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
xmlrpc-epi
Hello! If anyone has successfully built xmlrpc-epi ver 0.51 (http://xmlrpc-epi.sourceforge.net) under FreeBSD 4.x, I would be interested to know how. I'm building a server for an application which requires this, and so far I'm having no success. In a nutshell, the build process bombs out with messages: gcc -I/usr/local/include -o .libs/sample sample.o -L/usr/local/lib -L/home/xtee /lib ../src/.libs/libxmlrpc.so -Wl,--rpath -Wl,/home/xtee/lib ../src/.libs/libxmlrpc.so: undefined reference to `iconv_open' ../src/.libs/libxmlrpc.so: undefined reference to `iconv_close' ../src/.libs/libxmlrpc.so: undefined reference to `iconv' gmake[2]: *** [sample] Error 1 gmake[2]: Leaving directory `/home/install/src/xmlrpc-epi-0.51/sample' I do have libiconv-1.8_2 port installed and the build process can find it (otherwise it would complain about missing iconv.h). Other people have reported the same error at: http://sourceforge.net/tracker/index.php?func=detailaid=414397group_id=23199atid=377728 but no solution seems to be known... -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Laughing stock: cattle with a sense of humor. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: backup strategy/location holding disk
Hi! I've got 30 gigs free so far on both Raqs but that will shrink over time. It would be plenty for now perhaps to set up a holding disk on. But as it fills, it would be too small for a system wide backup. Can't add another harddrive to the raqs. So there is that old Dell server sitting there. It doesn't have an exterior scsi port for the tape drive. I could add perhaps a big IDE hard drive to it (a big scsi drive is too costly for this budget operation). Can Amanda, which I have installed now on the raq with the tape, use a 'client' or that Dell for a holding disk or does it make more sense to have the amanda server on the computer with the holding disk? The entire point of having a holding disk is to quickly pull the data to the machine with a tape drive from all over the network and then write it from holding disk to tape. The idea is that this way the tape drive can be kept streaming - it doesn't have to wait as data is pulled from each client. So, having a holding disk on a machine other than the one with tape drive kind of defeats the purpose. The holding disk is not mandatory. It helps the speed of backups if you have it, but having a holding disk smaller than the amount of data to be backed up (or even no holding disk at all) is perfectly legal. I did a quick seach of the archives about whether Amanda does differential backups and didn't find much. Is it just incremental/full? Amanda can definitely do differential backups when using dump as a backup program. I'm not sure about tar since I don't use it. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * No, `Eureka' is Greek for `This bath is too hot.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cannot fit anything on tape, bailing out ....
planner: FATAL cannot fit anything on tape, bailing out The directory I want to backup has 59GB. The tape has native 100GB and compressed estimated 200GB capacity. What is the length parameter in your tapetype? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If it wasn't for C, we'd be using BASI, PASAL and OBOL! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How much disk space is required when installing FreeBSD 4.7
Hi! I intend to make my system dual boot Windows and FreeBSD. I have shrunk the existing partition to around 3GB using Partition Magic and left just over 1GB for FreeBSD. I want to install at least an 'average user' distribution including X Windows. How should the slice be partitioned into file systems and swap space given that I will be running in single user mode? 1 GB is pretty tight if you want to run X. But it should be possible, given that I recently installed FreeBSD 4.7 + XFree86 4.2.1 + KDE 3.0.5 on a machine with 1.2 + 0.8 GB disks (of which the latter is dedicated to /home). I even rebuilt the world and compiled all the stuff from ports - this took several days on that ole' P166 :-) For that small a disk I'd recommend just creating two partitions - swap (I know everybody blindly tells you to use RAMx2, but in my experience you can get by with a *lot* less) and a / partition. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Tell me what you need, and I'll tell you how to get along without it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache 2.x conf with SSL startup problem
Hi! During the creation i was asked for a password. Apache asks for this password when it starts up. It doesn't print a request message on the screen and I don't always have physical access to the machine so i need to get the password to it some other way. Just create a private key without a passphrase, so you won't be prompted for one during server startup. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * No problem is so big that it can't be run away from. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: help understanding hostname cofig
Hi! We don't have a DNS server on site.The plan is to put the snort box between the internet firewall and the LAN. The firewall is also the dhcp server. So exactly what do we want to put for a qualified domain name?? The plan is to put the snort box between the internet firewall and the LAN. The firewall is also the dhcp server. I assume you are using RFC1918 (private) IP addresses on your LAN behind the firewall. In that case the hostname is purely up to you to invent. From the root shell, enter the following command: hostname snortbox.our.net Add a line like this to /etc/hosts: 10.0.0.1snortbox.our.net snortbox (assuming 10.0.0.1 is the IP address of your snort box) Add a line like this to /etc/rc.conf: hostname=snortbox.our.net If you want to be able to access the snort box by name from other hosts on your network, then you need to also modify /etc/hosts on these other hosts accordingly. You probably don't want to let your DHCP server to assign a dynamic IP address to your snort box. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Why is the third hand on a watch called a second hand? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make fetch, recursive-fetch, package ... etc HOWTO?
Hi! I've noticed that there are a lot of options with make for example in the /usr/ports/ collections, is there a man, howto or tutorial somewhere about this options? Amazingly enough, nobody on this thread has mentioned... ...tadamm... man ports :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Super Time-Saver now loading. Please wait To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Help about Tape Device
Hi! Can someone tell me how to configure the Tape Device if it is not identified by the FreeBSD.Or I must add options to the kernel. Mine is dds-3 12/24G internal scsi Tape device. In my experience SCSI tape drives require no special configuration of FreeBSD. You just need to make sure that the driver for your SCSI card is loaded (included in the kernel). If the adapter is found by FreeBSD but the tape drive is not, then maybe you have problems with the SCSI bus (conflicting IDs, missing termination, bad cable etc). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If you think education's expensive, try ignorance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: configuring AsanteGigianix1000TA
Hi! I think I figured out my problem, I have an onboard ethernet port10/100 sis0 and when I placed the Giganix card in it uses the name nge0. Is the problem that both devices are using a '0'(e.g. sis0 nge0)? No, this is not the problem. I don't know why sysinstall won't configure the card, but maybe you can try it from command line: ifconfig nge0 inet 10.0.0.1 netmask 255.0.0.0 (of course, use the correct ip address and netmask for your network). If something is wrong, it will at least give you an error message. If the address 'sticks', then append the following line to /etc/rc.conf: ifconfig_nge0=inet 10.0.0.1 netmask 255.0.0.0 This will make sure the address remains after reboot. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * ASCII stupid question, get a stupid ANSI! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: IPFW stateful ruleset problems on 4.7 STABLE
Hi! Jan 19 17:09:25 postfix /kernel: ipfw: 22500 Deny TCP 207.124.361.215:2345 10.10.10.10:80 in via sis0 Jan 19 17:09:26 postfix /kernel: ipfw: 22500 Deny TCP 154.951.221.81:4376 10.10.10.10:80 in via sis0 Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 158.113.207.162:55639 10.10.10.10:80 in via sis0 Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 127.113.227.62:55639 10.10.10.10:80 in via sis0 I'm not an expert on ipfw, but I did have similar problems with ipfilter: even though I used 'keep state flags S' to allow incoming connections to port 80, there were a lot of dropped packets with various flags (sans S). Nobody complained about not being able to view the website, though. I don't know what might be the cause of this. Finally, I just ceased keeping state on port 80 connections. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I take my wife everywhere, but she keeps finding her way back. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Shutdown for APC Back-UPS 350 CS
Hi! DEVICE /dev/ttyd0 I had a quick look at my apcupsd.conf and mine says DEVICE /dev/usv, where /dev/usv is symlink to /dev/cuaa0. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * When an agnostic dies, does he go to the great perhaps? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Strange tape error message
Hi! I'm building anew Amanda backup machine. I did a run last night and got messages liek: Jan 17 05:01:39 black /kernel: (sa0:ahc1:0:4:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Possibly the tape drive needs cleaning, or the tape is bad. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * No problem is so big that it can't be run away from. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Strange FreeBSD / KDE behaviour during network problems
Hi! today our company's inet falled out for a few hours. Only intranet worked. During this time I've booted my FreeBSD-STABLE (which took quite long due to ntpdate and hostname) and tried to start KDE with startx. It did not work and din't even print messages to the console. So I rebooted and tried again. Sometimes KDE started, sometimes it didn't, and other times it started very slowly. Also not all (KDE) applications could be launched. I recently set up my first FreeBSD+XFree86+KDE based desktop machine, and ISTR having similar problems when the machine was unable to resolve its own hostname. I cured it by adding relevant entries to /etc/hosts. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * What are you looking down here for? Read the message! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: syslog.conf and newsyslog.conf questions
Hi! What I need to do obviously, is get my auth.log to roll from time to time. Preferably on a monthly basis. The thing is, what, if anything, should I put in the PIDFILE and SIGNAL fields to ensure the daemon resumes logging to a new auth.log rather than continuing to log to the one that's been rolled and possibly compressed? I don't think you need to put anything into PIDFILE and SIGNAL fields for auth.log. I don't have anything specified, and the log rolls over just fine. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Top Secret! Burn before reading! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Default Permissions for /etc and /etc/mail
Can someone tell me what the default permissions were for the /etc and /etc mail folders (what chmod ### I need to use). On my 4.7 system they are owned by root:wheel, chown 755. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I'll eat anything as long as it's pizza. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Default Permissions for /etc and /etc/mail
On my 4.7 system they are owned by root:wheel, chown 755. I meant, of course, chmod 755. Doh! -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * When I read about the evils of drinking, I gave up reading. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel won't compile
Hi! I have successfully compiled a new kernel once already on a new install of FreeBSD 4.7-RELEASE. Since then, I have run cvsup and portupgrade. What did you download with cvsup? The system sources or the ports tree? Now, I need to recompile the kernel again. But, I'm running into errors. I have been following the handbook. But, apparently, I'm missing something. The way I understand the manual, you use the first method of config CUSTOM_KERNEL and if you have updated the kernel sources, you have to use the second method of make buildkernel KERNCONF=MYKERNEL. If you indeed downloaded the system sources with cvsup, then just recompiling the kernel does you no good, since you'll be left with new kernel and old userland programs, which won't work together (at least not in usable way). You need to rebuild the entire OS, as described in the Handbook chapter 21 (using make world). Portupgrade has nothing to do with it. Start Method 2 Kernel build for CUSTOM.01 completed on Thu Jan 9 00:22:57 CST 2003 -- cd /usr/obj/usr/src/sys/CUSTOM.01; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac make KERNEL=kernel install chflags noschg /kernel chflags: /kernel: Operation not permitted *** Error code 1 (ignored) mv /kernel /kernel.old mv: rename /kernel to /kernel.old: Operation not permitted *** Error code 1 This looks like the new kernel was actually compiled but installing it failed. If you haven't followed the make world procedure then the system has actually protected you from shooting yourself in the foot, because, as I said, running new kernel with old userland programs is no good. You need to build the new userland first -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * RUNTIME ERROR 6D at 417A:32CF : Incompetent user To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel won't compile
Hi! Here's what I have in cvsupfile (I'm fuzzy on what is actually going on). I just noticed that my default tag=RELENG_4_6. Should that be 4_7? I don't know where I got my supfile. I'm thinking it was part of the installation. *default host=cvsup12.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_4_6 *default delete use-rel-suffix src-base src-bin src-contrib src-etc src-gnu src-include src-lib src-libexec src-release src-secure src-sbin src-share src-sys src-tools src-usrbin src-usrsbin *default tag=. ports-all doc-all My intentions were to NOT get the kernel sources. I was just trying to stay up to date with the ports that I have installed and any system files that my get security fixes. The supfile above updates just about everything there is to update on the FreeBSD system: the system source tree, ports tree and documentation. If you only wanted to update ports, the following would have been enough: -- cut -- *default host=cvsup12.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=. *default delete use-rel-suffix ports-all -- cut -- If you don't want to upgrade the base system, you should delete everything under /usr/src and /usr/obj (make sure you copy your custom kernel configuration file from /usr/src/sys/i386/conf to somewhere else first) and re-install the original sources. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * War doesn't determine who's right. War determines who's left. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: How to get detailed information on the RAM in the system?
Hi! Earlier on the freebsd-questions list: Is there a way to find out how many memory modules are in a machine e.g. whether it is 2*1G=2G or 4*512M=2G of RAM. It shows you if you type dmesg. Its just below the processor info. CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin = GenuineIntel Id = 0x543 Stepping = 3 Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX real memory = 67108864 (65536K bytes) What in this information shows whether you have 2x32 MB or 4x16 MB memory modules? The original question was not about the total amount of memory installed. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Windws is ine for bckgroun comunicaions - Bll Gats, 192 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Redirecting root's email
Hi! I am having trouble redirecting root's email to an external email account. This is a 4.7-Release box with not very modifications done to the standard installation. When I look at /var/spool/clientmqueue, it is full of messages. Here is a snippet of one: MDeferred: Operation timed out with localhost.visimation.com. I'm not a big Sendmail expert or anything, but do you even have the MTA process running? Can you successfully telnet localhost.visimation.com port 25? What sendmail related lines do you have in /etc/rc.conf? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * All wiyht. Rho sritched mg kegboawd awound? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: upgrading to 4.7-release w/o sendmail, bind
Hi! NO_BIND= true NO_SENDMAIL= true Do also need to include NO_MAILWRAPPER= true? I don't think so. My mailserver running Postfix has been upgraded from 4.3 to 4.5 to 4.6 to 4.7, and I've never used NO_MAILWRAPPER. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Computers are not intelligent. They only think they are. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: IMAP Authentication
Hi! In addition, does anyone have a preference on the use of a pop3/imap setup for a mail server? Well, you've opened the can of worms :-) It is my understanding that UW-IMAP is not the best possible IMAP server out there. I've read about lots of security problems with it in the past. Regarding my preference - Cyrus IMAPD has always worked well for my webmail server (not using Squirrelmail, though). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If they combined country with rap, would they call it crap? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: POP3 with Web Interface Email Application
Any other applications that can acts as a web-based POP3 client? IMP. http://horde.org/imp/ Most people use it with IMAP, but it can also be used with POP3. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * It's better to be rich and healthy than poor and sick. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FTP installation from the floppies through ADSL modem with P
Date: Fri, 20 Dec 2002 11:03:25 +0200 From: Asker [EMAIL PROTECTED] What do you think about changing GENERIC or just the kernel in installation floppies in the future releases of FreeBSD? I think it will be very useful because ADSL (therefore PPPoE protocol) is very frequent method of connecting with Internet Service Provider in our days. ADSL doesn't necessarily mean PPPoE. At least here in Estonia PPPoE seems to be on its way out and the bulk of ISPs providing ADSL use just Ethernet without any PPP. P.S. FTP installation use much less internet traffic than 4 huge ISO files' downloading. There is no need to download 4 huge ISO files. All you really need is the one mini-ISO, ca 200 MB. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Those who can't write, write manuals. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 changes to /bin/sh?
The line it bitched about was something like: [ -x ${PREFIX}/sbin/thttpd_wrapper ] ${PREFIX}/sbin/thttpd_wrapper echo -n ' thttpd' I presume it was complaining about running a command in the background and then trying to use the operator to run the following command. Your diagnosis is correct. This change is even mentioned in 4.7 release notes (which I read *after* posting similar message to this list a few weeks agog). I don't know about thttpd_wrapper, but with my scripts (mysql_server.sh and pwcheck.sh) I could just remove the single and the scripts started to work OK. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * One can never know for sure what a deserted area looks like. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Need help with my new server hardware
Hi! The server has 16 4.3GB SCSII disks, and it seems to have 4 RAID controllers (when I look at the RAID configuration tool, but please correct me if I'm wrong). I haven't really seen a 520, but if these RAID controllers are IBM ServeRAID then I have a bit of bad news to you. These don't work with FreeBSD. For god knows what reasons IBM seems to prefer Linux to FreeBSD so Linux drivers are available but not FreeBSD. Regarding your specific hardware questions, have you tried www.ibm.com? ISTR that quite a lot of information can be found there even for older models, but it takes a lot of digging. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * @dress: A garment worn by some people when emailing at home. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Net connection problem: sis, miibus
Hi! I have never used sis-based network adapter, so I skip the miibus stuff (it seems very weird indeed) Also, one last thing, ifconfig says the sis is using full-duplex. Is that ok, if maybe not the other side can handle full-duplex? If the other side cannot handle full-duplex, then this is definitely *not* OK, and duplex mismatch can cause exactly the behaviour that you described. What is in the other end of the connection? Anyway, try forcing the sis to the speed and duplex settings that match the other side and see if the problems go away. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * 'Ome is where you 'ang your @ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
unexpected in sh scripts after upg to 4.7
Hello! Given the latest security advisory about 'resolv', I decided to upgrade my FreeBSD 4.6.1-RELEASE-p10 server to 4.7-RELEASE-p1 via the usual cvsup and buildworld magic. Everything else seems to have gone fine, but to my surprise after upgrading two of the ports using scripts in /usr/local/etc/rc.d to start didn't. One of them is MySQL server. It is started via /usr/local/etc/rc.d/mysql-server.sh script, which looks like this: --- #!/bin/sh case $1 in start) if [ -x /usr/local/bin/safe_mysqld ]; then # THE BELOW IS ACTUALLY ALL ON ONE LINE /usr/local/bin/safe_mysqld --user=mysql /dev/null echo -n 'mysqld' # THE ABOVE IS ACTUALLY ALL ON ONE LINE fi ;; rest of the script snipped as irrelevant --- I determined from ps output that mysqld is not running. Then I tried to run '/usr/local/etc/rc.d/mysql-server.sh start' from the command line, and got the error message 'Syntax error, unexpected ' (I write this from memory, so the message is not exact but the meaning is). This mysql-server.sh script has been there since the server was originally installed and it has never been touched. The server has been upgraded from 4.3 to 4.5 to 4.6, and now this. For now I just broke the one line which caused the problem into two: /usr/local/bin/safe_mysqld --user=mysql /dev/null echo -n 'mysqld' but this just isn't right. The other script which doesn't start is pwcheck.sh (I think this is installed as part of Cyrus SASL or IMAPD, not sure exactly what it is used for g). The start line there also contains the ' ' sequence: ${sasl_pwcheck_program} echo -n pwcheck How should I really correct the problem (the shotgun approach would probably be to upgrade the relevant ports to latest, but I'm looking for something lighter). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Jesus has changed your life. Save changes (Y/N)? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Installation of FreeBSD using volume manager
Hi! I would like to ask you if is possible, and after which version, install FreeBSD using virtual disks (like Veritas Volume Manager or VINUM). Is this possible? It seems that Greg Lehey hasn't got the time to read lists right now, so I'll just chime in and say that TTBOMK it is not possible to have root partition on vinum volume, at least in FreeBSD 4.x. It seems to me that this is kind of chicken-and-egg problem - if the support for vinum volumes is implemented as a module (vinum.ko), then you need to load this module before you can access the logical volume. Hence, vinum.ko itself can't be on a vinum volume :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * ASCII stupid question, get a stupid ANSI! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail server
Hi! I need help (how to) to install MAIL SERVER: 1. On this network without connection to Internet (only in local network), 2. and than on the same network connected to Internet via FreeBSD server (which included Mail Server, Firewall, Router...). This is not the answer to all your questions, but just a suggestion. If you're just starting out with mail serving, you might consider some alternatives to Sendmail that are easier to set up. I'm not suggesting anyting specific *grin* so as not to start a flamewar, but I'm using Postfix myself and find it very easy. The basic configuration is just one text file which contains lot of helpful comments about all the options you can set. Postfix can be installed from ports (/usr/ports/mail/postfix) and it can replace existing Sendmail on FreeBSD without breaking anything that depends on Sendmail. More informaion can certainly be found on www.postfix.org -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * When I read about the evils of drinking, I gave up reading. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ircd and dns
Hi! hi, i would like to know how ircd check for dns ? i have this error Couldn't resolve your hostname; using your IP address instead but if i try to nslookup all is good it s only with ircd anyone has already had this matter and solve it? How do you use nslookup? If nslookup 'yourhost.yourdomain.com' gives IP address 12.34.56.78, then that's only half of what's needed. 'nslookup 12.34.56.78' must also give 'yourhost.yourdomain.com' (ideally) or at least *some* domain name. BTW, 'nslookup' is deprecated, 'host' and/or 'dig' is recommended instead. But that doesn't help you with your problem. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * How much net work could a network work, if a network could net work? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache will not start on new setup
la# apachectl start /usr/local/sbin/apachectl start: httpd could not be started la# Apart from configtest are there any other ways to investigate this problem? Have you checked Apache's error_log? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * What happens if you get scared half to death twice? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can't connect to DNS servers -- Firewall prob?
Hi! I tried a simple ping to the IP address of the nameserver and am getting this: # ping 66.135.144.2 PING 66.135.144.2 (66.135.144.2): 56 data bytes ping: sendto: No route to host I looked at my /etc/rc.conf and there's only one line related to router or gateway: gateway_enable=YES Is there supposed to be other parameters here? The default gateway should also be defined: defaultrouter=IP address of your default gateway -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * The human brain is the apparatus with which we think we think. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recovering vi editor sessions????
Hi! Recently I have noticed some strange behavior when booting up my FreeBSD 4.7 stable system. At the very end of the boot sequence I get the following message: recovering vi editor sessions: After a few moments the sytem suddely informs me that sendmail cannot resolve its hostname. I hit Ctrl-C and the system completes the boot sequence in a normal fashion. I tried searching the mailing list archives but there does not appear to be any sort of reference to this type of behavior. I looked through the scripts in /usr/local/etc/rc.d for any reference to this sort of thing and I found nothing. Strangely enough, I do not have sendmail enabled on my system, in fact, I specifically inform the system not to build sendmail when I do a buildworld. Well, somehow sendmail still manages to (attempt to) get loaded. If you don't update sendmail during buildworld then it may be the version that got installed when you first installed FreeBSD. Is there a sendmail_enable line in /etc/rc.conf? What the error message tries to tell you is that your IP address cannot be resolved to DNS name. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Ambivalence may or may not be my problem. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SMP problems
Also, in `top', sometimes under the STATE column it will display 'CPU0 or CPU1. Speaking of top, the 'C' column shows wheter the process is running on CPU0 or CPU1 -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * The secret of the universe is @*^^^# NO CARRIER To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Amanda FreeBSD: gtar must be run as operator
Hi! Where are you setting what user amdump gets run as? That depends on how you start amdump. If you do it with cron (as 99% of people do, I think) then you specify the user in /etc/crontab (if using systemwide crontab) BTW, Amanda has its own mailing list which was pretty good, last time I checked. You find details at www.amanda.org. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Bugs are Sons of Glitches! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Amanda FreeBSD: gtar must be run as operator
Hi! error [must be invoked by operator] Well, your message missed an obvious bit of information - is amdump invoked as user operator? If not, who does it run as? To work correctly, most of the Amanda stuff wants to run as user AMANDA_USER, which in FreeBSD port is set to operator, IIRC. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * What are you looking down here for? Read the message! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Webalizer undefined symbol problem
Hi! heerold# webalizer -p -c /usr/local/etc/webalizer.my.conf /usr/libexec/ld-elf.so.1: /usr/lib/libgd.so.2: Undefined symbol jpeg_destroy Do `find /usr/ports -name pkg-plist -exec grep -l libgd* \;` This will find all ports that may got your file in there list. If one or more port come along that you have installed on your system then rebuild it. (Assuming you got portupgrade installed) `portupgrade -f port` If this doesn't work do `find / -name libgd*`. If you find a file named like libgd.so.number some where on you file system make a link to it. Are you hinting that the gd library is not actually installed on my system? I don't think this is the case, because when installing webalizer, the following is printed on the screen: === webalizer-2.1.10_1 depends on shared library: gd.2 - found Also, libgd.so.2 lives in /usr/local/lib and libgd.so is symlinked to it. I think there's something else going on here... -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Money is the root of all evil. For more info send $39 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Repeated error from cd after 4.6 installed (i386)
Hi! I got this problem after installation of FreeBSD 4.6 on an intel P75 system. acd0: READ_BIG command timeout - resetting ata1: resetting devices .. done It has been said that a lot of these problems were fixed in 4.6.2. Probably as good a time as any to upgrade to 4.7. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * What Happens if I. PPPSSS, sorry! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mergemaster problem
Hi! Date: Tue, 22 Oct 2002 11:57:44 -0700 From: Kent Stewart [EMAIL PROTECTED] Subject: Re: mergemaster problem [... about upgrading the world ...] If they fix a security related buffer overflow problem in one of the system libraries, you need to update all ports that use that library. Isn't that the case only with statically linked binaries? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Yes means No and No means Yes. Delete all files [Y]? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: apache prob
Hi! i get this error [error] [client oneip] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): then my httpd start running 100 process and no site are available, is there a way to fix this ? Sounds like you are being attacked by the Slapper worm. The easiest way to avoid this would probably be to use a firewall to block out the offending machines. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Drive A: not responding...Formatting C: instead. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
IPFilter and Apache
Hello! I tried searching freebsd and ipfilter mailing list archives, but didn't find the answer to my question. I'm running Apache 1.3.27 web server on FreeBSD 4.6.1-RELEASE-p10 (all security patches applied). I also use IPFilter on this machine to block unwanted traffic. To let the world see my web, I use this IPFilter rule in the ruleset: pass in quick on fxp0 proto tcp from any to 194.126.106.98 port = 80 flags S keep state keep frags Everything seems to be working OK and I haven't heard any complaints about the web server being unreachable, but still I see a lot of blocked traffic on port 80. For example: ... most commonly, incoming packets with AF flags ... Oct 17 17:22:53 heerold ipmon[51]: 17:22:52.119983 2x fxp0 @0:22 b 195.250.169.2 2,1070 - 194.126.106.98,80 PR tcp len 20 40 -AF IN ... sometimes incoming packets with R flag ... Oct 17 18:10:11 heerold ipmon[51]: 18:10:11.223164 fxp0 @0:22 b 195.250.169.22,1064 - 194.126.106.98,80 PR tcp len 20 40 -R IN ... and ocasionally even outgoing packets! ... Oct 18 08:38:05 heerold ipmon[51]: 08:38:05.086333 fxp0 @0:32 b 194.126.106.98,80 - 213.219.109.38,62481 PR tcp len 20 44 -AS OUT The goal of my ruleset is, of course, to let through the minimum needed for Apache to work correctly and block the bogus packets even if they are destined for port 80. However, the amount of blocked packets leads me to think that the ruleset might be too strict. What would be the correct things to let through on port 80 for Apache to work correctly? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Radioactive cats have 18 half-lives. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: running postifx and qpopper in jail
Hi! Well, it should be localhost, but on on the localhost, the jail, postifix does not start. Well, fetchmail is running, but without postfix i cant use it ;). The problem of Postfix not starting in jail was discussed recently on the list. IIRC, you need to remove 'localhost' from inet_interfaces line in main.cf. There is no loopback interface in the jail. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If Windows sucked, it would be good for something. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to upgrade from 4.3 to 4.7
From: Michael Vince [EMAIL PROTECTED] To:Alvaro Rosales R. [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: How to upgrade from 4.3 to 4.7 Don't let any tell you that you can buildworld to 4.7 from 4.3, my situation was actually from 4.3 to 4.5 or 4.6 actually and that still didn't work, Like I said its in the errata somewhere. I distinctly remember successfully upgrading one server from 4.3-RELEASE to RELENG_4_5 via cvsup/buildworld earlier this year. 4.7 might be somewhat more difficult, of course. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Cross country skiing is great if you live in a small country. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
re: ipfw rules
I am able to use cvsup with our firewall. The problem is when actually trying to install the software using the make command since the make command tries to fetch the source tarball from a remote server using ftp. If you have a proxy server running, try putting FETCH_ENV variable into /etc/make.conf (see /etc/defaults/make.conf for example) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If it wasn't for C, we'd be using BASI, PASAL and OBOL! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Modem
Hello! I know this is a common question but i need some help configuring a Conexant-Ambit SoftK56 Data, ICH Modem on my Sony VAIO GRX570. The word 'Soft' in the name of the modem leads one to believe that this is so-called 'winmodem': a modem without hardware DSP, which relies on OS doing a lot (all?) of the actual modulation-demodulation work. If this is the case, it is highly unlikely that you can use this modem with FreeBSD. Softmodems are targeted mainly to Microsoft Windows and several of them can also be used with Linux, but only some Lucent softmodems can be used with FreeBSD, AFAIK. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Feeling compressed ARJ you? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Good Job, Thanks
Last night I used the nfs mounted /usr/src /usr/obj capability to build 4.7-RC on my dual 1Ghz PIII and installed it on my wimpy AMD-K6 300 this morning. It worked flawlessly. The alternative was to wait something like 3 weeks for the K6/300 (w/ only 64M RAM) to finish buildworld / buildkernel. Would it really take 3 weeks? I have built world several times on PII 233 (albeit with dual cpus and 192 MB RAM) and it has only taken hours (can't say exactly how many, but would guesstimate less than 8) What you did is cool ofc. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Coffee -- n., a person who is coughed upon. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /var/spool/uucppublic
Hi! But he shouldn't get the idea that he doesn't need the uucp user and group, like I did (after reading that you shouldn't have users you don't need). OS upgrade goes awry. There IS a make.conf thing NOUUCP=true, but I haven't tried it yet, so can't say how well it works. I have tried it and can at least say that it has caused no problems to me. Upgraded from 4.6-RELEASE to RELENG_4_6. Mergemaster notified me that /etc/uucp and some uucp-related scripts in /etc/periodic/ exist only on old system so I deleted these once the upgrade was complete. I still left the uucp user and group intact, though. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I went to a general store, but they wouldn't let me buy anything specific. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: system update
Hi! the other question i have is what are the differnence between these two processes: config GENERIC cd ../../compile/GENERIC make depend; make; make install This is what you would do if you want to re-compile the generic kernel. Since the generic kernel is already on your system, doing that doesn't make much sense. If you need to customize your kernel, it is recommended that you copy GENERIC to some other file, for instance CUSTOM, make changes to that file and build new kernel from that instead of GENERIC. as oposed to a the build world process? The build world process rebuilds not only the kernel but the entire operating system. when would you perform one over the other? Re-compiling the kernel is what you would do if you want to change the kernel on your existing version of FreeBSD, for example add support for hardware which is not supported by GENERIC kernel. Building the world is what you typically do if you want to upgrade the entire FreeBSD operating system to newer version. Before building world you generally get the sources for new FreeBSD version with cvsup. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Press any key to continue or any other key to quit. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to restore 'getty'
Hello! I've been searching the google group without finding anything on this subject. I must be using the wrong keywords, because I remember (vaguely) seeing someone post a year or so ago how to restore something in usr.bin or usr.sbin. Well, I'll keep on trying. Section 21.4.14 of the handbook has this advice: --- If things went slightly wrong, it is easy to rebuild a particular piece of the system. For example, if you accidentally deleted /etc/magic as part of the upgrade or merge of /etc, the file(1) command will stop working. In this case, the fix would be to run: # cd /usr/src/usr.bin/file # make all install --- I've lost the beginning of this thread, so I apologize if this is what you already tried. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I haven't lost my mind; I know exactly where I left it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Need a solution
Hi! I've got a slight quandary. I need a FreeBSD/*nix solution to a Microsoft Exchange server. Lotus Domino is available for Linux and some other unices. ISTR that couple of years ago the Linux server was even free, but you have to pay for clients. I don't know how the prices compare to Exchange solution. I haven't heard of anyone successfully running Domino on FreeBSD, though (even with Linux emulation). -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Would a fly without wings be called a walk? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: where's sasl.h?
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl cyrus-sasl is installed. But no /usr/src/contrib/sendmail/src/sasl.h Any suggestions? I also have cyrus-sasl installed, and sasl.h is in /usr/local/include/sasl. I believe that newer versions of cyrus-sasl port place it into /usr/local/include/sasl1 -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * You have, of course, just begun reading the sentence that you have just finished reading. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message