Problem creating DR bootable disk
I'm running FreeBSD 6.1-RC #0 with a generic kernel and an Asus A8V motherboard. I have three IDE disks in my system. Two are on a 3ware 7200 RAID card in a RAID1 configuration. This is currently used to boot. The third disk is intended to be a DR disk, with a nightly script to mount, sync, change twed0 to ad0 in fstab, and unmount. If something untoward would happen to the main RAID, I could simply reset the boot list in the BIOS and boot off the DR disk that has an image from early that morning. This is also a handy way to shuffle the OS onto larger disks as I upgrade. I was using this in 4.10 with an Asus a7v133 board and fortunately never had to utilize the DR capability. It did pass tests for booting off the new disk and I did several disk upgrade shuffles over the years. For 4.10 the script I used to initialize the DR disk and add boot blocks was: #!/bin/sh dd if=/dev/zero of=/dev/ad0 bs=1k count=1 fdisk -BI ad0 disklabel -B -w -r ad0s1 auto disklabel -R -r ad0s1 disklabel.250 disklabel -B -r ad0s1 newfs -U -i 20480 /dev/ad0s1a This doesn't work with 6.0. When I try to boot off the secondary disk it gets through the initial loader and then spews what looks like a repeating register dump. Nothing short of a power cycle will kill it. I can't say exactly what it says since it's scrolling too fast to read. Everything I've read indicates the procedure hasn't changed in 6.0. Any suggestions on where to look or what to try? Thanks for the help, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem creating DR bootable disk
I just moved my 6.0 Release from one slice to another. The procedure is similar. You could look at my response to expanding a partition, same idea. So relocating a copy of 6.0 (at least) works OK for booting. What happens when you pull the raid card? I'm guessing that bios is ignored pretty early in the boot processs. Your disks might get renumbered somehow. Choice of boot manager? IJ On Fri, 28 Apr 2006, Joe Gross wrote: I'm running FreeBSD 6.1-RC #0 with a generic kernel and an Asus A8V motherboard. I have three IDE disks in my system. Two are on a 3ware 7200 RAID card in a RAID1 configuration. This is currently used to boot. The third disk is intended to be a DR disk, with a nightly script to mount, sync, change twed0 to ad0 in fstab, and unmount. If something untoward would happen to the main RAID, I could simply reset the boot list in the BIOS and boot off the DR disk that has an image from early that morning. This is also a handy way to shuffle the OS onto larger disks as I upgrade. I was using this in 4.10 with an Asus a7v133 board and fortunately never had to utilize the DR capability. It did pass tests for booting off the new disk and I did several disk upgrade shuffles over the years. For 4.10 the script I used to initialize the DR disk and add boot blocks was: #!/bin/sh dd if=/dev/zero of=/dev/ad0 bs=1k count=1 fdisk -BI ad0 disklabel -B -w -r ad0s1 auto disklabel -R -r ad0s1 disklabel.250 disklabel -B -r ad0s1 newfs -U -i 20480 /dev/ad0s1a This doesn't work with 6.0. When I try to boot off the secondary disk it gets through the initial loader and then spews what looks like a repeating register dump. Nothing short of a power cycle will kill it. I can't say exactly what it says since it's scrolling too fast to read. Everything I've read indicates the procedure hasn't changed in 6.0. Any suggestions on where to look or what to try? Thanks for the help, Joe ___ 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: Problem creating DR bootable disk
On Sat, Apr 29, 2006 at 04:08:36AM -0400, Ian Jefferson wrote: What happens when you pull the raid card? Same thing. Choice of boot manager? Doesn't the -B option just install the standard boot manager? Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cyrus-imapd 2.2.13 port failing to build
I am trying to upgrade to the cyrus-imapd 2.2.13 port. I have been running 2.2.12 successfully for many months. This is on FreeBSD 4.11p16. The build is failing as below. Does anyone have an idea if this is fixable? . . . cc -L/usr/lib -R/usr/lib -L/usr/local/lib -R/usr/local/lib -rpath=/ usr/lib:/usr/local/lib -o imapd ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o mutex_fake.o libimap.a ../ lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/local/lib -R/usr/local/ lib -lsasl2 -lfl -L/usr/local/lib -R/usr/local/lib -ldb41 -lssl - lcrypto -lmd ../et/libcom_err.a -lwrap ../lib/libcyrus.a(auth_krb5.o): In function `mycanonifyid': auth_krb5.o(.text+0x154): undefined reference to `krb5_init_context' auth_krb5.o(.text+0x16f): undefined reference to `krb5_parse_name' auth_krb5.o(.text+0x189): undefined reference to `krb5_get_default_realm' auth_krb5.o(.text+0x1c2): undefined reference to `krb5_build_principal' auth_krb5.o(.text+0x1d7): undefined reference to `krb5_free_principal' auth_krb5.o(.text+0x1e2): undefined reference to `krb5_free_context' auth_krb5.o(.text+0x209): undefined reference to `krb5_realm_compare' auth_krb5.o(.text+0x225): undefined reference to `krb5_free_principal' auth_krb5.o(.text+0x248): undefined reference to `krb5_unparse_name' auth_krb5.o(.text+0x25d): undefined reference to `krb5_free_principal' auth_krb5.o(.text+0x268): undefined reference to `krb5_free_context' auth_krb5.o(.text+0x29a): undefined reference to `krb5_free_principal' auth_krb5.o(.text+0x2a5): undefined reference to `krb5_free_context' *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2.13/imap. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2.13. *** Error code 1 Stop in /usr/ports/mail/cyrus-imapd22. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Writing to ntfs partitions?
Hi All, I am trying to help a friend recover her Wind0ws harddisk. I have a backup of all files on a UFS2 partition and I have a new and freshly partitioned/formatted harddisk with a number of NTFS partitions. man mount_ntfs mentions write support for ntfs partitions with some limitations, but I can't seem to write anything to any of the ntfs partitions :( I must be doing something wrong. Can anyone shed some light on this? Here is a transcript of what I've tried : [EMAIL PROTECTED] /mnt/1]# uname -a FreeBSD Chemobox.An.LAN 6.1-RC1 FreeBSD 6.1-RC1 #3: Sat Apr 29 11:33:34 CEST 2006 [EMAIL PROTECTED]:/home/src/sys/i386/compile/Chemobox i386 [EMAIL PROTECTED] /mnt]# mount -t ntfs /dev/ad4s5 /mnt/1 [EMAIL PROTECTED] /mnt]# cd /mnt/1 [EMAIL PROTECTED] /mnt/1]# ls -l total 28596 -rwxr-xr-x 1 root wheel 2560 Apr 22 2009 $AttrDef -rwxr-xr-x 0 root wheel 0 Apr 6 22:18 $BadClus -rwxr-xr-x 1 root wheel163920 Apr 22 2009 $Bitmap -rwxr-xr-x 0 root wheel 8192 Apr 6 22:18 $Boot drwxr-xr-x 0 root wheel 0 Apr 6 22:18 $Extend -rwxr-xr-x 0 root wheel 28966912 Apr 6 22:18 $LogFile -rwxr-xr-x 0 root wheel 4096 Apr 6 22:18 $MFTMirr -rwxr-xr-x 0 root wheel 0 Apr 22 2009 $Secure -rwxr-xr-x 1 root wheel131072 Apr 22 2009 $UpCase -rwxr-xr-x 0 root wheel 0 Apr 6 22:18 $Volume drwxr-xr-x 0 root wheel 0 Apr 6 22:35 System Volume Information [EMAIL PROTECTED] /mnt/1]# mkdir test mkdir: .: No such file or directory [EMAIL PROTECTED] /mnt/1]# mkdir test.dir mkdir: .: No such file or directory [EMAIL PROTECTED] /mnt/1]# echo foo bar.txt su: bar.txt: No such file or directory [EMAIL PROTECTED] /mnt/1]# mount /dev/ad4s2a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad4s3d on /home (ufs, local, soft-updates) /dev/ad4s5 on /mnt/1 (ntfs, local) Thanks, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: permissions dilemma
jekillen wrote: On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote: jekillen wrote: Hello: I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 installation where everything seems to compile and install correctly but the server crashes immediately on start up with permission to create/write it's .pid file denied. Then the screen saver daemon refuses to start in X windows with a permission denied error. It originally worked fine. But at some point recently the screen saver quit working. When I went to Gnome preferences and tried to set the screen saver I was informed that the screen saver daemon wasn't running. When I tried to have it start I was presented with the permission denied error and to check the $path variable. I tried installing MySQL twice, each time with the same problem. As I understand it, permissions in Unix are part of the file system format. The only possible link between MySQL and the screen saver daemon, possibly, is the mysql user needed to run mysqld. Could I have a corrupted file system in such a way as to cause permission problems? thanks in advance. JK Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon bootup? Boy that was fast, I just posted this message a moment ago... No I was just testing it using the mysqld_safe --user=mysql approach. It won't work that way. I made the same mistake once myself. You might have introduced another problem however. The files created in '/var/db/mysql' [probable have the wrong permissions set on them. The easiest fix would be to just remove that directory and then start mysql properly. Usually '/usr/local/etc/rc.d/mysql-server start' should do the trick. The directories will be build correctly. At then end of the build of mysql are directions for creating users. You do that after mysql has been started. If you no longer have that information, I can supply you with it. HTH -- Gerard Seibert [EMAIL PROTECTED] I earn a seven-figure salary. Unfortunately, there's a decimal point involved. Anonymous ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
Ted, Is that the same with FreeBSD 6.0-RELEASE? Cheers, Will On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: No, but you must make sure to turn OFF raid in the BIOS settings or FreeBSD 6.1 will not recognize the drives. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Friday, April 28, 2006 12:05 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Will this stop me using the drives without RAID? Regards, William On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: RAID support on the DL320 G4 is broken. HP uses Adaptec firmware and Adaptec has not provided Soren programming info on their metadata format, as he requested. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]@mgEDV.net Sent: Thursday, April 27, 2006 5:38 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: RE: FreeBSD 6.0 compat with DL320 G4 Our vendor preference is HP, if anyone could share their experience with the following products (in regards of network/sata support and anything else mentioning): HP DL140 G2 HP DL145 G2 HP DL320 G4 HP DL360 G4 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives, 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6. as of the *bsd's, freebsd has the best support for the hp DL*s. sata support is not given for all embedded raid- controllers but you can still use raid 1 functionality using raidctl. hdd failures can render the system hang for 3-5sec's on sata devices but after this timeout, everything's fine. rebuild is sometimes only possible by os-command, pluggin' in the new drive is sometimes not enough ;-) nw/chipset support is working (at least on all machines we use). no performance issues, except you configure as router and you use many different irq's for all interfaces (only occurred on a machine with 8 interfaces). thermal zone / ipmi support is not really close to the vendors ideas and sometimes produces wrong numbers, but if you don't want to set fan-speed or check temp. on all mentioned devices, it's fine. also, system management like (red-power fail, red-fan fail, etc...) is not really talking to the os and vice versa, therefore you'll have to check for errors like this on your own. furthermore, bios/fw upgrades can sometimes be really annoying, if you don't have usb-boot-support you'd run into troubles because hp only delivers them for some specific os's and freebsd is not on the list. btw. if somebody reads this and thinks: hey, bullshit i know a way of doing this better and it works fine with my DL, please let me know! best regards and good luck w. the hw :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 4/26/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/326 - Release Date: 4/27/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.0 and Mac File System
What is the status of reading/writing to Mac's file system (HFS) or is it HFS+? Are they supported in FreeBSD 6.0? How about 6.1-RC? Can we write to that file system or only read at moment? Is it safe? I'm trying to find something in the /usr/src/sys/i386/conf/NOTES file but nothing is promising so far -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com signature.asc Description: This is a digitally signed message part
Re: Writing to ntfs partitions?
try using sysutils/ntfsprogs (as standalone utils set or via sysutils/fusefs-(kmod|libs) if you have 6.0+). ntfs kernel module really doesn't write anything, ntfsprogs also has limitations (man for details) but they're better than nothing -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antivirus to scan files before going onto a Windows machine: clamav?
Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 and Mac File System
I don't know about HFS, but you can format your mac drives with UFS when you do a clean install of MacOS, at least then FreeBSD would be able to read them. Yousef Raffah wrote: What is the status of reading/writing to Mac's file system (HFS) or is it HFS+? Are they supported in FreeBSD 6.0? How about 6.1-RC? Can we write to that file system or only read at moment? Is it safe? I'm trying to find something in the /usr/src/sys/i386/conf/NOTES file but nothing is promising so far -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
On Saturday 29 April 2006 09:06, Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? I use ClamAV to scan all incoming e-mail on my mailserver with very good results. I haven't ever used it as a file-scanner but I imagine it would serve adequately. I frequently use AVG antivirus as well. Their free edition is free to download and use at home on a single computer. See http://free.grisoft.com for more info. The non-free versions are more reasonably priced and (IMO) in some ways superior to the other Windows AV products I've used, most notably in ease-of-use and staying up-to-date. JN Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim ___ 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: Antivirus to scan files before going onto a Windows machine: clamav?
Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. ClamAV is great IMHO. I would use a windows machine to scan the files for virus as not many viruses (is that correct spelling?) exist for Unix so exposing that to virus stuff would be better than a windows machine doing the same. Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
Thanks. I don't use the free AVG on windows: I get McAfee Enterprise for free through my work. And the AVG free won't let me turn off the email scanner, which has ~75%-90% crash rates on the machines I've tried it on, requiring me to reboot before I can attempt to check my email again... On 4/29/06, John Nielsen [EMAIL PROTECTED] wrote: On Saturday 29 April 2006 09:06, Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? I use ClamAV to scan all incoming e-mail on my mailserver with very good results. I haven't ever used it as a file-scanner but I imagine it would serve adequately. I frequently use AVG antivirus as well. Their free edition is free to download and use at home on a single computer. See http://free.grisoft.com for more info. The non-free versions are more reasonably priced and (IMO) in some ways superior to the other Windows AV products I've used, most notably in ease-of-use and staying up-to-date. JN Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim ___ 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: Antivirus to scan files before going onto a Windows machine: clamav?
Clamav works well but can be slow scanning an entire system. -Derek At 08:06 AM 4/29/2006, Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
Thanks everyone. Virii would be the correct spelling we biologists use, but viruses is standard in normal-people-speak, and gets the meaing across. I doubt I need to scan my entire machine, just my /winbackup/ directory (about 10-15GB max) Thanks again! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 and Mac File System
On Sat, 2006-04-29 at 09:11 -0400, John Cruz wrote: I don't know about HFS, but you can format your mac drives with UFS when you do a clean install of MacOS, at least then FreeBSD would be able to read them. You are right but this isn't my case here :(, I have an external HD which has HFS(+) file system on it and I want to use it with my FreeBSD 6.1-RC1 Any chances? Yousef Raffah wrote: What is the status of reading/writing to Mac's file system (HFS) or is it HFS+? Are they supported in FreeBSD 6.0? How about 6.1-RC? Can we write to that file system or only read at moment? Is it safe? I'm trying to find something in the /usr/src/sys/i386/conf/NOTES file but nothing is promising so far -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com signature.asc Description: This is a digitally signed message part
Re: Kernel Panic
a) You're not using the kernel.debug, and b) it's not a sensible backtrace. Perhaps it's a side-effect of a) (i.e. you're not running kgdb against the same kernel that panicked). I compiled the kernel using config -g, then rebooted using that kernel. At some point, the system crashes, the dump file is written, and when it reboots, savecore saves the dump to the crash directory. The I use kgdb with this: ns11# kgdb /sys/i386/compile/ADKernel/kernel.debug /var/kcrash/vmcore.5 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. #0 0xc055c5e2 in doadump () (kgdb) where #0 0xc055c5e2 in doadump () #1 0xc055cb82 in boot () #2 0xc055ce18 in panic () #3 0xc068502c in trap_fatal () #4 0xc06847d5 in trap () #5 0xc0674baa in calltrap () #6 0x0018 in ?? () #7 0xc2d90010 in ?? () #8 0xc2d90010 in ?? () #9 0x0002 in ?? () #10 0xc283b000 in ?? () #11 0xef1f09d0 in ?? () #12 0xef1f09b8 in ?? () #13 0xc28f55c0 in ?? () #14 0xc28f55c0 in ?? () #15 0x in ?? () #16 0xc283b020 in ?? () #17 0x000c in ?? () #18 0x in ?? () #19 0xc057a8f9 in turnstile_setowner () #20 0xc057abbb in turnstile_wait () #21 0xc0554565 in _mtx_lock_sleep () #22 0xc05543dc in _mtx_lock_flags () #23 0xc2699c68 in ?? () #24 0xc26a2a60 in ?? () #25 0x in ?? () #26 0xc26a0289 in ?? () #27 0x09ef in ?? () #28 0x0004 in ?? () #29 0xc26a2a60 in ?? () #30 0x in ?? () #31 0x4002 in ?? () #32 0xc23d5400 in ?? () #33 0x0644 in ?? () #34 0x in ?? () #35 0x017f in ?? () #36 0x in ?? () #37 0x in ?? () #38 0x in ?? () #39 0x017f in ?? () #40 0x in ?? () #41 0x in ?? () #42 0x in ?? () #43 0x in ?? () #44 0x0801 in ?? () #45 0x in ?? () #46 0x in ?? () #47 0xd22d0014 in ?? () #48 0x0001 in ?? () #49 0x in ?? () #50 0x00020014 in ?? () #51 0x in ?? () #52 0x in ?? () #53 0x in ?? () #54 0x in ?? () #55 0x in ?? () #56 0xc26a2a60 in ?? () #57 0xc25a8c54 in ?? () #58 0x001c in ?? () #59 0x0030 in ?? () #60 0x in ?? () #61 0x265f in ?? () #62 0x in ?? () #63 0x0033 in ?? () #64 0x in ?? () #65 0x in ?? () #66 0x in ?? () #67 0xc25a8c40 in ?? () #68 0xef1f0b3c in ?? () #69 0xc25a8c00 in ?? () #70 0xef1f0b80 in ?? () #71 0xc23d1200 in ?? () #72 0xc23c17a0 in ?? () #73 0xc0735a80 in ip_rsvpd () #74 0x0002 in ?? () #75 0xef1f0b1c in ?? () #76 0xc2696402 in ?? () #77 0xc25a8c40 in ?? () #78 0x0014 in ?? () #79 0xc23d5400 in ?? () #80 0x0001 in ?? () #81 0xef1f0b3c in ?? () #82 0xef1f0b4c in ?? () #83 0xc05ca963 in pfil_run_hooks () TIA, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Smart Array 4200 Controller
Any one know of any thing that could be used to monitor a Smart Array 4200 Controller ? This a COMPAQ PROLIANT DL380 to be precise . Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
At 09:25 AM 4/29/2006, Jim Stapleton wrote: Virii would be the correct spelling we biologists use, but viruses is standard in normal-people-speak, and gets the meaing across. Actually I was reading up on correct vs. common plurals after a little debate around the office. It would appear the 'ii plural or virus is NOT correct. See: http://linuxmafia.com/~rick/faq/plural-of-virus.html http://dictionary.reference.com/help/faq/language/g63.html -Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore your online bank account
Dang it!! Read the Fn HANDBOOK! This belongs under [EMAIL PROTECTED] ! (yeah, I top-posted. But I edited.) At 01:52 AM 4/29/2006, you wrote: Security Update Notification Dear Valued Customer : As part of our security measures, we regularly screen activity in the Bank of America Online Bank system. We recently contacted you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? I've used it for a few years, primarily for mail filtering. I had a few problems with crashes a couple of years ago, but its been very stable since. I haven't noticed any false positives - I don't actually run any windows systems or feed them, so I wouldn't have noticed the false negatives if they occur. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore your online bank account
On Sat, 29 Apr 2006 10:27:15 -0400 [EMAIL PROTECTED] wrote: Dang it!! Read the Fn HANDBOOK! This belongs under [EMAIL PROTECTED] ! (yeah, I top-posted. But I edited.) Report this to spamcop. That's what I did. Bitching about it on-list is hardly productive, the FreeBSD postmaster is already working hard to prevent this, but spammers are working equally hard to bypass anti- spam measures. At 01:52 AM 4/29/2006, you wrote: Security Update Notification Dear Valued Customer : As part of our security measures, we regularly screen activity in the Bank of America Online Bank system. We recently contacted you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KAME snap on FreeBSD5.4 : ad0: FAILED - READ_DMA...
On 4/29/06, larafa sondes [EMAIL PROTECTED] wrote: Hello, I am trying to install kame/SHISA (kame snap: kame-20060227-freebsd54-snap.tgz) on FreeBSD 5.4 in order to use Mobile IPv6. When building the kernel: - make config performed well - make got the following error: ad0: FAILED - READ_DMA status=53READY,DSC,INDEX,ERROR error=40UNCORRECTABLE LBA=2710383 In file included from /usr/src/freebsd5/sys/modules/sbni/../../dev/sbni/if_sbni_isa.c:37: @/sys/bus.h:456:20: ./bus_if.h: Input/output error Looks like your hard drive is failing. Sorry, man. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 6.0 compat with DL320 G4
Hi William, No. Soren added a bunch of error checking code in the ata driver for 6.1 to reject oddball cases and one of the things it does is ignore the disks on this particular server if the RAID functionality is turned on in the BIOS. However, even though FreeBSD 6.0 sees the disks if the RAID setup is switched on in BIOS, it does not see the RAID array so it is pretty much an error to have this BIOS option turned on. Until support for the Adaptec metadata format is added, the RAID firmware in this server is useless. But you still can get RAID going on the server now by doing this: Turn off SATA Raid in the BIOS. Install a scratch version of FreeBSD. Login as root issue the command atacontrol create RAID1 ad4 ad6 Immediately reboot. Reinstall FreeBSD on disk ar0 This will give you chipset RAID just you can't rebuild the array from the BIOS. More importantly, though, is trouble with the Ethernet chipset. During the install it will ask if you want to configure the Ethernet interface. Do not do this. If you do the system will immediately panic. Once the system is up and running, recompile the kernel to use the fix discussed in PR kern/94307. A discussion of how you might go about implementing this fix is in PR kern/94863 Unfortunately the bge maintainers) are very loath to believe that they are going to have to make exceptions in their code for all the different hacked up variants of this Ethernet chipset, but in reviewing the PR database I suspect this is the case. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Saturday, April 29, 2006 4:27 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Ted, Is that the same with FreeBSD 6.0-RELEASE? Cheers, Will On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: No, but you must make sure to turn OFF raid in the BIOS settings or FreeBSD 6.1 will not recognize the drives. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Friday, April 28, 2006 12:05 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Will this stop me using the drives without RAID? Regards, William On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: RAID support on the DL320 G4 is broken. HP uses Adaptec firmware and Adaptec has not provided Soren programming info on their metadata format, as he requested. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]@mgEDV.net Sent: Thursday, April 27, 2006 5:38 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: RE: FreeBSD 6.0 compat with DL320 G4 Our vendor preference is HP, if anyone could share their experience with the following products (in regards of network/sata support and anything else mentioning): HP DL140 G2 HP DL145 G2 HP DL320 G4 HP DL360 G4 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives, 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6. as of the *bsd's, freebsd has the best support for the hp DL*s. sata support is not given for all embedded raid- controllers but you can still use raid 1 functionality using raidctl. hdd failures can render the system hang for 3-5sec's on sata devices but after this timeout, everything's fine. rebuild is sometimes only possible by os-command, pluggin' in the new drive is sometimes not enough ;-) nw/chipset support is working (at least on all machines we use). no performance issues, except you configure as router and you use many different irq's for all interfaces (only occurred on a machine with 8 interfaces). thermal zone / ipmi support is not really close to the vendors ideas and sometimes produces wrong numbers, but if you don't want to set fan-speed or check temp. on all mentioned devices, it's fine. also, system management like (red-power fail, red-fan fail, etc...) is not really talking to the os and vice versa, therefore you'll have to check for errors like this on your own. furthermore, bios/fw upgrades can sometimes be really annoying, if you don't have usb-boot-support you'd run into troubles because hp only delivers them for some specific os's and freebsd is not on the list. btw. if somebody reads this and thinks: hey, bullshit i know a way of doing this better and it works fine with my DL, please let me know! best regards and good luck w. the hw :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 4/26/2006
RE: Smart Array 4200 Controller
The little green lights on the front of each disk drive will change color if the disk dies. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Terry Sent: Saturday, April 29, 2006 7:11 AM To: freebsd-questions@freebsd.org Subject: Smart Array 4200 Controller Any one know of any thing that could be used to monitor a Smart Array 4200 Controller ? This a COMPAQ PROLIANT DL380 to be precise . Thanks -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 4/28/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
REINPLACE_CMD (perl-5.8.8)
Forgive me if this has been addressed, as I'm setting up some FreeBsd boxes after not having tinkered with things in a while. I've set up a brand new FreeBsd 6 box, updated the ports and went to install /usr/ports/www/apache22. This in turn triggered an install of perm-5.8.8 which failed as follows: make install === Vulnerability check disabled, database not found You may use the following build options: WITH_DEBUGGING=yesBuild perl with debugging support. WITH_GDBM=yes Build GDBM_File extension. WITHOUT_PERL_MALLOC=yes Use FreeBSD system malloc (uses less memory, but slower). WITHOUT_PERL_64BITINT=yes Disable 64 bit integers (affects only 32-bit platforms). WITH_THREADS=yes Build threaded perl. ENABLE_SUIDPERL=yes Also build set-user-id suidperl binary. === Extracting for perl-5.8.8 = Checksum OK for perl-5.8.8.tar.bz2. = Checksum OK for BSDPAN-5.8.8.tar.bz2. = Checksum OK for defined-or-5.8.8.bz2. === Patching for perl-5.8.8 === Applying distribution patches for perl-5.8.8 === Applying FreeBSD patches for perl-5.8.8 /usr/bin/sed -e 's|%%PREFIX%%|/usr/local|g;' -e 's|%%PERL_VER%%|5.8.8|g;' -e 's|%%PERL_VERSION%%|5.8.8|g;' -e 's|%%PERL_ARCH%%|mach|g;' -e 's|%%MAKE_CONF%%|/etc/make.conf|g;' /usr/ports/lang/perl5.8/files/use.perl /usr/ports/lang/perl5.8/work/use.perl /usr/bin/sed -e 's|%%PERL%%|/usr/local/bin/perl|g;' /usr/ports/lang/perl5.8/files/perl-after-upgrade /usr/ports/lang/perl5.8/work/perl-after-upgrade /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-install /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-deinstall -e 's|%%PTHREAD_LIBS%%||g;' -e 's|%%PTHREAD_CFLAGS%%||g;' /usr/ports/lang/perl5.8/work/perl-5.8.8/hints/freebsd.sh -e: not found *** Error code 127 Stop in /usr/ports/lang/perl5.8. The code relating to this seems to be: post-patch: ${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \ -e 's|%%PERL_VER%%|${PERL_VER}|g;' \ -e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \ -e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \ -e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \ ${FILESDIR}/use.perl \ ${WRKDIR}/use.perl ${SED} -e 's|%%PERL%%|${PERL}|g;' \ ${FILESDIR}/perl-after-upgrade \ ${WRKDIR}/perl-after-upgrade ${CP} ${WRKDIR}/use.perl ${PKGINSTALL} ${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL} .if defined(WITH_THREADS) ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ ${WRKSRC}/hints/freebsd.sh .else ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ -e 's|%%PTHREAD_CFLAGS%%||g;' \ ${WRKSRC}/hints/freebsd.sh .endif As near as I can tell (which is not very near) the REINPLACE_CMD seems to be evaluating to nothing. Is this a problem with the Makefile? or the system configuration? I have no idea what REINPLACE_CMD does or is, so any help would be appreciated. Thanks! Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
Hi Ted, Thanks for the information regarding the Ethernet chipset, does the same thing happen if you configure the interface via rc.conf/ifconfig once the system is up and running? If the ethernet chipset support at the moment is flakey then I might have to look at a different vender, ethernet being one of the most important devices I need working for what I'm after! :( Cheers, Will On 29/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Hi William, No. Soren added a bunch of error checking code in the ata driver for 6.1 to reject oddball cases and one of the things it does is ignore the disks on this particular server if the RAID functionality is turned on in the BIOS. However, even though FreeBSD 6.0 sees the disks if the RAID setup is switched on in BIOS, it does not see the RAID array so it is pretty much an error to have this BIOS option turned on. Until support for the Adaptec metadata format is added, the RAID firmware in this server is useless. But you still can get RAID going on the server now by doing this: Turn off SATA Raid in the BIOS. Install a scratch version of FreeBSD. Login as root issue the command atacontrol create RAID1 ad4 ad6 Immediately reboot. Reinstall FreeBSD on disk ar0 This will give you chipset RAID just you can't rebuild the array from the BIOS. More importantly, though, is trouble with the Ethernet chipset. During the install it will ask if you want to configure the Ethernet interface. Do not do this. If you do the system will immediately panic. Once the system is up and running, recompile the kernel to use the fix discussed in PR kern/94307. A discussion of how you might go about implementing this fix is in PR kern/94863 Unfortunately the bge maintainers) are very loath to believe that they are going to have to make exceptions in their code for all the different hacked up variants of this Ethernet chipset, but in reviewing the PR database I suspect this is the case. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Saturday, April 29, 2006 4:27 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Ted, Is that the same with FreeBSD 6.0-RELEASE? Cheers, Will On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: No, but you must make sure to turn OFF raid in the BIOS settings or FreeBSD 6.1 will not recognize the drives. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Friday, April 28, 2006 12:05 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Will this stop me using the drives without RAID? Regards, William On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: RAID support on the DL320 G4 is broken. HP uses Adaptec firmware and Adaptec has not provided Soren programming info on their metadata format, as he requested. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]@mgEDV.net Sent: Thursday, April 27, 2006 5:38 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: RE: FreeBSD 6.0 compat with DL320 G4 Our vendor preference is HP, if anyone could share their experience with the following products (in regards of network/sata support and anything else mentioning): HP DL140 G2 HP DL145 G2 HP DL320 G4 HP DL360 G4 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives, 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6. as of the *bsd's, freebsd has the best support for the hp DL*s. sata support is not given for all embedded raid- controllers but you can still use raid 1 functionality using raidctl. hdd failures can render the system hang for 3-5sec's on sata devices but after this timeout, everything's fine. rebuild is sometimes only possible by os-command, pluggin' in the new drive is sometimes not enough ;-) nw/chipset support is working (at least on all machines we use). no performance issues, except you configure as router and you use many different irq's for all interfaces (only occurred on a machine with 8 interfaces). thermal zone / ipmi support is not really close to the vendors ideas and sometimes produces wrong numbers, but if you don't want to set fan-speed or check temp. on all mentioned devices, it's fine. also, system management like (red-power fail, red-fan fail, etc...) is not really talking to the os and vice versa, therefore you'll have to check for errors like this on your own. furthermore, bios/fw upgrades can sometimes be really annoying, if you don't have usb-boot-support you'd run into troubles because hp only delivers them for some specific os's and freebsd is not on the list. btw. if somebody reads this and thinks: hey, bullshit i know a way of doing this better and it works fine with my DL, please let me know!
Apache 2.2 showing version
Hi, When the Apache 2.2 shows the forbidden pages and others, It shows the version of apache, php, ssl, etc. It's dangerous.. Please, how can I fix it ? Thanks, Aguiar ___ Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.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: Antivirus to scan files before going onto a Windows machine: clamav?
On Sat, Apr 29, 2006 at 10:12:02AM -0400, [EMAIL PROTECTED] wrote: At 09:25 AM 4/29/2006, Jim Stapleton wrote: Virii would be the correct spelling we biologists use, but viruses is standard in normal-people-speak, and gets the meaing across. Actually I was reading up on correct vs. common plurals after a little debate around the office. It would appear the 'ii plural or virus is NOT correct. See: http://linuxmafia.com/~rick/faq/plural-of-virus.html http://dictionary.reference.com/help/faq/language/g63.html I think virus is a second declension masculine noun, so its nominative plural would be 'viri', but a plural form is not known from the extant cannon of Classical Latin. A complication would be that 'viri' is already known as the nominative plural of 'vir' (man), also of the second declension (I believe - my Latin was never up to much anyway, and what with no Cardinals or Popes to practise conversational Latin, I have forgotten most of it!). Which is why the other form 'virii' is occasionally seen, but again without precedent from Classical Latin, and with no attestation in any dictionary. This article at Wikipedia is pretty informative, if you like that kind of thing! http://en.wikipedia.org/wiki/Plural_of_virus Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpgiCafwObhh.pgp Description: PGP signature
Re: Apache 2.2 showing version
take a look at the ServerTokens section of httpd.conf. # # ServerTokens # This directive configures what you return as the Server HTTP response # Header. The default is 'Full' which sends information about the OS-Type # and compiled in modules. # Set to one of: Full | OS | Minor | Minimal | Major | Prod # where Full conveys the most information, and Prod the least. # ServerTokens Full cheers, jonathan On Saturday 29 April 2006 12:16, Aguiar Magalhaes wrote: Hi, When the Apache 2.2 shows the forbidden pages and others, It shows the version of apache, php, ssl, etc. It's dangerous.. Please, how can I fix it ? Thanks, Aguiar ___ Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2.2 showing version
Aguiar Magalhaes wrote: Hi, When the Apache 2.2 shows the forbidden pages and others, It shows the version of apache, php, ssl, etc. It's dangerous.. Please, how can I fix it ? Thanks, Aguiar Look for the ServerSignature directive in httpd.conf. Be sure and restart Apache after changing this knob. Good luck, Kevin Kinsey -- Two heads are better than one. -- John Heywood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2.2 showing version
Jonathan Horne wrote: take a look at the ServerTokens section of httpd.conf. # # ServerTokens # This directive configures what you return as the Server HTTP response # Header. The default is 'Full' which sends information about the OS-Type # and compiled in modules. # Set to one of: Full | OS | Minor | Minimal | Major | Prod # where Full conveys the most information, and Prod the least. # ServerTokens Full cheers, jonathan Oops --- foot in mouth disease here, methinks. I was looking at a box with Apache 1.3.X ... Sorry, Aguiar :o KDK -- FORTUNE'S FUN FACTS TO KNOW AND TELL: #44 Zebra's are colored with dark stripes on a light background. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2.2 showing version
no KDK, you were not incorrect. in fact, my answer should have included your information, and your answer should have included mine (ie, we were both a little short). the fact is, that both items should be considered when taming down that particular info that apache displays. ServerTokens specifies the verbosity, while ServerSignature allows it on, or eliminates it altogether. cheers, jonathan On Saturday 29 April 2006 12:59, Kevin Kinsey wrote: Jonathan Horne wrote: take a look at the ServerTokens section of httpd.conf. # # ServerTokens # This directive configures what you return as the Server HTTP response # Header. The default is 'Full' which sends information about the OS-Type # and compiled in modules. # Set to one of: Full | OS | Minor | Minimal | Major | Prod # where Full conveys the most information, and Prod the least. # ServerTokens Full cheers, jonathan Oops --- foot in mouth disease here, methinks. I was looking at a box with Apache 1.3.X ... Sorry, Aguiar :o KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssid broadcast
Is it possible to have a wifi card in hostap mode NOT to broadcast its ssid (like most routers can)? I have one in one of my hosts and this is not secure (as I understand). Mimimal security would be not to broadcast and have wep on. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: permissions dilemma
On Apr 29, 2006, at 4:21 AM, Gerard Seibert wrote: jekillen wrote: On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote: jekillen wrote: Hello: I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 installation where everything seems to compile and install correctly but the server crashes immediately on start up with permission to create/write it's .pid file denied. Then the screen saver daemon refuses to start in X windows with a permission denied error. It originally worked fine. But at some point recently the screen saver quit working. When I went to Gnome preferences and tried to set the screen saver I was informed that the screen saver daemon wasn't running. When I tried to have it start I was presented with the permission denied error and to check the $path variable. I tried installing MySQL twice, each time with the same problem. As I understand it, permissions in Unix are part of the file system format. The only possible link between MySQL and the screen saver daemon, possibly, is the mysql user needed to run mysqld. Could I have a corrupted file system in such a way as to cause permission problems? thanks in advance. JK Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon bootup? Boy that was fast, I just posted this message a moment ago... No I was just testing it using the mysqld_safe --user=mysql approach. It won't work that way. Sorry, yes it does work that way. I've done this on another machine running the same version of FreeBSD and the instruction specifically specify to start the daemon this way to test the install. (I installed from source on both machines using the same source tarball). Every time I start this machine I start MySQL manually this way. (Since this is a production server, it is up continuously and it doesn't have Xwindows installed) I made the same mistake once myself. You might have introduced another problem however. The files created in '/var/db/mysql' [probable have the wrong permissions set on them. This is a possibility, I'll check it out. The easiest fix would be to just remove that directory and then start mysql properly. Usually '/usr/local/etc/rc.d/mysql-server start' should do the trick. The directories will be build correctly. At then end of the build of mysql are directions for creating users. You do that after mysql has been started. not according to the instruction in the INSTALL-SOURCE. If you no longer have that information, I can supply you with it. I'm confused as to the class of user to assign mysql to. It shouldn't be a user that anyone can login as, nor have it's own home dir or login shell should it? adduser asks and expects answers to all these questions. I don't recall what I did on the machine that is running mysql. I guess I could look at the password file on that machine to get some idea. Since the machine that won't start MySQL also has XWindows intalled, the kdm login prompt list mysql as a user that can log into a windowing session. That shouldn't be necessary at all. That is why I think the issue with the screen saver daemon is connected to this. HTH -- Gerard Seibert [EMAIL PROTECTED] I earn a seven-figure salary. Unfortunately, there's a decimal point involved. Anonymous ___ 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: Writing to ntfs partitions?
Hi, Good thing to have in your pocket: http://trinityhome.org/trk/ Regards, Maris Stegenburgs On Sat, 29 Apr 2006 12:08:09 +0200 Daan Vreeken [PA4DAN] [EMAIL PROTECTED] wrote: Hi All, I am trying to help a friend recover her Wind0ws harddisk. I have a backup of all files on a UFS2 partition and I have a new and freshly partitioned/formatted harddisk with a number of NTFS partitions. man mount_ntfs mentions write support for ntfs partitions with some limitations, but I can't seem to write anything to any of the ntfs partitions :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: REINPLACE_CMD (perl-5.8.8)
My bad an out of date ports-base was to blame... Marc At 09:41 AM 04/29/2006, Marc Hunter wrote: Forgive me if this has been addressed, as I'm setting up some FreeBsd boxes after not having tinkered with things in a while. I've set up a brand new FreeBsd 6 box, updated the ports and went to install /usr/ports/www/apache22. This in turn triggered an install of perm-5.8.8 which failed as follows: make install === Vulnerability check disabled, database not found You may use the following build options: WITH_DEBUGGING=yesBuild perl with debugging support. WITH_GDBM=yes Build GDBM_File extension. WITHOUT_PERL_MALLOC=yes Use FreeBSD system malloc (uses less memory, but slower). WITHOUT_PERL_64BITINT=yes Disable 64 bit integers (affects only 32-bit platforms). WITH_THREADS=yes Build threaded perl. ENABLE_SUIDPERL=yes Also build set-user-id suidperl binary. === Extracting for perl-5.8.8 = Checksum OK for perl-5.8.8.tar.bz2. = Checksum OK for BSDPAN-5.8.8.tar.bz2. = Checksum OK for defined-or-5.8.8.bz2. === Patching for perl-5.8.8 === Applying distribution patches for perl-5.8.8 === Applying FreeBSD patches for perl-5.8.8 /usr/bin/sed -e 's|%%PREFIX%%|/usr/local|g;' -e 's|%%PERL_VER%%|5.8.8|g;' -e 's|%%PERL_VERSION%%|5.8.8|g;' -e 's|%%PERL_ARCH%%|mach|g;' -e 's|%%MAKE_CONF%%|/etc/make.conf|g;' /usr/ports/lang/perl5.8/files/use.perl /usr/ports/lang/perl5.8/work/use.perl /usr/bin/sed -e 's|%%PERL%%|/usr/local/bin/perl|g;' /usr/ports/lang/perl5.8/files/perl-after-upgrade /usr/ports/lang/perl5.8/work/perl-after-upgrade /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-install /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-deinstall -e 's|%%PTHREAD_LIBS%%||g;' -e 's|%%PTHREAD_CFLAGS%%||g;' /usr/ports/lang/perl5.8/work/perl-5.8.8/hints/freebsd.sh -e: not found *** Error code 127 Stop in /usr/ports/lang/perl5.8. The code relating to this seems to be: post-patch: ${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \ -e 's|%%PERL_VER%%|${PERL_VER}|g;' \ -e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \ -e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \ -e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \ ${FILESDIR}/use.perl \ ${WRKDIR}/use.perl ${SED} -e 's|%%PERL%%|${PERL}|g;' \ ${FILESDIR}/perl-after-upgrade \ ${WRKDIR}/perl-after-upgrade ${CP} ${WRKDIR}/use.perl ${PKGINSTALL} ${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL} .if defined(WITH_THREADS) ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ ${WRKSRC}/hints/freebsd.sh .else ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ -e 's|%%PTHREAD_CFLAGS%%||g;' \ ${WRKSRC}/hints/freebsd.sh .endif As near as I can tell (which is not very near) the REINPLACE_CMD seems to be evaluating to nothing. Is this a problem with the Makefile? or the system configuration? I have no idea what REINPLACE_CMD does or is, so any help would be appreciated. Thanks! Marc ___ 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]
Help with backtrace
Okay, I finally configured the kernel properly. Here is the backtrace from the dump. I could use some help deciphering and perhaps some help with things I can look for that caused this dump. Thanks, Steve (kgdb) backtrace #0 doadump () at pcpu.h:159 #1 0xc0451f5e in db_fncall (dummy1=0, dummy2=0, dummy3=-1066974357, dummy4=0xef329824 P\2302ïØ%gÀ[EMAIL PROTECTED]) at ../../../ddb/db_command.c:531 #2 0xc0451d6c in db_command (last_cmdp=0xc0722904, cmd_table=0x0, aux_cmd_tablep=0xc06e9a7c, aux_cmd_tablep_end=0xc06e9a98) at ../../../ddb/db_command.c:349 #3 0xc0451e34 in db_command_loop () at ../../../ddb/db_command.c:455 #4 0xc04539c9 in db_trap (type=12, code=0) at ../../../ddb/db_main.c:221 #5 0xc057957e in kdb_trap (type=12, code=0, tf=0xef32998c) at ../../../kern/subr_kdb.c:468 #6 0xc068cc89 in trap_fatal (frame=0xef32998c, eva=108) at ../../../i386/i386/trap.c:812 #7 0xc068c429 in trap (frame= {tf_fs = 24, tf_es = -1036255216, tf_ds = -1036255216, tf_edi = 2, tf_esi = -1021628032, tf_ebp = -281896496, tf_isp = -281896520, tf_ebx = -1030367488, tf_edx = -1030367488, tf_ecx = 0, tf_eax = -1021628000, tf_trapno = 12, tf_err = 0, tf_eip = -1067973207, tf_cs = 8, tf_eflags = 65543, tf_esp = -1021628032, tf_ss = -281896464}) at ../../../i386/i386/trap.c:255 #8 0xc067ce2a in calltrap () at ../../../i386/i386/exception.s:140 #9 0x0018 in ?? () #10 0xc23c0010 in ?? () #11 0xc23c0010 in ?? () #12 0x0002 in ?? () #13 0xc31b3180 in ?? () #14 0xef3299d0 in ?? () #15 0xef3299b8 in ?? () #16 0xc295d700 in ?? () #17 0xc295d700 in ?? () #18 0x in ?? () #19 0xc31b31a0 in ?? () #20 0x000c in ?? () #21 0x in ?? () #22 0xc05805a9 in turnstile_setowner (ts=0xc295d700, owner=0x0) at ../../../kern/subr_turnstile.c:367 #23 0xc058086b in turnstile_wait (ts=0xc295d700, lock=0xc26a2a60, owner=0x0) at ../../../kern/subr_turnstile.c:504 #24 0xc0559f61 in _mtx_lock_sleep (m=0xc26a2a60, td=0xc31b3180, opts=0, file=0xc26a0289 /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c, line=2543) at ../../../kern/kern_mutex.c:552 #25 0xc0559dd8 in _mtx_lock_flags (m=0x0, opts=0, file=0xc26a0289 /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c, line=2543) at ../../../kern/kern_mutex.c:273 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Writing to ntfs partitions?
Daan Vreeken [PA4DAN] wrote: Hi All, I am trying to help a friend recover her Wind0ws harddisk. I have a backup of all files on a UFS2 partition and I have a new and freshly partitioned/formatted harddisk with a number of NTFS partitions. man mount_ntfs mentions write support for ntfs partitions with some limitations, but I can't seem to write anything to any of the ntfs partitions :( I must be doing something wrong. Can anyone shed some light on this? Can't myself shed any light, and I see that others are answering your question with ntfs info. However, if all else fails, and depending on the size of the partitions in question, you might be able to format one of them as fat32, copy the files over, then boot into Windows and use the convert command to ntfs. C:\Documents and Settings\User1convert /? Converts FAT volumes to NTFS. CONVERT volume /FS:NTFS [/V] volume Specifies the drive letter (followed by a colon), mount point, or volume name. /FS:NTFSSpecifies that the volume to be converted to NTFS. /V Specifies that Convert should be run in verbose mode. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim Personally, I use ZoneAlarm Suite on my WinXP machines. I have several networked together with my FreeBSD machine. On several occasions, ZoneAlarm has caught a virus that ClamAV missed during mail scanning. I am not sure why though. From what I could gather, the ClamAV signatures had not caught up to the new virus. I reload the Clamav signatures every 4 hours. The ZoneAlarm signatures are done once a day, however. Just my 2¢. -- Gerard Seibert [EMAIL PROTECTED] Secrecy is the beginning of tyranny. Robert Heinlein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine: clamav?
I'm not really here for windows advice, Just FreeBSD. I'm happy with my windows AV solution as it is, as I've had too many issues with many other solutions... And I have verified that it was hardware that was the problem, not a virus, makes sense, it would be my first virus if it were a virus related problem. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 6.0 compat with DL320 G4
No, what happens if you configure it via rc.conf is the server stays up for about a minute then panics, rather than panicing immediately. Perhaps if you e-mailed the bge maintainer and referenced the PRs on the Ethernet, they might be willing to fix the driver. Otherwise I'm going to look at it next week since I have one of these servers and I can't return it. :-( Another possibility is installing another ethernet card in the server's expansion slot. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Saturday, April 29, 2006 9:47 AM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Hi Ted, Thanks for the information regarding the Ethernet chipset, does the same thing happen if you configure the interface via rc.conf/ifconfig once the system is up and running? If the ethernet chipset support at the moment is flakey then I might have to look at a different vender, ethernet being one of the most important devices I need working for what I'm after! :( Cheers, Will On 29/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Hi William, No. Soren added a bunch of error checking code in the ata driver for 6.1 to reject oddball cases and one of the things it does is ignore the disks on this particular server if the RAID functionality is turned on in the BIOS. However, even though FreeBSD 6.0 sees the disks if the RAID setup is switched on in BIOS, it does not see the RAID array so it is pretty much an error to have this BIOS option turned on. Until support for the Adaptec metadata format is added, the RAID firmware in this server is useless. But you still can get RAID going on the server now by doing this: Turn off SATA Raid in the BIOS. Install a scratch version of FreeBSD. Login as root issue the command atacontrol create RAID1 ad4 ad6 Immediately reboot. Reinstall FreeBSD on disk ar0 This will give you chipset RAID just you can't rebuild the array from the BIOS. More importantly, though, is trouble with the Ethernet chipset. During the install it will ask if you want to configure the Ethernet interface. Do not do this. If you do the system will immediately panic. Once the system is up and running, recompile the kernel to use the fix discussed in PR kern/94307. A discussion of how you might go about implementing this fix is in PR kern/94863 Unfortunately the bge maintainers) are very loath to believe that they are going to have to make exceptions in their code for all the different hacked up variants of this Ethernet chipset, but in reviewing the PR database I suspect this is the case. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Saturday, April 29, 2006 4:27 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Ted, Is that the same with FreeBSD 6.0-RELEASE? Cheers, Will On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: No, but you must make sure to turn OFF raid in the BIOS settings or FreeBSD 6.1 will not recognize the drives. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Friday, April 28, 2006 12:05 AM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 compat with DL320 G4 Will this stop me using the drives without RAID? Regards, William On 28/04/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: RAID support on the DL320 G4 is broken. HP uses Adaptec firmware and Adaptec has not provided Soren programming info on their metadata format, as he requested. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]@mgEDV.net Sent: Thursday, April 27, 2006 5:38 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: RE: FreeBSD 6.0 compat with DL320 G4 Our vendor preference is HP, if anyone could share their experience with the following products (in regards of network/sata support and anything else mentioning): HP DL140 G2 HP DL145 G2 HP DL320 G4 HP DL360 G4 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives, 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6. as of the *bsd's, freebsd has the best support for the hp DL*s. sata support is not given for all embedded raid- controllers but you can still use raid 1 functionality using raidctl. hdd failures can render the system hang for 3-5sec's on sata devices but after this timeout, everything's fine. rebuild is sometimes only possible by os-command, pluggin' in the new drive is sometimes not enough ;-) nw/chipset support is working (at least on all machines we use). no performance issues, except you configure as router and you use many different irq's for all interfaces (only
Re: permissions dilemma
jekillen wrote: On Apr 28, 2006, at 6:10 PM, Duane Whitty wrote: jekillen wrote: On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote: jekillen wrote: Hello: I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 installation where everything seems to compile and install correctly but the server crashes immediately on start up with permission to create/write it's .pid file denied. Then the screen saver daemon refuses to start in X windows with a permission denied error. It originally worked fine. But at some point recently the screen saver quit working. When I went to Gnome preferences and tried to set the screen saver I was informed that the screen saver daemon wasn't running. When I tried to have it start I was presented with the permission denied error and to check the $path variable. I tried installing MySQL twice, each time with the same problem. As I understand it, permissions in Unix are part of the file system format. The only possible link between MySQL and the screen saver daemon, possibly, is the mysql user needed to run mysqld. Could I have a corrupted file system in such a way as to cause permission problems? thanks in advance. JK Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon bootup? -- Gerard Seibert [EMAIL PROTECTED] Boy that was fast, I just posted this message a moment ago... No I was just testing it using the mysqld_safe --user=mysql approach. Hi, As you don't mention it explicitly, did you run mysql_install_db --user=mysql ? yeswell come to think of it I only ran mysql_install_db without the --user part I believe. I'll redo it an see what happens. thanks I know the first time I installed MySQL I neglected to do so. As well, do you also have a mysql user and a mysql group defined? yes, but I'm confused, why would the mysql user need a shell and login password. No password means that any one could log into the system as the mysql user but how would mysqld switch to the mysql user if it has a password. I did this on another machine running the same version of FreeBSD and was successful. So far MySQL runs fine on it. I don't recall exactly what I did differently. Would this have a bearing on the screen saver daemon? Or is that another issue? Best Regards, Duane Whitty -- [EMAIL PROTECTED] MySQL user does not need and should not have a login shell. the entry in the password and group file should be set-up automatically for you when you install MySQL. The method I used to install MySQL was to use the ports system via portupgrade. Then run mysql_install_db --user=mysql This sets a lot of things up for you. As I believe another poster has mentioned you will want to delete everything under /var/db/mysql/ Also do a chown mysql:mysql /var/db/mysql Read the chapters in the MySQL manual regarding post-install tasks under UNIX and securing the initial MySQL accounts. Hope this helps, Duane Whitty -- [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: Help with backtrace
On Sat, Apr 29, 2006 at 03:17:14PM -0400, Steve Douville wrote: Okay, I finally configured the kernel properly. Here is the backtrace from the dump. I could use some help deciphering and perhaps some help with things I can look for that caused this dump. #8 0xc067ce2a in calltrap () at ../../../i386/i386/exception.s:140 #9 0x0018 in ?? () #10 0xc23c0010 in ?? () #11 0xc23c0010 in ?? () #12 0x0002 in ?? () #13 0xc31b3180 in ?? () #14 0xef3299d0 in ?? () #15 0xef3299b8 in ?? () #16 0xc295d700 in ?? () #17 0xc295d700 in ?? () #18 0x in ?? () #19 0xc31b31a0 in ?? () #20 0x000c in ?? () #21 0x in ?? () #22 0xc05805a9 in turnstile_setowner (ts=0xc295d700, owner=0x0) at ../../../kern/subr_turnstile.c:367 It's still garbage :( Kris pgpNCM62zTZvo.pgp Description: PGP signature
FreeBSD 6.1-RC Sigmatel 9221 audio driver
Hello, I've changed my hardware lately and cannot find the driver for sound card. My motherboard is an Intel D955XBK with on board Sigmatel 9221 audio. On Windows it plays, so, the hardware part is fine. Also cannot find the driver for my new video card: PCI Express x16 ASUS ATI RADEON X550 GE. The standard VESA driver is ok for me, by I'm just wondering if there is a driver available, so I could test 3D accelaration on FreeBSD. I'm running an up-to-date FreeBSD 6.1-RC. Any advice or a link is appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: permissions dilemma
jekillen wrote: On Apr 29, 2006, at 4:21 AM, Gerard Seibert wrote: jekillen wrote: On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote: jekillen wrote: Hello: I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 installation where everything seems to compile and install correctly but the server crashes immediately on start up with permission to create/write it's .pid file denied. Then the screen saver daemon refuses to start in X windows with a permission denied error. It originally worked fine. But at some point recently the screen saver quit working. When I went to Gnome preferences and tried to set the screen saver I was informed that the screen saver daemon wasn't running. When I tried to have it start I was presented with the permission denied error and to check the $path variable. I tried installing MySQL twice, each time with the same problem. As I understand it, permissions in Unix are part of the file system format. The only possible link between MySQL and the screen saver daemon, possibly, is the mysql user needed to run mysqld. Could I have a corrupted file system in such a way as to cause permission problems? thanks in advance. JK Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon bootup? Boy that was fast, I just posted this message a moment ago... No I was just testing it using the mysqld_safe --user=mysql approach. It won't work that way. Sorry, yes it does work that way. I've done this on another machine running the same version of FreeBSD and the instruction specifically specify to start the daemon this way to test the install. (I installed from source on both machines using the same source tarball). Every time I start this machine I start MySQL manually this way. (Since this is a production server, it is up continuously and it doesn't have Xwindows installed) I made the same mistake once myself. You might have introduced another problem however. The files created in '/var/db/mysql' [probable have the wrong permissions set on them. This is a possibility, I'll check it out. The easiest fix would be to just remove that directory and then start mysql properly. Usually '/usr/local/etc/rc.d/mysql-server start' should do the trick. The directories will be build correctly. At then end of the build of mysql are directions for creating users. You do that after mysql has been started. not according to the instruction in the INSTALL-SOURCE. If you no longer have that information, I can supply you with it. I'm confused as to the class of user to assign mysql to. It shouldn't be a user that anyone can login as, nor have it's own home dir or login shell should it? adduser asks and expects answers to all these questions. I don't recall what I did on the machine that is running mysql. I guess I could look at the password file on that machine to get some idea. Since the machine that won't start MySQL also has XWindows intalled, the kdm login prompt list mysql as a user that can log into a windowing session. That shouldn't be necessary at all. That is why I think the issue with the screen saver daemon is connected to this. Just out of curiosity, are you installing MySQL from the ports system? I am just wondering because I have never had to take any extraneous steps to get MySQL up and running. After installing from ports, I would just run the script in /usr/local/etc/rc.d and things would work fine. Obviously, I had to place the mysql_enable=YES notation in /etc/rc.conf prior to starting MySQL. After that I would just create the passwords, etc. I guess there are more than one way to skin a cat. -- Gerard Seibert [EMAIL PROTECTED] The difference between sex and death is that with death you can do it alone and no one is going to make fun of you. Woody Allen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: permissions dilemma
Duane Whitty wrote: [snip] Read the chapters in the MySQL manual regarding post-install tasks under UNIX and securing the initial MySQL accounts. Hope this helps, Duane Whitty http://dev.mysql.com/doc/refman/5.0/en/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel Macs, FreeBSD, and drivers
On 4/28/06, Gayn Winters [EMAIL PROTECTED] wrote: The consensus of the group is that FreeBSD should run fine on an Intel Mac. I'm interested in the time lag between the availability of drivers on an Intel Mac and on FreeBSD. Question1: If there is a driver for a device that works on an Intel Mac (under OS X), will that driver work under FreeBSD? For example, suppose a very new Intel Mac has a new disk controller, is there some process by which we can get its driver into FreeBSD? E.g. via a download from either Apple or the chip set vendor? Nope, the kernels are not that similar. Porting might be a short way in many cases, but we don't live in a world where all drivers/specs are open. Question2: Can we expect the volume of Intel Macs to improve (shorten) the time delay between the existence of new hardware and the availability of supporting drivers on FreeBSD? FreeBSD usually target popular hardware. So, basically, yes - the more Macs, the better support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssid broadcast
dick hoogendijk [EMAIL PROTECTED] wrote: Is it possible to have a wifi card in hostap mode NOT to broadcast its ssid (like most routers can)? I have one in one of my hosts and this is not secure (as I understand). Mimimal security would be not to broadcast and have wep on. man ifconfig: |hidessid | When operating as an access point, do not broadcast the SSID in | beacon frames or respond to probe request frames unless they are | directed to the ap (i.e., they include the ap's SSID). By | default, the SSID is included in beacon frames and undirected | probe request frames are answered. To re-enable the broadcast of | the SSID etc., use -hidessid. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: Intel Macs, FreeBSD, and drivers
On Apr 29, 2006, at 5:02 PM, Andrew Pantyukhin wrote: Question1: If there is a driver for a device that works on an Intel Mac (under OS X), will that driver work under FreeBSD? For example, suppose a very new Intel Mac has a new disk controller, is there some process by which we can get its driver into FreeBSD? E.g. via a download from either Apple or the chip set vendor? Nope, the kernels are not that similar. Porting might be a short way in many cases, but we don't live in a world where all drivers/specs are open. While the kernels are not all that similar there already is Darwin on Intel, lots of former key FreeBSD talent now works for Apple, and then without any fanfare MacOS X is found to support several hardware items which have been near and dear to FreeBSD in the past such as the Intel Etherexpress Pro NIC. Simply pulled a PCI NIC from my FreeBSD PC and dropped it right into my G4 PowerMac. Same holds true for several other commodity NICs. Mostly the same for a $10 5-port NEC chipset USB2 card. I can wake from sleep thru the Intel Etherexpress NIC but can not wake from sleep with the NEC USB2. That's not necessarily a bad thing, in fact now that I know it, its a feature. Plugged printers into the NEC and now if the Mac is sleeping and I see the printer is still on I can turn the printer off without waking the Mac. Previously any activity on the USB bus would wake the Mac. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 and Mac File System
On 4/29/06, Yousef Raffah [EMAIL PROTECTED] wrote: On Sat, 2006-04-29 at 09:11 -0400, John Cruz wrote: I don't know about HFS, but you can format your mac drives with UFS when you do a clean install of MacOS, at least then FreeBSD would be able to read them. You are right but this isn't my case here :(, I have an external HD which has HFS(+) file system on it and I want to use it with my FreeBSD 6.1-RC1 Any chances? http://groups.google.com/groups/search?q=group%3A%2A.freebsd.%2A+%22HFS%2B%22+freebsdqt_s=Search http://people.freebsd.org/~yar/hfs/ http://gentoo-wiki.com/HOWTO_hfsplus -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine:clamav?
From: John Nielsen [EMAIL PROTECTED] On Saturday 29 April 2006 09:06, Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? I use ClamAV to scan all incoming e-mail on my mailserver with very good results. I haven't ever used it as a file-scanner but I imagine it would serve adequately. I frequently use AVG antivirus as well. Their free edition is free to download and use at home on a single computer. See http://free.grisoft.com for more info. The non-free versions are more reasonably priced and (IMO) in some ways superior to the other Windows AV products I've used, most notably in ease-of-use and staying up-to-date. I have enabled the Earthlink AV blocker. I run SpamAssassin here with the ClamAV plugin. Then I run F-Secure on the main machine and Norton on the second machine. I figure defense in depth is a fairly good thing. {^_^} Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Antivirus to scan files before going onto a Windows machine:clamav?
From: Gerard Seibert [EMAIL PROTECTED] Jim Stapleton wrote: Anyone have experience with ClamAV? Good, Bad, Ugly? Should I use something else, or is the only good alternative pay/expensive (such as avast)? Am I better at leaving the antivirus stuff to the Windows machine (which has McAfee Enterprise)? Background: System lags occasionally, and has crashed a few times, and is getting disk errors (both HDs, one IDE, one SATA started this at the same time). I suspect the motherboard, but can't be certain, could be Mem or PSU. Could also be virus. So, I want to scan my backed up files while reinstalling Windows on the other machine, before letting them go back home to play. Thanks -Jim Personally, I use ZoneAlarm Suite on my WinXP machines. I have several networked together with my FreeBSD machine. On several occasions, ZoneAlarm has caught a virus that ClamAV missed during mail scanning. I am not sure why though. From what I could gather, the ClamAV signatures had not caught up to the new virus. I reload the Clamav signatures every 4 hours. The ZoneAlarm signatures are done once a day, however. Different tools have different update cycles, different crews working on them, and your machine has different automatic updates for the various AV tools. That's why I like my defense in depth. So far nothing has triggered the final F-Secure stage. But that's mainly for the web browsing viruses anyway. The first line of defense is Earthlink's virus blocker. So far it appears that ClamAV, the second line of defense, has mostly caught scam rather than virus problems. I suppose the SpamAssassin I run is another half a level of defense. It's not really an AV tool. But an awful lot of malware emails look like spam so they trigger the SpamAssassin stage for many people. I figure it's almost time to get to the Trend site and run their free online scan to get a solid fourth opinion about the sanctity of my machine here. Color me paranoid if you wish; but, they ARE out to get me - but it's nothing personal. They'll be happy to get you, too. {^_-} Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem creating DR bootable disk
Hmmm I'm probably making obvious suggestions but... I think I'd be inclined to do a fresh install of the same OS version on the target disk. See if that boots OK. If it does then something in your mirror tools is the issue. If it doesn't then it's a bootstrap problem. Re: boot manager I'm not a bootstrap expert but I was thinking that grub seems pretty flexible and might help out in this case. I have not installed it with FreeBSD but I have it on a FreeDOS/Linux machine. There are others also. IJ On Apr 29, 2006, at 5:56 PM, Joe Gross wrote: On Sat, Apr 29, 2006 at 04:08:36AM -0400, Ian Jefferson wrote: What happens when you pull the raid card? Same thing. Choice of boot manager? Doesn't the -B option just install the standard boot manager? Joe ___ 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]
Azureas download performance non-existent ..
'k, I have to be doing something wrong here ... Up until recently, I've been using the regular Python Bittorrent port for doing my torrents, getting *peaks* of 140+kps ... in order to make use of some features in Azureas (mainly, its plugins for RSS Feeds), I'm trying to get that running, but I'm getting atrocious (ie. non-existent) with it ... same torrent that, with the python client, I was getting 30kps, I'm *lucky* to be seeing 500bps with Azureas ... My machine is running: FreeBSD 6.1-RC #20: Fri Apr 21 16:25:05 ADT 2006 Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) real memory = 1073676288 (1023 MB) avail memory = 1037422592 (989 MB) And the new diablo-jdk 1.5.0 port ... Is anyone using this port successfully, that can suggest *where* or *what* I may be doing wrong? :( Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: permissions dilemma
On Apr 29, 2006, at 2:07 PM, Gerard Seibert wrote: jekillen wrote: On Apr 29, 2006, at 4:21 AM, Gerard Seibert wrote: jekillen wrote: On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote: jekillen wrote: Hello: I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0 installation where everything seems to compile and install correctly but the server crashes immediately on start up with permission to create/write it's .pid file denied. Then the screen saver daemon refuses to start in X windows with a permission denied error. It originally worked fine. But at some point recently the screen saver quit working. When I went to Gnome preferences and tried to set the screen saver I was informed that the screen saver daemon wasn't running. When I tried to have it start I was presented with the permission denied error and to check the $path variable. I tried installing MySQL twice, each time with the same problem. As I understand it, permissions in Unix are part of the file system format. The only possible link between MySQL and the screen saver daemon, possibly, is the mysql user needed to run mysqld. Could I have a corrupted file system in such a way as to cause permission problems? thanks in advance. JK Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon bootup? Boy that was fast, I just posted this message a moment ago... No I was just testing it using the mysqld_safe --user=mysql approach. It won't work that way. Sorry, yes it does work that way. I've done this on another machine running the same version of FreeBSD and the instruction specifically specify to start the daemon this way to test the install. (I installed from source on both machines using the same source tarball). Every time I start this machine I start MySQL manually this way. (Since this is a production server, it is up continuously and it doesn't have Xwindows installed) I made the same mistake once myself. You might have introduced another problem however. The files created in '/var/db/mysql' [probable have the wrong permissions set on them. This is a possibility, I'll check it out. The easiest fix would be to just remove that directory and then start mysql properly. Usually '/usr/local/etc/rc.d/mysql-server start' should do the trick. The directories will be build correctly. At then end of the build of mysql are directions for creating users. You do that after mysql has been started. not according to the instruction in the INSTALL-SOURCE. If you no longer have that information, I can supply you with it. I'm confused as to the class of user to assign mysql to. It shouldn't be a user that anyone can login as, nor have it's own home dir or login shell should it? adduser asks and expects answers to all these questions. I don't recall what I did on the machine that is running mysql. I guess I could look at the password file on that machine to get some idea. Since the machine that won't start MySQL also has XWindows intalled, the kdm login prompt list mysql as a user that can log into a windowing session. That shouldn't be necessary at all. That is why I think the issue with the screen saver daemon is connected to this. Just out of curiosity, are you installing MySQL from the ports system? I am just wondering because I have never had to take any extraneous steps to get MySQL up and running. After installing from ports, I would just run the script in /usr/local/etc/rc.d and things would work fine. Obviously, I had to place the mysql_enable=YES notation in /etc/rc.conf prior to starting MySQL. After that I would just create the passwords, etc. No, I installed it from a source tarball following the INSTALL-SOURCE instructions, the O'Reilly book, MySQL Reference Manual, and ./configure --help I did this on two machines with AMD64 processors and FreeBSD v6.0 from a packaged cd set. On both machines, I installed from the same source tarball One has been successful with MySQL and the other not. I have installed several other non trivial software packages from the same source tarballs on both machines and they all went through with glitches that I was able to correct or work around. JK I guess there are more than one way to skin a cat. -- Gerard Seibert [EMAIL PROTECTED] The difference between sex and death is that with death you can do it alone and no one is going to make fun of you. Woody Allen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to sync palm under FreeBSD?
my OS version is FreeBSD6.0 p7 my palm is m125 I've installed jpilot,coldsync... from ports. However,jpilot said cannot find the device /dev/pilot I have not compiled the kernel with ucom and uvisor. So I loaded them by 'kldload'. then put the following lines under 'usbd.conf'. device Palm Handheld devname ucom[0-9]+ vendor 0x0830 product 0x0040 release 0x0100 attach ln -fs /dev/ucom0 /dev/pilot; chmod 666 /dev/ucom0 but there is already an entry about plam, # This entry starts the ColdSync tool in daemon mode. Make sure you have an up # to date /usr/local/etc/palms. We override the 'listen' settings for port and # type in /usr/local/etc/coldsync.conf. device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 attach /usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb and, when I push sync under plam,I'll got these errors from dmesg ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 ucom0: init failed, STALLED device_attach: ucom0 attach returned 6 why? thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Smart Array 4200 Controller
Terry wrote: Any one know of any thing that could be used to monitor a Smart Array 4200 Controller ? This a COMPAQ PROLIANT DL380 to be precise . Not sure if the 4200 uses ida or ciss, this is what I use for ida: http://lists.freebsd.org/pipermail/freebsd-scsi/2005-September/002024.html The thread has some more info on the ida. Also found this, but did not use or test: http://www.strocamp.net/opensource/arrayprobe.php Per olof ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail Compile-Time Configuration - Success
Giorgos Keramidas wrote: On 2006-04-28 05:07, Duane Whitty [EMAIL PROTECTED] wrote: Duane Whitty wrote: Duane Whitty wrote: I'm adding LDAP support to my Sendmail configuration. I couldn't seem to find the appropriate m4 file in which to declare my APPENDDEF statements. My course of action was to include SENDMAIL_CFLAGS+=-DLDAPMAP in make.conf. Does this seem like the correct way to do this for FreeBSD 6-STABLE? That would be `/etc/make.conf'. No, you probably want something similar to the way SASL2 support is compiled into the base-system version of Sendmail. In my `make.conf' I have the following: SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS= -L/usr/local/lib SENDMAIL_LDADD= -lsasl2 While adding stuff to these variables please keep in mind that GCC on FreeBSD has a major difference from the default GCC behavior: it does *not* add /usr/local/include to the default include path or /usr/local/lib to the default library search path. So you will have to add them yourself, as shown above. - Giorgos Hi, Thank you Giorgos, this is the right direction. Your example was most fortuitous, maybe even prescient. ;) LDAP support in Sendmail requires that SASL support also be built in. My /etc/make.conf now contains SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 -DLDAPMAP SENDMAIL_LDFLAGS= -L/usr/local/lib SENDMAIL_LDADD= -lsasl2 -lldap -llber sendmail -d0.1 -bt now includes LDAPMAP and USE_LDAP_INIT Thanks for your help. Respectfully, Duane Whitty -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]