RE: 5.2.1 to 6.2 Migration.
Kevin Kinsey [EMAIL PROTECTED] writes: Lowell Gilbert wrote: Chris Haulmark [EMAIL PROTECTED] writes: Grant Peel wrote: I thought I would ask the question before I do it the hard way 1. Can FreeBSD be upgraded from 5.2.1 to 6.2 ? Yes. 2. Can it be done through an ssh connection, or MUST I make the trip to the farm and do it from the console? I've done 5.x to 6.x upgrades via ssh. It is possible. In the handbook, you will see mentions of booting into single user mode and I can tell you that it is not required. It's a good safety precaution; if your updated kernel won't boot, you will need to reinstall most of the system. That is over the board. Only times that I have made the mistakes in the past are: 1. Misconfiguring the kernel options such as disabling the meeded network driver built in the kernel. 2. Anything related to having kernel panics to occur. 3. Enabling firewall and getting locked out via network. That sounds a tad alarmist; if the new kernel won't boot, you'll have to be at (or have someone at) the console who can boot kernel.old (I stand open for correction, but last time I did it, 'twas that way). And, possibly, that person (you?) will also have to be able to do some other magic. Magic such as having other remote possibilities. DRAC access for example. But the phrase reinstall most of the system doesn't, at the very least, *sound* like the BSD Way(tm). Granted, sometimes it's quicker --- I know that's why it's used so often on that Other System ;-) If you have reinstalled a userland that depends on a kernel that doesn't boot, you are quite likely to be in trouble. I always do buildworld/installworld as part of my kernel build/installs. That is to ensure staying in sync. I reboot after the installworld then again after the installkernel. The BSD way does not necessarily involve easy recovery from making up procedures that haven't been worked out or tested by the release engineers. In fact, I don't think any operating system guarantees that you will have an easy time after making up your own upgrade procedures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[ANNOUNCEMENT] Wiki for discussing P35/IHC9(R)/SATA issues set up
http://www.flosoft-systems.com/wiki/index.php The goals of the wiki are: 1. Clearinghouse for known issues and solutions 2. Cordinate the development of patch set(s) to fix the issues ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2.1 to 6.2 Migration.
On Saturday 03 November 2007, Chris Haulmark said: Kevin Kinsey [EMAIL PROTECTED] writes: Lowell Gilbert wrote: Chris Haulmark [EMAIL PROTECTED] writes: Grant Peel wrote: I thought I would ask the question before I do it the hard way 1. Can FreeBSD be upgraded from 5.2.1 to 6.2 ? Yes. 2. Can it be done through an ssh connection, or MUST I make the trip to the farm and do it from the console? I've done 5.x to 6.x upgrades via ssh. It is possible. In the handbook, you will see mentions of booting into single user mode and I can tell you that it is not required. It's a good safety precaution; if your updated kernel won't boot, you will need to reinstall most of the system. That is over the board. Only times that I have made the mistakes in the past are: 1. Misconfiguring the kernel options such as disabling the meeded network driver built in the kernel. 2. Anything related to having kernel panics to occur. 3. Enabling firewall and getting locked out via network. That sounds a tad alarmist; if the new kernel won't boot, you'll have to be at (or have someone at) the console who can boot kernel.old (I stand open for correction, but last time I did it, 'twas that way). And, possibly, that person (you?) will also have to be able to do some other magic. Magic such as having other remote possibilities. DRAC access for example. But the phrase reinstall most of the system doesn't, at the very least, *sound* like the BSD Way(tm). Granted, sometimes it's quicker --- I know that's why it's used so often on that Other System ;-) If you have reinstalled a userland that depends on a kernel that doesn't boot, you are quite likely to be in trouble. I always do buildworld/installworld as part of my kernel build/installs. That is to ensure staying in sync. I reboot after the installworld then again after the installkernel. You should do it the other way around. That way if the new kernel doesn't boot you aren't stuck with an out of sync userland which may not play nicely with your old kernel. Also, depending on the changes booting an old kernel with a new userland may (and has) result in your system not booting at all. The proper sequence is: # make buildworld # make buildkernel # make installkernel # reboot # mergemaster -p # make installworld # mergemaster # reboot The BSD way does not necessarily involve easy recovery from making up procedures that haven't been worked out or tested by the release engineers. In fact, I don't think any operating system guarantees that you will have an easy time after making up your own upgrade procedures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make delete-old question
Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... --per ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... yes | make delete-old Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Hi, On Sun, 2007-11-04 at 10:38 +0100, Per olof Ljungmark wrote: Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... cd /usr/src grep -nrF BATCH_DELETE_OLD_FILES * Any comments? -- I would work for you like your sons. -- Tom Hagen, Chapter 1, page 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Noah wrote: HI there, I am not quite sure what library I need to cure this issue up. $ nmap -sP -v 192.168.1.1-255 /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5 That doesn't make much sense because no version of FreeBSD yet has a libm.so.6. How did you obtain this nmap binary? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reverse grep
On 11/4/07, Gary Kline [EMAIL PROTECTED] wrote: On Sun, Nov 04, 2007 at 01:12:45AM +0100, [EMAIL PROTECTED] wrote: How is it possible to select lines that do NOT match a specific pattern? For example, I'm connecting to 192.168.123.254 via telnet (port 23), and do tcpdump -nli rl0. This cyclic traffic, becuase when tcpdump outputs something, the system sends me some packets, which generates output in tcpdump, and vice versa. I want to filter out packets of telnet access to the FreeBSD machine, that is, something like: tcpdump -nli rl0 | grep --non-matching-lines 192.168.123.254.23 % tcpdump -nli rl0 | grep -v 192.168.123.254.23 will print everything except the IP you have shown. Actually, a better way to do it would be: % tcpdump -nli rl0 'not host 192.168.123.254 and port 22' Will prevent tcpdump from capturing your own SSH traffic. grep -v is only a partial solution, if a switch such as '-X' (or '-x' on some platforms) is added, grep -v will snip only the matching line, leaving all the other lines that don't match, through, which will generate traffic, get captured, and loop as previously, as well as making the output look very non-sensical. 'man tcpdump' will be a better read in this case than man grep, although the question was perhaps worded poorly, leading to responses on grep. Regards, Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Smartmontools: Load_Cycle_Count increasing rapidly
Hi, there are some reports that Ubuntu GNU/Linux 7.10 kills harddisks: http://ubuntudemon.wordpress.com/2007/10/28/laptop-hardrive-killer-bug-how-to-discover-whether-you-are-affected/ I can confirm this behaviour for FreeBSD 6.2 STABLE 200710 i386 and smartmontools-5.37_2 from the portscollection. My Load_Cycle_Count is increasing about 1 cycle per minute. So maybe Smartmontools is causing this problem? Best greetings Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Per olof Ljungmark [EMAIL PROTECTED] writes: Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... yes | make delete-old -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which version with a Xeon X3210
I've just ordered a new server based on the Intel Xeon X3210. This is a quad core processor supporting the Intel 64 (formerly known as Intel® EM64T, according to the flyer) instruction set. I plan to install FreeBSD 6.2 on it, but I'm not clear whether I should be using the AMD64 version or the x86 version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version with a Xeon X3210
On Sun, Nov 04, 2007 at 10:31:33AM +, Chris Hastie wrote: I've just ordered a new server based on the Intel Xeon X3210. This is a quad core processor supporting the Intel 64 (formerly known as Intel® EM64T, according to the flyer) instruction set. I plan to install FreeBSD 6.2 on it, but I'm not clear whether I should be using the AMD64 version or the x86 version. Either version should work. If you intend to use 4GB (or more) of RAM, then the AMD64 version will work better by allowing you to actually use all of that memory. Otherwise you might as well use the i386 version for better compatibility with binary-only programs/codecs/drivers (mainly affects various multimedia codecs which is probably not very important for a server though.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need Linux help (watch and LVS)
On 04/11/2007, at 2:33 PM, C Thala wrote: Can someone tell me the FreeBSD equivalent of the Linux command watch. In Linux, watch is like top, but you can run it against any command and have it refresh every N seconds. There is a watch command in FreeBSD but it does something else entirely. You can do this using a simple shell loop. If you really need the GNU watch command it is available in ports as gnu-watch. Have a nice day Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version with a Xeon X3210
On Sun, Nov 04, 2007 at 10:31:33AM +, Chris Hastie wrote: I've just ordered a new server based on the Intel Xeon X3210. This is a quad core processor supporting the Intel 64 (formerly known as Intel® EM64T, according to the flyer) instruction set. I plan to install FreeBSD 6.2 on it, but I'm not clear whether I should be using the AMD64 version or the x86 version. If you routinely run out of address space on i386 with your workload, you should use amd64. It is possible for amd64 to be faster than i386 (more registers, among other things), but it depends on the workload (an IO-bound workload will see little difference, I suspect). You'll have to test that. If you depend on binary and/or i386-only ports (e.g. nv driver, wine, flash plugin) you should probably go with i386. 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) pgpARDxzq14QS.pgp Description: PGP signature
Re: cannot get screen out of black/black mode...
On Sat, 3 Nov 2007 22:14:18 -0800 Gary Kline [EMAIL PROTECTED] wrote: Where do I set up the screen to never go blan? both in console (white on black) mode and in X? Every so often my video card driver (mga) remains blank after 10 to 15 minutes. And gets stuck in this mode. --FWIW, this did not happen in xorg-6.9-- only in the 7.x versions. My hunch is to never let the screen blank. The screensaver does seem to work, tho. Blanking in console mode is controlled by /etc/defaults/rc.conf: blanktime=300# blank time (in seconds) or NO to turn it off. Put your override in /etc/rc.conf . Xorg blanking can be set via xset. To see your settings run xset q. If you run xset without arguments, you can get hints on settings: For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For more detail, see man xset. You may also have some window manager screensaver mode to contend with. Also as a side, since you're using the xf86-video-mga driver, see http://www.freebsd.org/cgi/query-pr.cgi?pr=117726 HTH, Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What kind of audio device is this?
On Saturday 03 November 2007 19:08:25 P.U.Kruppa wrote: Hi, dmesg says I have got ugen0: vendor 0x0d8c PnP Audio Device, class 0/0, rev 1.10/0.10, addr 4 on uhub0 on board. What is this? Do we have a driver for it? Vendor 0x0d8c seems to be C-Media, but without the product ID it is difficult to find out what card it is. http://www.cmedia.com.tw/?q=en/datasheets snd_cmi (4) should work with some C-Media sound cards : HARDWARE The snd_cmi driver supports the following sound cards: +o CMedia CMI8338A +o CMedia CMI8338B +o CMedia CMI8738 +o CMedia CMI8738B or else the snd_uaudio driver might help. Of course I tried # kldload snd_driver but all I get is # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: I am running FreeBSD 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sat Nov 3 17:55:42 CET 2007 amd64 Thanks, Uli. Peter Ulrich Kruppa Wuppertal Germany Hope this helps, -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports problem
Hello. I am having multiple problems with the ports collection # cd /usr/ports/ports-mgmt/portupgrade # make install clean === Installing for portupgrade-2.3.1,2 === portupgrade-2.3.1,2 depends on file: /usr/local/bin/ruby18 - found === portupgrade-2.3.1,2 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so - found === portupgrade-2.3.1,2 depends on file: /usr/local/bin/perl5.8.8 - found === Generating temporary packing list === Checking if ports-mgmt/portupgrade already installed === bin (install) install -o root -g wheel -m 555 .build/pkg_fetch /usr/local/sbin/pkg_fetch install -o root -g wheel -m 555 .build/pkg_glob /usr/local/sbin/pkg_glob install -o root -g wheel -m 555 .build/pkg_sort /usr/local/sbin/pkg_sort install -o root -g wheel -m 555 .build/pkgdb /usr/local/sbin/pkgdb install -o root -g wheel -m 555 .build/portcvsweb /usr/local/sbin/portcvsweb install -o root -g wheel -m 555 .build/portsclean /usr/local/sbin/portsclean install -o root -g wheel -m 555 .build/portsdb /usr/local/sbin/portsdb install -o root -g wheel -m 555 .build/portupgrade /usr/local/sbin/portupgrade install -o root -g wheel -m 555 .build/portversion /usr/local/sbin/portversion /usr/local/sbin/pkg_deinstall - /usr/local/sbin/pkg_glob /usr/local/sbin/pkg_which - /usr/local/sbin/pkgdb /usr/local/sbin/portinstall - /usr/local/sbin/portupgrade /usr/local/sbin/ports_glob - /usr/local/sbin/portsdb === etc (install) install -o root -g wheel -m 555 .build/status-pkg.sh /usr/local/etc/pkgtools.status-pkg.sh install -o root -g wheel -m 444 pkgtools.conf /usr/local/etc/pkgtools.conf.sample === lib (install) install -o root -g wheel -m 444 .build/pkg.rb .build/pkgdb.rb .build/pkgdbtools.rb .build/pkginfo.rb .build/pkgmisc.rb .build/pkgtools.rb .build/pkgtsort.rb .build/pkgversion.rb .build/portinfo.rb .build/ports.rb .build/portsdb.rb `/usr/local/bin/ruby18 -rrbconfig -e 'puts %s/%s.%s % %w[sitedir MAJOR MINOR].map { |k| Config::CONFIG[k] }'` === man (install) install -o root -g wheel -m 444 pkg_deinstall.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 pkg_fetch.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 pkg_glob.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 pkg_sort.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 pkgdb.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 portcvsweb.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 portsclean.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 portsdb.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 portupgrade.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 portversion.1.gz /usr/local/man/man1 install -o root -g wheel -m 444 pkgtools.conf.5.gz /usr/local/man/man5 /usr/local/man/man1/pkg_which.1.gz - /usr/local/man/man1/pkgdb.1.gz /usr/local/man/man1/portinstall.1.gz - /usr/local/man/man1/portupgrade.1.gz /usr/local/man/man1/ports_glob.1.gz - /usr/local/man/man1/portsdb.1.gz === misc (install) === misc/bash (install) mkdir -p /usr/local/share/examples/pkgtools/bash install -o root -g wheel -m 444 complete.sample /usr/local/share/examples/pkgtools/bash === misc/tcsh (install) mkdir -p /usr/local/share/examples/pkgtools/tcsh install -o root -g wheel -m 444 complete.sample /usr/local/share/examples/pkgtools/tcsh === misc/zsh (install) mkdir -p /usr/local/share/zsh/site-functions install -o root -g wheel -m 444 _pkgtools /usr/local/share/zsh/site-functions mkdir -p /usr/local/share/doc/pkgtools install -c -o root -g wheel -m 444 ChangeLog NEWS README /usr/local/share/doc/pkgtools === Running ldconfig /sbin/ldconfig -m /usr/local/lib/compat/pkg ldconfig: warning: /usr/local/lib/compat/pkg: No such file or directory === Installing ldconfig configuration file if [ ! -f /usr/local/etc/pkgtools.conf ]; then /bin/cp -p /usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf; fi /bin/mkdir -p /usr/local/lib/compat/pkg /bin/cat /usr/ports/ports-mgmt/portupgrade/pkg-message -- Fill ALT_PKGDEP section in pkgtools.conf file for portupgrade be aware of alternative dependencies you use. E.g. ALT_PKGDEP = { 'www/apache13' = 'www/apache13-modssl', 'print/ghostscript-gnu' = 'print/ghostscript-gpl', } Note also, portupgrade knows nothing how to handle ports with different suffixes (E.g. -nox11). So you should explicitly define variables (E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or pkgtools.conf (MAKE_ARGS section) files. -- === Registering installation for portupgrade-2.3.1,2 === Cleaning for portupgrade-2.3.1,2 # portsdb -Uu portsdb: Command not found. # cd kdenetwork3 # make === Vulnerability check disabled, database not found === Found saved configuration for kdenetwork-3.5.4 =
Re: Ports problem
On Sun, 4 Nov 2007 12:30:07 + Desmond Chapman [EMAIL PROTECTED] wrote: Hello. I am having multiple problems with the ports collection # cd /usr/ports/ports-mgmt/portupgrade # make install clean [ build log removed for brevity ] === Registering installation for portupgrade-2.3.1,2 === Cleaning for portupgrade-2.3.1,2 # portsdb -Uu portsdb: Command not found. From the Handbook section 4.5.2 Installing Ports: Note: Some shells keep a cache of the commands that are available in the directories listed in the PATH environment variable, to speed up lookup operations for the executable file of these commands. If you are using one of these shells, you might have to use the rehash command after installing a port, before the newly installed commands can be used. This command will work for shells like tcsh. Use the hash -r command for shells like sh. Look at the documentation for your shell for more information. If you are using root's default shell, then rehash is probably what you want. # cd kdenetwork3 # make [ Log detail omitted ] === qt-copy-3.3.8_6 depends on file: /usr/local/libdata/xorg/libraries - not found ===Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries The following is probably causing the multiple problems you are seeing: /usr/X11R6 exists, but it is not a symlink. Installation cannot proceed. This looks like an incompletely removed old version of X. In the current version, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDATING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Error code 1 [ More log detail omitted ] I have done the cvsup, csup, portsnap, and followed the instructions ion /usr/ports/UPDATING. I get thses same results each time. How do i fix this? Any help would be appreciated. It appears that you missed the /usr/ports/UPDATING (entry of 20070519) or forgot to run the script. There is a script (mergebase.sh) to run which creates the symlink for /usr/X11R6 (as well as other things). It might be a good idea to review that UPDATING entry and see if there are other things that might apply. HTH, Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Smartmontools: Load_Cycle_Count increasing rapidly
There's a way to stop the Load_Cycle_Count growing by installing ataidle from the portscollection and disabling APM with ataidle -P 0 0 0. The Load_Cycle_Count is constant after that. This reduces battery-runtime but that's much better than destroying your harddisk. Best greetings Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ok... what did i miss?
all my 6.2 computers say the correct time, but my 7.0 BETA-2 says an hour ahead (as in, it didnt make the DST change last night on its own). same timezone is selected on all computers. did i miss some setting to obey DST changes or something? thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
Jonathan Horne wrote: all my 6.2 computers say the correct time, but my 7.0 BETA-2 says an hour ahead (as in, it didnt make the DST change last night on its own). same timezone is selected on all computers. did i miss some setting to obey DST changes or something? No mine are even wacker (i.e. it is 11:12 est but I get the following out of date: 06:13:08 EST 2007 but 11:12 out of the gnome clock) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
oops on my previous post I ment it is 10:14 est not 11:14 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need Linux help (watch and LVS)
There is a great port called topless that works like watch. Best Regards, Artur eBoundHost http://www.eboundhost.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
On Nov 4, 2007, at 10:09 AM, Jonathan Horne wrote: all my 6.2 computers say the correct time, but my 7.0 BETA-2 says an hour ahead (as in, it didnt make the DST change last night on its own). My 7.0 BETA1 machine switched to winter time just fine. -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
On Sunday 04 November 2007 05:13:45 Aryeh M. Friedman wrote: Jonathan Horne wrote: all my 6.2 computers say the correct time, but my 7.0 BETA-2 says an hour ahead (as in, it didnt make the DST change last night on its own). same timezone is selected on all computers. did i miss some setting to obey DST changes or something? No mine are even wacker (i.e. it is 11:12 est but I get the following out of date: 06:13:08 EST 2007 but 11:12 out of the gnome clock) welll i figured mine out at least. ntpd wasnt running, so it was showing whatever time my bios is saying. :) i love it when i overlook the simplest thing! hehe cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW Rules and Games
[EMAIL PROTECTED] wrote: So basically the ruleset should be simple: ipfw -f flush # allow lo0 stuff # block some spoofs/attacks # if you are hosting gameservers from 192.168.17.3 or whatever, # you should (manually) open server ports, in other words, add # routes to 192.168.17.3 to specific server ports ipfw add divert natd all from any to any via $outside_interface allow all from any to any # block some more spoofs/attacks :) # define services (like you did with http) Sorry, this didn't work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar Ignoring out-of-order file What Does that Mean?
On Tuesday 30 October 2007 16:02, Martin McCormick wrote: I need to modify the first installation image for a headless installation of Freebsd6.2. The file in question is: 6.2-RELEASE-i386-disc1.iso Thanks to a helpful member of the list [that was me - I'm glad I was of some help] I found out that tar works on unpacking these images and it mostly does on this one, but there is a complaint I get from tar that I haven't found on other images. If I do a tar tvf 6.2-RELEASE-i386-disc1.iso Here is what happens while looking at the contents list: 0 44232 Jan 12 2007 RELNOTES.HTM lr-xr-xr-x 1 0 0 0 Jan 12 2007 stand - /rescue lr-xr-xr-x 1 0 0 0 Jan 12 2007 sys - usr/src/systar: Ignoring out-of-order file -r--r--r-- 1 0 0 22916 Jan 12 2007 RELNOTES.TXT I haven't taken any steps at all to verify this, but just looking at the error message it would appear that it's ignoring sys, which is a symlink to usr/src/sys. I wonder if it's encountering sys, trying to create the soft link and finding that usr/src/sys doesn't exist to be linked to because it hasn't been unpacked yet? That may be the meaning of the message about an out-of-order file. It appears that the entire image unpacks except for the ignored file. If one tries the extraction with tar xf 6.2-RELEASE-i386-disc1.iso The complaint about the out-of-order file is the only indication that anything is wrong. If it is indeed sys that's not being created, it's a symlink to a directory rather than a file or link to a file. If the root of the CD doesn't contain a directory called sys which softlinks to usr/src/sys, it should be possible to correct the error by doing ln -s usr/src/sys sys in the root of the unpacked CD filesystem. In looking at the man page for tar, nothing jumps out at me as to how to end up with the proper file structure that mkisofs can put back in to an image to put on a CDROM. My thanks for any suggestions as I may be needing to do one of these installs in a day or so and it would be nice to know that all the image is there. I may have missed your deadline in that case - sorry, I've been on holiday. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What kind of audio device is this?
On Sun, 4 Nov 2007, beni wrote: On Saturday 03 November 2007 19:08:25 P.U.Kruppa wrote: Hi, dmesg says I have got ugen0: vendor 0x0d8c PnP Audio Device, class 0/0, rev 1.10/0.10, addr 4 on uhub0 on board. What is this? Do we have a driver for it? Vendor 0x0d8c seems to be C-Media, but without the product ID it is difficult to find out what card it is. http://www.cmedia.com.tw/?q=en/datasheets snd_cmi (4) should work with some C-Media sound cards : HARDWARE The snd_cmi driver supports the following sound cards: +o CMedia CMI8338A +o CMedia CMI8338B +o CMedia CMI8738 +o CMedia CMI8738B or else the snd_uaudio driver might help. No, I tried to kldoad both, but nothing happens (no /dev/dsp is created). Thanks, Uli. Of course I tried # kldload snd_driver but all I get is # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: I am running FreeBSD 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sat Nov 3 17:55:42 CET 2007 amd64 Thanks, Uli. Peter Ulrich Kruppa Wuppertal Germany Hope this helps, -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Peter Ulrich Kruppa Wuppertal Germany ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: Here is about where the build breaks: configure: creating ./config.status Rarian-0.6.0: This is not API-stable yet. Prefix. /usr/local /bin/sh ./config.status config.status: creating Makefile config.status: creating rarian.pc config.status: creating data/Makefile config.status: creating docs/Makefile config.status: creating librarian/Makefile config.status: creating util/Makefile config.status: creating util/rarian-sk-update config.status: creating util/rarian-sk-install config.status: creating util/rarian-sk-rebuild config.status: creating util/rarian-sk-config config.status: creating util/rarian-sk-get-scripts config.status: creating util/rarian-sk-extract config.status: creating util/rarian-sk-get-content-list config.status: creating util/rarian-sk-get-extended-content-list config.status: creating docs/rarian.document config.status: WARNING: docs/rarian.document.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands gmake[3]: Leaving directory `/usr/ports/textproc/rarian/work/rarian-0.6.0' gmake[3]: Entering directory `/usr/ports/textproc/rarian/work/rarian-0.6.0' gmake[3]: Leaving directory `/usr/ports/textproc/rarian/work/rarian-0.6.0' gmake[2]: Leaving directory `/usr/ports/textproc/rarian/work/rarian-0.6.0/util' gmake[2]: Entering directory `/usr/ports/textproc/rarian/work/rarian-0.6.0/util' cc -DHAVE_CONFIG_H -I. -I.. -I./../librarian -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT rarian-example.o -MD -MP -MF .deps/rarian-example.Tpo -c -o rarian-example.o rarian-example.c mv -f .deps/rarian-example.Tpo .deps/rarian-example.Po /bin/sh ../libtool --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -L/usr/local/lib -o rarian-example rarian-example.o ../librarian/librarian.la cc -O2 -fno-strict-aliasing -pipe -o .libs/rarian-example rarian-example.o -L/usr/local/lib ../librarian/.libs/librarian.so -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libm.so.6, needed by /usr/local/lib/libstdc++.so.5, not found (try using -rpath or -rpath-link) /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libstdc++.so.5: undefined reference to
nspluginwrapper + linux-flashplugin7 broken?
After upgrading to xorg-7.3_1, linux-flashplugin-7.0r70 and nspluginwrapper-0.9.91.5 stopped working. I get a blank area on the screen where the flash content should be, and the following error messages: The program 'npviewer.bin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 84 error_code 8 request_code 147 minor_code 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed ... Anyone else having this problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Noah wrote: thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: It looks like you have added a Linux libstdc++ library which is why it is failing to resolve other Linux symbols and libraries. No linux ports should be putting them in /usr/local/lib though, so maybe you or someone else did this manually. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Kris Kennaway wrote: Noah wrote: thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: It looks like you have added a Linux libstdc++ library which is why it is failing to resolve other Linux symbols and libraries. No linux ports should be putting them in /usr/local/lib though, so maybe you or someone else did this manually. thanks Kris, I am checking with the other admin. In the meantime it wouldnt hurt to move the library /usr/local/lib/libstdc++.so.5 out of there, right? also I just performed a 'pkgdb -Faf' and I am seeing the following grep problems: Stale dependency: irssi-0.8.12 - openssl-0.9.8g (security/openssl): grep: : No such file or directory grep: : No such file or directory /usr/ports/Mk/bsd.openssl.mk, line 131: warning: grep ^lib/libssl.so. returned non-zero status What else did I mess up :) Cheers, Noah Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Hi, On Sat, 2007-11-03 at 19:47 -0700, Noah wrote: HI there, I am not quite sure what library I need to cure this issue up. $ nmap -sP -v 192.168.1.1-255 /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5 Any clues please? I think you are using the GNU/Linux. If not, show us `uname -a`;; If you need some guidance about FreeBSD, see http://www.freebsd.org/ -- Will you send this to him? Sure, sure. You forget about Mikey, he no the man for you anymore. -- Kay Adams and Mrs. Corleone, Chapter 15, page 235 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Byung-Hee HWANG wrote: Hi, On Sat, 2007-11-03 at 19:47 -0700, Noah wrote: HI there, I am not quite sure what library I need to cure this issue up. $ nmap -sP -v 192.168.1.1-255 /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5 Any clues please? I think you are using the GNU/Linux. If not, show us `uname -a`;; If you need some guidance about FreeBSD, see http://www.freebsd.org/ nope FreeBSD. access1# uname -a FreeBSD access1 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Wed Aug 1 22:59:54 PDT 2007 root@:/usr/obj/usr/src/sys/LOCAL i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2.1 to 6.2 Migration.
But the phrase reinstall most of the system doesn't, at the very least, *sound* like the BSD Way(tm). Granted, sometimes it's quicker --- I know that's why it's used so often on that Other System ;-) If you have reinstalled a userland that depends on a kernel that doesn't boot, you are quite likely to be in trouble. I always do buildworld/installworld as part of my kernel build/installs. That is to ensure staying in sync. I reboot after the installworld then again after the installkernel. You should do it the other way around. That way if the new kernel doesn't boot you aren't stuck with an out of sync userland which may not play nicely with your old kernel. Also, depending on the changes booting an old kernel with a new userland may (and has) result in your system not booting at all. The proper sequence is: # make buildworld # make buildkernel # make installkernel # reboot # mergemaster -p # make installworld # mergemaster # reboot I prefer to do [build|install]world prior to building the kernel with the new installed tools. Even with an outsynced system, the most common tools to be affected are ps and top. Even when a kernel fails to boot all the way through, you can still rebuild a new kernel after booting with the old kernel. Having the new system tools will not hurt. The OP's primary goal was to discuss about if it was possible to upgrade 5.x to 6.x remotely via ssh. I provided that it was possible and what my method is. Chris The BSD way does not necessarily involve easy recovery from making up procedures that haven't been worked out or tested by the release engineers. In fact, I don't think any operating system guarantees that you will have an easy time after making up your own upgrade procedures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Noah wrote: Kris Kennaway wrote: Noah wrote: thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: It looks like you have added a Linux libstdc++ library which is why it is failing to resolve other Linux symbols and libraries. No linux ports should be putting them in /usr/local/lib though, so maybe you or someone else did this manually. thanks Kris, I am checking with the other admin. In the meantime it wouldnt hurt to move the library /usr/local/lib/libstdc++.so.5 out of there, right? Probably not. The question is whether other bogus libraries were also added there to cause more problems later. The pkg_which manpage has an example command you can run to try and track down extra files that were not installed by any packages. also I just performed a 'pkgdb -Faf' and I am seeing the following grep problems: Stale dependency: irssi-0.8.12 - openssl-0.9.8g (security/openssl): grep: : No such file or directory grep: : No such file or directory /usr/ports/Mk/bsd.openssl.mk, line 131: warning: grep ^lib/libssl.so. returned non-zero status Looks like maybe part of the OpenSSL installation was deleted (it should live in /usr/lib), so you should either reinstall world or install the openssl port. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Yelp 2.20.0 Error
In the upgrade FAQ it says: Some users have reported problems with Yelp displaying an error trying to view help files on FreeBSD 6.X. The problem does not appear to exist on 7.X or 8.X, nor is it reliably reproducible. If you are encountering this problem, please notify [EMAIL PROTECTED] I'm using FreeBSD 6.2-RELEASE-p5. Since upgrading to yelp-2.20.0, I get Page not found each time I access the help system, but but all of the content is there. I just click on OK and proceed. Only gnucash, gnumeric, gcalctool, abiword, ggv, gconf-editor and their dependencies are installed. My desktop is XFCE. Although it is claimed to be faster, I find the new yelp unbearably slow, much slower than the previous version. It is now completely unusable for gnucash and gnumeric. (I'm on a 733 Mhz P3.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Kris Kennaway wrote: Noah wrote: Kris Kennaway wrote: Noah wrote: thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: It looks like you have added a Linux libstdc++ library which is why it is failing to resolve other Linux symbols and libraries. No linux ports should be putting them in /usr/local/lib though, so maybe you or someone else did this manually. thanks Kris, I am checking with the other admin. In the meantime it wouldnt hurt to move the library /usr/local/lib/libstdc++.so.5 out of there, right? Probably not. The question is whether other bogus libraries were also added there to cause more problems later. The pkg_which manpage has an example command you can run to try and track down extra files that were not installed by any packages. Hi Kris, I am not completely clear on which manpage to go to? Is 'pkg_' command/man page truncated in some way? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5
Noah wrote: Kris Kennaway wrote: Noah wrote: Kris Kennaway wrote: Noah wrote: thanks Kris, something must be wrong then. I am running into problems rebuilding apache now and see undefined references from /usr/local/lib/libstdc++.so.5 during the build: It looks like you have added a Linux libstdc++ library which is why it is failing to resolve other Linux symbols and libraries. No linux ports should be putting them in /usr/local/lib though, so maybe you or someone else did this manually. thanks Kris, I am checking with the other admin. In the meantime it wouldnt hurt to move the library /usr/local/lib/libstdc++.so.5 out of there, right? Probably not. The question is whether other bogus libraries were also added there to cause more problems later. The pkg_which manpage has an example command you can run to try and track down extra files that were not installed by any packages. Hi Kris, I am not completely clear on which manpage to go to? Is 'pkg_' command/man page truncated in some way? man pkg_which which is part of portupgrade Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache22 complains of Module mod_ldap missing
Hi there, apache-2.2.6_2 6.2-RELEASE-p6 I am not quite sure what is wrong if I am not building apache correctly or if my /usr/local/etc/apache22/httpd.conf file does not have everything configured properly. I might be missing the installation of a module or something in my httpd.conf please help. here is the log message: [Sun Nov 04 18:26:41 2007] [error] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_auth_ldap to function properly Configuration Failed here is my /etc/make.conf --- snip --- # !cat cat /etc/make.conf ## switches for RT3 WITH_FASTCGI=yes WITH_APACHE2=yes # for subversion WITH_APACHE2_APR=yes APR_UTIL_WITH_BERKELEY_DB=yes WITH_MOD_DAV_SVN=yes WITH_REPOSITORY_CREATION=yes # for Apache WITH_LDAP_MODULES=yes WITH_SSL_MODULES=yes WITH_BERKELEYDB=db42 #FORCE_PKG_REGISTER=yes # added by use.perl 2007-11-03 20:21:58 PERL_VER=5.8.8 PERL_VERSION=5.8.8 snip --- here are the modules I install: access1# grep LoadModule /usr/local/etc/apache22/httpd.conf # have to place corresponding `LoadModule' lines at this location so the # LoadModule foo_module modules/mod_foo.so LoadModule perl_module libexec/apache22/mod_perl.so LoadModule authn_file_module libexec/apache22/mod_authn_file.so LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so LoadModule authn_default_module libexec/apache22/mod_authn_default.so LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so LoadModule authz_host_module libexec/apache22/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache22/mod_authz_user.so LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so LoadModule authz_default_module libexec/apache22/mod_authz_default.so LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so LoadModule deflate_module libexec/apache22/mod_deflate.so LoadModule log_config_module libexec/apache22/mod_log_config.so LoadModule logio_module libexec/apache22/mod_logio.so LoadModule env_module libexec/apache22/mod_env.so LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so LoadModule expires_module libexec/apache22/mod_expires.so LoadModule headers_module libexec/apache22/mod_headers.so LoadModule usertrack_module libexec/apache22/mod_usertrack.so LoadModule unique_id_module libexec/apache22/mod_unique_id.so LoadModule setenvif_module libexec/apache22/mod_setenvif.so LoadModule version_module libexec/apache22/mod_version.so LoadModule ssl_module libexec/apache22/mod_ssl.so LoadModule mime_module libexec/apache22/mod_mime.so #LoadModule dav_module libexec/apache22/mod_dav.so LoadModule status_module libexec/apache22/mod_status.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule asis_module libexec/apache22/mod_asis.so LoadModule info_module libexec/apache22/mod_info.so LoadModule cgi_module libexec/apache22/mod_cgi.so #LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so LoadModule negotiation_module libexec/apache22/mod_negotiation.so LoadModule dir_module libexec/apache22/mod_dir.so LoadModule imagemap_module libexec/apache22/mod_imagemap.so LoadModule actions_module libexec/apache22/mod_actions.so LoadModule speling_module libexec/apache22/mod_speling.so LoadModule userdir_module libexec/apache22/mod_userdir.so LoadModule alias_module libexec/apache22/mod_alias.so LoadModule rewrite_module libexec/apache22/mod_rewrite.so LoadModule php5_modulelibexec/apache22/libphp5.so LoadModule speedycgi_module libexec/apache22/mod_speedycgi.so #LoadModule dav_svn_module modules/mod_dav_svn.so #LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule authnz_external_module libexec/apache22/mod_authnz_external.so #LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so LoadModule dav_module libexec/apache22/mod_dav.so LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newby can't set up dvd and audio cd to play
Hello list, I am in the process of migrating to using FreeBSD (from Linux, which I would like to leave entirely behind, how does one make sure they don't install something that requires the Linux compatibility packages? I have a working BSD system installed using DesktopBSD; [EMAIL PROTECTED] /usr/home/pineal]$ uname -v FreeBSD 6.2-STABLE #0: Mon Jul 23 21:48:53 CEST 2007 I am using this on one partition of one of my drives. I have a second 40gb drive to do a new install to to take over when I have finished playing and discovering on this current setup. The problem I have is that I cannot get dvds to play. I have read the FAQ and the Handbook, I made the changes suggested i.e. adding devices, but still to no avail. What actually happens when I play a dvd is that the dvd will play sometimes for about 20 secs then I get an error dialog saying either I do not have sufficient rights or the dvd is empty. Trying to play a music cd is similarly wierd. On play the first track may play and if it does will last for about 20 secs, sometimes a track will not play at all and eventually skip to the next, but I never seem to get any longer than about 20 secs? I have a fresh install of FreeBSD 6.2 STABLE installed on my second drive waiting to hopefully set up correctly. I have done no updates at all at this point. Could someone please give me some guidance with this? neal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW Rules and Games
Jack Barnett wrote: [EMAIL PROTECTED] wrote: So basically the ruleset should be simple: ipfw -f flush # allow lo0 stuff # block some spoofs/attacks # if you are hosting gameservers from 192.168.17.3 or whatever, # you should (manually) open server ports, in other words, add # routes to 192.168.17.3 to specific server ports ipfw add divert natd all from any to any via $outside_interface allow all from any to any # block some more spoofs/attacks :) # define services (like you did with http) Sorry, this didn't work. just without any security concerns, try this script: #!/bin/sh ipfw -f flush ipfw add divert natd via xl0 ipfw add allow all from any to any But please tell me, what kind of internet connection do you have? You said you have a Dynamic IP. Are you using connecting to the Internet via ppp? If so, replace xl0 up there with tun0 (or whatever tunnel ppp created). Here's my stuff: ::: /etc/natd.conf ::: dynamic yes same_portsyes deny_incoming yes unregistered_only yes redirect address 192.168.123.254 0.0.0.0 ::: part of /etc/rc.conf ::: # [...] ifconfig_rl0=inet 192.168.123.254 netmask 255.255.255.0 ifconfig_ed0=up # -- this is the external one # plus there is a tun0 for PPPoE firewall_enable=YES firewall_script=/etc/ipfw.rules # something like the above script gateway_enable=YES router_enable=NO natd_enable=YES natd_interface=tun0 natd_flags=-f /etc/natd.conf ppp_enable=YES # [...] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
On Sunday 04 November 2007, Per olof Ljungmark wrote: Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... This is covered in build(7), one of the manpages in the very-useful-but-not-very-obvious category (along with ports, hier, security and tuning IMO (all of which are also in section 7 of the manual..)) Anyway, it's make -DBATCH_DELETE_OLD_FILES delete-old make -DBATCH_DELETE_OLD_FILES delete-old-libs JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another Tag issue
Tino Engel wrote: Dear FreeBSD folks, What is the proper Tag for 8-CURRENT in cvs? Ist it '.'? Yes. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!
Sorry for the late reply ... On Fri, 26.10.2007 at 20:16:45 +0200, O. Hartmann wrote: All right, here I am. nss_ldap.conf and ldap.conf are located in /usr/local/etc and are identical (link). I copied all tags I use and deleted commented out tags: Seems ok to me, though I don't claim to be an expert. The slapd.conf is this, comments roped: include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/inetorgperson.schema # additional schema include /usr/local/share/examples/samba/LDAP/samba.schema pidfile /var/run/openldap/slapd.pid argsfile/var/run/openldap/slapd.args logfile /var/log/slapd.log loglevel512 loglevel is a bitmask. It you want to have lots of debugging try 255 and run a tail -f /var/log/debug.log sizelimit unlimited allow bind_v2 modulepath /usr/local/libexec/openldap moduleload back_bdb everse-lookup off typo I guess? NSCD is up and running, my nsswitch.conf looks like this: Please try without nscd first, it's just another possible source of problems. group: cache ldap[ unavail=continue notfound=continue ] files passwd: cache ldap [ unavail=continue notfound=continue ] files #group_compat: nis hosts: compat networks: files #passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files And I changed some lines in /etc/pam.d/sshd,login,system,other like this *commented out due to system gets stuck forever when enab;ed nss_ldap/pam_ldap): I'm using softbind and a short timeout in ldap.conf/nss_ldap.conf to avoid this unresponsiveness. # Bind/connect timelimit bind_timelimit 3 # Reconnect policy: hard (default) will retry connecting to # the software with exponential backoff, soft will fail # immediately. #bind_policy hard bind_policy soft Also, make NSS work first, then turn to configuring PAM (at least, that's what I would do) Some errors from console: (At boot time) Oct 26 17:00:36 gauss kernel: Oct 26 17:00:36 gauss slapd[757]: nss_ldap: could not search LDAP server - Server is unavailable Expected. slapd want to change its user to ldap:ldap, which it needs to look up the UID for. Chicken Egg. That's why I need to use soft bind+timeout on my (disconnected) laptop here. Oct 26 11:59:08 gauss kernel: Oct 26 11:59:08 gauss cron[13480]: nss_ldap: could not search LDAP server - Server is unavailable Oct 26 12:41:44 gauss kernel: Oct 26 12:41:44 gauss login: nss_ldap: could not search LDAP server - Server is unavailable That seems broken then. Is slapd running? Can you ldapsearch -Lx -h localhost? What's /var/log/debug.log telling you? Can you id(1) some ldap users? Does the output of 'getent group' and 'getent passwd' look reasonable? One point: what is about compile time options of OpenLDAP? Does LDAP forces itself using SSL although not configured explicitely in slapd.conf? No. It is purely optional. You would need certificates before it can even possibly start working anyways. nss_ldap-1.257 === openldap-client-2.3.38 openldap-server-2.3.38 pam_ldap-1.8.2 My other computer is running with nss_ldap-1.257 and showing no problems either. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
Jonathan Horne wrote: all my 6.2 computers say the correct time, but my 7.0 BETA-2 says an hour ahead (as in, it didnt make the DST change last night on its own). same timezone is selected on all computers. did i miss some setting to obey DST changes or something? thanks, I have the correct time but it says CST for Central Standard. Why doesn't it say CDST? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot get screen out of black/black mode...
On Sun, Nov 04, 2007 at 07:22:07AM -0500, Randy Pratt wrote: On Sat, 3 Nov 2007 22:14:18 -0800 Gary Kline [EMAIL PROTECTED] wrote: Where do I set up the screen to never go blan? both in console (white on black) mode and in X? Every so often my video card driver (mga) remains blank after 10 to 15 minutes. And gets stuck in this mode. --FWIW, this did not happen in xorg-6.9-- only in the 7.x versions. My hunch is to never let the screen blank. The screensaver does seem to work, tho. Blanking in console mode is controlled by /etc/defaults/rc.conf: blanktime=300# blank time (in seconds) or NO to turn it off. Put your override in /etc/rc.conf . Xorg blanking can be set via xset. To see your settings run xset q. If you run xset without arguments, you can get hints on settings: For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For more detail, see man xset. Ty, ty, ty! For unknown reasons (I don't know how I screwed up and set this:-), I also set the screen to require my passwd to bring it back to life. But that's another issue; it'll be awhile before I figure out the widgets and gimmicks of Gnome/KDE. You've givenme a jump. Will Gnome choke if I put the ``xset [foobar]'' string in ~/.gnome2? I want to add some initiation commands for the window manager and the gnome-[stuff] seems to choke if I make the slightest fumble. You may also have some window manager screensaver mode to contend with. Hm... Well, I'll experiment. One at a time; blanktime=NO or xset s off. Also as a side, since you're using the xf86-video-mga driver, see http://www.freebsd.org/cgi/query-pr.cgi?pr=117726 Wow, that is very close to my problems:: with my G450 and the mga-1.9.100, my screen was only bright at 800x600. My workaround,, suggested by a gent in OZ was to use xgamma. xgamma -gamma 0.100 only works up to 1280x1024; but I've got 32megs on this video card, which is plenty. I haven't written a dev driver in years. The patch code looks interesting. I didn't understand that I could file a PR thru FBSD for an xorg driver fault... . HTH, really! gary Randy -- -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kdrtdrkpi thought you might like this item on eBay
- An eBay member wants to show you this item - hi friends: Our website is : www.record-saler.com We are a large wholesaler for selling electrical products ,an agent of all the well-known digital products manufacturers,and facing to wholesalers worldwide.We have our own warehouse and stores,We export all kinds of digital products, and offer competitive,attractive price and good quality ,so you can make a big profitwe.we have been received very high praise from our customers all over the world in the past few years. Please see the details on our website: www.record-saler.com - MSN : [EMAIL PROTECTED] - - E-mail : [EMAIL PROTECTED] - - http://www.record-saler.com/productlist.asp?cid=1035 = Show me http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=190153819395 = Item name: Toshiba REGZA 32HLV67U 32 Current price: PHP 12,196.00 End time: Sep-17-07 04:01:28 PDT - Learn how you can protect yourself from spoof (fake) emails at: http://pages.ebay.com/education/spooftutorial/index.html This email sent through the eBay platform from a sender who thinks you are likely to be interested in this information. eBay takes no liability for sending this email or its content. You can report this message at http://pages.ebay.com/help/policies/rfe-spam-ov.html as unsolicited (spam/spoof) email. Copyright © 2007 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. eBay and the eBay logo are trademarks of eBay Inc. eBay Inc. is located at 2145 Hamilton Avenue, San Jose, CA 95125. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kdrtdrkpi thought you might like this item on eBay
- An eBay member wants to show you this item - hi friends: Our website is : www.record-saler.com We are a large wholesaler for selling electrical products ,an agent of all the well-known digital products manufacturers,and facing to wholesalers worldwide.We have our own warehouse and stores,We export all kinds of digital products, and offer competitive,attractive price and good quality ,so you can make a big profitwe.we have been received very high praise from our customers all over the world in the past few years. Please see the details on our website: www.record-saler.com - MSN : [EMAIL PROTECTED] - - E-mail : [EMAIL PROTECTED] - - http://www.record-saler.com/productlist.asp?cid=1035 = Show me http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=190153819395 = Item name: Toshiba REGZA 32HLV67U 32 Current price: PHP 12,196.00 End time: Sep-17-07 04:01:28 PDT - Learn how you can protect yourself from spoof (fake) emails at: http://pages.ebay.com/education/spooftutorial/index.html This email sent through the eBay platform from a sender who thinks you are likely to be interested in this information. eBay takes no liability for sending this email or its content. You can report this message at http://pages.ebay.com/help/policies/rfe-spam-ov.html as unsolicited (spam/spoof) email. Copyright © 2007 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. eBay and the eBay logo are trademarks of eBay Inc. eBay Inc. is located at 2145 Hamilton Avenue, San Jose, CA 95125. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot get screen out of black/black mode...
On Sun, 4 Nov 2007 14:18:19 -0800 Gary Kline [EMAIL PROTECTED] wrote: On Sun, Nov 04, 2007 at 07:22:07AM -0500, Randy Pratt wrote: On Sat, 3 Nov 2007 22:14:18 -0800 Gary Kline [EMAIL PROTECTED] wrote: Where do I set up the screen to never go blan? both in console (white on black) mode and in X? Every so often my video card driver (mga) remains blank after 10 to 15 minutes. And gets stuck in this mode. --FWIW, this did not happen in xorg-6.9-- only in the 7.x versions. My hunch is to never let the screen blank. The screensaver does seem to work, tho. Blanking in console mode is controlled by /etc/defaults/rc.conf: blanktime=300# blank time (in seconds) or NO to turn it off. Put your override in /etc/rc.conf . Xorg blanking can be set via xset. To see your settings run xset q. If you run xset without arguments, you can get hints on settings: For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For more detail, see man xset. Ty, ty, ty! For unknown reasons (I don't know how I screwed up and set this:-), I also set the screen to require my passwd to bring it back to life. But that's another issue; it'll be awhile before I figure out the widgets and gimmicks of Gnome/KDE. You've givenme a jump. Setting of a password does sound like a Gnome/KDE thing. I can't comment on that since its been at least 7 or 8 years since I swore off the mega-managers and use Fluxbox to select which xterm to use ;-) Will Gnome choke if I put the ``xset [foobar]'' string in ~/.gnome2? I want to add some initiation commands for the window manager and the gnome-[stuff] seems to choke if I make the slightest fumble. When I'm in Xorg, I just issue the commands from an xterm. Xset should keep track of your settings for you without having to add it to ~/.gnome2 . You may also have some window manager screensaver mode to contend with. Hm... Well, I'll experiment. One at a time; blanktime=NO or xset s off. Also as a side, since you're using the xf86-video-mga driver, see http://www.freebsd.org/cgi/query-pr.cgi?pr=117726 Wow, that is very close to my problems:: with my G450 and the mga-1.9.100, my screen was only bright at 800x600. My workaround,, suggested by a gent in OZ was to use xgamma. xgamma -gamma 0.100 only works up to 1280x1024; but I've got 32megs on this video card, which is plenty. I haven't written a dev driver in years. The patch code looks interesting. I'm of the opinion that these drivers should work out-of-the-box for a given card with the configuration file generated thru Xorg. If they don't then new users will have a less than happy experience when they install FreeBSD. Understandably, special features of a card may require additional hand configurations. What the patch does is to revert to the mga-1.4.7 with some bug fixes making it 1.4.7,1 . If you had no problems with the previous 1.4.7 driver then it should work fine. Keep in mind, its still a PR and subject to further modification/approaches. If you're comfortable with doing local patches and being able to deal with them during subsequent port updates then it might be worth considering. If you want to read further you could look at last week's archive for freebsd-x11: http://docs.freebsd.org/mail/archive/2007/freebsd-x11/20071104.freebsd-x11.html and this weeks current mailings: http://docs.freebsd.org/mail/current/freebsd-x11.html Look for postings regarding the 'mga' driver. I didn't understand that I could file a PR thru FBSD for an xorg driver fault... . Xorg is another third-party software like other ports and can have a PR filed for a problem. Of course, its preferable that changes go upstream so it minimizes patches for FreeBSD since this adds extra work for the maintainers. Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw rule question ... all possible interfaces ?
Is there a way to tell ipfw: all interfaces currently configured on this system ? I have a laptop and at any time I could plug in a USB NIC or plug in a pccard, in addition to the onboard LAN and WIFI, either of which may or may not be configured at boot time. So the point is, the active, configured interfaces changes regularly. So if I have a rule like: allow ip from any to any via iwi0 that won't work well, and neither will: allow ip from any to any via iwi0,abc0 So is there any way to say all interfaces currently configured and have that rule apply to new interfaces automatically as they are added and subtracted from the system ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ok... what did i miss?
On Nov 4, 2007, at 4:02 PM, icantthinkofone wrote: I have the correct time but it says CST for Central Standard. Why doesn't it say CDST? Standard time is what we have in the winter. Daylight Savings time is what we have in the summer. I know this is counter-intuitive since we are on Dayling Savings Time for longer than we are on Standard time. But when the whole thing was introduced, it was the summer time that got shifted. The above comments are regarding the US. You mentioned Central Time so that would be appropriate. Many other places add an S for Summer into zone designation, while the US puts an S for Standard for the winter time. -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw rule question ... all possible interfaces ?
On Sun, 4 Nov 2007 16:10:12 -0800 (PST) Juri Mianovich [EMAIL PROTECTED] wrote: Is there a way to tell ipfw: all interfaces currently configured on this system ? ... So if I have a rule like: allow ip from any to any via iwi0 You don't have to use via in a rule. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot get screen out of black/black mode...
Xorg blanking can be set via xset. To see your settings run xset q. If you run xset without arguments, you can get hints on settings: For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For more detail, see man xset. Ty, ty, ty! For unknown reasons (I don't know how I screwed up and set this:-), I also set the screen to require my passwd to bring it back to life. But that's another issue; it'll be awhile before I figure out the widgets and gimmicks of Gnome/KDE. You've givenme a jump. I always deal with this through system-preferences-screensaver preferences in Gnome. It allows you to configure everything, from whether the screen blanks through whether you need a password to wake up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2.1 to 6.2 Migration.
I prefer to do [build|install]world prior to building the kernel with the new installed tools. Even with an outsynced system, the most common tools to be affected are ps and top. Even when a kernel fails to boot all the way through, you can still rebuild a new kernel after booting with the old kernel. Having the new system tools will not hurt. Am I wrong thinking that even when running an old system (kernel and tools) for the buildkernel step, only new tools (/usr/src/...) are being used? Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS and IP
My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. Oh and for reference, I am not talking about web redirects. _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a way to compare what is in the ports tree with what is installed?
ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? -- Brett Davidson Systems Engineer -- Net24 Limited Web: www.net24.co.nz Phone: 0800 5000 24 | DDI: +64 3 962 9518 -- // web hosting / email hosting / data backup // our reputation for reliability precedes us This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS and IP
Of course, just setup a virtual host in your httpd.conf file point the dns to the same ip. Apache will take care of the rest. Brian Finniff wrote: My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. Oh and for reference, I am not talking about web redirects. _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS and IP
Hi, Of course, just setup a virtual host in your httpd.conf file point the dns to the same ip. Apache will take care of the rest. To be a litthe bit more precise, in your Apache configuraton you need something like: NameVirtualHost 10.0.0.1 VirtualHost 10.0.0.1 ServerName www.first-server.com ... /VirtualHost VirtualHost 10.0.0.1 ServerName www.second-server.com ... /VirtualHost BUT you will not be able to configure SSL on both sites, it will be either one or the other. You need on distinct IP per site to configure SSL. Best regards, Olivier Brian Finniff wrote: My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a way to compare what is in the ports tree with what is installed?
Brett Davidson writes: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? dir /var/d/pkg | grep portname Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS and IP
Brian Finniff wrote: My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. Oh and for reference, I am not talking about web redirects. If you're talking port 80, google for Virtual hosts. -- Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
On Monday 05 November 2007 02:04:39 Robert Huff wrote: Brett Davidson writes: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? dir /var/d/pkg | grep portname My Linux systems have a dir command but my FreeBSD does not. Is there something I need to install? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
On Mon, 05 Nov 2007 14:53:48 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? see pkg_version[1] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS and IP
On Sun, 4 Nov 2007 18:00:27 -0500 Brian Finniff [EMAIL PROTECTED] wrote: My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. Oh and for reference, I am not talking about web redirects. Hi Brian, to be more generic in the answer, you can map as many FQDN (fully qualified domain name) as you want to a single IP via DNS (you can even enable wildcard records in certain DNS server software that will match *.yourdomain.com to a default IP). That tells {client_software} that {this_FQDN} is {this_IP}. {client_software}will use that information in whatever form is suitable to {client_software} - in most cases it will contact {server_sofware} running in a server (or group of servers) running as {this_IP}. It is up to {server_software} to determine how the request from {client_software} is handled. For a variety of {server_software}, there is support for named based virtual hosts, where the server will behave differently depending on what FQDN the client is attempting to contact : web servers, FTP servers, etc. Others don't, because it doesn't make sense, or because the protocol used doesn't support such thing (HTTPS, for example). If you want a more specific answer, you need to defined what you want to do. Odds are, you are talking about websites - the other replies to your mail should have answered that point. Best, B _ {Beto|Norberto|Numard} Meijome Q. How do you make God laugh? A. Tell him your plans. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
On 11/4/07, Pollywog [EMAIL PROTECTED] wrote: On Monday 05 November 2007 02:04:39 Robert Huff wrote: Brett Davidson writes: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? dir /var/d/pkg | grep portname My Linux systems have a dir command but my FreeBSD does not. Is there something I need to install? ___ I'm guessing it's just an alias for ls. freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
Quoting RW [EMAIL PROTECTED]: On Mon, 05 Nov 2007 14:53:48 +1300 Brett Davidson [EMAIL PROTECTED] wrote: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? see pkg_version[1] ___ after i update my ports, and i want to see what currently needs to be updated: pkg_version -v|grep needs this will give you a run down of everything that has a newer version in your ports tree. -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
Robert Huff wrote: Brett Davidson writes: ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? dir /var/d/pkg | grep portname Robert Huff Ah. Not quite but thanks for telling me the location of the pkg directory (btw, it's var/db/ I've now worked out how to get what I want via : cd /var/db/pkg for i in * do MATCHES=`grep -c $i /usr/ports/INDEX-6` if [ $MATCHES -gt 0 ] then #echo Pattern $i Matched $MATCHES times else echo Pattern $i not matched fi done In my case I was looking for files that weren't at the same revision level as the ports tree but both options are accounted for. Thanks all. -- Brett Davidsonls -la Systems Engineer -- Net24 Limited Web: www.net24.co.nz Phone: 0800 5000 24 | DDI: +64 3 962 9518 -- // web hosting / email hosting / data backup // our reputation for reliability precedes us This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to compare what is in the ports tree with what is installed?
Pollywog writes: dir /var/d/pkg | grep portname My Linux systems have a dir command but my FreeBSD does not. Is there something I need to install? My bad - dir is a longstanding alias for ls -al !* | more Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ipfw rule question ... all possible interfaces ?
Is there a way to tell ipfw: all interfaces currently configured on this system ? I have a laptop and at any time I could plug in a USB NIC or plug in a pccard, in addition to the onboard LAN and WIFI, either of which may or may not be configured at boot time. So the point is, the active, configured interfaces changes regularly. So if I have a rule like: allow ip from any to any via iwi0 that won't work well, and neither will: allow ip from any to any via iwi0,abc0 So is there any way to say all interfaces currently configured and have that rule apply to new interfaces automatically as they are added and subtracted from the system ? Try this: allow ip from any to any Just leave out via __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache-2.2.6 not installing
Hi List, Not receive good support on the ports mail list so I will post here now. Might somebody please explain to me why apache-2.2.6 is not install from /usr/ports ? I am attempting to complile with mod_ldap and a bunch of modules - nothing that should be causing a fuss, though. All shell output is below including error message. Help please, Noah Table of contents 1) uname -a 2) cat Makefile.options from /usr/ports/www/apache22 3) cat /etc/make.conf 4) make install clean from /usr/ports/www/apache22 with errors at the end - but complete output # uname -a FreeBSD 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Sun Aug 12 14:27:32 PDT 2007 root@:/usr/obj/usr/src/sys/SMP i386 # cat Makefile.options OPTIONS+= \ AUTH_BASIC Enable mod_auth_basic ON \ AUTH_DIGEST Enable mod_auth_digest ON \ AUTHN_FILE Enable mod_authn_file ON \ AUTHN_DBD Enable mod_authn_dbd OFF \ AUTHN_DBM Enable mod_authn_dbm ON \ AUTHN_ANON Enable mod_authn_anon ON \ AUTHN_DEFAULT Enable mod_authn_default ON \ AUTHN_ALIAS Enable mod_authn_alias ON \ AUTHZ_HOST Enable mod_authz_host ON \ AUTHZ_GROUPFILE Enable mod_authz_groupfile ON \ AUTHZ_USER Enable mod_authz_user ON \ AUTHZ_DBM Enable mod_authz_dbm ON \ AUTHZ_OWNER Enable mod_authz_owner ON \ AUTHZ_DEFAULT Enable mod_authz_default ON \ CACHE Enable mod_cache ON \ DISK_CACHE Enable mod_disk_cache ON \ FILE_CACHE Enable mod_file_cache ON \ MEM_CACHE Enable mod_mem_cache OFF \ DAV Enable mod_dav ON \ DAV_FS Enable mod_dav_fs ON \ BUCKETEER Enable mod_bucketeer OFF \ CASE_FILTER Enable mod_case_filter OFF \ CASE_FILTER_IN Enable mod_case_filter_in OFF \ EXT_FILTER Enable mod_ext_filter OFF \ LOG_FORENSIC Enable mod_log_forensic OFF \ OPTIONAL_HOOK_EXPORT Enable mod_optional_hook_export OFF \ OPTIONAL_HOOK_IMPORT Enable mod_optional_hook_import OFF \ OPTIONAL_FN_IMPORT Enable mod_optional_fn_import OFF \ OPTIONAL_FN_EXPORT Enable mod_optional_fn_export OFF \ LDAP Enable mod_ldap OFF \ AUTHNZ_LDAP Enable mod_authnz_ldap OFF \ ACTIONS Enable mod_actions ON \ ALIAS Enable mod_alias ON \ ASIS Enable mod_asis ON \ AUTOINDEX Enable mod_autoindex ON \ CERN_META Enable mod_cern_meta ON \ CGI Enable mod_cgi ON \ CHARSET_LITE Enable mod_charset_lite ON \ DBD Enable mod_dbd OFF \ DEFLATE Enable mod_deflate ON \ DIR Enable mod_dir ON \ DUMPIO Enable mod_dumpio ON \ ENV Enable mod_env ON \ EXPIRES Enable mod_expires ON \ HEADERS Enable mod_headers ON \ IMAGEMAP Enable mod_imagemap ON \ INCLUDE Enable mod_include ON \ INFO Enable mod_info ON \ LOG_CONFIG Enable mod_log_config ON \ LOGIO Enable mod_logio ON \ MIME Enable mod_mime ON \ MIME_MAGIC Enable mod_mime_magic ON \ NEGOTIATION Enable mod_negotiation ON \ REWRITE Enable mod_rewrite ON \ SETENVIF Enable mod_setenvif ON \ SPELING Enable mod_speling ON \ STATUS Enable mod_status ON \ UNIQUE_ID Enable mod_unique_id ON \ USERDIR Enable mod_userdir ON \ USERTRACK Enable mod_usertrack ON \ VHOST_ALIAS Enable mod_vhost_alias ON \ FILTER Enable mod_filter ON \ VERSION Enable mod_version ON \ PROXY Enable mod_proxy OFF \ PROXY_CONNECT Enable mod_proxy_connect OFF \ PROXY_FTP Enable mod_proxy_ftp OFF \ PROXY_HTTP Enable mod_proxy_http OFF \ PROXY_AJP Enable mod_proxy_ajp OFF \ PROXY_BALANCER Enable mod_proxy_balancer OFF \ SSL Enable mod_ssl ON \ SUEXEC Enable mod_suexec OFF \ CGID Enable mod_cgid OFF \ # cat /etc/make.conf # $FreeBSD: src/etc/defaults/make.conf,v 1.97.2.80 2003/02/15 16:34:56 trhodes Exp $ # # NOTE: Please would any committer updating this file also update the # make.conf(5) manual page, if necessary, which is located in # src/share/man/man5/make.conf.5. # # This file, if present, will be read by make (see /usr/share/mk/sys.mk). # It allows you to override macro definitions to make without changing # your source tree, or anything the source tree installs. # # This file must be in valid Makefile syntax. # # You have to find the things you can put here in the Makefiles and # documentation of the source tree. # # # The CPUTYPE variable controls which processor should be targeted for # generated code. This controls processor-specific optimizations in # certain code (currently only OpenSSL) as well as modifying the value # of CFLAGS to contain the appropriate optimization directive to gcc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CFLAGS variable below. #
thunderbird eats all memory and dies
Hi, Beginning from the time I last reinstalled FreeBSD from scratch I have my thunderbird dying with the following message: terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc Abort trap (core dumped) This is after it grows in memory to over 1GB in a few hours of idle existence. I even forcibly reinstalled all dependent packages so that all shared libs used by thunderbird are refreshed. But no improvement. Thunderbird was recently upgraded to 2.0.0.8 but the problem didn't go away. Anyone has the same issue? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Is there a way to compare what is in the ports tree with what is installed?
ie. If I had a particular version of the ports tree on a server, how could I check to see if any of the programs in that tree were actually installed? Is there a simple command or sequence of commands to do this? pkg_info can be used to see what ports are currently installed. Chris -- Brett Davidson Systems Engineer -- Net24 Limited Web: www.net24.co.nz Phone: 0800 5000 24 | DDI: +64 3 962 9518 -- // web hosting / email hosting / data backup // our reputation for reliability precedes us This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vmware system speeker beeps
I am running freebsd on as a vmware guest system on a Latitude D620 laptop which has a problem with some VM's with beeping. On Linux systems I have found a few ways of shutting off the system speaker. Is there a way of shutting of the system speaker driver on Linux. I could not find it within the dmesg or /dev directory? Does anyone have an idea how to shut off the system speaker. Thanks Wheely __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS and IP
On Mon, 5 Nov 2007 13:50:17 +1100 Norberto Meijome [EMAIL PROTECTED] wrote: On Sun, 4 Nov 2007 18:00:27 -0500 Brian Finniff [EMAIL PROTECTED] wrote: My question is, if you are running a website for 2 different people on the Internet and they both wanted to acquire a domain but you only have one IP address, would it be possible to forward each domain to the same IP address and somehow each one becomes distinct? If so, how is this possible? Can you explain to me how it can be done. Oh and for reference, I am not talking about web redirects. Hi Brian, to be more generic in the answer, you can map as many FQDN (fully qualified domain name) as you want to a single IP via DNS (you can even enable wildcard records in certain DNS server software that will match *.yourdomain.com to a default IP). That tells {client_software} that {this_FQDN} is {this_IP}. {client_software}will use that information in whatever form is suitable to {client_software} - in most cases it will contact {server_sofware} running in a server (or group of servers) running as {this_IP}. It is up to {server_software} to determine how the request from {client_software} is handled. To be even more specific: the domain name of the recipient is specified at ISO-OSI level 7 in the HTTP protocol with a Host: header like this: Host: www.example.com This header, alongside other HTTP headers is received on port 80 of your web server, and it's up to your web server to route that to the right virtual domain by serving the correct files... By the way, if you're using Lighty (lighttpd), you can host virtual domains as well: http://trac.lighttpd.net/trac/wiki/Docs:ModSimpleVhost -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to write a condition in Bourne shell
Hi, I am a lame Bourne sheel programmer, how to write: while [ ( $? -ne 0 ) -a ( $retry -gt 0 ) ] ; do that should execute as long as $? is not null and $retry is greater than 0? TIA, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]