Re: imap-uw crashes
Heinrich Rebehn wrote: Hi List, I have just installed imap-uw from ports, but when i try to read mail using Mozilla, imapd crashes: Jun 9 16:01:06 antsrv1 imapd Jun 9 16:01:06 antsrv1 in free(): Jun 9 16:01:06 antsrv1 error: Jun 9 16:01:06 antsrv1 chunk is already free Jun 9 16:01:06 antsrv1 kernel: pid 79836 (imapd), uid 0: exited on signal 6 (core dump Is this a known problem? I am running 5.3-RELEASE-p15 Is anybody using imap-uw at all? --Heinrich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when trying to install mysql 4.1.12.
Julien Gabel wrote: I upgraded to version 4.1.12 on RELENG_5 without problem. Just a thought: what about using GNU readline? readline-5.0 was installed via ports when i installed 4.1.11 some time ago. i guess this is the port you are referring to. -- christian at asba dot no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UDMA100 drives fall back to UDMA33
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device ata0-slave: DMA limited to UDMA33, non-ATA66 cable or device ad0: 58644MB IC35L060AVV207-0/V22OA66A [119150/16/63] at ata0-master UDMA33 ad1: 29311MB Maxtor 5T030H3/TAH71DP0 [59554/16/63] at ata0-slave UDMA33 acd0: DVDROM TOSHIBA DVD-ROM SD-M1202/1020 at ata1-master PIO4 This despite both the drives and 80-pin cables are supposedly ATA100 capable. Tried several cables which make Leenucks and Windows XP pronounce the drives as operating in UDMA5/ATA100 mode and the BIOS of the Intel D850GB board says the cable is 80 conductor and the Ultra DMA mode is 5. Atacontrol refuses to set the drives beyond UDMA33. 5.4-RELEASE, GENERIC kernel. -- Juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when trying to install mysql 4.1.12
Jason Taylor wrote: I had this same problem also on 4.11 and then discovered that the options from pkgtools.conf weren't being picked up (I'd mistyped mysql41-* as mysq41-*). Anyway, using the following options made it work: USE_LINUXTHREADS, BUILD_OPTIMIZED, WITH_OPENSSL. I haven't investigated and have no direct proof, but my guess is that USE_LINUXTHREADS is the key. i just tried with 'WITH_LINUXTHREADS=yes' to no avail. here is a sample from the install with 'make install WITH_LINUXTHREADS=yes clean': // mkdir .libs cc -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o -lreadline -lncurses ../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -Wl,--rpath -Wl,/usr/local/lib/mysql mysql.o: In function `new_mysql_completion(char const *, int, int)': mysql.o(.text+0x18b0): undefined reference to `rl_completion_matches' *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12/client. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client. *** Error code 1 Stop in /usr/ports/databases/mysql41-server. // as far as i can see, it coughs as the same error. my pkgtools.conf has not been touched by me in any way before or after installing mysql (both versions). -- christian at asba dot no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD MP3 Player's
Hi everyone, I am looking to get an mp3 player that I can use with my FreeBSD laptop. If anyone out there uses a mp3 player with thier BSD system, *ptrs and suggestions would be great :). Basically I am look for something with 5G or more capacity and 12 hr + batery time, FM radio capability would also be good. I have both firewire and USB on the laptop so connection is not a problem, I am also tracking STABLE. Cheers, Hubert Farnswoth. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when trying to install mysql 4.1.12.
I upgraded to version 4.1.12 on RELENG_5 without problem. Just a thought: what about using GNU readline? readline-5.0 was installed via ports when i installed 4.1.11 some time ago. i guess this is the port you are referring to. Yes it is, in particular since i saw this post yesterday at: http://mail-index.netbsd.org/tech-pkg/2005/05/10/0018.html It seems not to be the case here, though. Maybe can you try to upgrade it one more time with a fresh ports tree, using the -r and -R options of portupgrade just to try to reinstall all those packages depending on and required by mysql41-server? -- -jpeg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1280x800 display, i810, 915, etc etc etc
On Friday 10 June 2005 19:50, Remington L wrote: It is also not officially supported by Xorg. I am told by the driver developer 6.8.3 will fully support it(hopefully eliminating the need for any VBIOS workaround) I think I'll wait till then... my system's working, and 6.8.3 won't be long. Thanks a lot, everyone. Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when trying to install mysql 4.1.12.
Julien Gabel wrote: I upgraded to version 4.1.12 on RELENG_5 without problem. Just a thought: what about using GNU readline? readline-5.0 was installed via ports when i installed 4.1.11 some time ago. i guess this is the port you are referring to. Yes it is, in particular since i saw this post yesterday at: http://mail-index.netbsd.org/tech-pkg/2005/05/10/0018.html It seems not to be the case here, though. Maybe can you try to upgrade it one more time with a fresh ports tree, using the -r and -R options of portupgrade just to try to reinstall all those packages depending on and required by mysql41-server? since i uninstalled mysql yesterday, i would presume i'm not able to upgrade or such using portupgrade. too bad i deinstalled it before trying with -R option (i only tried -arv). i'll try installing it with WITH_LINUXTHREADS=yes USE_GNU_READLINE=yes together just for the fun of it. -- christian at asba dot no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RocketRaid1820 and FreeBSD 5.4/amd64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 10, 2005, at 11:06 PM, [EMAIL PROTECTED] wrote: I would be very grateful if someone shares his/her experience. Hi, I'm using on i386 system, but the driver doesn't work correctly (I couldn't rebuild the array from CLI, I've to use the controller bios). Regards Andrea -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCqry2MakHrsrHP9wRAirIAKDapFtNBmU+dW+DMfszqdH48pxgpwCfcnOc 0lcvx8AwJWpOEmFTcEQn4hM= =bdWW -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when trying to install mysql 4.1.12.
I upgraded to version 4.1.12 on RELENG_5 without problem. Just a thought: what about using GNU readline? readline-5.0 was installed via ports when i installed 4.1.11 some time ago. i guess this is the port you are referring to. Yes it is, in particular since i saw this post yesterday at: http://mail-index.netbsd.org/tech-pkg/2005/05/10/0018.html It seems not to be the case here, though. Maybe can you try to upgrade it one more time with a fresh ports tree, using the -r and -R options of portupgrade just to try to reinstall all those packages depending on and required by mysql41-server? since i uninstalled mysql yesterday, i would presume i'm not able to upgrade or such using portupgrade. too bad i deinstalled it before trying with -R option (i only tried -arv). You can reinstall it using one of the following: # portinstall -rR mysql41-server # portupgrade -rRN mysql41-server i'll try installing it with WITH_LINUXTHREADS=yes USE_GNU_READLINE=yes together just for the fun of it. I don't know about linuxthreads on 4.X, but GNU readline is a dependancy if FreeBSD version is 5. Furthermore, i don't think USE_GNU_READLINE is a valid build option in the ports tree. Nevertheless, you can try: # portinstall -rR -m 'WITH_LINUXTHREADS=yes' mysql41-server -- -jpeg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf limits
Hello, I've done a new class shuser with some limits, rebuild the cap database and made a new user tester with adduser. When it asked for the login class, I specified shuser, and tried to login with ssh, but it failed. My shuser class: shuser:\ :passwd_format=md5:\ #:passwordtime=90d:\ #:idletime=30m:\ #:login-retries=3:\ #:sessionlimit=1:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ #:lang=hu_HU.ISO8859-2:\ #:charset=iso-8859-2:\ #:ftp-chroot=true:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ #:memorylocked=15m:\ #:memoryuse=10m:\ :filesize=unlimited:\ #:coredumpsize=5m:\ #:openfiles=3:\ #:maxproc=3:\ #:sbsize=512k:\ #:vmemoryuse=5m:\ :priority=0:\ :ignoretime@:\ :umask=027: After the first try I inserted those hashmarks before the modified lines, but it still doesn't work. Did I make something wrong? Cheers, Gábor Kövesdán [EMAIL PROTECTED] wrote: Hi, After doing the modfications on login.conf, run: # cap_mkdb /etc/login.conf Define the class for each user in passwd, using vipw. The class is the 5th field, in this example the class was defined as limiteduser: zoruega:$1$50258.20$DdcXReDR/lhZI/1CjjEEd0:102:201:limiteduser:0:0:Zoruega LinfoX:/nonexistent:/bin/sh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD MP3 Player's
anon wrote: Hi everyone, I am looking to get an mp3 player that I can use with my FreeBSD laptop. If anyone out there uses a mp3 player with thier BSD system, *ptrs and suggestions would be great :). Basically I am look for something with 5G or more capacity and 12 hr + batery time, FM radio capability would also be good. I have both firewire and USB on the laptop so connection is not a problem, I am also tracking STABLE. Cheers, Hubert Farnswoth. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Almost all mp3-players will work fine with *BSD systems, the basic filesystem used on them is dos, so you can simply mount them using 'mount -t msdos'. I can't realy say what mp3 player is best, but check out the Iriver products, most of their mp3 players also support ogg vorbis, you are probably looking for an player with HD so check for the H300 series, www.iriver.com for more info -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RocketRaid1820 and FreeBSD 5.4/amd64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 11, 2005, at 12:28 PM, Andrea Riela wrote: I'm using on i386 system, but the driver doesn't work correctly (I couldn't rebuild the array from CLI, I've to use the controller bios). I've forgotten: this driver hasn't the SMART commands support :( Regards Andrea -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCqsLdMakHrsrHP9wRAoz+AKCH21vFneOQ6eh4fzMNnMEhNPcSlACggAYu tjf+qoYqGt/nyIGiAw8Ff4U= =c/vt -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Outsourcing a modem pool for dialup? Any advice?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Philip Hallstrom Sent: Friday, June 10, 2005 9:58 AM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: Outsourcing a modem pool for dialup? Any advice? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Philip Hallstrom Sent: Thursday, June 09, 2005 10:38 AM To: freebsd-questions@freebsd.org Subject: Outsourcing a modem pool for dialup? Any advice? Hi all - Our company has a product such that a small server is installed at each customer site. This server dials up to the Internet every night and exchanges some content with a central server in our data center. Total transaction takes about 5 minutes. Customers can have multiple sites. Our largets to date has three, but some potentials have several hundred. In the cases where the site does not have an existing Internet connection we currently use dialup via a major ISP. This works for now, but won't for the long haul for a couple of reasons: - they all are all sharing the same username and password (yes yes, I know...) - we're moving into canada and this ISP doesn't have many local numbers up there. - Dealing with local numbers and their somewhat frequent changing is a real headache. OK. Now then, am I assuming that if you go the 800 number route then that you will be billing the customers for the LD usage on that or are you going to eat it? What I want is a modem pool with one local number (tied into an 800 number) where I can create as many username/password pairs as needed. I want that local number to never change :-) Totally unnecessary since your using an 800 number. If the local number changes you just repoint the 800 number to the new local number. Mostly, but this way I can configure the local number first (1-xxx-xxx-) and then the 800 number so sites that allow long distance calls get billed for the call instead of us... saves a bit of money... You cannot setup an 800 number to charge the caller. If you are thinking of using the 800 as a failover number in the config then you go right back the same problem, which is that if the outsourcer changes the phone number you are screwed. This is yet another reason for running your own pool. If you own your own local phone number it isn't going to change. Now... to make it fun... - No, I can't install a dialup server in our corporate datacenter. Why not? This is so calling out for you to run your own dialup server that it is unbelievable. Ah... I am glad I am not the only one who thinks that!!! :-) Believe me... I could write volumes on why this isn't going to happen. Well, it might, but only if I can show that outsourcing is going to cost zillions of dollars.. and that's not even getting to the paperwork process. I've tried before. 1.5 years later I haven't gotten any closer. Outsourcing will indeed cost a lot more than if you do it yourself. Not zillions, but certainly many thousands more a year if you pay someone to do it. My goodness, do your bosses think that the outsourcers do this for free, that there is some kind of economy of scale you take advantage of? Let me tell you a little secret - dialup outsourcers only sell their services to THREE types of customers. The first type are ISPs that are failures. The second type are ISP's that have their own modem pools in whatever service areas they are in, and are playing around with seeing if they can make money with national or expanded coverage. (very difficult for a small ISP without their own national network) The last type are corporations who either have too much money to waste, or have nobody competent working for them. In all 3 of these cases the customer isn't choosing outsourcing over doing it themselves, instead they are forced into outsourcing because no other choices are options for them. And the outsourcers know it and if your given a captive market, aren't you going to bleed them dry? Virtually everyone else in the business, if they have an option of running their own modem pool, either because they have the money, or because they have the competence, they are going to do it. Providing dialup service is one of the fundamental products of an ISP and if they can't do even that, they are really in a bad way. And today the secondary market is full of terminal servers that you can pick up for a song, from all the failed ISP's from the late 90's. And today corporations are mostly doing VPN for road warriors and have tossed what dialup support they might have offered in the past. If I were in your shoes I would simply setup my own modem pool in my garage and incorporate, then sell the service to my employer at a fee. Why not, it's like being given free money. Once the pool is setup and running it consumes very little maintainence time. I know that commercial dialup wholesalers can blanket you with fancy business
Re: error when trying to install mysql 4.1.12.
Julien Gabel wrote: I upgraded to version 4.1.12 on RELENG_5 without problem. Just a thought: what about using GNU readline? readline-5.0 was installed via ports when i installed 4.1.11 some time ago. i guess this is the port you are referring to. Yes it is, in particular since i saw this post yesterday at: http://mail-index.netbsd.org/tech-pkg/2005/05/10/0018.html It seems not to be the case here, though. Maybe can you try to upgrade it one more time with a fresh ports tree, using the -r and -R options of portupgrade just to try to reinstall all those packages depending on and required by mysql41-server? since i uninstalled mysql yesterday, i would presume i'm not able to upgrade or such using portupgrade. too bad i deinstalled it before trying with -R option (i only tried -arv). You can reinstall it using one of the following: # portinstall -rR mysql41-server # portupgrade -rRN mysql41-server all of these commands give me what i expected (since i deinstalled it and ran 'make clean' yesterday): ** No such installed package or port: mysql41-server i'll try installing it with WITH_LINUXTHREADS=yes USE_GNU_READLINE=yes together just for the fun of it. I don't know about linuxthreads on 4.X, but GNU readline is a dependancy if FreeBSD version is 5. Furthermore, i don't think USE_GNU_READLINE is a valid build option in the ports tree. Nevertheless, you can try: # portinstall -rR -m 'WITH_LINUXTHREADS=yes' mysql41-server as the commands above, the command you suggested gave me: ** No such installed package or port: mysql41-server this is all quite strange as i didn't tweak my old 4.1.11 installation at all. wouldn't this give many users the same problem? i'm running a generic kernel with patches provided/installed by security/freebsd-update/. -- christian at asba dot no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Jails and filesystems
Fellow BSDers, I'm trying to figure out the best layout for multiple jails. I'd like to share binaries across jails - patches and packages only need to be installed once, and it saves a lot of space. So these directories would be shared and read-only: /bin /sbin /usr (except /usr/local/etc) /var/db/pkg And these would be private: /etc /usr/local/etc /var (except /var/db/pkg) The current plan is to move all the shared stuff into /shared, and mount it read-only into each jail with nullfs. Then /usr/local/etc is moved into /private. This is how it looks inside the jail: [EMAIL PROTECTED] /tmp/3569/root # env - /usr/sbin/chroot `pwd` /usr/bin/login -f root Last login: Sat Jun 11 09:16:11 on tty?? Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. [EMAIL PROTECTED] ~ # cd / [EMAIL PROTECTED] / # ll total 27 drwxr-xr-x 13 root wheel 512 Jun 9 14:38 . drwxr-xr-x 13 root wheel 512 Jun 9 14:38 .. -rw-r--r-- 1 root wheel 802 Jan 21 15:46 .cshrc -rw-r--r-- 1 root wheel 251 Jan 21 15:46 .profile -r--r--r-- 1 root wheel 6117 Jan 21 15:46 COPYRIGHT lrwxr-xr-x 1 root wheel11 Jun 9 14:38 bin - /shared/bin drwxr-xr-x 3 root wheel 512 Jan 21 15:46 boot drwxr-xr-x 3 root wheel 1536 Jun 9 14:01 dev drwxr-xr-x 16 root wheel 2048 Jun 9 14:27 etc -rw-r--r-- 1 root wheel 0 Jun 9 14:01 kernel drwxr-xr-x 2 root wheel 512 Jun 9 14:37 mnt drwxr-xr-x 2 root wheel 4608 Jun 9 14:01 modules drwxr-xr-x 3 root wheel 512 Jun 9 14:37 private dr-xr-xr-x 2 root wheel 512 Jan 21 15:45 proc drwxr-xr-x 2 root wheel 512 Jun 11 09:12 root lrwxr-xr-x 1 root wheel12 Jun 9 14:38 sbin - /shared/sbin drwxr-xr-x 6 root wheel 512 Jun 9 14:47 shared drwxrwxrwt 2 root wheel 512 Jan 21 15:45 tmp lrwxr-xr-x 1 root wheel11 Jun 9 14:38 usr - /shared/usr drwxr-xr-x 20 root wheel 512 Jun 9 14:01 var [EMAIL PROTECTED] / # ll usr/local var/db usr/local: total 2 drwxr-xr-x 2 root wheel 512 Jun 9 14:38 . drwxr-xr-x 14 root wheel 512 Jun 9 14:26 .. lrwxr-xr-x 1 root wheel 12 Jun 9 14:38 etc - /private/etc var/db: total 3 drwxr-xr-x 3 rootwheel 512 Jun 9 14:47 . drwxr-xr-x 20 rootwheel 512 Jun 9 14:01 .. drwx-- 2 rootwheel 512 Jan 21 15:45 ipf -rw-r--r-- 1 nobody wheel0 Jan 21 15:46 locate.database -rw-r--r-- 1 rootwheel0 Jun 9 14:01 mountdtab lrwxr-xr-x 1 rootwheel 11 Jun 9 14:47 pkg - /shared/pkg [EMAIL PROTECTED] / # ll shared private private: total 3 drwxr-xr-x 3 root wheel 512 Jun 9 14:37 . drwxr-xr-x 13 root wheel 512 Jun 9 14:38 .. drwxr-xr-x 2 root wheel 512 Jun 9 14:27 etc shared: total 7 drwxr-xr-x 6 root wheel 512 Jun 9 14:47 . drwxr-xr-x 13 root wheel 512 Jun 9 14:38 .. drwxr-xr-x 2 root wheel 1024 Jun 9 14:26 bin drwxr-xr-x 2 root wheel 512 Jun 9 14:47 pkg drwxr-xr-x 2 root wheel 2048 Jun 9 14:26 sbin drwxr-xr-x 14 root wheel 512 Jun 9 14:26 usr I think this will work, but it seems kind of messy. Am I missing a simpler way? Thanks Rob. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD MP3 Player's
* Frank Staals [2005-06-11 12:46 +0200] Almost all mp3-players will work fine with *BSD systems, the basic filesystem used on them is dos, so you can simply mount them using 'mount -t msdos'. I can't realy say what mp3 player is best, but check out the Iriver products, most of their mp3 players also support ogg vorbis, you are probably looking for an player with HD so check for the H300 series, www.iriver.com for more info Take notice that some of iRivers products don't come with USB Mass Storage as default, and need a firmware upgrade to support this. Without this support I do not believe that FreeBSD will recognize the unit as an external harddrive. With the UMS firmware, the iRiver units will lack some features, eg. the unit will start up slower, not support MP3 encoding at high bitrates, etc. I would advise anyone to check out these things before buying an iRiver. Thing might have changed with newer versions, thought. I have a 2GB iAUDIO5 myself, of which I am very satisfied. It playes Ogg Vorbis, but it also takes some time to turn on. I have no first hand experience of any other players. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jails and filesystems
Rob wrote: I'm trying to figure out the best layout for multiple jails. I'd like to share binaries across jails - patches and packages only need to be installed once, and it saves a lot of space. So these directories would be shared and read-only: [...] You can also use mount_unionfs with option -b. For instance you have a template jail, let's say in /usr/jail/template, and a jail in /usr/jail/myjail. You can mount now the template to the jail directory mount_unionfs -b /usr/jail/template /usr/jail/myjail It's not read-only. Now you have all files of the template in myjail and you can even overwrite or delete them if you like, the template remains untouched. unionfs treats the mounted directory and the mount point as two layers. An upper layer where all changes are stored and a lower layer which is not writable through the upper layer. The option -b invert the position of these layers. I make some practical examples: If you access the myjail directory then you can imagine that you look from top onto the upper layer and in some cases you look through the upper layer to the lower layer. (1)(2)(3) | | | +---|--|--|+ | upper layer: /usr/jail/myjail || | | | || | | V X| | | /etc/rc.conf | +---|--+ | lower layer: /usr/jail/template | | | | | V | | /bin/sh /etc/rc.conf /usr/bin/gcc | +--+ (1) /bin/sh exists in the template, but not in myjail. You'll access the file of the lower layer. (2) At first /etc/rc.conf exists in the template only. Then you deceide that you want to make some changes to the file and you save it. It's stored in the upper layer and from now you access your changed file only. The file exists in two different versions in both layers. (3) You don't need /usr/bin/gcc in your jail? Just delete it. The template remains untouched, but you can't access it now anymore; even not if you remount your unionfs. Please test the use of unionfs copiously. Read the manpage mount_unionfs(8), especially the BUGS section. I know some users which never had problems with unionfs and jails, but you should be careful with it nevertheless. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resizing /var
Hello everybody, I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? Thank you for your answers Best Regards, Ptitoliv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
On 2005-06-11 15:43, ptitoliv [EMAIL PROTECTED] wrote: Hello everybody, I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? None that I know of. Your best bet is, I guess, to find somewhere enough space for a backup, repartition restore session. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installkernel fails instantly w/ signal 11
In an effort to get the simplest of compiled c++ programs (compiled with g++) to actually run without a segfault on my box I'm trying to update everything. So I cvsup'd src-all and ports-all. Then I did: make -j4 buildworld (which worked) make -DALWAYS_CHECK MAKE buildkernel (which also worked) However, then when I try to installkernel I get a signal 11 immediately as shown below. I've tried it in single user mode with the same result. Not sure what I'm doing wrong? I've read signal 11 is usually caused by hardware issues but it seems strange this box could build both world and kernel without any problems if that were the case. vitoc# cd /usr/src vitoc# pwd /usr/src vitoc# ls COPYRIGHT UPDATINGgnu rescue usr.bin LOCKS bin include sbinusr.sbin MAINTAINERS contrib kerberos5 secure Makefilecrypto lib share Makefile.inc1 etc libexec sys README games release tools vitoc# make -DALWAYS_CHECK_MAKE installkernel -- Making hierarchy -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.i386/make -f Makefile.inc1 hierarchy cd /usr/src/etc;/usr/obj/usr/src/make.i386/make distrib-dirs mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var *** Signal 11 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. vitoc# I've literally done everything by the book but maybe I've missed something obvious to someone else? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD MP3 Player's
Frank Staals wrote: Almost all mp3-players will work fine with *BSD systems, the basic filesystem used on them is dos, so you can simply mount them using 'mount -t msdos'. And, while they're not there yet (the largest capacity iPod-Photo from Apple has what, a 60 GB HDD? But, that's halfway to oblivion), note that at the moment, msdosfs(5) has a limit of 120GB for most practical intents and purposes. It may be interesting to see who gets past the 120 GB barrier first: the hardware vendors or the operating system. But, it's already a tad of an issue with devices like USB HD enclosures, so surely the mp3-players can't be far behind. But who really needs to *carry* 120GB of music around with them? Ah, well like Gates said, 640K should be enough for anybody! :-) Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
On Sat, Jun 11, 2005 at 03:43:07PM +0200, ptitoliv wrote: Hello everybody, I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas I ran into the same problem. I just symlinked to /usr for the following directories; lrwxr-xr-x 1 rootwheel 11 Feb 10 00:05 db - /usr/var/db lrwxrwxr-x 1 rootmail 9 Nov 24 2003 mail - /usr/mail lrwxr-xr-x 1 rootwheel 11 Aug 26 2003 spool - /usr/spool/ I don't know what risks I am running here, but I have been running this way for years - when I purchase a new drive I will creat a larger /var and copy all from the old drive. Considering how cheap drives are, that may be your easiest solution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netgear wg311T and ath driver attaching
I'm attempting to use the netgear wg311T card, which I bought since the ath man page and docs said it is supported under FBSD. I'm using the 5.4 release. I did: cd /sys/modules/ath; make; make install kldload if_ath and dmesg presents: ath0: Atheros 5212 mem 0xdf00-0xdf00 irq 18 at device 8.0 on pci1 ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 Which, from googling, seems to indicate the driver in -CURRENT will probably work. Is this true? If so, is it possible to just download/compile the ath driver from -CURRENT? If so, how? Or should I be able to make this work on a release system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
ptitoliv wrote: Hello everybody, I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? Thank you for your answers Best Regards, Ptitoliv Not a solution, per se, but I've been able to run servers a long time with symlinks from /var/foo to /usr/var/foo, and so on. /var/log is a particularly good candate IMO, but I see no reason that you couldn't try it with most any subfolder(s). The problem there is that it'd be best to do the symlinking when the box was in single-user, and I doubt you have console access in the situation you describe. In should be possible, depending on the box's application, to kill the daemon(s) using said folder, mv the data to /usr, create the symlink and restart the daemon(s), but it's maybe a little touchy, as I said, depending on what you're moving and how many customers it would affect, etc. HTH, Kevin Kinsey DaleCo, S.P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
httpd and memory usage
I seem to have a lot of memory being eaten by httpd (part output of top); 62310 nobody 18 0 26792K 21516K lockf0:04 0.00% 0.00% httpd 162 root 2 0 4328K 2244K select 0:04 0.00% 0.00% sendmail 63909 nobody 18 0 26824K 21528K lockf0:03 0.00% 0.00% httpd 62311 nobody 2 0 26740K 21432K select 0:03 0.00% 0.00% httpd 62764 nobody 18 0 26604K 21252K lockf0:03 0.00% 0.00% httpd 62800 nobody 18 0 26608K 21248K lockf0:03 0.00% 0.00% httpd 62312 nobody 18 0 26636K 21292K lockf0:03 0.00% 0.00% httpd 62309 nobody 18 0 26820K 21436K lockf0:03 0.00% 0.00% httpd 62313 nobody 18 0 26592K 21228K lockf0:03 0.00% 0.00% httpd 62381 nobody 18 0 26768K 21404K lockf0:03 0.00% 0.00% httpd 287 root 2 0 13108K 7460K select 0:02 0.00% 0.00% httpd I have changed the timeout in httpd.conf from 300 to 100 which does not seem to help. Any ideas to have httpd timeout sooner to preserve memory? -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
Giorgos Keramidas wrote: On 2005-06-11 15:43, ptitoliv [EMAIL PROTECTED] wrote: I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? None that I know of. Your best bet is, I guess, to find somewhere enough space for a backup, repartition restore session. Doesn't it make sense to simply move selectetd directories to a partition with free space and create symlinks? I would think moving /var/db and /var/log would suffice for most situations. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgear wg311T and ath driver attaching
Luke St.Clair wrote: I'm attempting to use the netgear wg311T card, which I bought since the ath man page and docs said it is supported under FBSD. I'm using the 5.4 release. ath works on 5.x but I've seen much improvement in 6.x. I did: cd /sys/modules/ath; make; make install kldload if_ath and dmesg presents: ath0: Atheros 5212 mem 0xdf00-0xdf00 irq 18 at device 8.0 on pci1 ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 Which, from googling, seems to indicate the driver in -CURRENT will probably work. Is this true? Yes, I'm using one on -CURRENT If so, is it possible to just download/compile the ath driver from -CURRENT? If so, how? The driver is part of the system, you don't have to download/compile anything. Simply put this in your /boot/loader.conf if_ath_load=YES Or should I be able to make this work on a release system? Yes, see above. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
On 2005-06-11 09:27, Doug Poland [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: On 2005-06-11 15:43, ptitoliv [EMAIL PROTECTED] wrote: But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? None that I know of. Your best bet is, I guess, to find somewhere enough space for a backup, repartition restore session. Doesn't it make sense to simply move selectetd directories to a partition with free space and create symlinks? I would think moving /var/db and /var/log would suffice for most situations. True. It does. To be frank, I didn't even think of this (mostly because I usually keep /var big enough for the work I do and never found myself in need of shuffling things around a lot). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgear wg311T and ath driver attaching
Luke St.Clair wrote: I'm attempting to use the netgear wg311T card, which I bought since the ath man page and docs said it is supported under FBSD. I'm using the 5.4 release. Yes, I'm using one on -CURRENT If so, is it possible to just download/compile the ath driver from -CURRENT? If so, how? The driver is part of the system, you don't have to download/compile Simply put this in your /boot/loader.conf: if_ath_load=YES Or should I be able to make this work on a release system? Yes, see above. Sorry, I must not have been clear - I kldloaded the if_ath module, as specified in my first post, which is what gave me the dmesg errors. The ath0 interface then does not show up in ifconfig -a, because of the errors. So I'm not sure how, on a 5.4-RELEASE system, what you're suggesting could work. If the ath driver attached properly, yes, if_ath_load would in fact start my card automatically on boot, but the driver can't attach, so trying to attach on bootup isn't very helpful. So, the question still stands, i think - can i get this card working on a 5.4 release sytem, or do i have to use CURRENT or do something else? And if I can't get this working on current, the man page of ath REALLY needs to be updated, at the very least to specify that wg311v1 is supported, but not v2, like the OBSD man page does. Any my apologies for what must end up looking like horrible html mail from hotmail - my main mail is down temporarily. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wrap sshd
Osmany Guirola Cruz wrote: Hi i am trying to restrict the ssh access to my machine from a specific machine and i am using hosts.allow but does not wor for me this is my /etc/hosts.allow file sshd : capella.cigb.edu.cu : deny then i restart the sshd daemon and doe not work i still have access from this machine ... Thanks You have better to deny everything and allow several certain hosts or networks. It is much more secure schema, than have tone of records of bad guy`s hosts in your tcp-wrappers config file. But I admit, that in some cases sense of your question is relevant. But I am not sure in which cases ? :-) Vladimir Dvorak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel fails instantly w/ signal 11
Keyser wrote: In an effort to get the simplest of compiled c++ programs (compiled with g++) to actually run without a segfault on my box I'm trying to update everything. So I cvsup'd src-all and ports-all. Then I did: make -j4 buildworld (which worked) make -DALWAYS_CHECK MAKE buildkernel (which also worked) However, then when I try to installkernel I get a signal 11 immediately as shown below. I've tried it in single user mode with the same result. Not sure what I'm doing wrong? I've read signal 11 is usually caused by hardware issues but it seems strange this box could build both world and kernel without any problems if that were the case. vitoc# cd /usr/src vitoc# pwd /usr/src vitoc# ls COPYRIGHT UPDATINGgnu rescue usr.bin LOCKS bin include sbinusr.sbin MAINTAINERS contrib kerberos5 secure Makefilecrypto lib share Makefile.inc1 etc libexec sys README games release tools vitoc# make -DALWAYS_CHECK_MAKE installkernel -- Making hierarchy -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.i386/make -f Makefile.inc1 hierarchy cd /usr/src/etc;/usr/obj/usr/src/make.i386/make distrib-dirs mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var *** Signal 11 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. vitoc# I've literally done everything by the book but maybe I've missed something obvious to someone else? Cut and pasted from /usr/src/Makefile - - - CUT - - - # Make sure we have an up-to-date make(1). Only world and buildworld # should do this as those are the initial targets used for upgrades. # The user can define ALWAYS_CHECK_MAKE to have this check performed # for all targets. # - - - CUT - - - Try make and install kernel without -DALWAYS_CHECK_MAKE. Vladimir Dvorak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netstat problem
Nicolas Salvo wrote: Hi Maybe this is a stupid question but.. After an upgrade from 5.3 to 5.4 the output of the netstat comand doesn't show anything about tcp or the services running with tcp. Any ideas? You haven`t apparently world and kernel synchronized. In other words: build kernel and world from 5.4 and install them again. I am true if it helps. ;-) Vladimir Dvorak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel fails instantly w/ signal 11
Cut and pasted from /usr/src/Makefile - - - CUT - - - # Make sure we have an up-to-date make(1). Only world and buildworld # should do this as those are the initial targets used for upgrades. # The user can define ALWAYS_CHECK_MAKE to have this check performed # for all targets. # - - - CUT - - - Try make and install kernel without -DALWAYS_CHECK_MAKE. Vladimir Dvorak Just tried it, exact same error. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installkernel fails instantly w/ signal 11
On 6/11/05, Keyser [EMAIL PROTECTED] wrote: Cut and pasted from /usr/src/Makefile - - - CUT - - - # Make sure we have an up-to-date make(1). Only world and buildworld # should do this as those are the initial targets used for upgrades. # The user can define ALWAYS_CHECK_MAKE to have this check performed # for all targets. # - - - CUT - - - Try make and install kernel without -DALWAYS_CHECK_MAKE. Vladimir Dvorak Just tried it, exact same error. :( Any chance your processor or other pieces of the machine are overheating, or the power is too low, or the memory is bad, or the HDD is faulty, or the CDs were written with errors? The bug you're describing is quite unusual. -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trackball and graphics tablet recommendations
On Fri, 2005-06-10 at 22:11 -0500, Vulpes Velox wrote: On Sat, 11 Jun 2005 02:00:06 +0100 Jon Mercer [EMAIL PROTECTED] wrote: On Fri, 2005-06-10 at 19:05 -0500, Vulpes Velox wrote: On Fri, 10 Jun 2005 13:57:56 +0100 (BST) Jon Mercer [EMAIL PROTECTED] wrote: On Fri, June 10, 2005 12:14, Mario Hoerich said: # Vulpes Velox: Jon Mercer [EMAIL PROTECTED] wrote: [ graphics tablet and FreeBSD? ] Only restriction is that it has to be relatively recent (i.e. still in the shops) and most of the functionality should work. PS2 or USB doen't matter. [...] Not sure about tablets. You may want to check on the USB list to see what the status of the Wacom ones are. USB tablets won't work, I think (see URL:http://linuxwacom.sourceforge.net/index.php/howto/all). | | I recognize that FreeBSD and similar systems have USB support; | however, until someone can bridge the gap between the FreeBSD | kernel and the XFree86 driver, the problem is largely unsolved. I've googled quite extensively for that a while back and came up with pretty much nothing (except for some posters whose questions about tablets remained unanswered). I'd actually love to be proved wrong here. ;) I remember doing the same several months back. From what I remember finding is that it was fixed in netbsd. No clue if it ever got copied over. Cheers, Mario -- Für Gegner der Reform wird ein Wagen, der an die Wand gefahren wurde, nicht dadurch wieder flott, dass man zwei seiner Räder für intakt erklärt. -- Hermann Unterstöger, SZ, über die Rechtschraipreform Well I've done a bit of research now and decided on a Logitech Optical Trackman and given up on the idea of a tablet, the serial ones cost around £400 and that's too much for the use it'd get. Shame, I'd have enjoyed a new toy... See if you can find a old Acecad Acecat Flair. It is serial but works pretty decent.y I'll keep an eye out. Shame about the Wacom USB ones (albeit they're not cheap), they look pretty good. A case of the more you see the more you want... On a really positive note I have to retrain myself to use a scroll wheel with the trackman optical cordless now I got it working. I'm still going to the right every time I want to move down. In fact the documentation or getting odd rodents working under X is not well documented in the handbook. Anyone wanna take me up on that in the doc list? I just plugged my mouse in and it worked. AFAIK you don't have to do any thing moused if it is started at boot time. You will have to mess with X to get the scroll wheel working. Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 EndSection Hmm... I wonder if that is in the handbook... Sadly it's not that simple. I agree that for most mice that should be sufficient, however it looks as though the sysmouse mechanism doesn't provide for a number of things when it's USB, when it's cordless (God knows why that makes a difference,) etc.: The section I've got in xorg.conf now looks like this: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceTouchpad CorePointer InputDeviceUSBMouse AlwaysCore InputDeviceKeyboard0 CoreKeyboard EndSection ... Section InputDevice Identifier USBMouse Driver mouse Option Protocol Auto Option Device /dev/ums0 Option Buttons 10 Option ZAxisMapping 4 5 Option DragLockButtons 6 Option AngleOffset -7 EndSection Section InputDevice Identifier Touchpad Driver mouse Option Protocol Auto Option Device /dev/psm0 Option Buttons 6 Option ZAxisMapping 4 5 6 7 EndSection That seems to do it for X, but only if you disable moused, not only in rc.conf, but also by commenting out the mouse line in usbd.conf as well, otherwise X cannot communicate directly to the device in /dev and will fail to start. E.g.; # The entry below starts moused when a mouse is plugged in. Moused # stops automatically (actually it bombs :) when the device disappears. # #device Mouse # devname ums[0-9]+ # attach /usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -z 4 5 ; /usr/sbin/vidcontrol -m on Without doing this I can use the trackball, but not the scroll wheel. Well it works for me anyway. Jon -- --- Achean Ltdhttp://www.achean.com Jon Mercer [EMAIL PROTECTED]
Re: Upgrading MySQL Without Wrecking Bacula
On 6/10/2005 10:25 PM Kevin Kinsey wrote: Drew Tomlinson wrote: I am a total noob regarding MySQL. I have version 3.23 installed on my 4.10 system. The only thing it's been used for and by is Bacula. I have never used it directly. But now I have reason to learn MySQL and feel it would be appropriate to start with a newer version. I see there's 4.1 and 5.0. Even though it's beta, I'm inclined to just start with 5.0 since my data will not be super critical and quite small. Basically I want t make a product database and display it via web pages. There are less than 10,000 products. I also don't see more than 2 or 3 clients accessing it at one time. Maybe in an extreme case there might be 10 clients. Overall, pretty small. So what must I do to upgrade from 3.23 to something newer and keep Bacula happy. I've read the Bacula web site and it claims to work with 3.23 and higher. I've browsed the MySQL site and see instructions to upgrade from 3.23 to 4.0, 4.0 to 4.1, and upgrading to 5.0. However I'm sure I don't really need to upgrade in steps? Any guidance, advice, and/or links to tutorials would be greatly appreciated. Thanks, Drew I like mysqldump for easy to recreate backups: $ mysqldump sometable sometable.sql To restore, you need to add a statement to the top of the file, like use sometable. Then: $ mysqladmin create cometable and, finally: $mysql sometable.sql And everything should be good to go. Thanks for the tip. It gives me somewhere to start. Sorry I'm not much more help. I use portupgrade and/or portmanager to keep things somewhat up to date, but I don't know if there would be any gotchas with that and Bacula or not. I'd tend to think that as long as I had all my databases backed up, I could uninstall 323 and install something from the 4X or 5X line and not have too many issues. Me too. portupgrade is a great tool. I agree that if I have the databases backed up, I should be able to restore. This is just my home system so if the worst happened and I lost my complete bacula database, it still wouldn't be the end of the world (unless my hard drive crashed before I got bacula running again). You might want to learn a little about using the MySQL monitor itself, first, in 3.23; a little knowledge of MySQL syntax would add to your confidence in restoring the data, I would think . . . I've fiddled around with MySQL a little so far. Webmin provides an easy interface to administering MySQL users, databases, etc. and that has been very helpful. Now I just have to learn what real commands Webmin calls when performing these functions. I suspect it uses mysqladmin. Thanks for your reply, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD MP3 Player's
On Sat, 2005-06-11 at 19:07 +1000, anon wrote: Hi everyone, I am looking to get an mp3 player that I can use with my FreeBSD laptop. If anyone out there uses a mp3 player with thier BSD system, *ptrs and suggestions would be great :). Basically I am look for something with 5G or more capacity and 12 hr + batery time, FM radio capability would also be good. I have both firewire and USB on the laptop so connection is not a problem, I am also tracking STABLE. Cheers, Hubert Farnswoth. I am using the Creative Zen Touch (40gb for ~$280 US), and had excellent luck with it. Using gnomad2, you can store data or mp3s on it, but it is fairly slow to load the local directories of music since it does not just generate a list of filenames, it also scans the ID3 tags and determines song length, etc. Using USB1.1 it is also quite slow to transfer songs to the Zen Touch, and I have not yet had the opportunity to try USB2.0, though the Zen Touch supports it. It does not, however, support Ogg Vorbis or other formats, only MP3, WMA, and WAV. The optional remote control (~$50 US) adds FM radio, voice recording, and recording from the radio. Sound quality is superb, and battery life is reported as 24hrs, with many users regularly seeing 20+hrs in real use. -- Christopher Black Chief Security Engineer Secure Crossing 22750 Woodward Suite 304 - Ferndale, MI 48220 Tel (800) 761-4299 | Direct (248) 658-6120 [EMAIL PROTECTED] | www.securecrossing.com signature.asc Description: This is a digitally signed message part
Re: error when trying to install mysql 4.1.12
I'm not sure that command line will work. If I correctly remember what I did, this is what worked for me: % make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL clean % make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL % make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL deinstall % make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL reinstall % make -DWITH_LINUXTHREADS -DBUILD_OPTIMIZED -DWITH_OPENSSL clean I'm also surprised that we seem to be the only two who have had this problem. Christian Astrup Bakke wrote: Jason Taylor wrote: I had this same problem also on 4.11 and then discovered that the options from pkgtools.conf weren't being picked up (I'd mistyped mysql41-* as mysq41-*). Anyway, using the following options made it work: USE_LINUXTHREADS, BUILD_OPTIMIZED, WITH_OPENSSL. I haven't investigated and have no direct proof, but my guess is that USE_LINUXTHREADS is the key. i just tried with 'WITH_LINUXTHREADS=yes' to no avail. here is a sample from the install with 'make install WITH_LINUXTHREADS=yes clean': // mkdir .libs cc -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o -lreadline -lncurses ../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -Wl,--rpath -Wl,/usr/local/lib/mysql mysql.o: In function `new_mysql_completion(char const *, int, int)': mysql.o(.text+0x18b0): undefined reference to `rl_completion_matches' *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12/client. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client. *** Error code 1 Stop in /usr/ports/databases/mysql41-server. // as far as i can see, it coughs as the same error. my pkgtools.conf has not been touched by me in any way before or after installing mysql (both versions). -- christian at asba dot no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam reporting tool
Alec, Additional question : In my ports tree, I can find : Port: spamcup-1.09 Is this one the correct one to install ? I would recommend against using that as it is a tool to automatically report spam without verification. From the script: # *** W A R N I N G ! *** # # The script does NOT know where the spam report will be sent so # IT'S YOUR RESPONSIBILITY! Just go to Spamcop, register for the free version, and follow the instructions. k Thanks :) Now I have registered and I reported my first SPAM. The SpamCop's system seems to be reliable. But I receive large amount of SPAM each day (100+) ; is there a solution (a script, or something like that) to make the spam reporting's actions automatic ? See you, -- Léo Lapousterle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: httpd and memory usage
David Banning wrote: I seem to have a lot of memory being eaten by httpd (part output of top); 62310 nobody 18 0 26792K 21516K lockf0:04 0.00% 0.00% httpd [ ... ] I have changed the timeout in httpd.conf from 300 to 100 which does not seem to help. It wouldn't. Apache is normally run in a prefork mode, which means it keeps lots of children (default is 5, plus the master) running all of the time. Any ideas to have httpd timeout sooner to preserve memory? If you want to reduce the memory usage, avoid using mod_perl or PHP. httpd ought to shrink down to ~5MB or so per process. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam reporting tool
On Sat, 2005-06-11 at 18:12, Leo Lapousterle wrote: Alec, Additional question : In my ports tree, I can find : Port: spamcup-1.09 Is this one the correct one to install ? I would recommend against using that as it is a tool to automatically report spam without verification. From the script: # *** W A R N I N G ! *** # # The script does NOT know where the spam report will be sent so # IT'S YOUR RESPONSIBILITY! Just go to Spamcop, register for the free version, and follow the instructions. k Thanks :) Now I have registered and I reported my first SPAM. The SpamCop's system seems to be reliable. But I receive large amount of SPAM each day (100+) ; is there a solution (a script, or something like that) to make the spam reporting's actions automatic ? See you, To report though Spamcop you have to review every report before it is sent. Although you can automate the sending, for example there is an add on for squirrel mail that will forward spam, you still have to review the reports. If you have a large number of spam mails, I suggest that you use the Spamcop rbl and only report the ones that leak through. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgear wg311T and ath driver attaching
I'm attempting to use the netgear wg311T card, which I bought since the ath man page and docs said it is supported under FBSD. I'm using the 5.4 release. I did: cd /sys/modules/ath; make; make install kldload if_ath and dmesg presents: ath0: Atheros 5212 mem 0xdf00-0xdf00 irq 18 at device 8.0 on pci1 ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 Which, from googling, seems to indicate the driver in -CURRENT will probably work. Is this true? If so, is it possible to just download/compile the ath driver from -CURRENT? If so, how? Or should I be able to make this work on a release system? I use the CardBus version of this model under RELENG_5 for two months now. It is not perfect (stability link status), but it works correctly most of the time: $ grep -i ath0 /var/run/dmesg.boot ath0: Atheros 5212 mem 0x8800-0x8800 irq 18 at device 0.0 on cardbus0 ath0: mac 5.9 phy 4.3 5ghz radio 4.6 ath0: Ethernet address: 00:0f:b5:a0:fb:43 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Maybe is it related to the PCI version (any user here?). -- -jpeg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: gnome2 fbsd5.4 failed at print/ggv
What a shame .. after a week and a half of building a new FreeBSD server .. and many hours into installing gnome2 .. print/ggv was apparently a dependency .. I AM NOW DEAD unless there is a work around for i386_FreeBSD_5.4 /usr/ports/ .. gnome2 For us low level installers (vs super-coders) is there a way past this problem to get Gnome X11 etc back up in the 21st century ? Sempron 2200 on an MSI mobo, 256mem, fine on the internet from ftp5 Thank you for any clues .. Two quotes follow boxed by == R/ Everett F Batey II - WA6CRE - http://www.cotdazr.org 800 545-6998 = 805 340-6471 / Office (805) 228-7180 === # cd /usr/ports/gnome2 # make install clean -- logfile === === Building for ghostscript-gnu-7.07_12 in pre-build ... creating directories for compilation ... building gimp-print library ... gmake all-recursive .. gmake[1]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7' creating symlinks for gimp-print ... creating symlinks for md2k ... creating symlinks for alps ... creating symlinks for bj10v ... creating symlinks for bjc250 ... creating symlinks for lips ... building epag utility ... gmake: `ert' is up to date. creating symlinks for epag ... creating symlinks for eplaser ... creating symlinks for mjc ... creating symlinks for lxm3200 ... creating symlinks for lex7000 ... cc `cat ./obj/cc.tr` -DHAVE_MKSTEMP -O -pipe -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin -fno-common -DUPD_SIGNAL=0 -I./gimp-print -I/usr/local/include/libpng -I/usr/local/include -I./obj -I./src -o ./obj/gdevl256.o -c ./src/gdevl256.c *** Error code 2 Stop in /usr/ports/print/ghostscript-gnu. === # cd /usr/ports/print/ggv # make install -- logfile /tmp/ggv_make_log.txt === === ggv-2.8.4_2 depends on executable: gmake - found === ggv-2.8.4_2 depends on file: /usr/local/bin/libtool15 - found === ggv-2.8.4_2 depends on file: /usr/local/bin/intltool-extract - found === ggv-2.8.4_2 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found === ggv-2.8.4_2 depends on executable: pkg-config - found === ggv-2.8.4_2 depends on executable: gs - not found ===Verifying install for gs in /usr/ports/print/ghostscript-gnu === Building for ghostscript-gnu-7.07_12 in pre-build ... creating directories for compilation ... building gimp-print library ... gmake all-recursive gmake[1]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7' Making all in intl gmake[2]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/intl' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/intl' Making all in include gmake[2]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include' Making all in gimp-print gmake[3]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include/gimp-print' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include/gimp-print' gmake[3]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include' gmake[2]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/include' Making all in lib gmake[2]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/lib' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/lib' Making all in man gmake[2]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/man' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/man' Making all in src gmake[2]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/src' Making all in printdef gmake[3]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/src/printdef' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/src/printdef' Making all in main gmake[3]: Entering directory `/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print -4.2.7/src/main' gmake[3]: Nothing to be
Re: Strange error
On Fri, 2005-Jun-10 22:41:36 +0200, Jack Raats wrote: This day I've a very strange error when trying to connect to my FreeBSD machine (4.11-STABLE) I got the following error: ssh_exchange_identification: Connection closed by remote host Can anyone give me any clue what's wrong? Try turning on debugging on the client (ssh -vvv ...). You can also turn on debugging on the server with '-d' (though you probably also want to use '-p'). If the problem isn't obvious, compare the output with a debugging session that works. -- Peter Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh delays 40 seconds (revisited)
luke wrote: also, you might want to look into the UseDNS option in the sshd_config file. this will cause the server to not perform dns lookups on connecting hosts. Curious and more curious. I updated one of my systems to 5.4 p2 today and just for grins I changed the UseDNS option back to yes. Then I restarted sshd and there was no delay. I then changed the UseDNS option on all of the other boxes (5.4 REL) to yes and restarted sshd and they all work without delay. So, I am back to where I was before I went to where I got. And everything works like it always did. Any idea why this happened to so many people last weekend. Or should we just smile and go about our merry way. Thanks to all who responded last weekend. Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't connect to NFS Share
Hello, I'm new to the list. I've had a FreeBSD 4.8-RELEASE-p13 server running for a long time, but now I've decided to install 4.11 on a new machine. The problem I'm having is that I have nfs shares configured, showmount -e shows me the correct information, all the nfs services are running, and I have network connectivity between my PowerMac and the new FreeBSD machine, but I can't mount or connect to the shares. When I open a root terminal on my Mac and issue mount_nfs moe:/usr/ local/www /Volumes/Storage/TMP, I get Permission Denied. On the FreeBSD machine, I see NFS request from unprivileged port (192.168.254.3:52514). I've searched the list archives for NFS request from unprivileged port with no joy, and don't find anything else interesting on Google. Could someone please point me in the right direction to resolve this? Thanks, Charles ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh delays 40 seconds (revisited)
Robert Marella wrote: luke wrote: also, you might want to look into the UseDNS option in the sshd_config file. this will cause the server to not perform dns lookups on connecting hosts. Curious and more curious. I updated one of my systems to 5.4 p2 today and just for grins I changed the UseDNS option back to yes. Then I restarted sshd and there was no delay. I then changed the UseDNS option on all of the other boxes (5.4 REL) to yes and restarted sshd and they all work without delay. So, I am back to where I was before I went to where I got. And everything works like it always did. Any idea why this happened to so many people last weekend. Or should we just smile and go about our merry way. Thanks to all who responded last weekend. Robert Did you get reverse DNS set up in the interceding few days, as you said you thought you might look into when you typed: ] The consensus was ] that I need DNS/named working on my gateway/firewall so I will be ] reading and studying to have that working in the near future. ] just curious, as you are curious and more curious :-D Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing /var
Giorgos Keramidas wrote: On 2005-06-11 15:43, ptitoliv [EMAIL PROTECTED] wrote: I have a big problem on a FreeBSD 5.3 Box. It is an hosted server installed by an hosting service. But I didn't know what they smoke when they have installed the system but they sized the /var filesystem only to 200 MB which is not sufficient for my needs. I used an emergency solution which was to transfer some datas on /usr like databases but I am afraid that the problem will come back. So I am asking here if there is any solution to transfer free space from ./usr to /var. But there are some constraints : - I have no free unpartitioned space available - I can't format any partition because and I can't loose datas Is there any solution with some BSD tools in order to solve this problem ? None that I know of. Your best bet is, I guess, to find somewhere enough space for a backup, repartition restore session. Doesn't it make sense to simply move selectetd directories to a partition with free space and create symlinks? I would think moving /var/db and /var/log would suffice for most situations. That makes a lot of sense. In fact it is probably the best way to go. There are numerous posts (some by me) in the archive that tell how to do it step by step. jerry -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't connect to NFS Share
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Howse wrote: | Hello, I'm new to the list. | I've had a FreeBSD 4.8-RELEASE-p13 server running for a long time, but | now I've decided to install 4.11 on a new machine. | | The problem I'm having is that I have nfs shares configured, showmount | -e shows me the correct information, all the nfs services are running, | and I have network connectivity between my PowerMac and the new FreeBSD | machine, but I can't mount or connect to the shares. | | When I open a root terminal on my Mac and issue mount_nfs moe:/usr/ | local/www /Volumes/Storage/TMP, I get Permission Denied. | On the FreeBSD machine, I see NFS request from unprivileged port | (192.168.254.3:52514). | | I've searched the list archives for NFS request from unprivileged | port with no joy, and don't find anything else interesting on Google. | | Could someone please point me in the right direction to resolve this? | The Mac is trying the NFS request on a non priveleged port. Try setting setting nfs_reserve_port_only to NO in /etc/rc.conf - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCq3ua9Jm/aTrtdKoRAh1iAKCYvUPZIDCW6o8UoTMgQFp/dfZgcACfYy/D MYEkY2tNmu2hcazJ3PvAh0A= =97X0 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: httpd and memory usage
On Sat, Jun 11, 2005 at 02:40:01PM -0400, Chuck Swiger wrote: David Banning wrote: I seem to have a lot of memory being eaten by httpd (part output of top); 62310 nobody 18 0 26792K 21516K lockf0:04 0.00% 0.00% httpd [ ... ] I have changed the timeout in httpd.conf from 300 to 100 which does not seem to help. It wouldn't. Apache is normally run in a prefork mode, which means it keeps lots of children (default is 5, plus the master) running all of the time. Any ideas to have httpd timeout sooner to preserve memory? If you want to reduce the memory usage, avoid using mod_perl or PHP. httpd ought to shrink down to ~5MB or so per process. Here is the thing though. I can apachectl restart and memory is plentiful. So it seems like httpd -can- operate on lower memory, albeit maybe five as you say. Surely visitors have no need for the page, whether it be php or not. Is there a way for those memory consuming httpd jobs to die earlier? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange error
On Sun, 12 Jun 2005, Peter Jeremy wrote: On Fri, 2005-Jun-10 22:41:36 +0200, Jack Raats wrote: This day I've a very strange error when trying to connect to my FreeBSD machine (4.11-STABLE) I got the following error: ssh_exchange_identification: Connection closed by remote host Can anyone give me any clue what's wrong? I missed the start of this thread but this sounds like tcpwrappers closing the connection. Check your /etc/hosts.allow and look in /var/log/messages for a message like: May 31 12:18:36 hostname sshd[1594]: warning: /etc/hosts.allow, line 32: can't verify hostname: getaddrinfo(1.2.3.4.example.com, AF_INET) failed May 31 12:18:37 hostname sshd[1594]: refused connect from 1.2.3.4 (1.2.3.4) If you see something like that you can change the entry in your /etc/hosts.allow to allow ssh connections from that specific IP or netmask. see hosts_options(5) for details. -- Tod McQuillin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
With all we can do in Unix ...
... why is it impossible to view/edit the BIOS while the server is live? Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fstab option to 'skip' a file system?
Is there an option that I can add to fstab (or some way of doing it?) that, when a server reboots, it will 'ignore' that file system, but I can still do a 'mount /fs' after the fact? I have remote servers that I'd like to manually fsck one of the file systems after it comes up, but I don't have a serial console enabled on them (yet!) ... so, i'd like it to ignore that one file system on reboot, but still have it listed in /etc/fstab ... Setting 'passno' to 0, I believe, will cause it to fail to boot due to an unclean file system, so that doesn't appear to be an option ... Is that possible? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fstab option to 'skip' a file system?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc G. Fournier wrote: | | Is there an option that I can add to fstab (or some way of doing it?) | that, when a server reboots, it will 'ignore' that file system, but I | can still do a 'mount /fs' after the fact? | | I have remote servers that I'd like to manually fsck one of the file | systems after it comes up, but I don't have a serial console enabled on | them (yet!) ... so, i'd like it to ignore that one file system on | reboot, but still have it listed in /etc/fstab ... | | Setting 'passno' to 0, I believe, will cause it to fail to boot due to | an unclean file system, so that doesn't appear to be an option ... | | Is that possible? | ~From the fstab(5) man page: ... If the option ``noauto'' is specified, the file system will not be auto- ~ matically mounted at system startup. ... Just add noauto to the Options for that fs. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCq6379Jm/aTrtdKoRAtj3AJ9UidrCbllUnJ7yXV22P/NWMW5DaQCfdg2+ rwkKV3b+NnKKUxCn7V9SZXw= =yVIT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fstab option to 'skip' a file system?
On Sat, 11 Jun 2005, Bob Bomar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc G. Fournier wrote: | | Is there an option that I can add to fstab (or some way of doing it?) | that, when a server reboots, it will 'ignore' that file system, but I | can still do a 'mount /fs' after the fact? | | I have remote servers that I'd like to manually fsck one of the file | systems after it comes up, but I don't have a serial console enabled on | them (yet!) ... so, i'd like it to ignore that one file system on | reboot, but still have it listed in /etc/fstab ... | | Setting 'passno' to 0, I believe, will cause it to fail to boot due to | an unclean file system, so that doesn't appear to be an option ... | | Is that possible? | ~From the fstab(5) man page: ... If the option ``noauto'' is specified, the file system will not be auto- ~ matically mounted at system startup. ... Just add noauto to the Options for that fs. Perfect, thanks ... I've used that for cdrom, not sure why I didn't think of it for a regular file system :( Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fstab option to 'skip' a file system?
At 08:16 PM 6/11/2005, Marc G. Fournier wrote: Is there an option that I can add to fstab (or some way of doing it?) that, when a server reboots, it will 'ignore' that file system, but I can still do a 'mount /fs' after the fact? in the options column in fstab specify noauto -Glenn I have remote servers that I'd like to manually fsck one of the file systems after it comes up, but I don't have a serial console enabled on them (yet!) ... so, i'd like it to ignore that one file system on reboot, but still have it listed in /etc/fstab ... Setting 'passno' to 0, I believe, will cause it to fail to boot due to an unclean file system, so that doesn't appear to be an option ... Is that possible? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is 5.4 p2 ?
and more curious. I updated one of my systems to 5.4 p2 today Being a newcomer to FreeBSD, I understand about Release version, STABLE version and CURRENT one. But I don't understand this p2 you are refering to. I could guess it means point release 2, so I checked: http://www.freebsd.org/where.html But files seems to be for 5.4-RELEASe still from May 8. So what is 5.4 p2 ? -- http://www.fastmail.fm - IMAP accessible web-mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting a simple firewall for PPPoE connection
On Thu, 9 Jun 2005 18:22:45 +0200 (CEST), P.U.Kruppa [EMAIL PROTECTED] said: On Thu, 9 Jun 2005, dk dkrules wrote: I am very dissappointed. I have been looking on the net for 3 days now looking for easy setup guides or How to guides and setting up FreeBSD 5.x with transparent proxy and firewall and there simply is no easy way explaining to beginners how to do such a setup. 1) Before you start playing around with squid and firewall you have to make sure your FreeBSD box works as a gateway. 2) When this is done look into google for setup of squid as a transparent proxy (these are two or three entries in a config file). 3) enable firewall in /etc/rc.conf with lines like firewall_enable=YES firewall_script=/etc/firewall.conf 4) edit your /etc/firewall.conf with something like ipfw add 500 fwd 127.0.0.1 tcp from any to any 80 recv rl0 ipfw add 6 allow all from any to any where rl0 is the device name of your NIC. 5) reboot Well, I feel a bit like the original poster. I had in mind of activating a firewall for my PPPoE connection a bit like it is easy to do on Windows XP. So I began reading the handbook and found that there is mainly 3 different firewalls, and this put me with the problem of choosing one. IPFW seems to have default rules that would at first glance make it easy (would choose client setup for me). But then reading through /etc/rc.firewall I concluded that I had to set my IP address in it. But my ISP set it dynamically with PPPoE, so I did not know what to do next. So I thought that reading the ppp man page (yes, I use userland ppp program, but I think that there is a pppoed somewhere that I maybe should use instead), there is some kind of firewall rules that can be set inside ppp.conf. But I did not convince myself that it would help me with the fact that my IP address is dynamic. Now, maybe I can use 127.0.0.1 like you did in step 4 above, but I don't really understand these rules yet. It looks like to me the first one accept HTTP traffic (port 80) and that the second one accept every traffic. I would have expected that the second one would refuse every traffic, leaving only traffic from the first rule to go through. But the main question is: How to deal with dynamic IP address when writing firewall rules? -- http://www.fastmail.fm - Accessible with your email software or over the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh delays 40 seconds (revisited)
Kevin Kinsey wrote: Robert Marella wrote: luke wrote: also, you might want to look into the UseDNS option in the sshd_config file. this will cause the server to not perform dns lookups on connecting hosts. Curious and more curious. I updated one of my systems to 5.4 p2 today and just for grins I changed the UseDNS option back to yes. Then I restarted sshd and there was no delay. I then changed the UseDNS option on all of the other boxes (5.4 REL) to yes and restarted sshd and they all work without delay. So, I am back to where I was before I went to where I got. And everything works like it always did. Any idea why this happened to so many people last weekend. Or should we just smile and go about our merry way. Thanks to all who responded last weekend. Robert Did you get reverse DNS set up in the interceding few days, as you said you thought you might look into when you typed: ] The consensus was ] that I need DNS/named working on my gateway/firewall so I will be ] reading and studying to have that working in the near future. ] just curious, as you are curious and more curious :-D Kevin Kinsey Ummm .. no. It was on my list of things to do that I didn't do. You know what they say about curious. :) Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is 5.4 p2 ?
Paul Dufresne wrote: and more curious. I updated one of my systems to 5.4 p2 today Being a newcomer to FreeBSD, I understand about Release version, STABLE version and CURRENT one. But I don't understand this p2 you are refering to. I could guess it means point release 2, so I checked: http://www.freebsd.org/where.html But files seems to be for 5.4-RELEASe still from May 8. So what is 5.4 p2 ? [EMAIL PROTECTED]:~ uname -a FreeBSD p4.konav201.local 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #1: Fri Jun 10 11:45:43 HST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/P4-5_4REL i386 It is my understanding that the p# stands for the second patch to 5.4 Release. Correct me if I am wrong. Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting a simple firewall for PPPoE connection
On Sun, 12 Jun 2005, Paul Dufresne wrote: On Thu, 9 Jun 2005 18:22:45 +0200 (CEST), P.U.Kruppa [EMAIL PROTECTED] said: On Thu, 9 Jun 2005, dk dkrules wrote: I am very dissappointed. I have been looking on the net for 3 days now looking for easy setup guides or How to guides and setting up FreeBSD 5.x with transparent proxy and firewall and there simply is no easy way explaining to beginners how to do such a setup. 1) Before you start playing around with squid and firewall you have to make sure your FreeBSD box works as a gateway. 2) When this is done look into google for setup of squid as a transparent proxy (these are two or three entries in a config file). 3) enable firewall in /etc/rc.conf with lines like firewall_enable=YES firewall_script=/etc/firewall.conf 4) edit your /etc/firewall.conf with something like ipfw add 500 fwd 127.0.0.1 tcp from any to any 80 recv rl0 ipfw add 6 allow all from any to any where rl0 is the device name of your NIC. 5) reboot Well, I feel a bit like the original poster. Oops?! As you can see I answered a question about transparent proxying - which is interesting, too, but quite a different topic. I had in mind of activating a firewall for my PPPoE connection a bit like it is easy to do on Windows XP. There exists a very simple way to activate a firewall in freebsd: # /stand/sysinstall will open FreeBSD's installation menu. - Configure - Security - Security Profile gives you two options for standard firewalls. Now, maybe I can use 127.0.0.1 like you did in step 4 above, but I don't really understand these rules yet. It looks like to me the first one accept HTTP traffic (port 80) and that the second one accept every traffic. I would have expected that the second one would refuse every traffic, leaving only traffic from the first rule to go through. As I said: this is a setup for a transparent proxy, not a security firewall. It just catches all http requests (port 80) and forces them to check Squid's cache. Squid is the proxy-program. Good Luck, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCI Firewire cards that work with 5.4R ??
On Friday 10 June 2005 10:10 pm, Bob Johnson wrote: I need to find a PCI FireWire card that will work with FreeBSD 5.4-RELEASE. It will be easiest for me to purchase something from Best Buy, which pretty much limits me to either a Dynex DX-FC103, or an Adaptec AFW-4300CS. I've received no replies on this, but after some digging I found some additional information. The Dynex card uses an Agere FW323-06 Firewire chip, which is not listed as supported by the fwohci driver. I can't tell what chipset the Adaptec card uses: it has an Adaptec paper label on it. Agere used to be the Lucent Microelectronics division, so I assume the Agere FW323-06 is the essentially the same thing as the Lucent FW323, which is listed as supported by the fwohci driver. Perhaps tomorrow I'll remember to submit a PR suggesting that the hardware list be updated to reflect the name change, but tonight I need to get some sleep. I also found a posting on freebsd-firewire that said the Adaptec FireConnect 4300 works with FreeBSD. Can anyone tell me if either of these cards will work with 5.4-RELEASE, or recommend another inexpensive PCI Firewire card? It sounds like either of these will probably work with FreeBSD 5.4. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting a simple firewall for PPPoE connection
There exists a very simple way to activate a firewall in freebsd: # /stand/sysinstall will open FreeBSD's installation menu. - Configure - Security - Security Profile gives you two options for standard firewalls. Actually, doing this on 5.4R I just have: Secure Level NFS Port Anyway, would these options setup a firewall that would adjust IP address when I use ppp? -- http://www.fastmail.fm - Accessible with your email software or over the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]