/stand/sysinstall core dump
When I was installing 5.0 Release, the installer hung when it was detecting my SanDisk card reader. I unpluged it and restarted the installation, and everything worked fine. Now when I try to run /stand/sysinstall it core dumps when I have my card reader plugged in. uanme: FreeBSD warrior.bomar.us 5.0-RELEASE FreeBSD 5.0-RELEASE #5: Sun Jan 19 18:16:47 CST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Warrior i386 -- /\ | Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob | || | FreeBSD: The Power to Serve. http://www.freeBSD.org | \/ msg17478/pgp0.pgp Description: PGP signature
Re: restricting user's directory listing and changing
Greetings. Basically, I have this group of users, that I give SSH/SFTP access, but I don't want them to be able to see the complete file hierarchy and ``cd'' to them. I just want a user to be able to access the user's home, and that's it. I looked up some docs on the shell(tcsh) and sshd, but didn't find anything apppropriate. Has anyone wanted to do this before? I was thinking, or maybe I could redirect that group of users to use a different version of the command ``cd'' and ``ls'' so that it will only work within their home directories. Thought of jail too, but jail only jails processes, and these guys aren't really running processes, just file access. Any ideas? Thanks in advance. __ Jay Sern Liew Dear Jay, There seems to be some sort of patch available @ http://chrootssh.sourceforge.net which may fitt your needs. I haven't tried it myself yet but i hope it works. -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: BIND 9.2.2rc1 installation confirmation?
On Wed, Jan 29, 2003 at 11:45:17PM -0500, Jamie wrote: It required OpenSSL 0.9e or higher which I was able to get to install with make; make install. Then I continued with another attempt at BIND. I finally finished with the installation but now I can't seem to find a way to confirm that BIND is properly installed and running. When I start it, it does not report the version as the docs seem to indicate it should. Also, running Top doesn't show anything like BIND or named or anything else that reasonably indicates that I've succeeded in starting it. Maybe I'm not starting it correctly. Can someone please provide me with the official syntax? The process you want to see is 'named'. It won't start up automatically when you install the Bind 9 port -- you'll have to start it yourself from the command line, and arrange for it to be restarted automatically on reboot. To start bind by hand (as root): # /usr/local/sbin/named -c /etc/named/named.conf -u bind To see if it's running, as well as checking in the process table: % ps -axwww | grep named 100 ?? Is 0:40.24 /usr/local/sbin/named -c /etc/namedb/named.conf -u bind you can check for processes listening on port 53: % sockstat | grep :53 bind named 1004 udp4 81.2.69.218:53*:* bind named 1005 tcp4 81.2.69.218:53*:* bind named 1006 udp4 127.0.0.1:53 *:* bind named 1007 tcp4 127.0.0.1:53 *:* or % netstat -an | grep '\.53' tcp4 0 0 127.0.0.1.53 *.*LISTEN tcp4 0 0 81.2.69.218.53 *.*LISTEN udp4 0 0 127.0.0.1.53 *.* udp4 0 0 81.2.69.218.53 *.* Bind 9 is fairly picky about the syntax of it's configuration and zone files. If it finds a problem it will generally log an explanation to /var/log/messages and then silently quit. You'll need to make sure that you have corrected any errors before it will start properly. A particularly problematic thing is the $TTL record that seems to be required in all zone files nowadays. Another gotcha that may catch you on FreeBSD is that Bind 9 doesn't understand the '-g' flag as used by default with the system supplied Bind 8. You'll need something like this in /etc/rc.conf in order to startup Bind 9 automatically on boot up: named_enable=YES named_flags=-c /etc/namedb/named.conf -u bind named_program=/usr/local/sbin/named Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ooops.
Quoting Bill Moran [EMAIL PROTECTED]: I've been quietly following this thread since it started and ... I can't reproduce this behaviour. I've created and deleted I don't know how many test directories and symlinks and I can't get it to do what you're claiming it did. As root, try copying directory from one disk to another, then rm -rf directory from the copy. That seems to be what the two recent examples have in common. The only difference between the two experiences is that I was able to remove (eg) the copied bin directory without affecting the original, but suffered when trying to remove the copied home directory. I assumed (perhaps incorrectly) that the symlink attached to home was the cause. He's absolutely correct. Without the _exact_ command that you used, it's going to be very hard to figure out what went wrong. Are you using a shell that keeps a command history (i.e. bash)? If so, can you get us the exact command that you issued? Yes - use tcsh as root. Unfortunately the history only goes so far back and lots has happened since. Sorry. However, I'd be prepared to swear on a (small) stack of bibles that the command I issued was: rm -rf home This removed /slash/var/home from /dev/ad2 as I wished, but also removed the original /usr/home on /dev/ad0. I had RTFM because I knew rm was very powerful and that undeletion was impossible. -rf is all that is required to delete a directory and any subdirectories therein, is it not? -- Brian --- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
apache+ssl-1.3.27.1.48_1 has missing libssl.so.2
I just installed the apache+ssl-1.3.27.1.48_1.tgz package on my 4.7 box and the damn thing wont start...has this error message. # httpsdctl start /usr/libexec/ld-elf.so.1: Shared object libssl.so.2 not found /usr/local/sbin/httpsdctl start: httpsd could not be started find / -name libssl.so.2 turns up nothing as its not on the system. i have installed three different openssl packages from the ftp.freebsd.org/ server and cant find the needed lib. i have even removed the apache+ssl app and openssl port so i could try to add back apache by # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-current/www/apache+ssl-1.3.27.1.48_1.tgz because usually adding packages this way, the deps get dowloaded automatically. as you can see below it only d/l the apache port. i have apache+mod+ssl on another mache but this is the newer one out and apache recommends it instead of the mod version. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-current/www/apache+ssl-1.3.27.1.48_1.tgz... Done. thanks in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
apache
I just installed the apache+ssl-1.3.27.1.48_1.tgz package on my 4.7 box and the damn thing wont start...has this error message. # httpsdctl start /usr/libexec/ld-elf.so.1: Shared object libssl.so.2 not found /usr/local/sbin/httpsdctl start: httpsd could not be started find / -name libssl.so.2 turns up nothing as its not on the system. i have installed three different openssl packages from the ftp.freebsd.org/ server and cant find the needed lib. i have even removed the apache+ssl app and openssl port so i could try to add back apache by # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-current/www/apache+ssl-1.3.27.1.48_1.tgz because usually adding packages this way, the deps get dowloaded automatically. as you can see below it only d/l the apache port. i have apache+mod+ssl on another mache but this is the newer one out and apache recommends it instead of the mod version. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-current/www/apache+ssl-1.3.27.1.48_1.tgz... Done. thanks in advance. sorry forgot to mention this package also does not provide any startup scripts as the other did.whats the proper way to start the server? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail directory ownership changed
On Fri, Jan 31, 2003 at 07:55:24PM -0600, Joey Teel wrote: A few days ago I started getting errors in my syslog saying that sendmail couldn't write to the mail directories, on inspection of the permissions, I discovered that all the mail directories had been changed to be owned by my personal UID and GID Can someone tell me what the proper permissions should be on the mail directories used by sendmail for it's queue? Take a look at the mtree(8) man page, and then try this: # cd /var # mtree -eU -f /etc/mtree/BSD.var.dist # cd / # mtree -eU -f /etc/mtree/BSD.sendmail.dist Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 2.7-RELEASE - Where are cvsup example files?
On Fri, Jan 31, 2003 at 11:00:06PM -0800, joe mcguckin wrote: What happened to the example config files that used to live In /usr/share/examples/cvsup ? Errr... I hope you mean 4.7-RELEASE --- I don't think there was ever a 2.7 release, although there was a 2.2.7 one upon a time. As I remember, the cvsup example files were accidentally left out of 4.6-RELEASE, but that was corrected very quickly and they've been in all subsequent releases. See http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/cvsup/ for the CVS entries. If you've got the full system sources installed, you'll find copies in /usr/src/share/examples/cvsup, or you can use cvsup to pull down good copies. To solve the chicken-and-egg problem I've just posed you, use this sup-file: *default host=cvsup3.freebsd.org # Choose a server that's close *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_7 *default delete use-rel-suffix src-all 'tag=RELENG_4_7' will get you the latest patchlevel of 4.7-RELEASE. 'tag=RELENG_4' will get you the latest 4-STABLE. 'tag=RELENG_5_0' will get you 5.0-RELEASE and 'tag=.' will get you the latest 5-CURRENT Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Error while compiling kernel.
I'm trying to compile a new kernel on my 4.7-STABLE. This is what I get: /usr/src/sys/modules/umass/../../dev/usb/umass.c:380: syntax error before `{' /usr/src/sys/modules/umass/../../dev/usb/umass.c:383: warning: no semicolon at e nd of struct or union /usr/src/sys/modules/umass/../../dev/usb/umass.c:426: syntax error before `}' *** Error code 1 Stop in /usr/src/sys/modules/umass. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 What should I do about this problem? TIA. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Resizing partions
On Fri, Jan 31, 2003 at 08:40:32PM -0500, stan wrote: I've got a laptop that I originaly partioned inot a windoze, and FreeBSD partiton. I'm going to upgrade this unit this weekend, and I wnat to concatenate the 2 partions. Is there a way to do this? (Yes, it's the m$ parition I'm nuking). The easiest way to do what you want is to back-up all the files and stuff you want to keep from your existing FreeBSD and Windows installations, and then just re-install FreeBSD over the whole disk. That will give you one fdisk(8) slice (ad0s1) containing the FreeBSD disklabel(8) partitions (ad0s1a, ad0s1b etc.) If you haven't got the resources to back-up all your stuff, you can just convert your windows slice to a FreeBSD slice, create a FreeBSD partition taking up the whole slice and mount it at an appropriate place in your filesystem. You can use fdisk(8), disklabel(8) and mount(8) to do that, but you'll probably find it easier to use /stand/sysinstall -- just take care that you don't accidentally re-initialise your existing FreeBSD partitions. If your windows slice happens to lie immediately following your freebsd slice, then it is in theory possible to rewrite Sector 0 of your disk so that the two slices are merged, and then extend the last FreeBSD partition to fill up the added space. However, that's a very tricky operation with a high risk of trashing your system, so you shouldn't do it unless you've got good backups of everything. Of course, if you've got backups then your best option is just to reinstall, and then recover the backups over the newly installed system, taking care to preserve files like /etc/fstab. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Crossoveroffice
Hi guys! Has anyone installed crossoveroffice on FreeBSD. I´ve get the problem needing glibc 2.1. When i do a search in the prots i only find a japanese glibc. Any ideas how to solve the problem? Thanks ... Alex Huth To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Error while compiling kernel.
Device scbus was and is in my kernel config. A few days ago I compiled it without a problem. On Sat, 1 Feb 2003 13:18:27 + Danny Pansters [EMAIL PROTECTED] wrote: On Sat, 1 Feb 2003 12:40:55 +0100 Sergey Niunco [EMAIL PROTECTED] wrote: I'm trying to compile a new kernel on my 4.7-STABLE. This is what I get: /usr/src/sys/modules/umass/../../dev/usb/umass.c:380: syntax error before `{'/usr/src/sys/modules/umass/../../dev/usb/umass.c:383: warning: no semicolon at e nd of struct or union /usr/src/sys/modules/umass/../../dev/usb/umass.c:426: syntax error before `}'*** Error code 1 Stop in /usr/src/sys/modules/umass. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 What should I do about this problem? Have device scbus in your kernel config. Umass needs it. HTH, Dan TIA. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Ricin Radio! http://www.mp3.com/stations/ricin_radio To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Resizing partions
On Sat, Feb 01, 2003 at 11:45:50AM +, Matthew Seaman wrote: On Fri, Jan 31, 2003 at 08:40:32PM -0500, stan wrote: I've got a laptop that I originaly partioned inot a windoze, and FreeBSD partiton. I'm going to upgrade this unit this weekend, and I wnat to concatenate the 2 partions. Is there a way to do this? (Yes, it's the m$ parition I'm nuking). The easiest way to do what you want is to back-up all the files and stuff you want to keep from your existing FreeBSD and Windows installations, and then just re-install FreeBSD over the whole disk. That will give you one fdisk(8) slice (ad0s1) containing the FreeBSD disklabel(8) partitions (ad0s1a, ad0s1b etc.) Yhanks, I geuss I should do this, (the backup reinstall), but i'm trying to get it doen over the weekend. I was hoping to find a free tool like partition magic, I guess that there is no such tool? I looked a GNU parted, and it did not look like it was ready to do this for FreeBSD (yet ?). -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
avifile distfile
Hi, The distfile for ports/multimedia/avifile is not available on the sites listed by the ports tree. It is still available on the web. Try http://www.filesearching.com/ or http://www.alltheweb.com/ (and use ftp files mode) HTH, BP __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
BIND 9.2.2rc1 installation confirmation?
I'm really new to UNIX. Please be gentle with me. I've chosen to run BIND 9.2.2rc1 as advised by someone on the BIND mailing list. I can only hope that I installed it properly. It required OpenSSL 0.9e or higher which I was able to get to install with make; make install. Then I continued with another attempt at BIND. I finally finished with the installation but now I can't seem to find a way to confirm that BIND is properly installed and running. When I start it, it does not report the version as the docs seem to indicate it should. Also, running Top doesn't show anything like BIND or named or anything else that reasonably indicates that I've succeeded in starting it. Maybe I'm not starting it correctly. Can someone please provide me with the official syntax? -Jamie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
pc-card modem setup, device, ppp.conf
I just installed FreeBSD 4.7 on my HP OmniBook 4150 laptop and everything runs well. I have an external modem that I connect to the COM1 port (/dev/cuaa0) and I'm able to phone to my ISP without a problem. This laptop came with a pc-card modem that I'd like to get working, so that I don't have to drag around the external. It's a Xircom RealPort Ethernet 10/100+Modem 56 As near as I can tell, the system supports and recognizes this card (I get beeps and useful looking messages whenever I insert or remove it). However, It's not clear to me what device it's associated with. I'm thinking that If I knew the device, all I would have to do is change the line set device /dev/cuaa0 in my ppp.conf file to reflect the pc-card device and everything would work. Is there more to it than this? All the literature I've been able to find on PPP just talks about serial communications. I have no experience with pcmcia devices. Any input would be greatly appreciated. Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
no Qt == no aviplay
configure of avifile says: configure: warning: *** Could not find usable Qt (headers and libraries) on your system! *** If it _is_ installed, delete ./config.cache and re-run ./configure, *** specifying path to Qt headers and libraries in configure options. *** Switching off Qt compilation! The resulting build does not produce aviplay. Yes, running portinstall qt fixed it but that should not have been necessary if the dependencies were properly listed by the port. My ports tree is being rebuilt from scratch (i.e. pkg_delete -a and then install the portupgrade port by hand and use that to install everything else) Please update your dependencies. Please track your dependencies from clean builds (i.e. systems with no ports installed.) This issue is not limited to avifile. Possibly chroot(8) could be used to simulate having no ports installed for testing purposes. A port that could build a chroot environment for testing purposes would be cute. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multiple solutions for a problem (Re: How to map bad sectors on IDE?)
Marc Schneiders [EMAIL PROTECTED] writes: Your advise sounds perfectly sound for IBM and Microsoft and the Pentagon. But for a home or small office situation, there might be another way to deal with it? Especially since we are not talking about something 10 years old or heavily used in a mailserver. The disk is *already* suffering from massive failure. You are more or less *guaranteed* that it's going to get worse, quickly. badsect(8) is still part of FreeBSD, but on disks less than (coincidentally) about 10 years old, it's pretty much useless, because sectors are going to continue going bad so quickly. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to map bad sectors on IDE?
John Mills [EMAIL PROTECTED] writes: out of circulation. 'apropos badblocks' and 'man fsck' failed to suggest such a function in fBSD, but it might be worth more looking. badsect(8) Why is it radical? After all, IDE disks already do bad-block remapping internally, so you've built up a *lot* of bad sectors already if they're starting to become visible to the operating system... Does fBSD's file system creation make sure that all blocks of a newly created file system are in fact usable? I would be surprised if there were no cross checks in the formatting/partitioning/fs-creation path. If the bad blocks weren't linked in the new filesystem, they would have become invisible for practical purposes. newfs doesn't make any such attempts any more, *because* the hardware has already done it for them. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SpamAssassin
Greetings, Is there anyone that has a simple set-up guide for Spam Assassin? I've installed it from the ports, but have no idea where to go next. Checking the web has only brought me documents which further confuse me. Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Tomcat's dogging me...
Hi, Okay, after many hours I have tomcat installed and I can connect to it's webserver. Unfortunately, I want to connect to to Apache and have it hand off the requests to tomcat. Here's the background and the most current glitches... FreeBSD 4.7-RELEASE Jakarta-Tomcat 4.1.12 Apache 2.0.43 jdk1.2.2 mod_jk-3.3-ap20.so // does this even work with tomcat 4?? ...and probably other things that I already forgot about. Okay, after adding the following lines to my httpd.conf, LoadModule jk_module libexec/apache2/mod_jk-3.3-ap20.so AddModule mod_jk.c # why is this here? Isn't this compile-time stuff? JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] when I try to start apache, I get: Syntax error on line 277 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/mod_jk-3.3-ap20.so into server: Shared object libc.so.6 not found The catch is libc.so.6 is on the system. The mod_jk that I got was the binary, and I got it as binary on the recommendation of the documentation on jakarta.apache.org. It's my guess, that the binary doesn't know where to look for the shared object. Can someone advise me on what to do here? There seem to be huge inconsistencies between the online documentation at jakarta and what you get when you acquire the software or the behaviors of the software. Has anyone else noticed this? E.g. saying some files are in the distibution when they aren't... Also, I am interested in perusing the most basic functional configuration file for Tomcat. I tried to build my own by walking through the documentation, but I never got Tomcat to run correctly. If you have a simple, hand built file that you'd like to share, I'd love to look at it. This installation has been so plagued with problems. Any assistance is greatly appreciated. Thanks, Rich. | Rich Fox | [EMAIL PROTECTED] | 86 Nobska Road | Woods Hole, MA 02543 | MA 508 548 4358 | VA 703 201 6050 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
oh my god the nasa shuttle blewup
Seven soles lost in the disaster. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
acd0 problem installing 5.0
Greetings I can't seem to install FreeBSD 5.0 Release on some old but functioning i386 hardware. The problem occurs just after creating the emergency holographic shell on vt4, and the error message says: Error mounting /dev/acd0 on /dist: Operation not supported by device (19). I've installed FreeBSD 4.6 on the same hardware without problem. I've mounted the 5.0 install CDRom from a 4.6 install on the same hardware (with mount /cdrom) without problem. I even tried using 'auto defaults for all' in the disklabel editor, in case /dist was a new requirement. The last messages on vt2 said: /mnt/etc/services 20 blocks DEBUG: Generating /etc/fstab file. (I don't have the option to boot from CDRom with this hardware.) Any ideas? TIA John. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ooops.
On 2003-02-01 20:53, [EMAIL PROTECTED] wrote: Quoting Bill Moran [EMAIL PROTECTED]: I've been quietly following this thread since it started and ... I can't reproduce this behaviour. I've created and deleted I don't know how many test directories and symlinks and I can't get it to do what you're claiming it did. As root, try copying directory from one disk to another, then rm -rf directory from the copy. That seems to be what the two recent examples have in common. I have tried various combinations of ln(1) and rm(1) since the thread started, and I am sure that there are only two cases where rm deletes things that the user probably didn't want to remove. a. Errors in filename completion. b. Adding a slash (/) character at the end of the link name. == Case A == When completing filenames that start with `.', the Unix shells that I have tried (/bin/sh and tcsh from the base system, and GNU bash2), will also match the `..' hard link to the parent directory. This is dangerous in combination with the -r flag, since rm(1) has no way of knowing that you don't want to recursively remove the parent directory and merrily hops along, deleting many more files than the ones you probably meant, when commands like this are used: # cd /tmp # rm -fr .* I usually get around this foot shooting possibility by avoiding to delete dotfiles with .* and using the more elaborate, but a lot safer, pattern .[^.]* to match them: # cd /tmp # rm -fr .[^.]* This makes sure that rm(1) never gets the `..' filename as an argument and the -r option can't turn around and bite me deleting all the files on my disk. This will also inhibit rm(1) from deleting files named with funny patterns like `...hahaha...i.h4x0red.you' so some amount of care is still required. But deleting less files than necessary is something I can cope with. Deleting more files than I asked is something that I always try to avoid :-) == Case B == * Note: When a symlink is suffixed with a slash character, then many commands that use the fts_xxx() functions in a FreeBSD system will operate on the *target* of the symlink instead of the symlink itself. This is clearly apparent in the sample session below: $ cd /tmp/ $ mkdir test $ cd test $ mkdir alpha $ touch alpha/foo $ ln -s alpha beta $ ls -l total 2 drwxrwxr-x 2 giorgos wheel - 512 Feb 1 17:56 alpha lrwxrwxr-x 1 giorgos wheel - 5 Feb 1 17:56 beta - alpha $ ls -l beta lrwxrwxr-x 1 giorgos wheel - 5 Feb 1 17:56 beta - alpha $ ls -l beta/ total 0 -rw-rw-r-- 1 giorgos wheel - 0 Feb 1 17:56 foo $ rm -fr beta/ $ ls -l total 0 lrwxrwxr-x 1 giorgos wheel - 5 Feb 1 17:56 beta - alpha $ Note how the last directory listing has beta, still pointing to a non-existent alpha directory. By calling rm(1) on `beta/' (including the final slash character) I have explicitly asked that the target of the link is removed. The link remains, but alpha is deleted. The only difference between the two experiences is that I was able to remove (eg) the copied bin directory without affecting the original, but suffered when trying to remove the copied home directory. I assumed (perhaps incorrectly) that the symlink attached to home was the cause. Without having the exact set of commands that you have used, I can't tell for sure what happened. There are only two cases where the behavior of commands operating on symlinks might come as a surprise to the unwary user. Those that I have listed above. I cannot guess which one of the two bit you and which one bit the original poster of this thread, without having access to detailed command history though. Yes - use tcsh as root. It's not a matter of the shell. It is a matter of what the arguments of rm(1) are, when it's used though. Unfortunately the history only goes so far back and lots has happened since. Sorry. However, I'd be prepared to swear on a (small) stack of bibles that the command I issued was: rm -rf home I don't know about swearing, but try as I might I can't get rm(1) to delete the target of a symlink calling it this way. Add an extra slash character at the end of that and we're back in territorry that I can recognise, understand and explain :-) This removed /slash/var/home from /dev/ad2 as I wished, but also removed the original /usr/home on /dev/ad0. I had RTFM because I knew rm was very powerful and that undeletion was impossible. -rf is all that is required to delete a directory and any subdirectories therein, is it not? Yes it is. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SpamAssassin
At 2003-02-01T16:22:11Z, Justin P. Michel [EMAIL PROTECTED] writes: Is there anyone that has a simple set-up guide for Spam Assassin? I've installed it from the ports, but have no idea where to go next. Checking the web has only brought me documents which further confuse me. I published a short HOWTO on my web site: http://subwiki.honeypot.net/cgi-bin/view/Freebsd/FilterSpam -- Kirk Strauser In Googlis non est, ergo non est. msg17503/pgp0.pgp Description: PGP signature
Re: pc-card modem setup, device, ppp.conf
On Sat, Feb 01, 2003 at 10:42:47AM -0500, Michael Walsh wrote: I just installed FreeBSD 4.7 on my HP OmniBook 4150 laptop and everything runs well. I have an external modem that I connect to the COM1 port (/dev/cuaa0) and I'm able to phone to my ISP without a problem. This laptop came with a pc-card modem that I'd like to get working, so that I don't have to drag around the external. It's a Xircom RealPort Ethernet 10/100+Modem 56 As near as I can tell, the system supports and recognizes this card (I get beeps and useful looking messages whenever I insert or remove it). However, It's not clear to me what device it's associated with. I'm thinking that If I knew the device, all I would have to do is change the line set device /dev/cuaa0 in my ppp.conf file to reflect the pc-card device and everything would work. Is there more to it than this? All the literature I've been able to find on PPP just talks about serial communications. I have no experience with pcmcia devices. Any input would be greatly appreciated. That card should come up as a standard serial device sioN, where the value of 'N' will, I think, depend on the number of sio devices configured into your kernel. For example, if I plug a very similar Xircom Ethernet+Modem 33.6 into my 5.0 laptop I get: pccard: card inserted, slot 1 sio4 at port 0x3e8-0x3ef iomem 0xd4000-0xd5fff irq 11 slot 1 on pccard1 sio4: type 16450 You should see something similar on your 4.7 machine, provided you have pccardd running (pccard_enable=YES in /etc/rc.conf). Once you know which sio device the card is using, you know what to put in your 'set device' line for ppp. In my case, I'd use /dev/cuaa4. I imagine your card will come up on sio4 as well, since the default 4.x kernels have sio0-3 compiled in, and pccardd will grab the next available device. A couple of things to watch out for: - You might need to cd /dev; ./MAKEDEV cuaa4 as root to create the device node if it's not already there. - This card can also function as an Ethernet device using the xe driver. You can't use both functions at once with 4.x. The function you get depends on whether the 'sio' or 'xe' entry for the card occurs first in /etc/pccard.conf (or /etc/defaults/pccard.conf). Unless you've changed /etc/pccard.conf yourself you should get the sio version of the card. Hope that helps, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines [EMAIL PROTECTED] | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Postfix SpamAssassin
Can Spamassassin work directly with Postfix? Meaning no procmail in the mix? IF so is there any HOWTO's on it? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Tomcat's dogging me...
Hi, Okay well I sorted out part of it anyways. The package /usr/ports/mod_jk/ that is in the FreeBSD 4.7 is not compatible with Apache 2.0. --well, or maybe it is, but it will not compile without some of the src files from the apache1.3 distribution, specifically, util_date.h and possibly http_conf_globals.h Rich. | Rich Fox | [EMAIL PROTECTED] | 86 Nobska Road | Woods Hole, MA 02543 | MA 508 548 4358 | VA 703 201 6050 On Sat, 1 Feb 2003, Rich Fox wrote: Hi, Okay, after many hours I have tomcat installed and I can connect to it's webserver. Unfortunately, I want to connect to to Apache and have it hand off the requests to tomcat. Here's the background and the most current glitches... FreeBSD 4.7-RELEASE Jakarta-Tomcat 4.1.12 Apache 2.0.43 jdk1.2.2 mod_jk-3.3-ap20.so // does this even work with tomcat 4?? ...and probably other things that I already forgot about. Okay, after adding the following lines to my httpd.conf, LoadModule jk_module libexec/apache2/mod_jk-3.3-ap20.so AddModule mod_jk.c # why is this here? Isn't this compile-time stuff? JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] when I try to start apache, I get: Syntax error on line 277 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/mod_jk-3.3-ap20.so into server: Shared object libc.so.6 not found The catch is libc.so.6 is on the system. The mod_jk that I got was the binary, and I got it as binary on the recommendation of the documentation on jakarta.apache.org. It's my guess, that the binary doesn't know where to look for the shared object. Can someone advise me on what to do here? There seem to be huge inconsistencies between the online documentation at jakarta and what you get when you acquire the software or the behaviors of the software. Has anyone else noticed this? E.g. saying some files are in the distibution when they aren't... Also, I am interested in perusing the most basic functional configuration file for Tomcat. I tried to build my own by walking through the documentation, but I never got Tomcat to run correctly. If you have a simple, hand built file that you'd like to share, I'd love to look at it. This installation has been so plagued with problems. Any assistance is greatly appreciated. Thanks, Rich. | Rich Fox | [EMAIL PROTECTED] | 86 Nobska Road | Woods Hole, MA 02543 | MA 508 548 4358 | VA 703 201 6050 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Sendmail directory ownership changed
Thank you for the info, I received some additional help off the list as well :) Before changing anything, I decided to make a disk image for mounting Read-Only when I have the time to investigate it more thoroughly. So far it seems to be working properly. Thank you again to those who helped :) Joey Teel Take a look at the mtree(8) man page, and then try this: # cd /var # mtree -eU -f /etc/mtree/BSD.var.dist # cd / # mtree -eU -f /etc/mtree/BSD.sendmail.dist Cheers, Matthew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Postfix SpamAssassin
Can Spamassassin work directly with Postfix? yes, as a content-filter, see the Spamassassin site, see the postfix site. Len To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
AMD 64bit support
Hello, I would like to know if the upcoming AMD Opteron 64bit CPU is supported on FreeBSD ? Regards, Abdul Hakeem To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Last Chance...15.2 MILLION OPT-IN EMAIL ADDRESSES...PLUS $2,000 IN FREE EMAIL MARKETING SOFTWARE!
WOULD YOU LIKE TO HAVE YOUR MESSAGE SEEN BY OVER 15.2 MILLION OPT-IN, TARGETED PEOPLE DAILY? Below contains all the information you will ever need to market your product or service on the Internet. If you have a product, service, or message that you would like to get out to Thousands, Hundreds of Thousands, or even Millions of people, you have several options. Traditional methods include print advertising, direct mail, radio, and television advertising. They are all effective, but they all have two catches: They're EXPENSIVE and TIME CONSUMING. Not only that, you only get ONE SHOT at making your message heard by the right people. Also, Internet Search Engine Submissions, Classified Ads, Newsgroup Postings simply DO NOT WORK effectively. Now this has all changed! Thanks to the top programmers in the world and their NEW EMAIL TECHNOLOGY, You can send millions of email messages daily for FREE...Without getting terminated from your current Internet connection! It's very simple to do and you can be increasing your sales within minutes of installing this new extraordinary software! Besides...It's the only real way to advertise on the Internet that works...Period! WE WILL SUPPLY YOU WITH OVER 15.2 MILLION OPT-IN EMAIL ADDRESSES TO GET YOU STARTED RIGHT AWAY! PLUS FREE EMAIL ADDRESS DOWNLOADS FOR LIFE! ALSO, YOU WILL RECEIVE $2,000 WORTH OF EMAIL MARKETING SOFTWARE FREE! Including.. BROADCAST EMAIL SENDING SOFTWARE...(send millions of email advertisements daily with a few clicks of your mouse, without getting your ISP trerminated. We used the same software to send you this email) EMAIL EXTRACTION SOFTWARE...(retrieve new targeted email addresses daily. Hundreds of thousands of them) LIST MANAGEMENT SOFTWARE...(keep your lists clean, opt-in and manage all your remove requests, leads, sales etc...) and much...much more! Hurry...This extraordinary offer ends at midnight tonight! To find out more information, Do not respond by email. Instead, click on the link below or copy and paste the exact web site address below into your web browser. http://www.vvorldvvideventures.com/504305/addresses.htm We can help you succeed in your online advertising venture. Email Marketing Group __ Want to be removed from our email list? You were sent this email because you used our Opt-in service. We hope you enjoy reading our messages. However, if you'd rather not receive future e-mails from us, Click on the link below http://www.vvorldvvideventures.com/504305/romove.htm Thank you for your cooperation ___ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Grub 0.92 fails to recognise disks on FBSD5
Hi all, i'm experiencing problems with the installation of the GRUB bootloader. I have installed the port (grub version 0.92) and created the /boot/grub directory with the files from /usr/local/share/grub/i381-freebsd. Next I created a menu.lst file in /boot/grub and thought to install GRUB in the mbr, so I launch the grub shell. My fbsd install is on ad0s2 with / on partition a. If i am correct that should be (hd0,1,a) for grub, right? well this is what i get: grub root (hd0,1,a) Error 21: Selected disk does not exist I looked up the error in the manual and it says: This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system. which doesn't help me much i'm afraid... dmesg shows my disk as follows: ad0: 39266MB IC35L040AVVN07-0 [79780/16/63] at ata0-master UDMA100 does anyone have a clue what's going on here? Thanks in advance, Chris To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
DNS question
I've got a dns running on a freebsd computer at my company. I'm new to the concept of DNS and how it all works. My question is: When a person does a dns lookup to the server and its not already cached, how does It find out the correct name server to use to find the ip? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DNS question
[please wrap you lines at 72 characters or so] aSe wrote: When a person does a dns lookup to the server and its not already cached, how does It find out the correct name server to use to find the ip? FreeBSD comes with a list of root DNS servers. These are master servers maintained by many different sources that have information on the top level domains. From this list, the DNS can figure out which root server to contact for .com or .net or .whatever. That server then directs your server to the specific DNS server that has the information you are asking for. This is oversimplified. If you have forwarders configured, then the forwarders check their cache first, before consulting the root servers. But the basic method is described there. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
I have a Sony VAIO GRX-570 running 5.0-RELEASE. Like many others I do not have a mouse either and I have no idea how to get it back. I did anticipate this so when I had 4.7 I documented this: Psm0: PS/2 Mouse irq 12 on atkbdc0 Psm0: model Generic PS/2 mouse, device ID 0 I doubt that helps but can anyone give me some clues on how to fix it To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DNS question
When a person does a dns lookup to the server and its not already cached, how does It find out the correct name server to use to find the ip? The DNS navigates the DNS namespace until it finds a positive or negative answer, or the until DNS's that should have the answer fail to respond. Len To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Verizon DSL+PPPoE
On Fri, 31 Jan 2003 08:54:55 -0500, Matthew Emmerton wrote: I remember seeing this posted about a year ago, but I couldn't google it one my business server, I run Verizon DSL and PPPoE. I setup it up like with the example they used on Freebsddairy. the problem I ran into, after about 1 week is that the connection just died. everything is lit up, no log entries in the ppp.log. the only solution was a 'killall ppp' and restarting in about a minute later, and everything is fine... however, after i did that, I noticed my IP changed. whereas i've closed the connection b4 and reopened it and got the same IP. Does this have something to do with ppp not accepting a renewed DHCP IP address? PPP doesn't use DHCP; you're confusing two technologies. Whether or not you get the same IP after dropping your connection depends entirely upon your provider. Some providers will keep recently-dropped IPs around for some period of time so that you can get the same IP back when you reconnect, but others won't. In most cases, PPPoE service with dynamic IPs are not designed for hosting servers (which is the only case where you'd need a static IP). If this is allowable by your AUP, I'd look into using a commercial DNS service that can let you auto-update your IPs when they change. My personal choice is ZoneEdit (http://www.zoneedit.com). sorry, I guess i wasnt clear enough; i do not mind that, what I mind, is that PPP keeps locking up. --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: DNS question
Ahh okay, I understand that. Someone once told me the information is already downloaded in a list, so the server doesn't have to contact root all the time to get ns information. Is this not true anymore? bind9 has the root-servers hints zone in its binary, but will use an external hints zone if listed in named.conf. Len To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Bootable CD
Hi all, I am going blind again. What is the easiest way to make a bootable FreeBSD 4.7 RELEASE CD-ROM? -Grant To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Microsoft USB keyboard
I've bought a handfull of cheap Microsoft Natural Keyboards from a reseller, but they turned out to be USB only keyboards. I've got the keyboards working with FreeBSD XFree86 just fine, with the exception of the extra hot keys. They hot keys don't seem to make any X events at all. When I launch xev, I don't get any events at all when I press any of the hot keys. Does anybody have any suggestions? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: appending files on smbfs
oh wait, thought you were swedish. I meant that I looked at that. You have to log in to the filesystem with a name that works before it will let yo on. notice how I can create the file, but canat append to it. -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 10:11 PM To: Patrick Stinson Cc: freebsd-current Subject: Re: appending files on smbfs Dear/Beste Patrick, Thursday, January 30, 2003, 8:37:04 PM, you wrote: has anyone every had problems with appending existing files on volumes mounted by smbfs or shlight? $ echo sdsad hey $ echo sdsad hey cannot create hey: Permission denied You should look at permission on the windows machine if the system has NTFS. -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Analog Modum
Dear freebsd-questions, I'm looking for a analog modem. I didn't see any in the hardware lists. Can you please tell me which ones will work on FreeBSD? -- Best regards, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Analog Modum
On Thu, 30 Jan 2003, Alex wrote: I'm looking for a analog modem. I didn't see any in the hardware lists. Can you please tell me which ones will work on FreeBSD? Virtually all external modems which connect to the COM1/COM2 serial port work perfectly fine. Dw. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multiple solutions for a problem (Re: How to map bad sectors on IDE?)
Stephen Hovey [EMAIL PROTECTED] writes: This has been an open question - I dont believe IDE's do much of their own bad block marking - The manufacturers claim otherwise; do you know something the rest of us don't? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: arplookup 0.0.0.0
tcpdump tells me that incoming smtp requests are generating these messages at the same time as recieving mail. i am pretty sure that either sendmail or ipfw rules is the cause... any good tutorials out there on interpreting tcpdump output? stephen On Fri, 31 Jan 2003, Juris Krumins wrote: Could be sendmail. But I would try first of all to figure out who are soucre of the arp request. Suppose we are talking about LAN or something like that. So try to find out the soucre of the request. Could be the same box, but I think it's not. So use sniffers like tcpdump or something like that. Just take a look at your logs to figure out the frequency of requests. So then you will figure out the source. unfortunately I'm not sendmail expert not even close. - Original Message - From: Stephen D. Kingrea [EMAIL PROTECTED] To: Juris Krumins [EMAIL PROTECTED] Sent: Friday, January 31, 2003 4:26 PM Subject: Re: arplookup 0.0.0.0 is there a way to suppress the message itself? i seem to be getting it quite often, and really just started after configuring and activating sendmail. i suspect that there is a possible misconfiguration involving sendmail itself, but mail seems to be flowing nicely stephen d. kingrea On Fri, 31 Jan 2003, Juris Krumins wrote: There's no such a term like default in arp table, like it is in routing tables. There's nothing you have to add. I think it was just a query which was sent to your machine. So your box didn't find anything about that in local his local arp table. That's why you got the answer like : www /kernel: arplookup 0.0.0.0 failed: host is not on local network mean that your box knows nothing about how to convert 0.0.0.0 IP adress into MAC adress. - Original Message - From: Stephen D. Kingrea [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 31, 2003 4:07 PM Subject: arplookup 0.0.0.0 hope one of youse can help with this... i am suddenly and inexplicably getting the message: www /kernel: arpresolve: can't allocate llinfo for 0.0.0.0rt www /kernel: arplookup 0.0.0.0 failed: host is not on local network nothing seems affected, that is to say that everything works as advertised. do i need to add default to my arp tables? running 4.7, apache2, ipfw/natd, as gateway to 3 internal networked nodes. what other info do i need to share? thank you! stephen d. kingrea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ooops
Hi again all, I am having reverse DNS issues so I am posting from another server. I am astounded at the bandwidth created by my little oops. Something that does make some sence to me is the . and .. directories. that had never occured to me. Anyways, the commands I used are quite fresh in my mind as I was taking my time ensuring I would not do exactly what I did :-( cd / mount /dev/da1s1a /mnt mount /dev/da1s1g /mnt/var mount /dev/da1s1e /mnt/usr ... cd /mnt look around a bit... cd /mnt cwd (server shows /mnt) rm -rf * Ooops! I have since been to the terminal, both drives are shiny clean. The good news is this was a brand new server, not in production. Anyone want to talk off-list about rDNS? -Grant Grant W. Peel Server Admin [EMAIL PROTECTED] http://thenetnow.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Perl
Hi All, I am now blind looking for the answers... How does one upgrade perl (FreeBSD 4.4) from one version (5.00503) to a new version (5.8.0) without loosing all the currently installed modules? (I have lots). -Grant Grant W. Peel Server Admin [EMAIL PROTECTED] http://thenetnow.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Bootable CD
Burn a bootable ISO image to a blank CDR. Iso images are on the ftp site.That does involve a cost to the project for bandwidth, so consider downloading the mini install iso and then pull anything else you need only as you need it. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.7 Tim On Saturday 01 February 2003 10:37 pm, Grant Peel wrote: Hi all, I am going blind again. What is the easiest way to make a bootable FreeBSD 4.7 RELEASE CD-ROM? -Grant To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: swapinfo shows 0 0 Nan% and no device
Joe [EMAIL PROTECTED] writes: I have created a file swap0 in /usr/local/swapfiles I then ran vnconfig -e /dev/vn0b /usr/local/swapfiles/swap0 swap Didn't you mean vn0c? When I look at the output from swapinfo It shows Device 1K-blocks UsedAvail Capacity Type 000 Nan% Interleaved Any ideas on why this is? How big is the file? I'm using Freebsd 4.7 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: MySQL and Perl error
Got through it using make install FORCE_PKG_REGISTER=yes OVERWRITE_DB=yes SKIP_DNS_CHECK=yes But now I get bind on unix socket: permission denied I did a chown -R on the var/db/mysql and everything under it but still the same error... Hints? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Sent: Saturday, February 01, 2003 1:33 PM To: [EMAIL PROTECTED] Subject: MySQL and Perl error Hi All Kinda stuck bad on this one and need some pointers. While reinstalling MySQL I get === Extracting for mysql-server-3.23.54 Checksum OK for mysql-3.23.54.tar.gz. === mysql-server-3.23.54 depends on executable: libtool - found === mysql-server-3.23.54 depends on file: /usr/local/bin/perl5.00503 - not found ===Verifying install for /usr/local/bin/perl5.00503 in /usr/ports/lang/perl5 === Installing for perl-5.6.1_11 === perl-5.6.1_11 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of perl-5.6.1_11 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/lang/perl5. *** Error code 1 Stop in /usr/ports/databases/mysql323-server. How can I fix this? I am digging in Google but have found few helpful ideas so far. Can I change the make file to not use Perl? I upgrade to Perl5.8 for Webmin so this may be the issue. Many thanks Mike Benzel [EMAIL PROTECTED] for NT Linux-Palm-CASL Support Cross Platform Messaging and TDataSet Components: TAstaPDADataSets Servers (Win32,Linux,Java) Clients (Win32,Linux,Java,Palm,WinCE,Linux PDA's) ASTA Technology Group http://www.astatech.com ASTAWireless http://www.astawireless.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Microsoft USB keyboard
* Douglas K. Rand ([EMAIL PROTECTED]) wrote: I've bought a handfull of cheap Microsoft Natural Keyboards from a reseller, but they turned out to be USB only keyboards. I've got the keyboards working with FreeBSD XFree86 just fine, with the exception of the extra hot keys. They hot keys don't seem to make any X events at all. When I launch xev, I don't get any events at all when I press any of the hot keys. Does anybody have any suggestions? Change your keyboard type in your XF86Config file from pc101 (or whatever it is set to currently) to something higher, and try xev again. I'm not sure what you should set it to, but it's another knob to twiddle. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Can't install fetchmail - HELP!
Hi all. Trying to install fetchmail but it keeps saying that it can't find intl.4 so it tries to install gettext and that complains that it can't find expat.4 and then fails out. I tried going to the fetchmail homepage but that's apparently moved and the guy who's providing the homepage for fetchmail has a really screwed up personal homepage and I can't find any of the install files for the actual program. I'm trying to reinstall fetchmail on a new box, but not having much luck. Any help is more than welcome. Oh, and as a help, here's the errors I get. [root@webbox fetchmail]# make install === Installing for fetchmail-6.2.0 === Warning: your umask is 0077. If this is not desired, set it to an appropriate value and install this port again by ``make reinstall''. === fetchmail-6.2.0 depends on shared library: intl.4 - not found ===Verifying install for intl.4 in /usr/ports/devel/gettext === Extracting for gettext-0.11.5_1 Checksum OK for gettext-0.11.5.tar.gz. === gettext-0.11.5_1 depends on executable: libtool - found === gettext-0.11.5_1 depends on shared library: iconv.3 - found === gettext-0.11.5_1 depends on shared library: expat.4 - not found ===Verifying install for expat.4 in /usr/ports/textproc/expat2 === Returning to build of gettext-0.11.5_1 Error: shared library expat.4 does not exist *** Error code 1 Stop in /usr/ports/devel/gettext. *** Error code 1 Stop in /usr/ports/mail/fetchmail. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Support for Memorybird USB mass storage
FreeBSD version: 5.0 I try to connect a Fujitsu Memorybird, a USB mass storage device, to my computer. When I connect it to the USB bus I get the follwing message: umass0: Fujitsu Memorybird, rev 1.10/1.00, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fujitsu Memorybird 1.06 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10 And with usbdevs(8) and camcontrol(8) I can list the device: # usbdevs -d -v -a 3 -f /dev/usb1 Controller /dev/usb1: addr 3: full speed, power 100 mA, config 1, Memorybird(0x0100), Fujitsu(0x0d7d), rev 1.00 umass0 # camcontrol devlist -v scbus0 on umass-sim0 bus 0: Fujitsu Memorybird 1.06 at scbus0 target 0 lun 0 (da0,pass0) scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) But how do I access it? Can I access it? Mats - Mats Dufberg [EMAIL PROTECTED] Blaoarvsgraend 42 +46-8-38 48 59 SE-162 45 Vaellingby, Sweden +46-70-258 2588 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Support for Memorybird USB mass storage
On Feb 2, 2003, 00:20 (+0100) Mats Dufberg [EMAIL PROTECTED] wrote: FreeBSD version: 5.0 I try to connect a Fujitsu Memorybird, a USB mass storage device, to my computer. When I connect it to the USB bus I get the follwing message: umass0: Fujitsu Memorybird, rev 1.10/1.00, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fujitsu Memorybird 1.06 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10 (...) But how do I access it? Can I access it? Well, the following actually works, # mount -t msdos /dev/da0s1 /memorybird Since the there is support for hot-swapping of the device, I guess that there should be some kind of automatic mount/umount of the device. Mats - Mats Dufberg [EMAIL PROTECTED] Blaoarvsgraend 42 +46-8-38 48 59 SE-162 45 Vaellingby, Sweden +46-70-258 2588 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Samba and XP?
On Fri, 31 Jan 2003, Bill Moran wrote: There's an XP machine right behind me that talks to our Samba server just fine. Just don't configure Samba to be a domain server. And, it does work just fine under domain systems as well. Samba just doesn't do active directory yet. OT, but my understanding is that indows XP Home Edition will not log in to NT4-based (SMB-only) networks, but only Windows 2000 (Active Directory) networks. However, Windows XP Professional will log in to both. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multiple solutions for a problem (Re: How to map bad sectors onIDE?)
This has been an open question - I dont believe IDE's do much of their own bad block marking - there used to be a utility called bad144 - though I dont know that it did much - I know SCO has a utility. On Sat, 1 Feb 2003, Marc Schneiders wrote: On 31 Jan 2003, at 19:43 [=GMT-0500], Lowell Gilbert wrote: Marc Schneiders [EMAIL PROTECTED] writes: I have searched Google to find a solution to mark off these two blocks/inodes (or however I should call them), so that they will not be used anymore. All I found is that this is not possible on IDE. Advise: Throw away the disk. Now this I find a bit radical :-) Esp. since the disk is about 3 years old. Why is it radical? Because it involves a lot of work to backup the disk, open up the machine, check it with some software that reports something that I could tell Maxtor, have them give me another disk (if they do that). Wait, wait, wait. And all this time machine not working obviously, which is extra bad since it is the key machine here that connects others to the internet. All in all I would say 10 hours work, a few weeks of waiting. So why not first try something (if it exists, which was my question) that does not involve picking up a screwdriver and turning of my network here? Or lets say I am poor (which I am) and cannot really just run off and buy a new disk? The one with problems may be under warrenty, it may not. I cannot tell before I take the machine apart and read the serial on the disk. Your advise sounds perfectly sound for IBM and Microsoft and the Pentagon. But for a home or small office situation, there might be another way to deal with it? Especially since we are not talking about something 10 years old or heavily used in a mailserver. After all, IDE disks already do bad-block remapping internally, so you've built up a *lot* of bad sectors already if they're starting to become visible to the operating system... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Error while compiling kernel.
On Sat, 1 Feb 2003, Sergey Niunco wrote: Device scbus was and is in my kernel config. A few days ago I compiled it without a problem. Did you CVSUP since the lat time you compiled? If so, you might have done it during a commit, so something got broken. Every now and then (maybe two or three times a year?) I'll get a broken buildworld that is usually fixed by CVSUPing a day or two layer. If you have no clue what CVSUP is, or you did not perform a CVSUP, check your kernel config again. Although, I don't think that that synatax errors are usually caused by missing dependancies. Another possibility (doesn't seem likely, but you neverk now) is that there's some stale files sitting around. Remove /usr/src/sys/compile/* (remove the subdirectories, not the compile directory itself) and try again. Hope this helps. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Samba and XP?
XP Home will not 'log into' ANY server-based network (NT4 domain model OR Active Directory). However, this does not mean you can't access samba shares on other machines. ie. it supports workgroup networking but not domain networking. Login to the local XP Home box, browse on the network to find the SMB server you want, and open it up. The XP Home box will attempt to authenticate using the local user's username and password: if that fails, it will pop up a box asking for a valid username and password. This should work just fine. XP Home CAN also access shares on servers that are part of a domain, using this same method. The only difference is that the username and password used must be valid on the domain. BTW: just to make it clear, if the credentials used to login to the local XP Home box exist on the SMB server, the user will be let straight through without being asked for another password. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Hunt Sent: Sunday, 2 February 2003 9:33 AM To: Bill Moran Cc: John Wilson; [EMAIL PROTECTED] Subject: Re: Samba and XP? On Fri, 31 Jan 2003, Bill Moran wrote: There's an XP machine right behind me that talks to our Samba server just fine. Just don't configure Samba to be a domain server. And, it does work just fine under domain systems as well. Samba just doesn't do active directory yet. OT, but my understanding is that indows XP Home Edition will not log in to NT4-based (SMB-only) networks, but only Windows 2000 (Active Directory) networks. However, Windows XP Professional will log in to both. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
subscribe freebsd-questions [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Fetchmail slow? (was Re: Can't install fetchmail - HELP!)
Ok, nevermind. That's working ok now. Now, on to the next bit of fun. Fetchmail is being dog slow. Yet it's being silent and won't tell me why. Any suggestions? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Analog Modum
I'm looking for a analog modem. I didn't see any in the hardware lists. Can you please tell me which ones will work on FreeBSD? 99% of all modems are analog. There are some digital modems, but they're rare. But you need to be careful, because DSL routers are sometimes mislabeled as Modems, even though they're technically not. Rick To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
OT - Re: Samba and XP?
On Sat, 1 Feb 2003, Jason Hunt wrote: OT, but my understanding is that Windows XP Home Edition will not log in to NT4-based (SMB-only) networks, but only Windows 2000 (Active Directory) networks. However, Windows XP Professional will log in to both. In my experience, XP Home is completely useless. One of the tricks it does is randomly drop any static IP addresses it has been set and grant itself new ones from ranges that are already assigned. Also, sometimes when there is nothing wrong network-wise other than an unplugged cable, it will lead the clueless user through a whole rigmarole where they are encouraged to Set up home networking or some such, which rips through every network setting on the box and they end up trying to do some non-IP nonsense called Bridged connection or whatever (nothing to do with Ethernet bridging I'm sure), and then the user wonders why they can't get on the net anymore - Nothing works, I've followed all the instructions, I think your firewall thing is broken. XP pro doesn't seem to do anything like that, presumably because its designed to be actually used on a corporate network where they might be people around who'll see through it. -- W. Palfreman. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Microsoft USB keyboard
Doug I've bought a handfull of cheap Microsoft Natural Keyboards from Doug a reseller, but they turned out to be USB only keyboards. Mike Change your keyboard type in your XF86Config file from pc101 (or Mike whatever it is set to currently) to something higher, and try Mike xev again. Mike I'm not sure what you should set it to, but it's another knob to Mike twiddle. I've tried a few, like pc104, pc105, even microsoftpro which I found in one of the config files in /usr/X11R6/lib/X11/xkb/rules/xfree86. None of them (after re-starting the X server) ever caused xev to produce ANY events for those extra hot keys. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re[2]: Analog Modum
Dear/Beste Rick, Sunday, February 2, 2003, 2:57:32 AM, you wrote: I'm looking for a analog modem. I didn't see any in the hardware lists. Can you please tell me which ones will work on FreeBSD? 99% of all modems are analog. There are some digital modems, but they're rare. But you need to be careful, because DSL routers are sometimes mislabeled as Modems, even though they're technically not. Tanks. It fairly normal in my country to also refer to these as modums, but always with ADSL in front of it. There is a very clear difference. -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Why should I use `config;make depend;make...` instead of `make kernel`when building from a stock source tree? (ref. Handbook sec. 9.3)
There are two sets of commands you can use to build a kernel in FreeBSD: Procedure 1 is the old way: config, make depend, make, make install. Procedure 2 is the make kernel sequence from makeworld. Section 9.3 of the Handbook says I should use procedure 1 if I haven't updated my source tree. I can understand then need to use procedure 2 if I've updated my source tree, but why shouldn't I use it with an unmodified tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Why should I use `config;make depend;make...` instead of `make kernel` when building from a stock source tree? (ref. Handbook sec. 9.3)
Darren Pilgrim [EMAIL PROTECTED] writes: There are two sets of commands you can use to build a kernel in FreeBSD: Procedure 1 is the old way: config, make depend, make, make install. Procedure 2 is the make kernel sequence from makeworld. Section 9.3 of the Handbook says I should use procedure 1 if I haven't updated my source tree. I can understand then need to use procedure 2 if I've updated my source tree, but why shouldn't I use it with an unmodified tree? There's no reason you shouldn't. That section of the handbook explicitly says that you can use either procedure in that case. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: arplookup 0.0.0.0
On Sat, Feb 01, 2003 at 05:20:53PM -0500, Stephen D. Kingrea wrote: tcpdump tells me that incoming smtp requests are generating these messages at the same time as recieving mail. i am pretty sure that either sendmail or ipfw rules is the cause... any good tutorials out there on interpreting tcpdump output? stephen If you have X installed, you could use ethereal (/usr/ports/net/ethereal)it is a very nice graphical interface for analyzing network traffice. I think it uses tcpdump itself?? Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg17551/pgp0.pgp Description: PGP signature
Re: delete key produce a ~ (tilde) in terminal
On Sat, Feb 01, 2003 at 09:04:28AM -0800, Casey Scott wrote: Hi, I am using Konsole from KDE to establish an ssh connection to my fbsd system I have not found anyway to allow me to use the delete key as a typical delete key. In /etc/ttys , it does not look like I can change the terminal type, so it must be done automatically. In konsole I can use xterm, vt100, vt420 pc, etc. None of those allow use of the delete key though. Some obviously produce different results than others, but none are the one I need! tset didn't seem to help either. I can't find any good information on this, and I think this is something that should be easy. Most information just pertains to X windows. Thanks, Casey Add a file to your home directory named .inputrc Add the following line to it: \e[3~: delete-char ...exit konsole and the relaunch it. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg17552/pgp0.pgp Description: PGP signature
u320 scsi by lsi
Dear freeBSD gurus, I have an asus pr-dlsw motherboard (dual xeon p4, agp pro 50, lsi 1030 u320 scsi on board), and I have a seagate 15.3k rpm hard drive that supports u320, a geforce4 ti4400 -128mb video card, and the dreaded SB Live. When I start my installation of bsd it tells me it can't find the hard drive, that maybe my controller wasn't installed. But I don't see any place where I could install my own 3rd-party drivers, which are not supplied for BSD by asus with the board. Can you help? Thanks, Jason Boisvert To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Greek suppport
Hello, I would like to know to which mailing list I could find answers or post questions about locale support on freeBSD. thanks, Alexandros To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Grub 0.92 fails to recognise disks on FBSD5
On Sat, 1 Feb 2003 21:19:02 +0100, Chris Delnooz [EMAIL PROTECTED] said: Hi all, i'm experiencing problems with the installation of the GRUB bootloader. I have installed the port (grub version 0.92) and created the /boot/grub directory with the files from /usr/local/share/grub/i381-freebsd. Next I created a menu.lst file in /boot/grub and thought to install GRUB in the mbr, so I launch the grub shell. My fbsd install is on ad0s2 with / on partition a. If i am correct that should be (hd0,1,a) for grub, right? well this is what i get: grub root (hd0,1,a) Error 21: Selected disk does not exist I looked up the error in the manual and it says: This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system. which doesn't help me much i'm afraid... dmesg shows my disk as follows: ad0: 39266MB IC35L040AVVN07-0 [79780/16/63] at ata0-master UDMA100 does anyone have a clue what's going on here? Two ideas, though you may want to wait to see if others more knowledgeable weigh in. Try the steps outlined in the manual regarding installing from a floppy disk. If that also runs into problems, try the device command to tell GRUB what hd0 is. Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Why should I use `config;make depend;make...` instead of `makekernel` when building from a stock source tree? (ref. Handbook sec. 9.3)
Lowell Gilbert wrote: Darren Pilgrim [EMAIL PROTECTED] writes: There are two sets of commands you can use to build a kernel in FreeBSD: Procedure 1 is the old way: config, make depend, make, make install. Procedure 2 is the make kernel sequence from makeworld. Section 9.3 of the Handbook says I should use procedure 1 if I haven't updated my source tree. I can understand then need to use procedure 2 if I've updated my source tree, but why shouldn't I use it with an unmodified tree? There's no reason you shouldn't. That section of the handbook explicitly says that you can use either procedure in that case. Hey you're right. In the bulleted list just before the two procedures are listed it says, #If you are building a new kernel without updating the source code...you can use either procedure. After the two procedures are listed, it says, If you have not upgraded your source tree in any way...you should use the config, make depend, make, make install sequence. That sounds contradictory to me. What do you think? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ooops.
Are we aiming at the wrong target, here? I used the fixit CD to examine ad0s3, where my missing files reside. What I found was that (eg) /bin, /etc, /dev were full of files/directories, but /var and /usr were empty. I didn't ask dump/restore to delete anything, and did not ask rm to remove the files from /var or /usr/everything. The command I used to copy was: dump 0af - / | restore xf - Is it dump or restore that have been causing the problem? home@ on ad0s3 still links to /usr/home so that if I mount /dev/ad0s3 /mnt/other in my working system on ad2, ls /mnt/other/home shows my working home directory - a bit startling when you first see it. Don't see this as significant, but you gurus might. -- Brian --- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Using CDRW for backup
Quoting [EMAIL PROTECTED]: I saw an article that explained how CDRW disks were constucted and how to both write to, and erase them so they could act as useful data backup disks. Bit can I find it? Can I - (insert expletive to taste)! (I made extensive use of google and the search facility at FBSD.org without success) Can someone point me in the right direction? Thanks. -- Brian --- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
how to update release with just security patches
I just installed FreeBSD 4.7 and need some guidance ,examples, on tracking the 4.7 stable release. This is a production server so i just want to find out how to get it up2date with security patches etc... for the stable 4.7 release. The cvs commands in the faq are confusing so i would appreciate some help on getting only the updates needed via..cvs and then applying them. Thanks in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message