Re: Running rsnapshot via cron reboots the machine
On Wednesday 17 December 2008 11:40:00 David N wrote: 2008/12/17 Mel fbsd.questi...@rachie.is-a-geek.net: On Monday 15 December 2008 18:56:46 David N wrote: Hi, I have a machine AMD Sepron LE-1150 ASUS M2A-VM 1GB RAM ECC 2x SATA 300GB in a RAID 1 (gmirror). 7.0-RELEASE-p2 AMD64 generic kernel it was doing backups via bacula to an external disk USB 2.0 SATA disk, and it was working well. (GLabel) /dev/ufs/BackupDisk I changed to rsnapshot recently, with the External HDD in glabel + gjournal (/dev/da0s1.journal - /dev/ufs/BackupDisk) and it will reboot the machine roughly 30 minutes after the rsnapshot starts via CRON. Able to get any crash dumps? [1] I doubt it calls reboot system call after 30 minutes and if it's a heating issue, then it would power down not reboot. So, kernel is probably panicing. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern eldebug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. I found something in the vmcore.0 panic: Journal overflow (joffset=499758276096 active=498475869184 inactive=499755984896) cpuid = 0 Uptime: 16h7m11s I tried kgdb on on the vmcore but it didn't work, I had -p2 installed, but compiled p6 so it might of overwrittin things in /usr/obj [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd. Cannot access memory at address 0x0 The journal was set to 2GB on the 400GB USB attached disk. (/dev/da0) I just formatted the disk without gjournal and see how that goes. I guess i can't use gjournal over USB? I have gjournal running on another server (gmirror + gjournal) and i thrash it pretty hard without any problems. It should not panic, but a journal overflow is more likely with USB, cause of the lower write speed (the journal fills faster then it's being emptied). Your best bet is to reproduce the panic using the sources that match the kernel and file a PR and/or post to freebsd-fs list to find out if there are people with similar problems/usage cases. It could be a tunable that you missed or that it's a known issue. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[2]: can not start SVNserve
Здравствуйте, Mel. Вы писали 18 декабря 2008 г., 9:05:35: M On Wednesday 17 December 2008 21:02:07 KES wrote: Здравствуйте, Mel. Вы писали 17 декабря 2008 г., 9:11:19: M On Sunday 14 December 2008 16:11:17 KES wrote: Здравствуйте, Polytropon. Вы писали 14 декабря 2008 г., 15:11:35: P On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar P woj...@wojtek.tensor.gdynia.pl wrote: su: Sorry kes# pw user mod svn -s /bin/bash kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash kes# /usr/local/etc/rc.d/svnserve start Starting svnserve. su: Sorry try to change directory to existent P (1) What's /bin/bash? Check existing shell. P (2) As you said: Check existing directory. P (3) Regarding su, check for wheel group inclusion. home# uname -a FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 02:11:24 EEST 2008 k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user show svn svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin As you can see on 'home' machine svn user has no valid shell also it has not valid home directory and it is not included into wheel group But svnserve is started and works fine. With same settings svnserve does not work on kes# uname -a FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23 17:19:12 EET 2008 k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 M echo 'rc_debug=YES'/etc/rc.conf M /usr/local/etc/rc.d/svnserve start M Show output from /var/log/messages. kes# kes# /usr/local/etc/rc.d/svnserve start /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES. Starting svnserve. /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry M Does this command work from the command line? M If not, does it work if called as su -fm rather then su -m? M If that does not work, does the primary group svn is supposed to be in exist? kes# su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry kes# su -fm svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry kes# pw group show svn svn:*:1005: kes# cat /etc/group | grep svn svn:*:1005: kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash As you see it does not work also with -fm option Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below) Notice that on both system account is locked, has no valid shell and home directory on FreeBSD 7.0 when I try to login with svn user it says: This account is currently not available. on FreeBSD 7.1 when I try to login with svn user it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1? home# pw user show svn svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin home# su svn This account is currently not available. kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash kes# su svn su: Sorry kes# pw user mod svn -s /usr/bin/nologin kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin kes# su svn su: Sorry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linux_base question
On Thursday 18 December 2008 04:03:45 Chris wrote: I'm trying to keep all FreeBSD servers in my net as I have since the late 90s. I have a requirement to get a quickbooks enterprise server running so I was going to attempt to use compat_linux. It struck me that if I knew the following list of supported linux implementations, I should be able to figure out the best port to use. So far, it doesn't seem too clear to me. Here are the linux versions supported by the 2 daemons Intuit puts out: CentOS 5 Debian (Lenny) Fedora 6 / 7 / 8 Mandriva OpenSuSE 10.2 / 10.3 Ubuntu 6.06 / 7.04 / 7.10 / 8.0 Here are the components needed. Gamin - 0.1.7.7 or newer or Fam – 2.7.0 or newer Glibc – 2.5-3 or newer, or Libc6 – 2.5-3 or newer Libgcc – 4.2.1 or newer Libstdc++ - 4.2.1 or newer Which of the linux_base* ports would be best to attempt to run these two daemons. I just updated ports and have the following shown linux_base-f7 linux_base-f8 linux_base-fc4 linux_base-fc6 (and several Gentoo) On 6.x, use fc4. On 7.x use fc6 and set compat.linux.os_release to 2.6.16 (which will be the default for 7.x branch starting 7.1 as far as I know). You can use others, but these have the widest coverage in production systems and testing by the emulation team. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
BUG can not add address to interface
Здравствуйте, Archie. mpd5.conf has: set link max-redial 0 mpd5 does not try to redial if connection is successfull but interface adress change is fail: 8 02:50:14 kes mpd: [UKR_B4] IPCP: LayerUp 8 02:50:14 kes mpd: [UKR_B4] 92.113.72.242 - 195.5.5.203 8 02:50:14 kes mpd: [UKR_B4] IFACE: Connecting NAT 8 02:50:14 kes mpd: [UKR_B4] IFACE: Add address 92.113.72.242/32-195.5.5.203 to ng1 8 02:50:14 kes mpd: [UKR_B4] system: /usr/local/etc/mpd5/adsl1.up ng1 inet 92.113.72.242/32 195.5.5.203 '-' 8 02:50:14 kes mpd: [UKR_B4] IFACE: Up event 8 02:50:14 kes mpd: [UKR_B4] IFACE: Change interface flags: -0 +1 8 03:49:29 kes mpd: [UKR_B3] IFACE: Add address 92.113.89.194/32-195.5.5.203 to ng0 8 03:49:29 kes mpd: [UKR_B3] IFACE: Adding IPv4 address to ng0 failed: File exists 8 03:49:29 kes mpd: [UKR_B3] IFACE: IfaceChangeAddr() error, closing IPCP 8 03:49:29 kes mpd: [UKR_B3] IPCP: parameter negotiation failed 8 03:49:29 kes mpd: [UKR_B3] IPCP: state change Opened -- Stopping 8 03:49:29 kes mpd: [UKR_B3] IPCP: SendTerminateReq #16 8 03:49:29 kes mpd: [UKR_B3] IPCP: LayerDown 8 03:49:29 kes mpd: [UKR_B3] IFACE: Remove address 92.113.89.194/32-195.5.5.203 from ng0 8 03:49:29 kes mpd: [UKR_B3] IFACE: Removing IPv4 address from ng0 failed: Can't assign requested address 8 03:49:29 kes mpd: [UKR_B3] IPCP: rec'd Terminate Ack #16 (Stopping) I have two ADSL connection to my provider. For both connections I have same gateway. How to establish two ADSL connections with same gateway? -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: missing mount_devfs
thank you and sorry for posting the wrong list first time. Jille Timmermans írta: # alias mount_devfs=mount -t devfs (human: try mount -t devfs instead of mount_devfs) -- Jille (I think freebsd-questions is the appropriate list for this) oxy schreef: hi! I installed 7.0-RELEASE/amd64 and tried to create a jail with jailctl. after a couple errors i noticed that mount_devfs is missing! is there any other way to create devfs in order to make jails? thank you! ___ freebsd-hack...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org ___ freebsd-hack...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting changed files list from snapshot
Mel wrote: I'm still wondering if you're not better off with ZFS, but this does seem like a useful app in it's own right. ZFS is not handling replication on remote servers very well currently, and they don't seem to care about this from the reactions i had on some forums. And i would not use ZFS for production system on FreeBSD now. FFS snapshots are stable in production, and adding a reading function on snapshot structures will not change stability :-) The TAILQ_HEAD statement means it's creating a tail queue(3) (double linked fifo/stack) of inodes. The snapdata structure contains the start of the list, the size and a lock. The sn_blklist pointer, I will have to look up. I think i'm gonna have fun with this for a bit ;) This is christmas gift. But for who :-? Thanks a lot ! -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Running rsnapshot via cron reboots the machine
2008/12/18 Mel fbsd.questi...@rachie.is-a-geek.net: On Wednesday 17 December 2008 11:40:00 David N wrote: 2008/12/17 Mel fbsd.questi...@rachie.is-a-geek.net: On Monday 15 December 2008 18:56:46 David N wrote: Hi, I have a machine AMD Sepron LE-1150 ASUS M2A-VM 1GB RAM ECC 2x SATA 300GB in a RAID 1 (gmirror). 7.0-RELEASE-p2 AMD64 generic kernel it was doing backups via bacula to an external disk USB 2.0 SATA disk, and it was working well. (GLabel) /dev/ufs/BackupDisk I changed to rsnapshot recently, with the External HDD in glabel + gjournal (/dev/da0s1.journal - /dev/ufs/BackupDisk) and it will reboot the machine roughly 30 minutes after the rsnapshot starts via CRON. Able to get any crash dumps? [1] I doubt it calls reboot system call after 30 minutes and if it's a heating issue, then it would power down not reboot. So, kernel is probably panicing. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern eldebug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. I found something in the vmcore.0 panic: Journal overflow (joffset=499758276096 active=498475869184 inactive=499755984896) cpuid = 0 Uptime: 16h7m11s I tried kgdb on on the vmcore but it didn't work, I had -p2 installed, but compiled p6 so it might of overwrittin things in /usr/obj [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd. Cannot access memory at address 0x0 The journal was set to 2GB on the 400GB USB attached disk. (/dev/da0) I just formatted the disk without gjournal and see how that goes. I guess i can't use gjournal over USB? I have gjournal running on another server (gmirror + gjournal) and i thrash it pretty hard without any problems. It should not panic, but a journal overflow is more likely with USB, cause of the lower write speed (the journal fills faster then it's being emptied). Your best bet is to reproduce the panic using the sources that match the kernel and file a PR and/or post to freebsd-fs list to find out if there are people with similar problems/usage cases. It could be a tunable that you missed or that it's a known issue. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. There are people with similar problems already reported. http://www.freebsd.org/cgi/query-pr.cgi?pr=127420 I tried the tunables kern.geom.journal.force_switch=50 kern.geom.journal.cache.switch=75 which made it crash even faster, in a few minutes and even corrupted the journal. I would test it out more, but its a production server which needs to be up and running. At the moment its just UFS+glabel, I'll try again when 7.1 comes out. Thank you for your help. Regards David N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
portsnap and portupgrade
If one installed a fresh FREEBSD-7.0-RELEASE on a new computer, with 'yes' to installing the Ports Collection during sysinstall, and opts for portsnap as the tool to keep /usr/ports updated in the future, and opts for portupgrade to upgrade ports then, what is the correct procedure to do after FreeBSD is installed and up and running, and installing and updating particular ports in the following years... This is what I collected from the FreeBSD handbook, but am not sure if everything is OK. Please verify and adapt and tell why some things are wrong and why your corrections are the right thing to do.. I'm trying to make a text for future reference ... ( After install of FreeBSD, /var/db/portsnap is still empty, so I get compressed snapshot of the Ports collection ) # portsnap fetch ( decompress to /usr/ports ) # portsnap extract ( it is not clear to me if this is correct if one already has a /usr/ports created during sysinstall .. ) In root /etc/crontab, shedule daily updates of /var/db/portsnap : 0 3 * * * root /usr/sbin/portsnap cron - For a first install + subsequent updates of a port ( e.g. port ghostview (gv) in /usr/ports/print/gv ) a. To install gv for the very first time: # cd /usr/ports/print/gv # make install clean # pkg_info | grep -i gv(to see its version number) b. For every future upgrade of gv (using portupgrade): b.1. ( update ports collection ) # portsnap update b.2. check http://vuxml.freebsd.org/ for possible security issues related to gv b.3. check if gv needs updating # pkg_version -v | grep -i gv (let's suppose it does: u.v.w. greater than x.y.z.) gv-x.y.z needs updating (port has gv-u.v.w) b.4. check /usr/ports/UPDATING for issues related to gv and follow instructions if any b.5. do the port upgrade # portupgrade -R gv b.6. install the updated version of ghostview # cd /usr/ports/print/gv # make install clean b.7. check you have the newer version of gv now # pkg_info | grep -i gv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Try nagios 3.03. I think they will do the trick. Bjoern A. Zeeb wrote: On Wed, 17 Dec 2008, Albert Shih wrote: Hi, I'm trying to install a nagios server in a jail. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit Try nagios 3.03. I think they will do the trick. I'm using nagios 3.06 ... and it's not working. Thanks for your answer. Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Jeu 18 déc 2008 12:05:40 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Le 17/12/2008 à 21:28:12+, Bjoern A. Zeeb a écrit On Wed, 17 Dec 2008, Albert Shih wrote: Hi, I'm trying to install a nagios server in a jail. I've a problem with check_ping. [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5 CRITICAL - You need more args!!! Could not open pipe: So I think it's become the «ping problem». So I put sysctl -w security.jail.allow_raw_sockets=1 in the host-jail-server. In the jail I can make a ping but the nagios check_ping don't work. Anyone have succefully install a nagios server in a jail ? so do you know what check_ping is trying to do? Does it give you an error message? Anything? Humm...I'm not developper, so I don't exactly known what check-ping does. But I think something like ping thanks for you answer. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 18 déc 2008 12:06:22 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linux_base question
On Dec 18, 2008, at 12:07 AM, Mel wrote: On Thursday 18 December 2008 04:03:45 Chris wrote: I'm trying to keep all FreeBSD servers in my net as I have since the late 90s. I have a requirement to get a quickbooks enterprise server running so I was going to attempt to use compat_linux. It struck me that if I knew the following list of supported linux implementations, I should be able to figure out the best port to use. So far, it doesn't seem too clear to me. Here are the linux versions supported by the 2 daemons Intuit puts out: CentOS 5 Debian (Lenny) Fedora 6 / 7 / 8 Mandriva OpenSuSE 10.2 / 10.3 Ubuntu 6.06 / 7.04 / 7.10 / 8.0 Here are the components needed. Gamin - 0.1.7.7 or newer or Fam – 2.7.0 or newer Glibc – 2.5-3 or newer, or Libc6 – 2.5-3 or newer Libgcc – 4.2.1 or newer Libstdc++ - 4.2.1 or newer Which of the linux_base* ports would be best to attempt to run these two daemons. I just updated ports and have the following shown linux_base-f7 linux_base-f8 linux_base-fc4 linux_base-fc6 (and several Gentoo) On 6.x, use fc4. On 7.x use fc6 and set compat.linux.os_release to 2.6.16 (which will be the default for 7.x branch starting 7.1 as far as I know). You can use others, but these have the widest coverage in production systems and testing by the emulation team. Great, thanks! Just to make sure, did you mean compat.linux.osrelease without the underscore. Didn't find the other sysctl. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Works here (tm). doublecheck these sysctl's: security.jail.socket_unixiproute_only: 1 security.jail.enforce_statfs: 2 security.jail.allow_raw_sockets: 1 Albert Shih wrote: Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit Try nagios 3.03. I think they will do the trick. I'm using nagios 3.06 ... and it's not working. Thanks for your answer. Regards. JAS -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
listserver problems?
might be generic listserver issues, but I noticed that at least on freebsd-jail list, it does NOT strip out dkim/domainkeys signatures. that might not be to bad, but it does 'mung' the headers, so dkim signed email passed through freebsd mailing list server comes back as a forged signature. whoever is working on the listservers can contact me for assistance on it. maybe just a postfix header IGNORE rule would strip it back out. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
What plugin versions are you running? Im running latest also. pkg_info | grep nagios Albert Shih wrote: Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit Try nagios 3.03. I think they will do the trick. I'm using nagios 3.06 ... and it's not working. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is FreeBSD subject to the EAR ?
If the FreeBSD 6.3-release includes encryption software, it may be subject to the EAR. Following is extract part of the EAR. Part 734.3 : Items subject to the EAR (b) The following items are not subject to the EAR: ・ ・ (3) Publicly available technology and software, except software controlled for EI reasons under ECCN 5D002 on the Commerce Control List and mass market encryption software with symmetric key length exceeding 64-bits controlled under ECCN 5D992, that: if it would be a problem just moving FreeBSD repositories out of US will fix the problem___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
On Thu, 18 Dec 2008 11:08:44 +0100 (CET) Pieter Donche pieter.don...@ua.ac.be wrote: ( decompress to /usr/ports ) # portsnap extract ( it is not clear to me if this is correct if one already has a /usr/ports created during sysinstall .. ) You need the extract so that the tree is exactly matched to the snapshot and the correct metadata is created, it's installing the tree from disk that's not needed. In root /etc/crontab, shedule daily updates of /var/db/portsnap : 0 3 * * * root /usr/sbin/portsnap cron ... b. For every future upgrade of gv (using portupgrade): b.1. ( update ports collection ) # portsnap update ... b.5. do the port upgrade # portupgrade -R gv b.6. install the updated version of ghostview # cd /usr/ports/print/gv # make install clean You don't need the last step, that's what portupgrade does. For the most part it's better to bring all you ports up-to date if you can, rather than doing it piecemeal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hi
Hi all While using ipfilter i got an issue i have done is ioctl the result is sucess In that i wrote a rule to deny connection from x.x.x.x ioctl(fd, SIOCADDFR, struct frentry **) I gone to route prompt and saw the statistics ipfstat -i i correctly shows my rule. But he is not executing it. Anyone know about this.. please let me know.. On Wed, Dec 10, 2008 at 4:37 PM, Sebastian Tymków sebastian.tym...@gmail.com wrote: Hello, If you don't want to do this using server features you should do it in your program (like in config file). Best regards, Shamrock 2008/12/10 pugal pugal pugalanand@gmail.com Hi all I will explain the scenario clearly. I have a server program say server.c listening on some XXX port-number.I accepts all the client. Now i want to DENY only the particular client say x.x.x.x/16 . I want to deny that Client by not using hosts.deny. For this scenario what can i do?? If anyone knows Let me explain clearly. Since i am very new to this.please explain clearly. On Wed, Dec 10, 2008 at 3:43 PM, Odhiambo Washington odhia...@gmail.com wrote: On Wed, Dec 10, 2008 at 12:44 PM, pugal pugal pugalanand@gmail.com wrote: Hi all Did anyone knows how to deny the TCP connection Without using hosts.deny and ipfilter. Let the service listen on 127.0.0.1 or just don't start it:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Okay guys. This is Kenya. You pay taxes because you feel philanthropic, unlike our MPs! -- Kenneth Marende, Speaker, 10th Parilament. -- Thanks With Regards Pugal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Thanks With Regards Pugal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: listserver problems?
On Thursday 18 December 2008 1:47:01 pm Michael Scheidell wrote: might be generic listserver issues, but I noticed that at least on freebsd-jail list, it does NOT strip out dkim/domainkeys signatures. that might not be to bad, but it does 'mung' the headers, so dkim signed email passed through freebsd mailing list server comes back as a forged signature. Probably depends, how and with what software you check it. At least, SpamAssassin responds correctly to this signature: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_50,DKIM_SIGNED, RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Checker-URL: http://info.zzz.ee Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by zzz.ee (Postfix) with ESMTP id D8CBEFD53A for o...@zzz.ee; Thu, 18 Dec 2008 13:48:00 +0200 (EET) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id CF81916315A; Thu, 18 Dec 2008 11:47:13 + (UTC) (envelope-from owner-freebsd-questi...@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9FDEC106571F; Thu, 18 Dec 2008 11:47:12 + (UTC) (envelope-from owner-freebsd-questi...@freebsd.org) Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B19D1065679; Thu, 18 Dec 2008 11:47:03 + (UTC) (envelope-from scheid...@secnap.net) Received: from fl.us.spammertrap.net (fl.us.spammertrap.net [204.89.241.173]) by mx1.freebsd.org (Postfix) with ESMTP id 338948FC32; Thu, 18 Dec 2008 11:47:03 + (UTC) (envelope-from scheid...@secnap.net) Received: from localhost (localhost [127.0.0.1]) by fl.us.spammertrap.net (Postfix) with ESMTP id 55E43E6089; Thu, 18 Dec 2008 06:47:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=secnap.net; h= content-type:subject:mime-version:user-agent:from:date :message-id:received:received:x-virus-scanned; s=dkim; t= 1229600821; bh=D2GNQjbJ0V6T+z6wbS0oY6z3CMZTNqKW4+nF83Mp06k=; b=Y tjC87NB2Vu+z8zFh6JMsKQhxhlNafGj3yyQMJW/EvfyDDQxsMWtvx/kx5gRJnHDD oJOt0zcSAXUTiD/EhOuRCrb3KOr1nErTcWPns31B44q/4dL7l09vnuT+VswvRZoZ 3jZFZZGHZRr2FtOjgdDQkJKZIk0elPc2i67Bif30Hc= X-Amavis-Modified: Mail body modified (using disclaimer) - fl.us.spammertrap.net X-Virus-Scanned: SpammerTrap(r) SME-150 1.89 at fl.us.spammertrap.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by fl.us.spammertrap.net (Postfix) with ESMTP id E99E5E6088; Thu, 18 Dec 2008 06:47:01 -0500 (EST) Received: from 21.sub-70-222-163.myvzw.com ([10.80.0.4]) by secnap3.secnap.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Dec 2008 06:47:01 -0500 Message-ID: 494a3835.30...@secnap.net whoever is working on the listservers can contact me for assistance on it. maybe just a postfix header IGNORE rule would strip it back out. Talking about Mailman configuration, personally I would like if these mailinglists here had 'subject_prefix', something like [FreeBSD-QUESTIONS:%d] Greetings, O.K. -- Mõõda oma inteneti kiirust / Test Your Internet speed http://tallinn.speedtest.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 as apache module using packages
Mel wrote: On Wednesday 17 December 2008 16:08:43 Ott Köstner wrote: Nothing special needed. Just a regular Apache, MySQL, and PHP. 5...10 minute install from FreBSD ports. [...snip...] And thus, can run as php-cgi. There are performance and configuration management reasons to use the module, but these come more into play with mass virtual hosting, rather then a dedicated server for one web app. Oh, sorry! A little misunderstanding. By regular I actually meant PHP installed as an Apache module. Don't actually no anybody or any reason to run it as cgi. Best regards, O.K. -- Testi oma Interneti kiirust / Test Your Internet speed: http://speedtest.zzz.ee/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OT: Re: listserver problems?
On Thu, 18 Dec 2008, Michael Scheidell wrote: Hi, might be generic listserver issues, but I noticed that at least on freebsd-jail list, it does NOT strip out dkim/domainkeys signatures. that might not be to bad, but it does 'mung' the headers, so dkim signed email passed through freebsd mailing list server comes back as a forged signature. whoever is working on the listservers can contact me for assistance on it. maybe just a postfix header IGNORE rule would strip it back out. please mail postmas...@f.o. and discuss with them. /bz -- Bjoern A. Zeeb The greatest risk is not taking one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
RW wrote: On Thu, 18 Dec 2008 11:08:44 +0100 (CET) Pieter Donche pieter.don...@ua.ac.be wrote: ( decompress to /usr/ports ) # portsnap extract ( it is not clear to me if this is correct if one already has a /usr/ports created during sysinstall .. ) You need the extract so that the tree is exactly matched to the snapshot and the correct metadata is created, it's installing the tree from disk that's not needed. In root /etc/crontab, shedule daily updates of /var/db/portsnap : 0 3 * * * root /usr/sbin/portsnap cron ... b. For every future upgrade of gv (using portupgrade): b.1. ( update ports collection ) # portsnap update ... b.5. do the port upgrade # portupgrade -R gv b.6. install the updated version of ghostview # cd /usr/ports/print/gv # make install clean You don't need the last step, that's what portupgrade does. For the most part it's better to bring all you ports up-to date if you can, rather than doing it piecemeal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Also use portaudit to check for security issues with installed ports. # portaudit -Fda (fecth the updated audit database and check your ports against it) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lang/php5 installed Apache 2.0 Handler for apache22
i've read that php has an Apache 2.2 Handler since 5.2. i installed the www/apache22 port and lang/php5. things seem to work but phpinfo() reports: Server API = Apache 2.0 Handler. is that as it should be? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: listserver problems?
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Thu, 18 Dec 2008 06:47:01 -0500 Michael Scheidell scheid...@secnap.net wrote: might be generic listserver issues, but I noticed that at least on freebsd-jail list, it does NOT strip out dkim/domainkeys signatures. that might not be to bad, but it does 'mung' the headers, so dkim signed email passed through freebsd mailing list server comes back as a forged signature. Three objections to your DKIM signature: (1) Your canonicalization is relaxed/simple, i.e. the mail is signed with simple bodycanon: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=secnap.net; h= That's why you have Authentication-Results: [...] dkim=neutral (body hash did not verify) header...@secnap.net - -- the list software appends some lines at the end of mail. You should use Canonicalization relaxed/relaxed in dkim-filter.conf or milterdkim_flags=-c relaxed/relaxed in rc.conf if you use Sendmail. (See headers of my mail.) (2) You have Received header field included in the signature, while RFC4871 states that it SHOULD NOT be the case: http://tools.ietf.org/html/rfc4871#section-5.5 (3) You do not specify body length (l= in DKIM header). According to http://tools.ietf.org/html/rfc4871#section-3.4.5 it could be a good idea to use it, especially when mailing lists are in question. In total, mailing list owners don't have an obligation to strip DKIM signatures. Instead, other methods can be used on both sides, see section 4.1. HTH - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iJwEAQEDAAYFAklKV2MACgkQ/MM/0rYIoZhsnwQAowQy2nwd3IVYMtv9p7PVaoGZ FQPpZZse/6PFi3KeegZcbOBFhOcNV3DzATt3z+VXdVYybajRXArj7WJtyEI2shGn ssBmBdkD1bpoRzgf7jNYj6a9w8cVS/BC7gl07GBIhILEGLnpG8bjj7MtWhynj9SB vn8jT/XF4QEKmDJSUwk= =1fpm -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lang/php5 installed Apache 2.0 Handler for apache22
On Thursday 18 December 2008 3:57:26 pm Tom Worster wrote: i've read that php has an Apache 2.2 Handler since 5.2. i installed the www/apache22 port and lang/php5. things seem to work but phpinfo() reports: Server API = Apache 2.0 Handler. is that as it should be? If You look further, There should be an 'apache2handler' section in the phpinfo(), with more specific information. Should report something like: Apache Version Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch [...etc...] -- Mõõda oma inteneti kiirust / Test Your Internet speed http://tallinn.speedtest.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albert Shih wrote: Hi all. I'm trying to install a nagios server in a jail. I've a problem with check_ping. [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5 CRITICAL - You need more args!!! Could not open pipe: So I think it's become the «ping problem». So I put sysctl -w security.jail.allow_raw_sockets=1 in the host-jail-server. In the jail I can make a ping but the nagios check_ping don't work. Anyone have succefully install a nagios server in a jail ? Regards. I'm not exactly sure how I did it, but I remember having to change something from the defaults when I built the net-mgmt/nagios-plugins port because the check_ping command wasn't working right. I'd suggest going back and re-making that port to see if you get any error messages. I want to say that it wasn't finding the ping binary, but I don't think that's what it was. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklKW8gACgkQEStKVA82Z+0C8ACfX5tAleQZJwkyd4/B6PCyieKj 98IAoKOKSYqguLuecO828//KN8eHWsv1 =CaW0 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7 load hangs on boot
On Wed, 17 Dec 2008 16:54:45 -0800 (PST) ThinkDifferently jer...@futurecis.com wrote: Polytropon wrote: ThinkDifferently wrote: hptrr: no controller detected. It looks like there's a proble with the hptrr driver? Have you tried loading the HighPoint RocketRAID device drive by putting hptrr_load=YES into /boot/loader.conf? Further information can be obtained by: % man hptrr Check if your particular controller is supported. I went back to this, using my USB boot device and edited /boot/loader.conf to have hptrr_load=YES. Still, no joy. Also, I've been able to determine that I don't have a RocketRAID device. That's a separate RAID card, and I simply don't have one. What I have is an onboard NVIDIA NForce Storage Controller. I'm befuddled as to why FreeBSD thinks I have RocketRAID. It doesn't. FreeBSD DOES include the hptrr driver (among many others) in the generic kernel. Most drivers remain quiet when they find nothing to drive, but not hptrr. The message confirms that you DON'T have RocketRAID, and gives no insight into your problem. I can't really help you with that. I can tell you that FreeBSD 7.0 works fine on my nForce 630a chipset, though I do not have it configured for RAID, only AHCI. Your 720a chipset is newer, perhaps too new to be supported by FreeBSD 7.0. You might want to give 7.1 a try. You might also check if your BIOS is up to date, in case the problem is there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: listserver problems?
Nikola Lečić wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Three objections to your DKIM signature: Thanks! the value of the great freebsd community! Been doing this since '83, and you will never find a more informed, more willing to help group out there anywhere. Thanks Nikola -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Andy Greenwood wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albert Shih wrote: Hi all. I'm trying to install a nagios server in a jail. I've a problem with check_ping. only thing I see on mine is I have ipv6 disabled: (also, with_fping, with_netsnmp, with_mysql) all others disabled. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.1 RC1 - problems with Intel Pro/1000 NIC (em0)?
Hi, After installing FreeBSD 7.1 RC1 from the DVD-image I found that the PC in question has no LAN connectivity upon reboot. The PC has an Intel GE builtin NIC showing up as Intel PRO/1000 Network Connection 6.9.6 in dmesg. For the problem: Though IP-Adress, default-GW etc. are correctly set the box can't e.g. ping anything on the net; neither on the local lan nor across the default-gw. Same the other way round: machine can't be ping-ed, not even from the local subnet. What's interesting though is that on both the LAN-Switch and the PC (ifconfig) the interface shows up as connected. Even more interesting: the MAC-address of the PC-nic shows up on the corresponding LAN-Switch. So there definitely is some form of connectivity. When starting a tcpdump there's no output - so obviously nothing is coming into the machine form the network. To cross-check I've a) swapped the patch-cable for another one - no change b) tried Ubuntu (Linux) from the Live-CD - under Ubuntu I've got full LAN-connectivity without any problems so it must be something FreeBSD related... Has anybody out there had problems with an Intel GE-Nic (em0) under 7.1? Thanks in advance for any clue, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
open-vm-tools
I have a freebsd 7.0 client running in an vmware cluster. Is there something that I am missing, or that something I can do to make this go away? The owner of the cluster is telling me he keeps getting this in the logs: -Unfortunately I'm still seeing these in the VMWare log every minute Dec 18 07:34:37 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:34:37.219 'VmMisc' 98311 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:34:37 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:34:37.219 'VmMisc' 835597 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:00 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:00.667 'VmMisc' 835597 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:00 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:00.669 'VmMisc' 98311 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:04 192.168.2.212/192.168.2.212 Hostd: [2008-12-18 12:35:04.266 'EnvironmentBrowser' 114696 info] Hw info file: /etc/vmware/hostd/hwInfo.xml Dec 18 07:35:04 192.168.2.212/192.168.2.212 Hostd: [2008-12-18 12:35:04.269 'EnvironmentBrowser' 114696 info] Config target info loaded Dec 18 07:35:17 192.168.2.214/192.168.2.214 Hostd: [2008-12-18 12:35:17.532 'PropertyCollector' 1081360 warning] GetPropertyProvider failed for haTask-ha-root-pool-vim.ResourcePool.updateConfig-77992 Dec 18 07:35:24 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:24.136 'VmMisc' 81926 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:24 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:24.138 'VmMisc' 147466 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lang/php5 installed Apache 2.0 Handler for apache22
On 12/18/08 9:17 AM, Ott Köstner o...@zzz.ee wrote: On Thursday 18 December 2008 3:57:26 pm Tom Worster wrote: i've read that php has an Apache 2.2 Handler since 5.2. i installed the www/apache22 port and lang/php5. things seem to work but phpinfo() reports: Server API = Apache 2.0 Handler. is that as it should be? If You look further, There should be an 'apache2handler' section in the phpinfo(), with more specific information. Should report something like: Apache Version Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch [...etc...] yes. but i took this as a report of information about the apache server rather than a report of the api version within php. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linux_base question
On Thu, 2008-12-18 at 09:07 +0100, Mel wrote: On Thursday 18 December 2008 04:03:45 Chris wrote: I'm trying to keep all FreeBSD servers in my net as I have since the late 90s. I have a requirement to get a quickbooks enterprise server running so I was going to attempt to use compat_linux. It struck me that if I knew the following list of supported linux implementations, I should be able to figure out the best port to use. So far, it doesn't seem too clear to me. Here are the linux versions supported by the 2 daemons Intuit puts out: CentOS 5 Debian (Lenny) Fedora 6 / 7 / 8 Mandriva OpenSuSE 10.2 / 10.3 Ubuntu 6.06 / 7.04 / 7.10 / 8.0 Here are the components needed. Gamin - 0.1.7.7 or newer or Fam – 2.7.0 or newer Glibc – 2.5-3 or newer, or Libc6 – 2.5-3 or newer Libgcc – 4.2.1 or newer Libstdc++ - 4.2.1 or newer Which of the linux_base* ports would be best to attempt to run these two daemons. I just updated ports and have the following shown linux_base-f7 linux_base-f8 linux_base-fc4 linux_base-fc6 (and several Gentoo) On 6.x, use fc4. On 7.x use fc6 and set compat.linux.os_release to 2.6.16 (which will be the default for 7.x branch starting 7.1 as far as I know). You can use others, but these have the widest coverage in production systems and testing by the emulation team. Sorry to butt in here, but I've suffered similar confusion. In some blogs or wikis it mentions setting the sysctl compat.linux.osrelease to either 2.4.2 or 2.6.16, and (in some of my fiddling during tests) I've found I can actually set the kernel settings to suit pretty much any software that needs to run. If this is the case, what is the difference between the ports? Do the libraries change? Supporting software? Can freebsd effectively emulate any kernel version? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
[ Since this is on-topic, I'm taking it back on-list. ] On Thu, 18 Dec 2008 14:11:26 +0100 (CET) Pieter Donche pieter.don...@ua.ac.be wrote: 'Installing the tree from disk' do you mean with that: the install during sysinstall of /usr/ports from what is on the FREEBDSD-7.0-RELEASE CD's ? Yes If so, if you have did create a /usr/ports from sysinstall, then only a portsnap fetch has to be done, and no portsnap extract but only a portsnap update when you need updating a program you installed previously from the ports tree ? Portsnap doesn't know about anything in the ports tree that it didn't put there itself. For that reason it needs to bring the tree to an initial known-state by replacing all port directories and other files. For the same reason you shouldn't mix portsnap and c[v]sup. But is it then not better to do a portsnap upgrade immmediatly after that first portsnap fetch, since fetch will only get compressed .gz files (not decompressed to /usr/ports), so /usr/ports will still be of the date of the release of the 7.0 (febr. 2008) ? The extract will bring the tree up-to-date with the fetched snapshot. You could use extract instead of update all the time, except that it's slower and deletes user generated files in the ports directories (e.g. README.html). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[4]: can not start SVNserve
Здравствуйте, David. DW Is user svn a member of the group wheel? See DW http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/063649.html It is not required to be member of group wheel to low process rights from root. wheel group is requierd only if I want to rise my rights to root. Also notice that on both systems 'home' and 'kes' there is svn group and user. The svn user is not member of wheel group. On both systems user svn has not home directory and has not valid shell (because of it is not required to login as svn user, this is just user to start svnserve process) On FreeBSD 7.0 svnserve startsup normally, on 7.1 it can not Error is described earlier. DW On Wed, Dec 17, 2008 at 3:02 PM, KES kes-...@yandex.ru wrote: Здравствуйте, Mel. Вы писали 17 декабря 2008 г., 9:11:19: M On Sunday 14 December 2008 16:11:17 KES wrote: Здравствуйте, Polytropon. Вы писали 14 декабря 2008 г., 15:11:35: P On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar P woj...@wojtek.tensor.gdynia.pl wrote: su: Sorry kes# pw user mod svn -s /bin/bash kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash kes# /usr/local/etc/rc.d/svnserve start Starting svnserve. su: Sorry try to change directory to existent P (1) What's /bin/bash? Check existing shell. P (2) As you said: Check existing directory. P (3) Regarding su, check for wheel group inclusion. home# uname -a FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 02:11:24 EEST 2008 k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user show svn svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin As you can see on 'home' machine svn user has no valid shell also it has not valid home directory and it is not included into wheel group But svnserve is started and works fine. With same settings svnserve does not work on kes# uname -a FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23 17:19:12 EET 2008 k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 M echo 'rc_debug=YES'/etc/rc.conf M /usr/local/etc/rc.d/svnserve start M Show output from /var/log/messages. kes# kes# /usr/local/etc/rc.d/svnserve start /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES. Starting svnserve. /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry -- С уважением, KES mailto:kes-...@yandex.ru -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Video driver
I am M. Alain BATARD and i work in a formation center. For my Unix course i use Freebsd (V 7), we recently change our computers for laptops (Compaq 6820s) these computers are equipped with integrated video : ATI Mobility Radeon X1350, after looking for drivers to launch Xorg, i can only use the very poor video in VGA mode, is there any possibilities to find the good driver even by using xorgconfig or manually ? Thank you for your response. Best regards. Alain BATARD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
On Thu, 18 Dec 2008, RW wrote: [ Since this is on-topic, I'm taking it back on-list. ] On Thu, 18 Dec 2008 14:11:26 +0100 (CET) Pieter Donche pieter.don...@ua.ac.be wrote: 'Installing the tree from disk' do you mean with that: the install during sysinstall of /usr/ports from what is on the FREEBDSD-7.0-RELEASE CD's ? Yes If so, if you have did create a /usr/ports from sysinstall, then only a portsnap fetch has to be done, and no portsnap extract but only a portsnap update when you need updating a program you installed previously from the ports tree ? Portsnap doesn't know about anything in the ports tree that it didn't put there itself. For that reason it needs to bring the tree to an initial known-state by replacing all port directories and other files. For the same reason you shouldn't mix portsnap and c[v]sup. So, do you confirm my statement that only a portsnap update is OK? But is it then not better to do a portsnap upgrade immmediatly after that first portsnap fetch, since fetch will only get compressed .gz files (not decompressed to /usr/ports), so /usr/ports will still be of the date of the release of the 7.0 (febr. 2008) ? The extract will bring the tree up-to-date with the fetched snapshot. You could use extract instead of update all the time, except that it's slower and deletes user generated files in the ports directories (e.g. README.html). So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Video driver
On 12/18/08, Alain BATARD a.bat...@forteam.fr wrote: I am M. Alain BATARD and i work in a formation center. For my Unix course i use Freebsd (V 7), we recently change our computers for laptops (Compaq 6820s) these computers are equipped with integrated video : ATI Mobility Radeon X1350, after looking for drivers to launch Xorg, i can only use the very poor video in VGA mode, is there any possibilities to find the good driver even by using xorgconfig or manually ? What drivers are installed? ls /var/db/pkg/|grep xf86-video -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Simple swap question
Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? Thanks for sharing your knowledge, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: open-vm-tools
B. Cook wrote: I have a freebsd 7.0 client running in an vmware cluster. Is there something that I am missing, or that something I can do to make this go away? The owner of the cluster is telling me he keeps getting this in the logs: -Unfortunately I'm still seeing these in the VMWare log every minute Dec 18 07:34:37 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:34:37.219 'VmMisc' 98311 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Try setting the Guest OS description to just FreeBSD. I have multiple VM's running with the guest OS descriptor set to FreeBSD or freebsd-64 and have never seen this issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? You don't. The system will handle it for you, I promise. :-) -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? You don't. The system will handle it for you, I promise. :-) And very well, too. You can prompt it to move pages back into RAM if you start using a swapped- out process again - say, for example, a quiescent word processor had been swapped out, you could get it back by raising it and starting to type. But as Kirk said, there really is no need. It's one of the kernel's many jobs, and I'm inclined to leave it get on with it! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgptlItQtAV8U.pgp Description: PGP signature
Re: Simple swap question
I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? you don't need. something got swapped out, and will be swapped into memory when needed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
README.html). So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? unless you made BIG mess in /usr/ports - yes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7 load hangs on boot
Steve Randall-2 wrote: ThinkDifferently wrote: Also, I've been able to determine that I don't have a RocketRAID device. That's a separate RAID card, and I simply don't have one. What I have is an onboard NVIDIA NForce Storage Controller. I'm befuddled as to why FreeBSD thinks I have RocketRAID. It doesn't. FreeBSD DOES include the hptrr driver (among many others) in the generic kernel. Most drivers remain quiet when they find nothing to drive, but not hptrr. The message confirms that you DON'T have RocketRAID, and gives no insight into your problem. I can't really help you with that. I can tell you that FreeBSD 7.0 works fine on my nForce 630a chipset, though I do not have it configured for RAID, only AHCI. Your 720a chipset is newer, perhaps too new to be supported by FreeBSD 7.0. You might want to give 7.1 a try. You might also check if your BIOS is up to date, in case the problem is there. Thanks for the update. I strongly believe now it is the GeForce 8200 chipset (aka MCP78). I have found a few posts on other forums with users expressing the same hang issue. The cases weren't with the same mobo, but it was the same chipset. Here is one example: http://ubuntuforums.org/showthread.php?t=941420 See message #3. Keywords: FreeBSD 7.0 GeForce 8200 hangs So, steer clear of GeForce 8200 for FreeBSD (at least for the 7.0 release). -- View this message in context: http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21076723.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
Daniel Bye a écrit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? You don't. The system will handle it for you, I promise. :-) And very well, too. You can prompt it to move pages back into RAM if you start using a swapped- out process again - say, for example, a quiescent word processor had been swapped out, you could get it back by raising it and starting to type. But as Kirk said, there really is no need. It's one of the kernel's many jobs, and I'm inclined to leave it get on with it! Dan Thanks for your answer. I'm asking here because it's been several days and there is still used swap for data that should never be used anymore. If the kernel wants to keep it, why not move it to RAM now that there is some free? Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a ?crit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? You don't. The system will handle it for you, I promise. :-) And very well, too. You can prompt it to move pages back into RAM if you start using a swapped- out process again - say, for example, a quiescent word processor had been swapped out, you could get it back by raising it and starting to type. But as Kirk said, there really is no need. It's one of the kernel's many jobs, and I'm inclined to leave it get on with it! Dan Thanks for your answer. I'm asking here because it's been several days and there is still used swap for data that should never be used anymore. If the kernel wants to keep it, why not move it to RAM now that there is some free? Because it has swapped out an entire process, which hasn't subsequently been woken up again. It's you that says the data are never going to be needed again - the kernel doesn't know that, so keeps the pages there in swap until you either reawaken the process, or kill it, at which point the swap space they occupied will be freed up. You can see which processes are swapped out in top - the process name is in parentheses. If it is irking you sufficiently, you can kill the processes and reclaim your swap ;-) Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpxjvbhYUZzD.pgp Description: PGP signature
Re: portsnap and portupgrade
On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: Portsnap doesn't know about anything in the ports tree that it didn't put there itself. For that reason it needs to bring the tree to an initial known-state by replacing all port directories and other files. For the same reason you shouldn't mix portsnap and c[v]sup. So, do you confirm my statement that only a portsnap update is OK? After the initial fetch and extract, yes, you should use update. The extract will bring the tree up-to-date with the fetched snapshot. You could use extract instead of update all the time, except that it's slower and deletes user generated files in the ports directories (e.g. README.html). So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. This is quite a lengthy process, given the size of the ports tree these days. update on the other hand, only replaces those ports that are different between the currently installed tree, and the tree in the new portsnap archive. I hope that makes sense... Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpKftKvspQs1.pgp Description: PGP signature
Re: Simple swap question
On Thursday 18 December 2008 11:02:06 FreeBSD wrote: Thanks for your answer. I'm asking here because it's been several days and there is still used swap for data that should never be used anymore. If the kernel wants to keep it, why not move it to RAM now that there is some free? Do you *know* that it hadn't copied it back to RAM, leaving a copy in swap in case it needs that RAM suddenly? Really, the OS is better at this than we are. -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Vetting motherboard Gigabyte GA-MA78G-DS3H for FreeBSD 7.0-RELEASE
I'm currently looking for an ATX motherboard that supports the AM2+ socket, Phenom Quad-Core processor, 4 DDR2 RAM slots (800 MHz is fine), 6 SATA ports with RAID, and Gigabit LAN. Onboard VGA would be nice. It needs to work well with FreeBSD 7.0-RELEASE, using a 2-disk SATA RAID1. I'm currently looking at the Gigabyte GA-MA78G-DS3H. Has anyone successfully operated 7.0 on this board? Any booting issues? Did you need to modify the ISO to get it to boot (if so how)? Did RAID work? Did it require a special driver to be loaded (if so how)? Do any other motherboards fit the bill, given the specifications I give above? I recently got a black eye -( with the MSI K9N2G Neo-FD, using the GeForce 8200 (MCP78) chipset. FreeBSD 7.0-RELEASE and CentOS 5.2 wouldn't even boot on it, no matter what the BIOS config was. Also, Vista wouldn't even recognize the SATA disks, even if the SATA ports were in IDE, RAID or AHCI modes (it requires a driver, even if you aren't doing RAID). -- View this message in context: http://www.nabble.com/Vetting-motherboard-Gigabyte-GA-MA78G-DS3H-for-FreeBSD-7.0-RELEASE-tp21077043p21077043.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nagios Jail
Hi! I've a problem with check_ping. [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5 CRITICAL - You need more args!!! Could not open pipe: Anyone have succefully install a nagios server in a jail ? Yes, and I think it's not a problem with ICMP sockets, but with the version of check_ping and what it's calling. Please try ./check_ping -v -v -v -H 212.71.195.58 -w 300.0,80% -c 500.0,100% -p 5 and tell us which version of ping it is calling. -- p...@opsec.eu+49 171 310137212 years to go ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/tmp running out of inodes
For the second time in 2 weeks my server has gone down due to running out of inodes in /tmp. The first time it did this /tmp was filled with files, so that made sense. I delete all the files from /tmp and all was well for a few weeks. Just this morning it did it again (keep in mind that this sever is currently 700 miles away) and had to be rebooted. But when I looked at /tmp, it was empty except for a couple of files, but running df shows the follow: Filesystem SizeUsed Avail Capacity iusedifree %iused Mounted on /dev/ad4s1a496M 59M398M13%1535642552% / devfs 1.0K1.0K 0B 100% 00 100% /dev /dev/ad4s1e496M 69M387M15% 657900 100% /tmp /dev/ad4s1f221G5.2G198G 3% 337742 295968481% /usr /dev/ad4s1d1.9G757M1.0G42%1632 2809901% /var /dev/md019M 12K 18M 0% 9 28050% /tmp /dev/ad5s1c289G 49G217G18% 27779 391156430% /bigdrive 65790 used inodes and 0 free on /tmp I ran fsck and it shows: ** /dev/ad4s1e (NO WRITE) ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 65790 files, 35374 used, 218441 free (9 frags, 27304 blocks, 0.0% fragmentation) So where are these mysterious 65790 files? Is there a way to clean this up? And more importantly is there a way to do this remotely given that I am 700 miles from the server right now? Every time the server goes down due to this problem, it won't come up again without someone physically running fsck at boot. On a side question...what the the best policy for deleting files from /tmp? Seems like a lot of apps are happy to leave files in /tmp. Is clean up commonly done as a cron job? What about files like mysql.sock= which are important. I can't just blindly remove everything in /tmp each night. Thanks for any help. Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vetting motherboard Gigabyte GA-MA78G-DS3H for FreeBSD 7.0-RELEASE
ThinkDifferently wrote: I'm currently looking for an ATX motherboard... Sorry, I forgot to mention that I do not need HTPC quality video and sound from this thing. I know the mobo I mentioned has HTPC written all over it, but it's the base qualities (processor, chipset, SATA, etc.) that really count. All I need is basic VGA, and some stereo sound wouldn't be too bad. I don't really care if accelerated video or theater-quality sound output was bad or flaky. I'm going to operate it as a server and plug it into a VGA KVM that has a max resolution of 1024x768. -- View this message in context: http://www.nabble.com/Vetting-motherboard-Gigabyte-GA-MA78G-DS3H-for-FreeBSD-7.0-RELEASE-tp21077043p21077407.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp running out of inodes
On Thursday 18 December 2008 10:54:33 Tankko wrote: On a side question...what the the best policy for deleting files from /tmp? Seems like a lot of apps are happy to leave files in /tmp. What kind of files are you seeing in /tmp? I have files in mine from July, but only about 7,000 files today - not nearly enough to run out of inodes (not that it should crash the FS anyway). Is clean up commonly done as a cron job? What about files like mysql.sock= which are important. I can't just blindly remove everything in /tmp each night. I think you really need to figure out what's spamming /tmp. You *can* do something like find /tmp -type f -oldermt '3 days ago' -delete, but that's just addressing the symptoms. -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp running out of inodes
In the last episode (Dec 18), Tankko said: For the second time in 2 weeks my server has gone down due to running out of inodes in /tmp. The first time it did this /tmp was filled with files, so that made sense. I delete all the files from /tmp and all was well for a few weeks. Just this morning it did it again (keep in mind that this sever is currently 700 miles away) and had to be rebooted. But when I looked at /tmp, it was empty except for a couple of files, but running df shows the follow: Filesystem SizeUsed Avail Capacity iusedifree %iused Mounted on /dev/ad4s1a496M 59M398M13%1535642552% / devfs 1.0K1.0K 0B 100% 00 100% /dev /dev/ad4s1e496M 69M387M15% 657900 100% /tmp /dev/ad4s1f221G5.2G198G 3% 337742 295968481% /usr /dev/ad4s1d1.9G757M1.0G42%1632 2809901% /var /dev/md019M 12K 18M 0% 9 28050% /tmp /dev/ad5s1c289G 49G217G18% 27779 391156430% /bigdrive You seem to have two filesystems mounted on /tmp at the moment, which could be affecting your ability to see files in the one that got overlayed. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
On 12/18/08 12:12 PM, Daniel Bye danie...@slightlystrange.org wrote: On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. so if one plans to do portsnap fetch; portsnap extract after installing freebsd from a release CD on a new machine, there's no point in installing the ports collection from the CD using sysinstall? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap and portupgrade
On Thu, Dec 18, 2008 at 8:08 PM, Tom Worster f...@thefsb.org wrote: On 12/18/08 12:12 PM, Daniel Bye danie...@slightlystrange.org wrote: On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. so if one plans to do portsnap fetch; portsnap extract after installing freebsd from a release CD on a new machine, there's no point in installing the ports collection from the CD using sysinstall? As far as i see things no it makes no sense to install the ports tree from CD. I have never installed ports from CD because all the computers running freebsd have an internet connection and the first thing i do is to fetch the updated ports tree. a great day, v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp running out of inodes
On Thu, Dec 18, 2008 at 08:54:33AM -0800, Tankko wrote: On a side question...what the the best policy for deleting files from /tmp? Seems like a lot of apps are happy to leave files in /tmp. Is clean up commonly done as a cron job? What about files like mysql.sock= which are important. I can't just blindly remove everything in /tmp each night. As Kirk has already said, you need to figure why this is happening in the first place, but there is a periodic job which can help keep /tmp tidy for you. It is in /etc/periodic/daily/110.clean-tmps and can be enabled with this in /etc/periodic.conf: daily_clean_tmps_enable=YES You can tailor its behaviour depending on your needs - look for the relevant knobs in /etc/defaults/periodic.conf Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpG0snG3rd8V.pgp Description: PGP signature
Re: /tmp running out of inodes
As Kirk has already said, you need to figure why this is happening in the first place, but there is a periodic job which can help keep /tmp tidy for you. It is in /etc/periodic/daily/110.clean-tmps and can be enabled with this in /etc/periodic.conf: daily_clean_tmps_enable=YES You can tailor its behaviour depending on your needs - look for the relevant knobs in /etc/defaults/periodic.conf Thank you for all your help. I now understand what is going wrong. Thanks again! Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[4]: can not start SVNserve
Здравствуйте, David. DW On Thu, Dec 18, 2008 at 3:03 AM, KES kes-...@yandex.ru wrote: Здравствуйте, Mel. Вы писали 18 декабря 2008 г., 9:05:35: M On Wednesday 17 December 2008 21:02:07 KES wrote: Здравствуйте, Mel. Вы писали 17 декабря 2008 г., 9:11:19: M On Sunday 14 December 2008 16:11:17 KES wrote: Здравствуйте, Polytropon. Вы писали 14 декабря 2008 г., 15:11:35: P On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar P woj...@wojtek.tensor.gdynia.pl wrote: su: Sorry kes# pw user mod svn -s /bin/bash kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash kes# /usr/local/etc/rc.d/svnserve start Starting svnserve. su: Sorry try to change directory to existent P (1) What's /bin/bash? Check existing shell. P (2) As you said: Check existing directory. P (3) Regarding su, check for wheel group inclusion. home# uname -a FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 02:11:24 EEST 2008 k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user show svn svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin As you can see on 'home' machine svn user has no valid shell also it has not valid home directory and it is not included into wheel group But svnserve is started and works fine. With same settings svnserve does not work on kes# uname -a FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23 17:19:12 EET 2008 k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 M echo 'rc_debug=YES'/etc/rc.conf M /usr/local/etc/rc.d/svnserve start M Show output from /var/log/messages. kes# kes# /usr/local/etc/rc.d/svnserve start /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES. Starting svnserve. /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry M Does this command work from the command line? M If not, does it work if called as su -fm rather then su -m? M If that does not work, does the primary group svn is supposed to be in exist? kes# su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry kes# su -fm svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk' su: Sorry kes# pw group show svn svn:*:1005: kes# cat /etc/group | grep svn svn:*:1005: kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash As you see it does not work also with -fm option Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below) Notice that on both system account is locked, has no valid shell and home directory on FreeBSD 7.0 when I try to login with svn user it says: This account is currently not available. on FreeBSD 7.1 when I try to login with svn user it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1? home# pw user show svn svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin home# su svn This account is currently not available. kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash kes# su svn su: Sorry kes# pw user mod svn -s /usr/bin/nologin kes# pw user show svn svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin kes# su svn su: Sorry DW Why don't you setup sudo and see if that will work for you? I've DW always found sudo much less troublesome than su. DW Then, you can modify your startup script to use sudo instead of su. Why maintainer of rc.subr use 'su' instead of 'sudo'? Maybe su has some benefit I do not know. If I edit standart rc.subr to use sudo instead of 'su' there maybe other sripts will not sturtup. -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Video driver
On Thu, Dec 18, 2008 at 09:39:17AM +0100, Alain BATARD wrote: I am M. Alain BATARD and i work in a formation center. For my Unix course i use Freebsd (V 7), we recently change our computers for laptops (Compaq 6820s) these computers are equipped with integrated video : ATI Mobility Radeon X1350, after looking for drivers to launch Xorg, i can only use the very poor video in VGA mode, is there any possibilities to find the good driver even by using xorgconfig or manually ? This chip is not yet fully supported by Xorg (although support is coming along). You can use either the xf86-video-radeonhd or the xf86-video-ati drivers from the ports collection. It should work fine for 2D (radeonhd should have some 2D hardware accelleration), but not hardware accellerated 3D yet AFAIK. Among other things, the kernel component needed for that needs updating. It is being worked on in 8-CURRENT. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpum824Fz856.pgp Description: PGP signature
Re: Video driver
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Thu, 18 Dec 2008 09:39:17 +0100 Alain BATARD a.bat...@forteam.fr wrote: I am M. Alain BATARD and i work in a formation center. For my Unix course i use Freebsd (V 7), we recently change our computers for laptops (Compaq 6820s) these computers are equipped with integrated video : ATI Mobility Radeon X1350, after looking for drivers to launch Xorg, i can only use the very poor video in VGA mode, is there any possibilities to find the good driver even by using xorgconfig or manually ? With Mobility Radeon X1350 on FreeBSD you will get the best results using x11-drivers/xf86-video-radeonhd (Driver radeonhd in xorg.conf): http://cgit.freedesktop.org/xorg/driver/xf86-video-radeonhd/plain/README http://www.x.org/wiki/radeonhd (The closed-source fglrx driver is provided for Linux only.) The instructions on how to configure X: http://www.freebsd.org/doc/en/books/handbook/x-config.html HTH - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iJwEAQEDAAYFAklKncIACgkQ/MM/0rYIoZihywP+JPYa6B0NSGLL6MdV92vAaMjs cNhNMqNrSQ7gTkFDr65sE4quyczuV4eL8RfX11WnmlWPl80hP3SHxfKLwrHgJDbd N0RUx/xDLWmjkSbuBhS1y2WgK7SrM4+kSZ3/97uFj8VMcN3/fHA5udSOuRwp/P3x YaHbZS03x0KRIvA+g9Q= =nw9Y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can not start SVNserve
KES kes-...@yandex.ru writes: Why maintainer of rc.subr use 'su' instead of 'sudo'? Maybe su has some benefit I do not know. If I edit standart rc.subr to use sudo instead of 'su' there maybe other sripts will not sturtup. su is in the base system, and sudo is not. Therefore sudo won't be used in scripts that are part of the base system. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Firefox, or FreeBSD?
I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 FireFox 3.04. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Centralized DB of system users
Matthew Seaman(m.sea...@infracaninophile.co.uk)@2008.12.13 22:30:43 +: Sure LDAP is complicated, but it's of the same order of complexity as a RDBMS system like MySQL. And like MySQL, there are right times, places and ways to use it, and wrong ones too. Yes, there is a lot of complexity, but that means there's a lot of flexibility too. Cheers, Matthew I can't disagree more. LDAP is way simpler than any SQL database, even SQLite. That said because people are not familiar/don't grock the simplicity of LDAP, they decide to use SQL databases (partly because everyone else does). Now that we have had LDAP for so many years, insisting on using SQL for authentication/authorization and directory services is just not wise. This is similar to using Apache/PHP/MySQL by default when other, simpler/better options are available. Everyone else does LAMP, so will I. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Centralized DB of system users
Dan wrote: Matthew Seaman(m.sea...@infracaninophile.co.uk)@2008.12.13 22:30:43 +: Sure LDAP is complicated, but it's of the same order of complexity as a RDBMS system like MySQL. And like MySQL, there are right times, places and ways to use it, and wrong ones too. Yes, there is a lot of complexity, but that means there's a lot of flexibility too. Cheers, Matthew I can't disagree more. LDAP is way simpler than any SQL database, even SQLite. That said because people are not familiar/don't grock the simplicity of LDAP, they decide to use SQL databases (partly because everyone else does). For the persistent ones: you can have openldap with a mysql backend :-) I agree completely. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Centralized DB of system users
Peter Boosten wrote: Dan wrote: I can't disagree more. LDAP is way simpler than any SQL database, even SQLite. That said because people are not familiar/don't grock the simplicity of LDAP, they decide to use SQL databases (partly because everyone else does). For the persistent ones: you can have openldap with a mysql backend :-) I agree completely. ... with Dans' comment. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
Daniel Bye a écrit : On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a ?crit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? You don't. The system will handle it for you, I promise. :-) And very well, too. You can prompt it to move pages back into RAM if you start using a swapped- out process again - say, for example, a quiescent word processor had been swapped out, you could get it back by raising it and starting to type. But as Kirk said, there really is no need. It's one of the kernel's many jobs, and I'm inclined to leave it get on with it! Dan Thanks for your answer. I'm asking here because it's been several days and there is still used swap for data that should never be used anymore. If the kernel wants to keep it, why not move it to RAM now that there is some free? Because it has swapped out an entire process, which hasn't subsequently been woken up again. It's you that says the data are never going to be needed again - the kernel doesn't know that, so keeps the pages there in swap until you either reawaken the process, or kill it, at which point the swap space they occupied will be freed up. You can see which processes are swapped out in top - the process name is in parentheses. If it is irking you sufficiently, you can kill the processes and reclaim your swap ;-) Dan I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. Thanks for helping me clarify this. Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
On Thursday 18 December 2008 14:13:12 FreeBSD wrote: I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. Dude. For real. Quit sweating it. Let the system do what it needs to do; chances are it's already done what you want. -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
On Thu, Dec 18, 2008 at 11:29:37AM -0800, Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 Same here. FireFox 3.04. Ditto, with NoScript and AdBlock Plus extensions. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. No headline scroller and no beeps here. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? Install NoScript and AdBlock Plus. It makes for a much nicer web experience, IMHO. Roland. -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpvqur69iJsG.pgp Description: PGP signature
Re: Firefox, or FreeBSD?
On Thu, Dec 18, 2008 at 1:16 PM, Roland Smith rsm...@xs4all.nl wrote: On Thu, Dec 18, 2008 at 11:29:37AM -0800, Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 Same here. FireFox 3.04. Ditto, with NoScript and AdBlock Plus extensions. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. No headline scroller and no beeps here. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? Install NoScript and AdBlock Plus. It makes for a much nicer web experience, IMHO. Roland. Heh. I have those, but actually *want* the headline scroller, and some of those other things - I just want the silly beep to go away. It seems to do this on any page that does autoupdates - gmail does it too, when a new message comes in. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Suitability question
Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? -- Patrick Baldwin Systems Administrator Studsvik Scandpower 617-965-7455 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, Dec 18, 2008 at 4:25 PM, Patrick Baldwin patrick.bald...@studsvik.com wrote: Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. Are you willing to maintain the machine for him? I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. Word processing won't be a problem, but internet 'toys' like Flash will be a problem, unless you use some wine+firefox workaround. What do people think of FreeBSD as the base OS for this idea? I think the idea's good, as long as you are willing to fix it when if it breaks on him. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, 18 Dec 2008 16:25:51 -0500, Patrick Baldwin patrick.bald...@studsvik.com wrote: I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? hi Patrick, I had a similar problem with my parents, so I built a system (FreeBSD 6 were the times) which is completely suffficient for their needs, similar as you mentioned above, and it's still running today without any problems. basically, the system runs XFCE 4, Firefox and Opera, Sylpheed (as a standalone mail client), OpenOffice for the usual office stuff, and some multimedia components including mplayer and xmms. If your father is interested in Flash, well... there *may* be problems using FreeBSD. With problem I mean it's a bit more work to do for *you* in order to get it up and running (configuration), but having a look at the improving implementations of Flash, it will be better and better with most of the Flash polluted web sites. :-) Everything else you mentioned is definitely *not* of any kind of problem for FreeBSD. Before installing anything new, try to monitor a bit what your father does and how he does it. These observations will help you to create a system that fits his needs perfectly. Maybe XFCE 4 is not your way to go, maybe KDE or Gnome are better. Keep an eye on eventually present peripherials, such as printers, digital cameras, USB sticks or MP3 players. They need a bit more configuration (automated wrapper scripts) in order not to scare the user. It's not impossible. Trust me, I'm doing this since 4.0. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ports and disaster recovery
i'm thinking about how to prepare for disaster recovery, e.g. a disk fails and is replaced, on a server in a group of remote servers. assume that policy and procedures are in place to keep freebsd up to date and portmaster is used to keep ports up to date. my idea is to use portmaster -gt at initial setup so that reconfiguration and compilation of the ports can be avoided. backups of /usr/ports/packages would be kept on each server in the group so they can be quickly copied back to the repaired server with the new disk. what, if any, other data besides the package .tbz files do i need backup and restore to get installed ports back to baseline? is anything from /var/db required? and what about the order of tasks in the restore? 1. datacenter staff install freebsd X.Y-RELEASE from CD then i remotely : 2. freebsd-update 3. restore the packages from neighboring server in the group 4. install ports from the packages with pkg_add 5. restore application, local config files and resume service then 6. portsnap and all the remaining tidy up or does 6 need to go before 4? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
On Thu, 18 Dec 2008 13:28:04 -0800 Kurt Buff kurt.b...@gmail.com wrote: On Thu, Dec 18, 2008 at 1:16 PM, Roland Smith rsm...@xs4all.nl wrote: On Thu, Dec 18, 2008 at 11:29:37AM -0800, Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 Same here. FireFox 3.04. Ditto, with NoScript and AdBlock Plus extensions. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. No headline scroller and no beeps here. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? Install NoScript and AdBlock Plus. It makes for a much nicer web experience, IMHO. Roland. Heh. I have those, but actually *want* the headline scroller, and some of those other things - I just want the silly beep to go away. It seems to do this on any page that does autoupdates - gmail does it too, when a new message comes in. I'm on 6.4-STABLE and the Breaking News and Latest Headlines are present but no beeping. If you can't find the problem you can shut off the beeping with: xset -b off Of course, the downside is it turns off _all_ beeping for everthing. Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.1 RC1 - problems with Intel Pro/1000 NIC (em0)?
Ewald Jenisch wrote: Hi, After installing FreeBSD 7.1 RC1 from the DVD-image I found that the PC in question has no LAN connectivity upon reboot. The PC has an Intel GE builtin NIC showing up as Intel PRO/1000 Network Connection 6.9.6 in dmesg. For the problem: Though IP-Adress, default-GW etc. are correctly set the box can't e.g. ping anything on the net; neither on the local lan nor across the default-gw. Same the other way round: machine can't be ping-ed, not even from the local subnet. What's interesting though is that on both the LAN-Switch and the PC (ifconfig) the interface shows up as connected. Even more interesting: the MAC-address of the PC-nic shows up on the corresponding LAN-Switch. So there definitely is some form of connectivity. When starting a tcpdump there's no output - so obviously nothing is coming into the machine form the network. To cross-check I've a) swapped the patch-cable for another one - no change b) tried Ubuntu (Linux) from the Live-CD - under Ubuntu I've got full LAN-connectivity without any problems so it must be something FreeBSD related... Has anybody out there had problems with an Intel GE-Nic (em0) under 7.1? Thanks in advance for any clue, -ewald ___ There was a note on the intel em chipset. most of them are being renamed to igb, that could be part of the problem. You may need to check the hardware notes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simple swap question
On Thu, 18 Dec 2008 15:13:12 -0500 FreeBSD free...@optiksecurite.com wrote: I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. FreeBSD only swaps in extreme cases - most of the time it's paging instead. If it really worries you: swapoff -a ; swapon -a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thursday 18 December 2008 4:25 pm, Patrick Baldwin wrote: Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? -- Patrick Baldwin Systems Administrator Studsvik Scandpower 617-965-7455 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hope everyone doesn't jump all over me ('tis the holiday season, after all), but why not try gOS. It's mainly button driven, so not much can be messed up (on second thought, I have some lusers who probably could mess it up :-) ). Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, Dec 18, 2008 at 04:25:51PM -0500, Patrick Baldwin wrote: Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? In general, I think FreeBSD is an *excellent* choice for this. You should consider specifics of your particular case, of course, but based on what you said I see no reason that FreeBSD shouldn't meet your needs exceedingly well. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] print substr(Just another Perl hacker, 0, -2); pgpTaBYolUBZA.pgp Description: PGP signature
Re: Suitability question
On Dec 18, 2008, at 4:25 PM, Patrick Baldwin wrote: Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. I'm thinking I might be best of trying to built him a really locked- down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? I like your idea of getting your father (or anyone, for that matter) off Windows, but I personally don't think Linux or FreeBSD are good desktop choices for 'normal' folk. A much better choice, in my humble opinion, is the inexpensive Apple Mac Mini. The way it works is you unplug the current cpu box and replace it with the Mini. You can use your current monitor, keyboard, printer, camera, etc. Unless some of these peripherals are ancient, it should be all plug and play (no hours of tinkering for you). Your father gets a nice computer that actually does what he wants it to do, and you get a box that you can turn into a FreeBSD *server* that you can use to learn all about running an unix box. I did this for my mom. All she wanted was Internet, email, and Word, but now she's doing all sorts of things that she would never have done with a *nix or Windows box, like getting an iPod for her morning walks, buying audio books from iTunes, taking photos and actually being able to download and print them(!), working on a family tree, etc. Best of all, it only took me a few minutes of work to set up and show her how it worked. If she wants to learn something new, she can take a lesson at the Apple Store. It's amazing how much a 'normal' person can do with a friendly computer. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
Kurt Buff wrote: On Thu, Dec 18, 2008 at 1:16 PM, Roland Smith rsm...@xs4all.nl wrote: On Thu, Dec 18, 2008 at 11:29:37AM -0800, Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 Heh. I have those, but actually *want* the headline scroller, and some of those other things - I just want the silly beep to go away. It seems to do this on any page that does autoupdates - gmail does it too, when a new message comes in. Kurt FreeBSD eco 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 r...@eco:/usr/obj/usr/src/sys/GENERIC i386 Firefox 3.0.4 No beeps from wsj.com. At least none through the sound card which I know works. How can I test whether the pc speaker is working? Have you tried muting things with aumix or mixer? I can post my about:config from Firefox if you like, probably better off list. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, 18 Dec 2008, Patrick Baldwin wrote: Usually I'm asking questions for work related things. This one is more personal. My father has this tendency to end up wrecking his computer if he uses the Internet much. Computers are basically magic boxes to him, so education is of limited usefulness here. I'm thinking I might be best of trying to built him a really locked-down, high security box, almost an Internet appliance. All he really does is use the Web, and a little light word processing. What do people think of FreeBSD as the base OS for this idea? A FreeBSD-based XFCE system has worked well for relatives. Firefox for web, Thunderbird for email, other stuff installed but they don't use it. Problems encountered: Proprietary stuff like Flash, Acrobat Reader, Microsoft-only extensions can prevent using certain web sites. Flashblock helps, doing it again I'll use evince for PDF support. Unintended user modifications, like dragging a Thunderbird bar off the screen. Naturally, not only did they not know they were doing that, they swore they didn't do it. Hard to debug over the phone when they must use dialup and have only one phone line. I can't believe it's not Windows syndrome: the ISP sent a you have a Windows-only virus email; I didn't think to have them save it for humor value. The same ISP has broken DHCP which provides the wrong addresses for DNS servers. Works somehow on Windows, had to be manually set on FreeBSD. It might be nice to have a login script that restores user settings each time. With a broadband connection, it would be pretty easy to support. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 FireFox 3.04. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? IIRC, a beeping Firefox results as a feature of compiling it with debugging options enabled. A quick trip through the Way Back Machine: http://lists.freebsd.org/pipermail/freebsd-gnome/2006-March/013973.html No idea if your problem is the same but seems like a good place to poke. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is FreeBSD subject to the EAR ?
Thanks for the reply. This issue is a potential problem for us to offer our medical imaging products made in Japan, which is commingled with the freeBSD, to the embargo countries like Iran, Syria, Sudan, etc. Do we need to get re-export license for our product from BIS or OFAC before shipment from Japan to those countris due to the commingled freeBSD ? Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote on 2008/12/18 21:40:20: If the FreeBSD 6.3-release includes encryption software, it may be subject to the EAR. Following is extract part of the EAR. Part 734.3 : Items subject to the EAR (b) The following items are not subject to the EAR: (3) Publicly available technology and software, except software controlled for EI reasons under ECCN 5D002 on the Commerce Control List and mass market encryption software with symmetric key length exceeding 64-bits controlled under ECCN 5D992, that: if it would be a problem just moving FreeBSD repositories out of US will fix the problem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, Dec 18, 2008 at 04:46:24PM -0500, Glen Barber wrote: Word processing won't be a problem, but internet 'toys' like Flash will be a problem, unless you use some wine+firefox workaround. What -- nspluginwrapper doesn't work any longer? -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Larry Wall: What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? pgpMvvwb7Jxb9.pgp Description: PGP signature
Re: Suitability question
On Thu, Dec 18, 2008 at 7:07 PM, Chad Perrin per...@apotheon.com wrote: On Thu, Dec 18, 2008 at 04:46:24PM -0500, Glen Barber wrote: Word processing won't be a problem, but internet 'toys' like Flash will be a problem, unless you use some wine+firefox workaround. What -- nspluginwrapper doesn't work any longer? From personal experience, nspluginwrapper is a memory hog, and only supports Flash 7 (last I used it). -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
Glen Barber writes: Word processing won't be a problem, but internet 'toys' like Flash will be a problem, unless you use some wine+firefox workaround. What -- nspluginwrapper doesn't work any longer? From personal experience, nspluginwrapper is a memory hog, and only supports Flash 7 (last I used it). Flash 9 + nsplugginwrapper works on -CURRENT starting about a month (I think) ago. Whether the necessary changes will appear in 7.1 I do not know. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
On Thu, Dec 18, 2008 at 3:22 PM, Greg Barniskis nali...@scls.lib.wi.us wrote: Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 FireFox 3.04. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? IIRC, a beeping Firefox results as a feature of compiling it with debugging options enabled. A quick trip through the Way Back Machine: http://lists.freebsd.org/pipermail/freebsd-gnome/2006-March/013973.html No idea if your problem is the same but seems like a good place to poke. Yes, that sounds quite likely! I did that some time ago, because FF was puking on sites with complex javascript. Good call. I'll recompile without debugging... Thanks, Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Backing Up ZFS
Hi, As ZFS is becoming more stable and approaching production ready, how would one Backup ZFS? In terms of backing up to an external media or storage rather than doing snapshots. In case the the server spontaneously bursts into flames. Cost would be my main focus, so backing up to a HDD would be preferable. I'm just curious at what others are currently doing to back up huge amounts of data. eg. 2TB and onwards. 1. ZFS - External HDD (External HDD aren't even big enough to handle greater than 2TB) Taken offsite daily 2. ZFS - Another ZFS box (Not sure how you take it off site daily) 3. ZFS - Remote ZFS using RSync (Living in Australia, there are limits on data transfer of a few hundred GB per month, to costs are prohibitive) Regards David N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitability question
On Thu, Dec 18, 2008 at 7:32 PM, Robert Huff roberth...@rcn.com wrote: Glen Barber writes: Word processing won't be a problem, but internet 'toys' like Flash will be a problem, unless you use some wine+firefox workaround. What -- nspluginwrapper doesn't work any longer? From personal experience, nspluginwrapper is a memory hog, and only supports Flash 7 (last I used it). Flash 9 + nsplugginwrapper works on -CURRENT starting about a month (I think) ago. Whether the necessary changes will appear in 7.1 I do not know. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 7.1 works as well you just need to install a different base to get some good speed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox, or FreeBSD?
On Thu, Dec 18, 2008 at 3:22 PM, Greg Barniskis nali...@scls.lib.wi.us wrote: Kurt Buff wrote: I'm visiting various web sites, and having a stupid little issue which is really annoying. FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22 PST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 FireFox 3.04. For instance, if I go to http://www.wsj.com, among others, it's constantly beeping, as the little headline scroller at the top of the page updates. I can't find anywhere in the menu items, or in FF help, on how to turn the beeping off, and it's driving me nuts. Anyone have a hint for me? IIRC, a beeping Firefox results as a feature of compiling it with debugging options enabled. A quick trip through the Way Back Machine: http://lists.freebsd.org/pipermail/freebsd-gnome/2006-March/013973.html No idea if your problem is the same but seems like a good place to poke. Nailed it! make deinstall, make reinstall, and it worked like a champ - no more beeping. Thanks ever so, Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bridge ipfw also protect set
Hi I want to give internet connectivity to a pc behind my Freebsd, which is connected to an aDSL. I know I can add another card to my set and use bridge+IPFW so that the behind pc is firewalled. But will this setup also ensure that my Freebsd set is firewalled? Could now figure it out reading the book and article. Thanks and sorry if this is a silly question. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bridge ipfw also protect set
On Fri, Dec 19, 2008 at 10:08:10AM +0800, KHOO Guan Chen wrote: Hi I want to give internet connectivity to a pc behind my Freebsd, which is connected to an aDSL. I know I can add another card to my set and use bridge+IPFW so that the behind pc is firewalled. But will this setup also ensure that my Freebsd set is firewalled? Could now figure it out reading the book and article. Thanks and sorry if this is a silly question. Regards Hi there! You can set up natd+IPFW or use pf only. I think bridging is not necessary in your case. Proper filter rules will give your freebsd system good protection. Some information could be found in the Firewalls chapter of the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html Great explanation of pf functionality here: http://www.openbsd.org/faq/pf/ I find pf approach much easier to set up and maintain. Google search will give you more ;) Good luck! -- Best regards, Jeff () X-mas ribbon campaign /\ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SIS191 Ethernet Controller Support
Hi Admin, I just want to know does FreeBSD support SIS191 Ethernet controller. Because recently i just install PCBSD in my laptop, and there is no connection for internet. and of course my network card seem doesn't appear in networking configuration. Do you have any suggestion to foresee this situation. Regards. -- Mohd Shamsi Hafiz bin Abdul Hamid Pegawai Pemasaran Galeri Cenderamata Koperasi UPM BHD Beg Berkunci 260 Pejabat Pos UPM Universiti Putra Malaysia 43400 Serdang Selangor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bridge ipfw also protect set
Hi, I want to give internet connectivity to a pc behind my Freebsd, which is connected to an aDSL. I know I can add another card to my set and use bridge+IPFW so that the behind pc is firewalled. But will this setup also ensure that my Freebsd set is firewalled? Could now figure it out reading the book and article. You don't want to use bridge! 1) as far as I remember, ipfw works poorly with bridge: it would filter only based on layer 2, not based on IP (need to confirm). 2) bridge means that packets traverse the FreeBSD machine without any modification (think of the bridge like a 2 ports Ethernet switch). Unless you use and ADSL modem (but then you can use a switch and connect your PC and your FreeBSD box each on one port of the switch) it will not work. If your FreeBSD machine is in charge of making the ADSL connection, it will not work. 3) as suggested in the prvious reply, you need some NAT and some routing in your FreeBSD machine. Routing is not bridge. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Secondary DNS or BSD Server space
Everyone: We just got word that Neustar, which bought DNS service provider Nominum a few years ago, is shutting down Nominum's secondary.com service. The service used to provide secondary DNS for users' zones at no charge. I and the other secondary.com users I know think it's reasonable for the company to charge a small but reasonable fee for the service instead of keeping it running for free. But alas, Neustar is getting greedy. The only alternative they offer is a $50-a-month managed DNS service, which we don't want or need. (We're fine maintaining our own master servers and zones; we just need a slave to use as a secondary.) So, we're looking for alternatives. Does anyone on this list know of a good, BSD-based service which offers reasonably priced secondary DNS? Or reasonably priced servers at a server farm, where I and others can set up a secondary DNS server? --Brett Glass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Unable to delete directory even after change of ownership.
Hi. I have a quick question about chown and how it works. My setup: * Freebsd 7-RELEASE-p6 (on i386) * /home on separate slice. Here is what I am trying to do: In the folder called /home, I want to store my subversion repository. While working on this, I encountered a unique/inexplicable behavior. This is what I have done so far: a) as root, created a group called repo_admin. b) as root, created an user called svn c) adduser utility created a home directory for user svn under /home (i.e. /home/svn) d) as root, created a directory called my_repos under /home (i.e. /home/my_repos) Now owner and group are root and wheel respectively e) as root, executed the following command. chown svn:repo_admin /home/my_repos f) verified that the file permissions for /home/my_repos is correctly set after the change in ownership. Here is the problem I encountered When I log in as svn, I am placed in the folder /home/svn. As svn, when I try to delete the folder (/home/my_repos), I get the error Permission denied. Why do I get this error when I (svn) am the owner of that directory? However, I have no problem deleting a directory under /home/svn. Thanks in advance for your help. -- View this message in context: http://www.nabble.com/Unable-to-delete-directory-even-after-change-of-ownership.-tp21085175p21085175.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to delete directory even after change of ownership.
On Thu, Dec 18, 2008 at 10:27 PM, BSD_Newbie it_mana...@gmx.com wrote: e) as root, executed the following command. chown svn:repo_admin /home/my_repos f) verified that the file permissions for /home/my_repos is correctly set after the change in ownership. Here is the problem I encountered When I log in as svn, I am placed in the folder /home/svn. As svn, when I try to delete the folder (/home/my_repos), I get the error Permission denied. Why do I get this error when I (svn) am the owner of that directory? However, I have no problem deleting a directory under /home/svn. My guess is you should've used the -r flag with chown (recursive). -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to delete directory even after change of ownership.
e) as root, executed the following command. chown svn:repo_admin /home/my_repos f) verified that the file permissions for /home/my_repos is correctly set after the change in ownership. Here is the problem I encountered When I log in as svn, I am placed in the folder /home/svn. As svn, when I try to delete the folder (/home/my_repos), I get the error Permission denied. Why do I get this error when I (svn) am the owner of that directory? However, I have no problem deleting a directory under /home/svn. My guess is you should've used the -r flag with chown (recursive). Would be -R (upper case) I think. As for the error: what is the output of: ls -lo /home ls -lo /home/my_repos Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org