Re: FBSD-friendly UPS for home needs
At 11:15 AM 8/25/2007, Zbigniew Szalbot wrote: Hello, I am going to get a UPS device for my home freebsd gateway/router and wonder if there is anything that you would recommend? At work I use APC units and there is a dedicated software to manage it (apcupsd). Not sure if that's the case with other manufacturers? I'd like to get something that could be managed by software and at the some time not too expensive... you know home budget...erm... Well, many thanks for all recommendations! Zbigniew Szalbot I use nut from the ports. I have had no problem with UPS's that have a serial interface. Some USB interfaces work, some do not. So I would use a UPS with a seral interface assuming you have a free serial port on the server. -Derek -- 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: Gnome issues
At 06:46 AM 8/24/2007, Michael S wrote: Good day all, I installed Gnome a few days ago and everything had been fine up until last night. I shutdown the computer using a Gnome menu (and not shutdown -p now) and upon restart one of my drives (the one mapped to /home) wasn't working. After I did get it to work and able to return to using GNOME, but when I login using GDM, I don't see the desktop pager and the windows don't have any decorations (e.g. borders, close/minimize buttons). I am not an expert, but looks like the window manager got corrupted by that improper shutdown. Anyone had similar experiences? Any ideas how to rectify this? Thanks in advance, Michael Sounds like your drive may be having issues. I would reboot in single user mode and fsck the drive. You may also want to try the drive manufacturer's diagnostic utility. -Derek -- 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: Installation Disc Won't Boot
At 12:49 PM 8/24/2007, [EMAIL PROTECTED] wrote: Hi, I am unable to boot from 6.2-RELEASE i386-disc1.iso. I have downloaded it and burned it three times without success. I am currently running Win98SE and FreeBSD 5.4 on a dual boot. I had decided to reformat my hard drives so I reinstalled Win98SE and would like to install FreeBSD 6.2. I downloaded the disc 1 iso image and burned it to a disc in Win98. I had to boot from my CDrom to reinstall Win98 so I know that my boot priority is correct and that my CDrom is working properly. I looked at the burned cd with the 6.2-RELEASE i386-disc1.iso file on it in FreeBSD 5.4 and everything appears to be there, including a folder called 'boot'. But I just can't seem to boot from it. 1. Is there something simple I'm missing? 2. Should I just try downloading (it takes four hours) and burning more copies again? (I've already done it three times...) 3. Is the fact that I'm burning it in Win98 a problem? 4. Is there anything I can do in FreeBSD 5.4 to see if the file is corrupted? BTW - I installed FreeBSD 5.4 from discs that I purchased through FreeBSD Mall. I thought I would do it from the 6.2-RELEASE i386-disc1.iso file on FreeBSD's web site this time. Any suggestions, advice, or comments would be greatly appreciated. Thanks, Larry Is the CD you burn readable under windows or FreeBSD? If it is readable, check your BIOS settings and turnoff any video ram shadow, if it is turned on. I have one older system which I thought had trouble booting the 6.2 disc. I tried my disc out on another system, and saw when this boots it puts up the FreeBSD boot menu, and waits for response. After seeing this, and turning off the video shadow, I tried to boot it on my older server again. This time I was seeing the bootmenu 10 second countdown, while none of the other boot menu was visible. After hitting enter a couple times the countdown started ticking down, and the system booted and launched sysinstall. I was able then to do a upgrade on this server from 5.5 to 6.2. -Derek -- 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: Dell 2950: 4GB not seen (amd64; works on other 2950:s)
At 02:48 PM 8/24/2007, Peter Schuller wrote: Hello, I have a Dell 2950 where my 7-CURRENT amd64 FreeBSD does not see all visible memory. It has 4 GB of physical RAM. dmesg on boot includes: usable memory = 4280811520 (4082 MB) avail memory = 4117716992 (3926 MB) Yet summing memories visible in top yields ~ 2100 MB. Of note is that I have 6.2/amd64 on several other 2950:s with 4GB of RAM which say on boot: real memory = 5100273664 (4864 MB) avail memory = 4122443776 (3931 MB) But has all 4 GB visible in top. Unfortunately I failed to notice this until after the machine has begun being used, so I have limited possibilities for rebooting/mucking with BIOS settings. I was hoping someone could suggest something right off the bat. In addition on the problem machine the following sysctl values are present: hw.physmem: 4280811520 hw.usermem: 3628220416 hw.realmem: 5100273664 hw.cbb.start_memory: 2281701376 hw.pci.host_mem_start: 2147483648 With hw.usermem being slightly higher (but not 2 GB higher) on the 6.2 system without a problem: hw.physmem: 4283285504 hw.usermem: 3998797824 hw.realmem: 5100273664 hw.cbb.start_memory: 2281701376 hw.pci.host_mem_start: 2147483648 I was under the impression that memory visibility issues were a thing of the past on amd64. Any insight? Thanks! -- / Peter Schuller You need to look closely at the hardware configuration for these servers and their motherboards. Often some memory is reserved for things like onboard video, etc. You can free up that video memory by adding a separate video card, but necessarily other memory that may be used by the motherboard. Unfortunately with dell systems same model's don't necessarily mean same motherboard. Also, how memory is used via the BIOS is dependent on the BIOS version. You should try to be sure all systems you want to compare have the same motherboard and chipset and that these also have the same BIOS version. -Derek PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ 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: load script at bootup
At 01:48 PM 8/23/2007, Narek Gharibyan wrote: #!/bin/sh Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 /root/stat date /root/stat echo === /root/stat I wrote this script for collecting ping statistic (after I email to a group the stat file). 1. how can I run this at startup 2. how can I restart this script after 3600 counts down 3. Is there a program, script or any way more appropriate to track the packet loss and ping availability.? Thank you in advance Add your script to root's crontab. do a man on crontab for the exact syntax, but you can have it run @reboot then an interval. -Derek -- 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: Trying to move /usr
At 07:17 PM 8/20/2007, Michael S wrote: I tried changing the /home entry in the fstab to /usr/home, but the result is the same. And when I go to /home or /usr/home, issuing ls, simply gives me the prompt. Does the mount succeed? On the new /usr does home actually mount? -Derek Michael --- Derek Ragona [EMAIL PROTECTED] wrote: At 06:47 PM 8/20/2007, Michael S wrote: Right now things are set up the old way and here's what the mount command says: /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1e on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1d on /var (ufs, local, soft-updates) /dev/da1s1d on /usr/home (ufs, local, soft-updates) /dev/da2s1d on /user (ufs, local, soft-updates) Should I change my entry for /home, and make it /usr/home ? From your last note, it looked like home is /usr/home. That is why I suggested you do: # mount and check how home is really mounted. If it is /usr/home that would explain the trouble you had using your new /usr. -Derek --- Derek Ragona [EMAIL PROTECTED] wrote: At 06:28 PM 8/20/2007, Michael S wrote: Here's df -k output: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a50763085046 38197418% / devfs 110 100% /dev /dev/da0s1e495726 10 456058 0% /tmp /dev/da0s1f 3733038 2869704 56469284% /user /dev/da0s1d495726 110700 34536824% /var /dev/da1s1d 68431992 27948332 3500910244% /usr/home /dev/da2s1d 17213408 2882922 1295341418% /usr When I go back to the old /usr by editing fstab: /dev/da0s1b noneswap sw 0 0 /dev/da1s1b noneswap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /tmpufs rw 2 2 /dev/da0s1f /usrufs rw 2 2 /dev/da0s1d /varufs rw 2 2 /dev/da1s1d /home ufs rw 2 2 /dev/da2s1d /user ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 I get into my home directory with no problem. You need to adjust not just the /usr and /user but also /usr/home entries in fstab. Before you make any changes, do just a mount command and see where things are mounted. -Derek -- 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] ___ 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] -- 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: Trying to move /usr
At 10:10 AM 8/20/2007, Michael S wrote: Good morning everyone, I am trying to migrate my /usr to a newly installed SCSI drive. Up until yesterday I had /, /var, /usr on a 5 Gig drive and my /home was on another 60 Gig drive, which was fine because it had no GUI and functioned mostly as a server. Last night I added a third drive, with a capacity around 18G; since my other two drives are hard-wired in /boot/device.hints, there were no problems with device numbering. I wrote down the device name (/dev/da2) and proceeded to sysinstall to first create a FreeBSD partition and then the only slice within that partition. I named it /user. I then tarred up /usr Tar cf /user/usr.tar /usr Extracted the tar file and moved everything one directory up, because otherwise everything were under /user/usr. I made the necessary adjustnments in /etc/fstab, that is I switched /usr and /user around. After reboot, I wasnt getting the prompt, since the binaries for displaying the prompt are located under /usr/bin (or /usr/sbin?) and my guess was that /usr wasnt mounting properly. I restarted the machine, this time going into single user mode. Trying to mount a gave me an error message: Error mounting /usr/home. I then created home directory under the new /usr, I tried mount a, this time it worked, but when I rebooted, I wasnt getting my home directory. When I login as an unprivileged user michael, the message is something like: User has no home directory. For now I reverted to using the old /usr. Anyone attempted to migrate /usr and fell for similar kind of problems? Any suggestions will be appreciated. P.S. I am not next to that machine right now, so I cant provide the exact fstab or dmesg output. Thanks in advance, Michael When you un-tarred did you use -p to be sure the perms were all correct? -Derek -- 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: Trying to move /usr
At 12:37 PM 8/20/2007, Michael S wrote: I reverted to the old /usr. What I had done: Initially I set up the newly installed drive (da2) to have only one partition (da2s1d) which I chose to be /user (note the e). I tarred /usr to a file in /user tar -cf /user/usr.tar /tar and extracted the file tar -xf usr.tar I had the whole structure of /usr underneath /user/usr And then cd usr mv * .. to have everything under /user Then I edited fstab. Whatever was /user became /usr and /usr became /user. I will definitely try dump. Never used it before. Thanks a lot, Michael Michael, To use tar properly for this operation: cd /usr tar -cvf /user/usr.tar . cd /user tar -xvpf ./usr.tar Then you can switch the mount points and all should work. -Derek -- 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: Trying to move /usr
At 06:28 PM 8/20/2007, Michael S wrote: Here's df -k output: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a50763085046 38197418%/ devfs 110 100%/dev /dev/da0s1e495726 10 456058 0%/tmp /dev/da0s1f 3733038 2869704 56469284% /user /dev/da0s1d495726 110700 34536824%/var /dev/da1s1d 68431992 27948332 3500910244% /usr/home /dev/da2s1d 17213408 2882922 1295341418%/usr When I go back to the old /usr by editing fstab: /dev/da0s1b noneswapsw 0 0 /dev/da1s1b noneswapsw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /tmpufs rw 2 2 /dev/da0s1f /usrufs rw 2 2 /dev/da0s1d /varufs rw 2 2 /dev/da1s1d /home ufs rw 2 2 /dev/da2s1d /user ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 I get into my home directory with no problem. You need to adjust not just the /usr and /user but also /usr/home entries in fstab. Before you make any changes, do just a mount command and see where things are mounted. -Derek -- 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: Trying to move /usr
At 06:47 PM 8/20/2007, Michael S wrote: Right now things are set up the old way and here's what the mount command says: /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1e on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1d on /var (ufs, local, soft-updates) /dev/da1s1d on /usr/home (ufs, local, soft-updates) /dev/da2s1d on /user (ufs, local, soft-updates) Should I change my entry for /home, and make it /usr/home ? From your last note, it looked like home is /usr/home. That is why I suggested you do: # mount and check how home is really mounted. If it is /usr/home that would explain the trouble you had using your new /usr. -Derek --- Derek Ragona [EMAIL PROTECTED] wrote: At 06:28 PM 8/20/2007, Michael S wrote: Here's df -k output: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a50763085046 38197418%/ devfs 110 100% /dev /dev/da0s1e495726 10 456058 0% /tmp /dev/da0s1f 3733038 2869704 56469284% /user /dev/da0s1d495726 110700 34536824% /var /dev/da1s1d 68431992 27948332 3500910244% /usr/home /dev/da2s1d 17213408 2882922 1295341418% /usr When I go back to the old /usr by editing fstab: /dev/da0s1b noneswapsw 0 0 /dev/da1s1b noneswapsw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /tmpufs rw 2 2 /dev/da0s1f /usrufs rw 2 2 /dev/da0s1d /varufs rw 2 2 /dev/da1s1d /home ufs rw 2 2 /dev/da2s1d /user ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 I get into my home directory with no problem. You need to adjust not just the /usr and /user but also /usr/home entries in fstab. Before you make any changes, do just a mount command and see where things are mounted. -Derek -- 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] ___ 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: Regular expressions
At 12:04 PM 8/18/2007, Christer Hermansson wrote: Hi. I'm trying to use regular expressions inside a shell script (/bin/sh) on my freebsd box and can't get it to work so I searched the web and found http://regexlib.com/RETester.aspx On this webpage I could test my pattern ^[A-Za-z0-9_-]+$ and everything was fine, did exactly what I wanted to do, check that a string only contains some combination of the characters A-Z, a-z, 0-9, hyphen - and underscore _. I also found some basic example at http://www.grymoire.com/Unix/Sh.html#uh-88 : 88888 #!/bin/sh echo Type in a number read ans number=`expr $ans : ([0-9]*)` if [ $number != $ans ]; then echo Not a number elif [ $number -eq 0 ]; then echo Nothing was typed else echo $number is a fine number fi 88888 The above example doesn't work on my freebsd box. Maybe I need to update my system, sitting with 6.0R which never been updated. Is there anyone who has some advice about how to get regular expressions to work in FreeBSD shell script ? -- Christer Hermansson You have a syntax error using expr. Do a man on expr for more details but if you change that line from: number=`expr $ans : ([0-9]*)` to: number=`expr $ans : \([0-9]*\)` You will get the desired results. Also when debugging scripts remember to add: set -x to your script on the second line, and see what the script lines are actually doing. -Derek -- 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: curious root find running
At 05:19 AM 8/17/2007, brad clawsie wrote: hi while sitting at my computer tonight i noticed a great deal of disk activity. i found that this process was running: $ ps -auxwww 1463 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1463 4.3 0.1 1876 1404 ?? D 3:01AM 0:07.26 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm -u+s -or -perm -g+s ) -print0 any idea why this is running? is it part of a sanctioned background process? Check your cron jobs. It is likely part of a rebuild of the locate database. -Derek -- 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: curious root find running
At 06:59 AM 8/17/2007, Jonathan McKeown wrote: On Friday 17 August 2007 13:34, Derek Ragona wrote: At 05:19 AM 8/17/2007, brad clawsie wrote: hi while sitting at my computer tonight i noticed a great deal of disk activity. i found that this process was running: $ ps -auxwww 1463 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1463 4.3 0.1 1876 1404 ?? D 3:01AM 0:07.26 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm -u+s -or -perm -g+s ) -print0 any idea why this is running? is it part of a sanctioned background process? Check your cron jobs. It is likely part of a rebuild of the locate database. I don't want to be rude, and this just happens to be the message I'm responding to with a more general gripe, but there does seem to be quite a lot of guessing in answers on this list over the last few days, which isn't perhaps as helpful as it's intended to be. This is nothing to do with locate(1) - it's a find command looking in /usr for executable files (the first set of parens) which have the suid or sgid bits set (the second set of params). It's part of the daily security check carried out by periodic(8), as unexpected suid/sgid executables can be security holes. I hate to be an I told you so but if you look in the script that rebuilds the locate database: /usr/libexec/locate.updatedb You will see a number of find commands. In reality, you'd need to do: ps -al and follow the PID and PPID to determine what is running this find command. -Derek -- 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: Share folder over internet
At 12:58 PM 8/16/2007, Laszlo Nagy wrote: Hi All, Here is a problem that I cannot solve. I have two offices with two file servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on the local server). I would like to share some directory structures between the two offices. Originally I was thinking about sshfs (mount_sshfs) but I cannot compile fuse from the ports. NFS cannot share subdirectories, only whole filesystems and it is not secure to use over the internet. Security inside the LAN is not important. Most of these folders are put everything into it type, e.g. anyone can do anything with them. The users usually store doc, pdf, xls/gnumeric and txt files in them. I'm not interested in solutions where the end user needs to use a special program to access the files. For example, gftp is not an option. This is because these users sometimes does not know what a file is. I need nautilus integration, and mounting/mapping so the files can be opened from any program using file/open. What should I use? You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. -Derek -- 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: Local domain with Bind
At 06:44 PM 8/14/2007, Nicholas Wieland wrote: Hi *, I have a problem setting up Bind9, and I really don't understand what's wrong with my configuration. luna# uname -a FreeBSD luna.subbacultcha.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/ obj/usr/src/sys/GENERIC i386 luna# cat /etc/namedb/named.conf acl subbacultcha { 192.168.0.0/24; localnets; }; options { directory /etc/namedb; pid-file/var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; allow-query { subbacultcha; }; forwarders { 208.67.222.222; 208.67.220.220; }; }; logging { channel named_log { syslog named; severity debug 3; print-category yes; print-time yes; print-severity yes; }; category default { named_log; }; category xfer-in { named_log; }; category xfer-out { named_log; }; category unmatched { named_log; }; }; zone . { type hint; file named.root; }; zone 0.0.127.IN-ADDR.ARPA { type master; file master/localhost.rev; }; // RFC 3152 zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARP A { type master; file master/localhost-v6.rev; }; zone subbacultcha.local { type master; file /etc/namedb/subbacultcha.local; }; zone 0.168.192.in-addr.arpa { type master; file /etc/namedb/revp.0.168.192; }; luna# cat /etc/namedb/subbacultcha.local subbacultcha.local. IN SOA ns.subbacultcha.local. root.subbacultcha.local ( 200708111 ; serial 3H ; refresh 1H ; retry 1W ; expire 1D ); minimum subbacultcha.local. IN NS ns.subbacultcha.local. IN A 192.168.0.2 mail.subbacultcha.local.IN MX 10 mail.subbacultcha.local. subbacultcha.local. IN MX 10 mail.subbacultcha.local. localhost IN A 127.0.0.1 lunaCNAME subbacultcha.local. hg CNAME subbacultcha.local. luna# cat /etc/namedb/revp.0.168.192 $TTL 1D @ IN SOA subbacultcha.local. root.subbacultcha.local. ( 20070811; serial 3H ; refresh 1H ; retry 1W ; expire 1D ; minimum ) IN NS ns.subbacultcha.local. IN PTR mail.subbacultcha.local. IN PTR hg.subbacultcha.local. IN PTR subbacultcha.local. This is the problem from another machine on the lan (192.168.0.3): [EMAIL PROTECTED] ~$ dig subbacultcha.local ; DiG 9.3.4 subbacultcha.local ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 30754 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;subbacultcha.local.IN A ;; ANSWER SECTION: subbacultcha.local. 86400 IN A 192.168.0.2 ;; AUTHORITY SECTION: subbacultcha.local. 86400 IN NS ns.subbacultcha.local. ;; Query time: 8 msec ;; SERVER: 192.168.0.2#53(192.168.0.2) ;; WHEN: Wed Aug 15 01:39:26 2007 ;; MSG SIZE rcvd: 69 [EMAIL PROTECTED] ~$ ping subbacultcha.local ping: cannot resolve subbacultcha.local: Unknown host [EMAIL PROTECTED] ~$ ping 192.168.0.2 PING 192.168.0.2 (192.168.0.2): 56 data bytes 64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.743 ms When I ping the domain nothing happens in logs ... Thanks for every suggestion, I'm *sure* I'm missing something obvious here ... This looks like the DNS settings on your other server, chienandalusia (192.168.0.3), is not setup correctly. Check /etc/resolv.conf on this server, and be sure the first nameserver is: nameserver 192.168.0.2 In fact on this server you should have only that entry, as your server at 192.168.0.2 should forward any other unknown DNS requests upstream to the forwarders. -Derek -- 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: Local domain with Bind
At 05:10 AM 8/15/2007, Nicholas Wieland wrote: Il giorno 15/ago/07, alle ore 09:01, Derek Ragona ha scritto: At 06:44 PM 8/14/2007, Nicholas Wieland wrote: This looks like the DNS settings on your other server, chienandalusia (192.168.0.3), is not setup correctly. Check /etc/resolv.conf on this server, and be sure the first nameserver is: nameserver 192.168.0.2 In fact on this server you should have only that entry, as your server at 192.168.0.2 should forward any other unknown DNS requests upstream to the forwarders. Hi Derek, thanks for your answer. [EMAIL PROTECTED] ~$ cat /etc/resolv.conf nameserver 192.168.0.2 Logs for a request to my local domain done with my Apple notebook: Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: send Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: sendto Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: senddone Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: next Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 client: debug 3: client 192.168.0.3#49376: endrequest Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(http://www.apple.com.akadns.net/A'www.apple.com.akadns.net/A'): doshutdown Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(http://www.apple.com.akadns.net/A'www.apple.com.akadns.net/A'): stopeverything Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(http://www.apple.com.akadns.net/A'www.apple.com.akadns.net/A'): cancelqueries Aug 15 12:06:00 luna named[667]: 15-Aug-2007 12:06:00.201 resolver: debug 3: fctx 0x8220e00(http://www.apple.com.akadns.net/A'www.apple.com.akadns.net/A'): destroy Forwarding works like a charme, so actually my client connects to bind and in case of an external domain it is served. If the domain is my local one no chance. Even more weird: luna# ping hg.subbacultcha.local PING subbacultcha.local (192.168.0.2): 56 data bytes 64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.041 ms 64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.033 ms Actually I think it's Bind refusing connections from the outside, but pretending to always forward. I can't see the mistake in my configuration though. TIA, ngw I don't see anything in the bind configuration file either, AND it all works on the DNS server and your mac so we know that the BIND configuration is fine. Check on the .3 server /etc/nsswitch.conf be sure you have a line like: hosts: files dns in this file. If that doesn't fix it, check your gateway setting, netmask, and other settings on your ethernet interface. -Derek -- 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: Backspace
At 01:45 AM 8/13/2007, d.Z. wrote: Thanks for helping everybody. But actually I'm using Bourne shell on FreeBSD 6.1 just like the Solaris in lab, and the FreeBSD is freshly installed, I have checked .shrc and .profile, but nothing related to key bindings or stty's there, so what I thought it should be is: after I login - [press backspace] - ^H appears - [press DEL] - ^? appears in emacs - [press backspace] - oops, help appears I think Solaris was just like the above. But in my FreeBSD, things go like: after I login - [press backspace will erase last char] - [press DEL does the same thing] no matter what have I done to stty like stty erase ^H and stty erase2 ^H, the result is just the same, backspace and DEL still can be used to erase last char in shell. The only difference is in emacs, but I searched the net and found that emacs relies on its own definition of key bindings in ~/.emacs file (it is empty in this case), rather than the terminal key bindings. Totally confused. Any idea? Thanks again for you kind people. Programs like emacs generally use terminfo and termcap databases that define keys and other terminal capabilities. Generally these are different between various UNIX's. You can learn more by just doing a man on these: man terminfo man termcap -Derek 2007/8/13, Jerry McAllister [EMAIL PROTECTED]: On Sun, Aug 12, 2007 at 01:31:36PM -0500, Derek Ragona wrote: At 10:54 PM 8/11/2007, d.Z. wrote: Hello, I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in lab, and found there is a difference between them. When Solaris is installed, press backspace will give you ^H, you'll have to stty erase ^H to solve this problem. But with FreeBSD 6.1, when first installed, backspace is always bounded to erase last character, even I have stty erase ^? and stty erase2 ^?, backspace still deletes last character input. Does any body know why is this happening? Solaris by default uses csh for user accounts. The backspace key assignment and for that matter, all key assignments are dependent on the both the shell and terminal definition. Reassigning keys is typical for your shell's startup profile file .cshrc for csh and .bashrc for bash. And strange thing is with default setting (before stty erase and erase2 to ^?), when I use Emacs, C-h will give me back space, instead of help. I know this is desirable for experts, but I'm really new so just want to follow the instruction first. Applications like the shell you use interpret the terminal definition and may or may not use the same key assignments. Most applications like the shells in UNIX environments have startup files to customize the key assignments and in the case of editors even define macros. And those startup files are: For csh and tcsh (tcsh is the most common one in FreeBSD) the startup file is .cshrc in one's home directory. You can also create a system-wide one. For SH and bash it is .profile and for them don't forget to export any variables. jerry Hope this helps. -Derek -- 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] ___ 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: Backspace
At 10:54 PM 8/11/2007, d.Z. wrote: Hello, I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in lab, and found there is a difference between them. When Solaris is installed, press backspace will give you ^H, you'll have to stty erase ^H to solve this problem. But with FreeBSD 6.1, when first installed, backspace is always bounded to erase last character, even I have stty erase ^? and stty erase2 ^?, backspace still deletes last character input. Does any body know why is this happening? Solaris by default uses csh for user accounts. The backspace key assignment and for that matter, all key assignments are dependent on the both the shell and terminal definition. Reassigning keys is typical for your shell's startup profile file .cshrc for csh and .bashrc for bash. And strange thing is with default setting (before stty erase and erase2 to ^?), when I use Emacs, C-h will give me back space, instead of help. I know this is desirable for experts, but I'm really new so just want to follow the instruction first. Applications like the shell you use interpret the terminal definition and may or may not use the same key assignments. Most applications like the shells in UNIX environments have startup files to customize the key assignments and in the case of editors even define macros. Hope this helps. -Derek -- 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: Question on the IFS variable (not a FreeBSD question)
At 10:57 AM 8/12/2007, Rakhesh Sasidharan wrote: Hi, This isn't really a FreeBSD question. But I figure most people on this list would know the answer and so I'm asking. I've tried to get the answer out of Google, but I guess I am not asking it the right question and so not getting much hits. I understand that the default value of the IFS variable in bash is space, tab, newline. For a script I am playing around with, I want to change IFS to be just newline. I tried the obvious like IFS=\n -or- IFS='\n' but that doesn't seem to do the trick coz then the letter n ends up being the separator. A bit of Google searching got me the solution too. That I must set IFS this way: IFS=$'\n' I did that, and sure enough things work the way I want! So my question is this: how come things work when I set IFS to $'\n' instead of just plain '\n'? I don't recollect seeing such a way of setting variables before, and so I'm curious about it. This is dependent on the shell you use, and how it interprets character sequences looking for escape characters and such. This will differ between shells. -Derek -- 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: Samba Install on BSD 5.4
At 04:46 PM 8/10/2007, Dixit, Viraj wrote: Folks, I have downloaded the latest Samba file from samba site. I have unzipped the file and have configured it as requested. Anyone out there installed Samba on Free BSD 5.4. Please indicate any problem that I will encounter and any issues with Samba. Thanks, VJ I have run samba on FreeBSD 5.4 and 5.5 where the samba server worked as a slave to Active Directory on Windows. -Derek -- 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: relaying mail
At 05:19 PM 7/31/2007, Christopher Cowart wrote: On Tue, Jul 31, 2007 at 08:03:50PM +0200, Michael Grant wrote: In one of my domains, I have the MX record for it set up to my server. But for one of the users within that domain, their mail needs to be shuffled off to a different server at google. But I can't just forward it because it's like an MX host I'd need to forward it to. And I can't alter the MX to point to google for the entire domain because it's only one user within that domain, the other users will be screwed in that case. For example, mydomain.com, let's say the mx for that comes to my box. For [EMAIL PROTECTED], I need to send his mail to ASPMX.L.GOOGLE.COM as if it were the MX for mydomain.com. In the old days, one would simply forward email to [EMAIL PROTECTED] That would cause mydomain.com's sendmail to connect to ASPMX.L.GOOGLE.COM and shove down a message for [EMAIL PROTECTED] But that seems long deprecated because it didn't seem to work. I am using sendmail and procmail. Can anyone think of some way I can cause something like this to happen for just one user, ideally in a .procmailrc file? You can do this with sendmail by user in /etc/mail/virtualusertable. You should see the file /etc/mail/virtualusertable.sample for some explanations of this file. The virtualuser database is read first by sendmail, before aliases. Also the virtualusertable is read serially from top to bottom, so you can specific user maps before a general map for the rest of a domain. -Derek -- 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: still image grabber
At 09:14 AM 7/29/2007, Tsu-Fan Cheng wrote: Hi, is there a port on freebsd that generate still images from movie files? like image grabber on windows?? thanks!! TFC You might want to try the vlc media player: /usr/ports/multimedia/vlc I know the windows version does generate still images. -Derek -- 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: Drive concatenation...Which tool to use?
At 08:56 PM 7/25/2007, Josh Tolbert wrote: Hello, I've got a friend that wants to use a FreeBSD box for a file server. He has a huge pile of drives of different sizes, but he wants them all as one big file system. What's the appropriate tool for this? gstripe doesn't seem like it'd be smart to use with differently-sized drives. Is gvinum up to snuff and stable enough to use? Is ccd still supported? What would be your tool of choice? Thanks, Josh Given that the drives are different capacities you might want to just use the different drives for different portions of the filesystem, such as using a smaller drive for swap, then using different drives for: /usr/local /usr/src /var / /etc The choices depend on the drive capacities and what the server will be used for. -Derek -- 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: Adaptec AAR-1220SA / AAR-1430SA
At 05:01 AM 7/26/2007, Christopher Key wrote: Hello, I'm trying to establish whether I can expect the Adaptec AAR-1220SA or AAR-1430SA SATA cards to work with 6.2. They're not on the list of supported hardware, which does include a lot of the other Adaptec cards. However, the Adaptec cards that are listed all seem to be hardware RAID cards, whereas the 1220SA and 1430SA use something called 'HostRAID', which I think just means software raid. Does this just mean that I'll be unable to use the RAID functionality on the cards, not really a concern, or are they unlikely to work at all? Many thanks, Chris Key I have tried the 1200 series and they simply don't work for RAID or non-RAID use. They have Sil chips which cause intermittent problems. These problems are also present in other adapters that use some of the Sil chips. Unfortunately the Sil chips are hit and miss as they have different versions (masks) of the same chips and some will work while most do not. -Derek -- 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]
video mode problem booting 6.2 CD
Has anyone had any problem with the booting of 6.2 release CD? I have an older server that is running 5.5 and was going to do a binary upgrade to 6.2. When I try to boot the 6.2 release CD 1, right after the loader message, the video gets funny, I see it trying to do what looks like drawing on the screen, but just see some flashing. It looks like some kind of video mode switch the builtin VGA adapter is having trouble with. I was wondering if anyone else had seen this problem and possibly had a work around. -Derek [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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: what brand of TFT monitor?
At 11:57 AM 7/24/2007, Gabor Kovesdan wrote: Hi, it's a bit off here, but I'm sure you can tell me some tips, what brand of TFT monitor to buy? Finally I decided to change this old enormous CRT. Or if you tell which brands to avoid, that's fine fo rme, too. I'm thinking of a 17 or 19 size, or maybe 21. TIA, -- Gabor Kovesdan FreeBSD Volunteer Have some idea whether you want analog, dvi or one that does both. I'd look at larger sizes as you will likely have it a while. Look where the prices jump significantly, usually at over the 19, 20 or 21 size. If you can, look at them before you buy for the image quality and viewing angle. Compare warranties too, but ultimately look at the prices. I prefer samsung as they make all their own components, other makers put together units using other manufacturer's components and quality can vary. -Derek -- 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: no /boot/loader - after installation
At 02:06 PM 7/23/2007, John Clement wrote: So I got a copy of boot-only 6.2 onto cd and went back into the bios and changed a few options: LBA mode: off Multi-sector transfers: auto Fast PIO: auto 32 bit transfer mode: on Ultra DMA: auto then ran the 6.2 install using dangerously dedicated which went fine and then on reboot now it comes up with Not ufs no /boot/loader so a slightly different message now, but still no go anyone? - jc I've never used the boot-only version. So let me ask if you saw any issues with sysinstall? Did you partition the disk and did newfs run without error? Before you exit sysinstall you can check and see what is on the disks from the emergency shell on vtty4. You can do a mount command and see what and where things are mounted and do an ls on those filesystems. -Derek -- 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: trouble compiling some ports
-typemap typemap shared.xs shared.xsc mv shared.xsc shared.c cc -c-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O2 -pipe -mcpu=ultrasparc -mtune=ultrasparc-DVERSION=\0.94\ -DXS_VERSION=\0.94\ -DPIC -fPIC -I../../.. shared.c Running Mkbootstrap for threads::shared () chmod 644 shared.bs rm -f ../../../lib/auto/threads/shared/shared.so cc -shared -L/usr/local/lib shared.o -o ../../../lib/auto/threads/shared/shared.so chmod 755 ../../../lib/auto/threads/shared/shared.so cp shared.bs ../../../lib/auto/threads/shared/shared.bs chmod 644 ../../../lib/auto/threads/shared/shared.bs Making Errno (nonxs) Writing Makefile for Errno ../../miniperl -I../../lib -I../../lib Errno_pm.PL Errno.pm cp Errno.pm ../../lib/Errno.pm *** Error code 1 (ignored) Everything is up to date. Type 'make test' to run test suite. [3] error message from Perl make test lib/integer...# Failed test 'left shift' # in ../lib/integer.t at line 49. # got: '-4294967296' # expected: '-9223372036854775808' FAILED at test 10 [4] error message from Perl make test t/op/pack.# Failed at op/pack.t line 631 # Failed at op/pack.t line 631 FAILED at test 514 [5] error message from Perl make test t/op/groups...FAILED at test 1 [6] End of Perl's make test t/x2p/s2p.ok Failed 3 test scripts out of 938, 99.68% okay. ### Since not all tests were successful, you may want to run some of ### them individually and examine any diagnostic messages they produce. ### See the INSTALL document's section on make test. ### You have a good chance to get more information by running ### ./perl harness ### in the 't' directory since most (=80%) of the tests succeeded. ### You may have to set your dynamic library search path, ### LD_LIBRARY_PATH, to point to the build directory: ### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness ### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness ### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness ### for csh-style shells, like tcsh; or for traditional/modern ### Bourne-style shells, like bash, ksh, and zsh, respectively. u=10.40 s=5.69 cu=768.08 cs=172.31 scripts=938 tests=117578 *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8. sunny# t/op/pack.# Failed at op/pack.t line 631 t/op/pack.#: Command not found. # Failed at op/pack.t line 631 FAILED at test 514 [7] Cleaning up the ports directory was a really good idea, but it could have been done a little more completely. Why weren't the language-ports like 'korean' put into their own subdirectory? I had similar problems on one server that had an old ports tree then updated ports. I ended up having to completely delete and re-download the entire ports tree, and manually remove portupgrade and portmanager and reinstall them. -Derek -- 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: Swap size
At 03:03 AM 7/19/2007, Gabriel Linder wrote: Hi, I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of RAM. The handbook says ideal swap size is 2xRAM, so should I use 2GB of swap ? Yes unless you know how many applications will ever be run and their run size. The 2xRAM is so you can always have a reasonable performance allowing swap. You can still run out of swap, and this will cause a panic. With disks so cheap, why not use 2XRAM? This seems a bit huge to me, I never used more than 400MB on Linux. If so, is there a limit of swap partition size (or number) on i386 (for Linux it's 2GB per partition and 32 partitions max, but I don't know for FreeBSD) ? You can add more swap using a swap file you can check that out doing: man swapon I don't believe there is a limit to swap partitions, other than the limit on other partitions. I have no knowledge on efficiency of a swap partition vs a swap file. -Derek -- 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: no /boot/loader - after installation
At 03:31 AM 7/19/2007, John Clement wrote: I'm installing 6.1 on an HP Vectra VL420, I've been in the BIOS to set the C/H/S as per what the install reports (I've tried an 80GB Seagate and a 250GB WD), the install all seems to go fine. I've tried the FreeBSD boot manager, a standard MBR and even setting the disk as dedicated, but regardless I end up with the same 'no /boot/loader' when it reboots. I suspect (and hope) I'm making a simple mistake, I just haven't seen this happen before. Thanks in advance!! First you should try 6.2 which is the latest release. Check your BIOS that you are allowing to write to the boot area. Many BIOS have a setting to not allow this to prevent a virus writing to the boot area. -Derek -- 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: sata: setfeatures settransfermode taskqueue timeout
At 11:58 AM 7/19/2007, Steve Franks wrote: I'm getting this error alot, on shutdown. smartmon reports all my drives are healthy with 0 errors, I've replaced the controller and upgraded to a 500W powersupply. At random one of my 4 sata drives will give a disconnected error in dmesg and dissappear, usually when you acess it for the first time on a given boot, but not always the same drive. Also, I've now started getting a panic after syncing all the drives on shutdown. I'm mystified Steve Post a full dmesg so we can better see your configuration. -Derek -- 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: sata: setfeatures settransfermode taskqueue timeout
At 12:34 PM 7/19/2007, Harry Newton wrote: Steve Check your cables: I had similar sporadic failures which were caused by a SATA cable that didn't seat well into the sockets on the board and drive. When I replaced the cable with a better one with a spring clip the failures stopped. - Harry My most recent SATA problems were cables too. Not sure why the cables went bad, but the drives would just detach on the old cables. -Derek -- 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: Serial Cable
At 11:43 AM 7/17/2007, Alexandre Biancalana wrote: Hi list, Excuse-me for the last message... I hit the wrong key.. eheheheh Anymore know some online store that sells console serial cables (professional made) that work with i386 FreeBSD and that do international ship (outside USA) ? Regards, Alexandre Try cables to go http://www.cablestogo.com/ They will even make you custom cables, but a stock null modem cable should work fine. -Derek -- 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]
Promise RAID / ata problem
Greetings, I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5. Everything's been great for nearly a year until a recent reboot. It appears that the two disk mirrored array is coming up as two arrays with a single disk attached: Before: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: 305175MB Promise Fasttrak RAID1 status: READY kernel: ar0: disk0 READY (master) using ad10 at ata5-master kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master After: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: disk0 DOWN no device found for this subdisk kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master kernel: ar1: 305175MB Promise Fasttrak RAID1 status: DEGRADED kernel: ar1: disk0 READY (master) using ad10 at ata5-master kernel: ar1: disk1 DOWN no device found for this subdisk # atacontrol status ar0 ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED # atacontrol status ar1 ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED Nothing's was changed on the machine. I'm looking for any ideas on the best way to re-establish the single mirrored array. Thanks a lot, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Promise RAID / ata problem
At 06:45 AM 7/16/2007, Derek Holden wrote: Greetings, I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5. Everything's been great for nearly a year until a recent reboot. It appears that the two disk mirrored array is coming up as two arrays with a single disk attached: Before: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: 305175MB Promise Fasttrak RAID1 status: READY kernel: ar0: disk0 READY (master) using ad10 at ata5-master kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master After: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: disk0 DOWN no device found for this subdisk kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master kernel: ar1: 305175MB Promise Fasttrak RAID1 status: DEGRADED kernel: ar1: disk0 READY (master) using ad10 at ata5-master kernel: ar1: disk1 DOWN no device found for this subdisk # atacontrol status ar0 ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED # atacontrol status ar1 ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED Nothing's was changed on the machine. I'm looking for any ideas on the best way to re-establish the single mirrored array. Thanks a lot, You didn't say how you created the array, in the Promise BIOS or in software under FreeBSD. If you created the array in the promise BIOS, check the array in the BIOS first. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Promise RAID / ata problem
The array was created on the Promise card. If there is a bad disk, any ideas on why FreeBSD would report two arrays with each disk appearing as READY on one of either of them? kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master kernel: ar1: disk0 READY (master) using ad10 at ata5-master Thanks for the responses, On 7/16/07, Derek Ragona [EMAIL PROTECTED] wrote: At 06:45 AM 7/16/2007, Derek Holden wrote: You didn't say how you created the array, in the Promise BIOS or in software under FreeBSD. If you created the array in the promise BIOS, check the array in the BIOS first. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Promise RAID / ata problem
At 11:43 AM 7/16/2007, Derek Holden wrote: The array was created on the Promise card. If there is a bad disk, any ideas on why FreeBSD would report two arrays with each disk appearing as READY on one of either of them? kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master kernel: ar1: disk0 READY (master) using ad10 at ata5-master Thanks for the responses, FreeBSD creates dev's on boot. It is seeing now two arrays as the disks are saying they are array disks, and the controller has the array as broken. Check the Promise BIOS to see if it reports one disk as bad, or it may just need to rebuild the array. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IBM HDs vanish on warm-boot?
At 04:54 PM 7/16/2007, Roger Olofsson wrote: Dear mailing list, I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the WD is fine. The motherboard is an old Aopen AX34 and all settings are default except for ACPI that's off. The first thought that came to mind was that one of the IBMs are going bad, but, I find it very unlikely that both HDs are doing it. One is a 120 and one is an 80gigger but both 'vanish' on warm-boot. Some other setting in bios than ACPI? Grateful for any answer, IBM had some utilities for those drives which are now supported by fujitsu. You should run the drive fitness utility. Also there was a utility to set the drive firmware to spin down to make it quieter. You may need to change that setting. -Derek -- 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: Can cron e-mail HTML?
At 03:03 PM 7/14/2007, Mikhail Teterin wrote: Hello! I have a script launched from cron every morning, that gets certain data over the Internet from a remote computer, compares the new data with that from the previous day, and outputs the difference (if any). I'm relying on the fact, that cron e-mails me the output of each job. However, I modified the script recently to produce the output (if any) in HTML, rather than in plain-text format. The HTML arrives by e-mail just as well as plain text used to, but no e-mail program will render it as such, because neither the cron(8), nor the mail(1), which cron uses to send e-mail, creates MIME messages... How can I force the ``Content-Type: text/html'' header without hacking cron's sources? I'd rather avoid poluting my script with e-mail sending code... Maybe, cron should apply file(1)-like logic to the e-mailed content? Thanks for any hints. Yours, You need to change your script to send the email itself. I have many scripts that email reports, legs, and html reports. To accomplish this I have my cron job run a script like this (I have simplified the script you should be able to use it as a base): #!/usr/local/bin/ksh # set full paths for all commands needed, and files needed MAIL=/usr/bin/mail MAILFILE=/tmp/mail_file #fill in your correct email or alias you wish to use [EMAIL PROTECTED] RM=/bin/rm DATE=/bin/date AWK=/usr/bin/awk LS=/bin/ls GREP=/usr/bin/grep FIND=/usr/bin/find TODAY=`$DATE +%m-%d-%Y` REPORT_LOG_HEADER=/usr/local/etc/report_log_header REPORT_LOG_FOOTER=/usr/local/etc/report_log_footer # start the mailfile with the proper header, # in this case it is an HTML header cat $REPORT_LOG_HEADER $MAILFILE #put more stuff into the report . . . echo$MAILFILE echo$MAILFILE # Add any processing or log files to the middle of the mail file here # you can even put HTML codes in here echo BR BR $MAILFILE echo$MAILFILE # add the correct HTML footer cat $REPORT_LOG_FOOTER $MAILFILE # send it to yourself $MAIL -s the report name $MAILTO $MAILFILE $RM $MAILFILE -Derek -- 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: Can cron e-mail HTML?
At 05:02 PM 7/14/2007, Mikhail Teterin wrote: Derek Ragona wrote: = = I'd rather avoid poluting my script with e-mail sending code... = You need to change your script to send the email itself. Thank you, Derek, but -- as I stated already -- I wanted to see, if this can be avoided... Doing so makes it very non-portable. This would make your cron changes needed on any system and version you want to implement this behavior. Since you posted your script, I'll comment on it. First of all, you don't need ksh for anything you are doing in this script. FreeBSD's /bin/sh is enough (we aren't Solaris :-) -- but is 9 times smaller here (amd64). I don't need ksh for the particular sample I gave you, which is pared down from any I use. I posted a simple boilerplate that anyone who reads the list can use. For most things /bin/sh works well, but the overhead of ksh on a modern server is negligible. Now, instead of redirecting each line of output into MAILFILE, then mailing, and removing it, you should be either outputing everything directly into mail: { cat $REPORT_LOG_HEADER echo$MAILFILE echo$MAILFILE echo BR BR $MAILFILE cat $REPORT_LOG_FOOTER } | $MAIL -s the report name $MAILTO This was done as an example. In many cases I have reports generated in html, and simple email the URL of the report. or, if you want to use the temporary file, use exec to redirect into it _once_, instead of _on every line_: exec $MAILFILE cat $REPORT_LOG_HEADER printf \n \nBRBR\n $MAIL -s the report name $MAILTO $MAILFILE $RM $MAILFILE This may look nicer, but is not, because temporary files are nasty, and you need to be sure, that you remove them in case you are interrupted (trapping signals, etc.) I removed the signal handling from my example as I didn't want to add that much complexity. It is trivial to add proper signal handling. I was surprised, one can not redirect into a pipe directly. The following did not work, as I expected, with neither /bin/sh nor /usr/local/bin/ksh93. The following, I thought, would be the same as my first example, only nicer-looking: exec | $MAIL -s the report name $MAILTO cat . But it is not. So you have to chose from one of the first two examples. This is UNIX. Meaning there are many ways to accomplish tasks. Just choose the tools and methods you want. I strive to make cron scripts simple and portable. I support a multitude of servers running different UNIX versions and flavors. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation woes with 6.2 release
At 07:47 PM 7/9/2007, Kurt Buff wrote: On 7/9/07, Derek Ragona [EMAIL PROTECTED] wrote: At 04:20 PM 7/9/2007, Kurt Buff wrote: On 7/9/07, Derek Ragona [EMAIL PROTECTED] wrote: At 03:43 PM 7/9/2007, Kurt Buff wrote: I've got a machine with 2GB of RAM, onto which I can install Windows XP with no issues. However, FreeBSD 6.2 Release is giving me fits on this machine. If any of you have insight, I'd surely appreciate you sharing The motherboard is an Intel D645 GEBV2. I've tried a couple of different disk arrangements, with no success. I've installed an IDE WD 180GB drive, which the motherboard BIOS detects just fine. When I boot from disk 1 for the FreeBSD install, it detects no hard drive. I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL 1352A chipset, but the install blows up when installing to a 74GB Seagate drive - the kernel panics and it reboots while copying files to disk. Has anyone run into these problems? Google hasn't been particularly my friend on this one. I've tried reading the install docs on the CD, with no particular luck, but I could be missing something. Clearly you have a disk controller compatibility problem. I do know the Sil chips are terrible, and there is a long history of issues with these chips and FreeBSD! Can you find a regular IDE drive to plug into that motherboard? -Derek Plugging an IDE drive into the motherboard is the first thing I did - that's the case above where FreeBSD didn't see *any* HD. That's the one that really fries my brain, because the motherboard BIOS detects it correctly, and XP installs to it just fine. Any possibility the IDE master/slave jumper is not set right on that drive? On some intel MB's it takes a reboot into setup so that setup see's the hard drive, then check that it has that hard drive in the boot order. I know this seems a bit simple, but just trying to check all possibilities. I've never seen a problem with a standard IDE drive installation. After you had XP on the drive did you reformat the drive to clear it out? -Derek I think I'll go beat my lackey again. He was supposed to remove the jumper, and didn't do it. I took it off, and it's installing happily to the IDE drive. I'm gonna bag the SATA for now. Thanks for your help, Kurt I'm glad I could help. As an FYI windows ignores a lot of hardware issues until it simply can't run anymore, where FreeBSD is much better at error checking. Of course sometimes that can make it frustrating. If you can get a decent SATA controller you might try adding or switching to SATA in the future, but avoid the Sil ones. -Derek -- 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: mergemaster not found
At 01:15 PM 7/9/2007, Jean-Paul Natola wrote: I've restart in SUM and when I attempt* to run mergemaster it returns; Where should I run this from? You may need to be sure all your mounts are mounted, not just / try: mount -a -Derek -- 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: mergemaster not found
At 01:35 PM 7/9/2007, Jean-Paul Natola wrote: -Original Message- From: Derek Ragona [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 2:26 PM To: Jean-Paul Natola; freebsd-questions@freebsd.org Subject: Re: mergemaster not found At 01:15 PM 7/9/2007, Jean-Paul Natola wrote: I've restart in SUM and when I attempt* to run mergemaster it returns; Where should I run this from? You may need to be sure all your mounts are mounted, not just / try: mount -a I tried that - it worked- sort of I ran the mergemaster -p - then when it completed I tried make installword and I STILL get the audit group is missing- which I was under the impression that mergemaster -p was suppose to address that - No, sounds like you are doing an upgrade and didn't read /usr/src/UPDATING If you check that file you will see things you need to do like add any missing groups. -Derek -- 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: password failure- after mergmaster
At 03:06 PM 7/9/2007, Jean-Paul Natola wrote: OOOPSS- I got mergemaster to run- but now that the system restarted the root password and my password are invalid- I can ONLY start in single user mode- I still do have level 0 dump of 5.4 on my network is this my only option This really sounds like you did an upgrade that went bad. If you did upgrade you can do a restore from your dump, and try again. Or just check or reset the root password in single user. What error are you getting going into multi-user? -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation woes with 6.2 release
At 03:43 PM 7/9/2007, Kurt Buff wrote: I've got a machine with 2GB of RAM, onto which I can install Windows XP with no issues. However, FreeBSD 6.2 Release is giving me fits on this machine. If any of you have insight, I'd surely appreciate you sharing The motherboard is an Intel D645 GEBV2. I've tried a couple of different disk arrangements, with no success. I've installed an IDE WD 180GB drive, which the motherboard BIOS detects just fine. When I boot from disk 1 for the FreeBSD install, it detects no hard drive. I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL 1352A chipset, but the install blows up when installing to a 74GB Seagate drive - the kernel panics and it reboots while copying files to disk. Has anyone run into these problems? Google hasn't been particularly my friend on this one. I've tried reading the install docs on the CD, with no particular luck, but I could be missing something. Clearly you have a disk controller compatibility problem. I do know the Sil chips are terrible, and there is a long history of issues with these chips and FreeBSD! Can you find a regular IDE drive to plug into that motherboard? -Derek -- 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: Installation woes with 6.2 release
At 04:20 PM 7/9/2007, Kurt Buff wrote: On 7/9/07, Derek Ragona [EMAIL PROTECTED] wrote: At 03:43 PM 7/9/2007, Kurt Buff wrote: I've got a machine with 2GB of RAM, onto which I can install Windows XP with no issues. However, FreeBSD 6.2 Release is giving me fits on this machine. If any of you have insight, I'd surely appreciate you sharing The motherboard is an Intel D645 GEBV2. I've tried a couple of different disk arrangements, with no success. I've installed an IDE WD 180GB drive, which the motherboard BIOS detects just fine. When I boot from disk 1 for the FreeBSD install, it detects no hard drive. I've put in an Addonics ADSA2 PCI SATA card, which sports the SiL 1352A chipset, but the install blows up when installing to a 74GB Seagate drive - the kernel panics and it reboots while copying files to disk. Has anyone run into these problems? Google hasn't been particularly my friend on this one. I've tried reading the install docs on the CD, with no particular luck, but I could be missing something. Clearly you have a disk controller compatibility problem. I do know the Sil chips are terrible, and there is a long history of issues with these chips and FreeBSD! Can you find a regular IDE drive to plug into that motherboard? -Derek Plugging an IDE drive into the motherboard is the first thing I did - that's the case above where FreeBSD didn't see *any* HD. That's the one that really fries my brain, because the motherboard BIOS detects it correctly, and XP installs to it just fine. Any possibility the IDE master/slave jumper is not set right on that drive? On some intel MB's it takes a reboot into setup so that setup see's the hard drive, then check that it has that hard drive in the boot order. I know this seems a bit simple, but just trying to check all possibilities. I've never seen a problem with a standard IDE drive installation. After you had XP on the drive did you reformat the drive to clear it out? -Derek -- 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: Adding a new command
At 11:35 AM 7/7/2007, Lisa Casey wrote: Hi, Once I get this new system going I promise I'll quit pestering you folks :-) Got another question. This should be simple to answer. I've done this before but can't seem to replicate it this morning. I have a few scripts my employees use to do things such as add a new radius user, restart the radius server and tail the radius log file. The most simple one is radlog. The file radlog contains the line: tail -f /var/log/radius.log I need to be able to type radlog from anywhere on the system and have it work. I put the file radlog in /bin (/bin and /sbin are all in my shell's path). Ownership is root/wheel permissions are 555 (I've tried 700 and 777 - these don't need write access though). But when I type radlog I get command not found. I can type ./bin/radlog and it works but I don't want that. I thought if the file was in my path and if it was executable just typing the name of the file from anywhere would work but evidently I'm overlooking something. What? Thanks, Lisa Casey Try testing with a new login session. It is likely your shell is caching the commands in your paths. You can easily test after logging in and try the which command: which radlog On the permissions, you would do well to setup a special group to execute the commands making it easier for users to execute them without being root. If your new utilities are working with log files be sure the log files are readable by this group as well. As previously mentioned added user commands are customarily placed in /usr/local/bin doing so will aid any new sysadmin looking for them. -Derek -- 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: Memory mannagment
At 01:15 AM 6/14/2007, cadastrosonline cadastrosonline wrote: First of all, Each process has its own private address space. The address space is initially divided into three logical segments: text, data, and stack. You would be wise to read up on Processors and assembly language programming. The concept of segments is part of assembly language programming and often is built into CPU's. In the case of the intel 80x86 line this is very true. To answer the questions: text is usually program code, and should not be modifiable stack is temporary storage of program values and variables data is data for the program, this defines variable used in a program But if the address is just something like 343556 then how does it really work? The memory is divided into segments is that what it means? Segments are kept separated by the CPU, and some treatment of segments can be enforced with some CPU's. Text being non-modifiable is possible using some CPU's. Some data segments can be read only as well. To address memory locations vary by CPU and even by the mode the CPU is running in. Some are linear address, but not necessarily. The data segment contains the initialized and uninitialized data portions of a program In the case of a modifiable data segment, it will contain initialized data, and non initialized data. initialized data looks like: int i=5; versus uninitalized data: int j; Is it talking about multithreading? I COULDNT FIND anything talking about how freebsd deals with multithreading, just found out it does it by man pthread. Threading is a separate topic. Segments and how they work predates multi-threading. Tell me anything else interesting to know about memory mannagment, does it use any algorithm to substitute a page when out of pages in memory? such as second chance fifo lru (last recently used) nfu (not frequently used) and so on? I am studying freebsd but sometimes I am out of ways to find out, yes I am reading the handbook about memory mannagment as you can see my quotes but sometimes I don't understand. Memory management varies by CPU and operating system. You would need to research each implementation to understand how it is handled in each case. Memory management should be transparent to application programers, and usually is only required for those programing device drivers and other hardware level devices. -Derek -- 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: Upgrade FreeBSD 6.1 to 6.2 - ports upgrade
At 08:50 AM 6/7/2007, Dominik Zalewski wrote: Dear All, I'm planning to upgrade my FreeBSD 6.1 box to 6.2. Should I remove all installed ports and rebuild them under 6.2 ? Thanks in advance, You don't need to remove them. But you should run portmanager or portupgrade to rebuild them all after you upgrade. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xserver not starting
At 07:55 AM 6/7/2007, dhaneshk k wrote: Hi this is Dhanesh I have done a portupgrade of xorg in my freebsd6.1 box this box was working fine with gnome2.18 for the last 3 months ,but now for building OpenOffice in this box ,its needed to do a portupgrade of xorg , so I followed as per /usr/ports/UPDATING , but doing this a power failure occurs and system restarted before its completion while doing portupgrade -a -x 'gstreamer*', but after restart I cant get the desktop its showing gdm_server_spawn:xserver not found just now it happened , how can I retrive my Desktop environment ? Please help me with any solution to retrieve the desktop environment.. You can pickup the upgrade process where you left off, just restart portupgrade -a -x 'gstreamer*' -Derek -- 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: Xorg crashes while loading XFCE4
At 11:32 AM 6/6/2007, Gerard Seibert wrote: FreeBSD-6.2 Xorg-7.2 I had 'xfce4' working perfectly under Xorg-6.9; however, after updating to version 7.2, I cannot get the windows manager loaded. I moved the /etc/X11/xorg.conf file and build a new one using Xorg --configure. I was then able to at least begin loading the program before it crashed. I reinstalled the entire 'xorg' meta port as well as the 'xfce4' meta port. I used an updated ports tree for this task. Unfortunately, I still cannot get this to load. I have posted a copy of the '/var/log/Xorg.0.log' file at: http://seibercom.net/logs/Xorg-log.txt I also have a copy of the script I created when typing in 'startx' available at: http://seibercom.net/logs/startx.txt There is one interesting point however. I noticed this error message: ** (xfce-mcs-manager:82803): WARNING **: display_plugin: Unable to configure display resolution Failed to run gnome-keyring-daemon: Failed to execute child process gnome-keyring-daemon (No such file or directory) ** (xfwm4:82807): WARNING **: The display does not support the XComposite extension. ** (xfwm4:82807): WARNING **: Compositing manager disabled. (xfwm4:82807): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate memory) Looks like the above is the fatal error. I suspect you rebuilt xfwm4 for shared memory, shmget. You need to add this to your kernel, or rebuild xfwm4 not to use it, if that's possible. -Derek -- 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[2]: Xorg crashes while loading XFCE4
At 02:40 PM 6/6/2007, Gerard wrote: On Wednesday June 06, 2007 at 01:03:21 (PM) Derek Ragona wrote: [snip] Looks like the above is the fatal error. I suspect you rebuilt xfwm4 for shared memory, shmget. You need to add this to your kernel, or rebuild xfwm4 not to use it, if that's possible. OK, how do I get 'shmget' activated in the kernel. I cannot find any reference to it in the 'GENERIC' kernel file. Where else could I look for information on it? I tried Googling, but got nowhere. Add to your kernel config file: options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[3]: Xorg crashes while loading XFCE4
At 03:03 PM 6/6/2007, Gerard wrote: On Wednesday June 06, 2007 at 03:57:00 (PM) Derek Ragona wrote: [snip] Add to your kernel config file: options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores That is what I thought. They are present in the file. I am on version P5 right now. I will try rebuilding the kernel again later tonight. Perhaps the update to Xorg-7.2 caused something to break, although I have no idea how. I had to do the update, per /usr/ports/UPDATING then reinstalled all of the xorg meta port. I had library problems where some of the X bits were built with the wrong libaries. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COM1 problems
At 03:01 AM 6/3/2007, Tim Judd wrote: I'm subscribed to the digest, everyone -- send CC me on every reply please... Hi there, new installation, 6.2-STABLE. I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it. I know it talks with it, because it has in the past. The problem I'm getting is that NUT is just filling the screen with errors, tty overflows, and various problems related to communication on that port with the UPS. Looking at NUT's website, they say the UPS communicates at 2400 baud 8N1 and I'd like to believe that. I tested without specifying a speed: # tip com1 and didn't get anything.. waited 30 seconds or so. After reading NUT's website, I tried: # tip -2400 com1 and got binary data (not readable information, but data none-the-less). The kernel reports the port as sio0, but sio0 doesn't exist in /dev the only serial port I see is cuad0{,.init,.lock} and that seems to be hard-coded by some init script (but I don't know where). cuad* also is said to be a dialout line, not a generic com device. /etc/remote does indicate it is a generic device in the sense it will just pass input/output... How can I configure /dev/cuad0 to be 2400 baud fixed? thanks for any tips and pointersit's been a while since I've dealt with serial ports. I have a similar setup with no issues. You do need to be sure you have the correct nut driver for your UPS, and the cable tight. -Derek -- 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: Help with Bind config syntax for reverse DNS on subnet
At 03:44 PM 5/31/2007, Rob wrote: Hi, was hoping someone could help me with the correct syntax in my named.conf for reverse DNS on a small subnet. Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through 10.0.0.31 -- If I add a zone like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; }; ...I can define addresses for my little block, but reverse lookups on the rest of 10.0.0.x seem to fail. What's the correct way to configure Bind for this? You are missing any way to allow slaves to read the maps, so you might do something like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; allow-transfer ( 10.0.0.2; and any other nameserver IP's; ); }; Then in your file: 0.0.10.in-addr.arpa list your addresses even if some are DHCP. 1 IN PTR router.domain.name. 2 IN PTR ns.domain.name. 3 IN PTR DHCP-10-0-0-3.domain.name. etc . . . -Derek -- 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: Nvidia 8800 GTS
At 01:16 PM 5/25/2007, Alexandre Vieira wrote: Hello folks, I've bought a Nvidia 8800GTS 320MB DDR and i'm trying to get it working with freebsd. I've installed Xorg 7.2 and the nvidia driver. The driver detects the card correctly and displays the card info correctly. When I launch Xorg with the nvidia driver I get a striped green screen and the machine freezes completely. I can't see any X logs because it crashes immediately. Sounds like you don't the right refresh settings for your monitor. Double check the refresh rates you choose in configuring X and the resolutions too. -Derek -- 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: raid or not raid
At 05:30 AM 5/24/2007, kalin mintchev wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... thanks. It is likely a hardware raid setup in the hardware BEFORE FreeBSD was installed. In this type of setup the RAID array just looks like a regular hard disk to the OS. -Derek -- 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: nvidia-driver segmentation fault
At 07:26 AM 5/24/2007, Ernest Sales wrote: To celebrate te Xorg upgrade I got rid of all ports installed in my system, then did a fresh install. No problems building; well, I installed first gnome-lite expecting it would pull the complete xorg meta-port and finally had to install this to get all the stuff, but suppose this is harmless. Now, the sad history: I can run X apps with the nv driver, but the nvidia-driver fails. Typescript [...comments...]: [...using the nv driver...] # X -config xorg.conf.new X Window System Version 7.2.0 Release Date: 22 January 2007 X Protocol Version 11, Revision 0, Release 7.2 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 24 11:20:28 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386 Build Date: 21 May 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:56:19 2007 (++) Using config file: /root/xorg.conf.new (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found) [...works fine; same if I launch the desktop...] [...now as configured with nvidia-xconfig...] # X -config /etc/X11/xorg.conf X Window System Version 7.2.0 Release Date: 22 January 2007 X Protocol Version 11, Revision 0, Release 7.2 Build Operating System: FreeBSD 6.2-STABLE i386 Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 24 11:20:28 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386 Build Date: 21 May 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:57:34 2007 (++) Using config file: /etc/X11/xorg.conf [...shows the nvidia splash screen and then aborts...] Fatal server error: Caught signal 11. Server aborting Abort (core dumped) # tail /var/log/messages [...] May 24 11:57:37 asinusaureus kernel: pid 1840 (Xorg), uid 0: exited on signal 6 (core dumped) No relevant info in xorg logs. After much looking, I am still clueless. Any hint? Make sure you are using the correct driver for your specific graphics chip. Older chips need a legacy driver you have to install yourself. There is information on the nvidia website. -Derek -- 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: Missing MBR ?
At 03:09 PM 5/13/2007, Joseph Marah wrote: All of a sudden my MBR prompt has disapeared and replaced by the following: Intel(R) Boot Agent FEv4.1.17 Copyright (C) 1997-2004, Intel Corporation Intel(R) BootAgent PXE Base Code (PXE-2.1 buildbuild 085) Copyright (C) 1997-2004, Intel Corporation Client MAC addr .) GUID... PXE-E53:No boot filename received PXE-M)F:Exiting Intel Boot Agent. It then hangs indefinitely. Your boot order is changed, and perhaps not even trying to boot from the hard drive. The above message is trying to boot from the network. Check your BIOS settings. -Derek -- 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: Sendmail mail.local Failure
At 11:48 AM 5/12/2007, [EMAIL PROTECTED] wrote: For some reason, my local mailer is failing. I can send and receive to remote servers just fine, but I can't transfer mail locally. /var/log/maillog says: sm-mta[31955]: starting daemon (8.14.1): [EMAIL PROTECTED]:30:00 sm-mta[31955]: started as: /usr/sbin/sendmail -L sm-mta -bd -q30m sm-msp-queue[31959]: starting daemon (8.14.1): [EMAIL PROTECTED]:30:00 sm-mta[31957]: l4CFZl3v031717: smtpquit: mailer local exited with exit value 1 sm-mta[31957]: l4CFZl3v031717: to=[EMAIL PROTECTED], delay=00:50:00, xdelay=00:00:00, mailer=local, pri=241792, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local In my mc file, I have (Among other settings): FEATURE(local_lmtp) MAILER(local) MAILER(smtp) Why's the mail getting deferred? It is deferred becuase sendmail isn't running. Check your sendmail settings in /etc/rc.conf. -Derek -- 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: No SMB/Samba support on Windows Home Editions
At 03:49 PM 4/27/2007, L Goodwin wrote: I've been working feverishly to set up a Samba share on FreeBSD 6.2 server to provide file storage for clients running Windows XP Pro and Windows Vista Home Premium. I just had a long talk with the ISP's tech support, and was told a number of things that I would like to confirm or deny: 1) Windows Home editions (including XP and Vista) have support for SMB protocol disabled in Active Directory Domain Connections functionality! Is this true? Not exactly. Home edition CANNOT log into a domain or active directory. If you need that functionality, upgrade to XP Pro. 2) The only way to make Samba work for Windows Home editions is to change the Samba server's domain configuration to peer-to-peer. Is this true? If YES, how do I do that? Could not find reference it in the Official Samba-3 HOW TO and Reference Guide. I've never done that so am no help. 3) Other options discussed: 1) Replace Vista Home with Windows XP Pro (or Vista Pro) or exchange computer for one with a Pro edition. Vista licenses can be downgraded to XP. You need to check on which versions can be downgraded to XP Pro. 2) Repartition the RAID 1 Mirror/Duplex as NTFS (or DOS) partitions (and don't use Samba)? Feedback and reference on a good how to appreciated. I assume you mean just setup a windows box. You can do that, but your hardware is so slow it won't perform well under windows. 3) Change FreeBSD server to a Windows server (ugh). Can anyone address these assertions and/or provide assistance in other ways to use FreeBSD as a fileserver for Windows Home (and Pro) clients? He also cited a recent InfoWorld survey in which 30% of companies responding plan to never implement Vista, that they consider it an interim version that will be used as an excuse for dropping legacy support. No one I know is jumping to vista until service pack one ships. -Derek -- 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: can't add any new users
At 02:31 PM 4/25/2007, Charlie McElfresh wrote: Hi, I recently upgraded all my machines to 6.2 RELEASE. All my machines except one work fine. On one of my machines, I can log in from the console to the super user account, but I could not su to my user account. So, I backed up all my data, and I deleted my user account. Then, I added it back with adduser. When I look in /etc/passwd and /etc/group, I'm in there. When I try to su to my newly created account, I get this message: Bad system call (core dumped) I tried removing my account with rmuser, then adding it back again -- same problem. Any ideas? Charlie You didn't say how you upgraded this server to 6.2, nor from what version. I suspect you have an old or missing library. You might do well on this server to cvsup, buildworld, and install world. -Derek -- 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: FreeBSD 6.2 Boot Issue
At 10:49 AM 4/26/2007, [EMAIL PROTECTED] wrote: I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i Smart Controller installed. The installation was flawless. When I reboot the server after the installation, the boot loader screen is displayed. I press F1 and the system beeps and comes back to the boot loader prompt. What should I be looking at? I am at a loss since I usually end up with leftover hardware and this time I acutally got to purchase new hardware just for this project. Any suggestions would be greatly appreciated. Thanks for your help. Check your BIOS that you are ALLOWING the boot sector to be written. If that is OK, try disabling hyperthreading if that is turned on in your BIOS. -Derek -- 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: FreeBSD 6.2 Boot Issue
At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote: Both of those checked OK. Is it possible I have specified the C/H/S incorrectly during setup? Thanks, What is your type and model hard drive? Did you specify the geometry when you ran sysinstall? How did you partition and slice the hard drive? -Derek Jay At 10:49 AM 4/26/2007, [EMAIL PROTECTED] wrote: I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i Smart Controller installed. The installation was flawless. When I reboot the server after the installation, the boot loader screen is displayed. I press F1 and the system beeps and comes back to the boot loader prompt. What should I be looking at? I am at a loss since I usually end up with leftover hardware and this time I acutally got to purchase new hardware just for this project. Any suggestions would be greatly appreciated. Thanks for your help. Check your BIOS that you are ALLOWING the boot sector to be written. If that is OK, try disabling hyperthreading if that is turned on in your BIOS. -Derek -- 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. -- 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: FreeBSD 6.2 Boot Issue
At 01:16 PM 4/26/2007, [EMAIL PROTECTED] wrote: At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote: Both of those checked OK. Is it possible I have specified the C/H/S incorrectly during setup? Thanks, What is your type and model hard drive? Did you specify the geometry when you ran sysinstall? How did you partition and slice the hard drive? -Derek Derek, In the server I currently have three 376595-001 drives (146 GB serial SCSI) and three 432146-001 drives (300 GB serial SCSI). These drives are configured as a single drive in a RAID 5 configuration. I did not specify any geometry during the installation. I have the hard drive configured as a single partition with the appropriate lables (/, /var, /usr, /tmp and a swap area). Thanks for your help. Sounds like your system is not booting, but you're not getting any error message. Check the boot order in your BIOS, and turn on diagnostic boot messages if they are not turned on. Does they system boot from a CD ok? -Derek Jay Jay At 10:49 AM 4/26/2007, [EMAIL PROTECTED] wrote: I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i Smart Controller installed. The installation was flawless. When I reboot the server after the installation, the boot loader screen is displayed. I press F1 and the system beeps and comes back to the boot loader prompt. What should I be looking at? I am at a loss since I usually end up with leftover hardware and this time I acutally got to purchase new hardware just for this project. Any suggestions would be greatly appreciated. Thanks for your help. Check your BIOS that you are ALLOWING the boot sector to be written. If that is OK, try disabling hyperthreading if that is turned on in your BIOS. -Derek -- 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. -- 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. -- 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: FreeBSD 6.2 Boot Issue
At 01:31 PM 4/26/2007, [EMAIL PROTECTED] wrote: At 01:16 PM 4/26/2007, [EMAIL PROTECTED] wrote: At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote: Both of those checked OK. Is it possible I have specified the C/H/S incorrectly during setup? Thanks, What is your type and model hard drive? Did you specify the geometry when you ran sysinstall? How did you partition and slice the hard drive? -Derek Derek, In the server I currently have three 376595-001 drives (146 GB serial SCSI) and three 432146-001 drives (300 GB serial SCSI). These drives are configured as a single drive in a RAID 5 configuration. I did not specify any geometry during the installation. I have the hard drive configured as a single partition with the appropriate lables (/, /var, /usr, /tmp and a swap area). Thanks for your help. Sounds like your system is not booting, but you're not getting any error message. Check the boot order in your BIOS, and turn on diagnostic boot messages if they are not turned on. Does they system boot from a CD ok? -Derek Yes, the system boots from CD just fine. And, it is able to run newfs during the install without any problems. The total size of the drive is 683.5 GB. The boot order in the BIOS is CD and then E200i controller. Thanks, Jay Can you boot the CD, mount the root filesystem and check that everything is there (/boot /kernel, etc.) -Derek Jay Jay At 10:49 AM 4/26/2007, [EMAIL PROTECTED] wrote: I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i Smart Controller installed. The installation was flawless. When I reboot the server after the installation, the boot loader screen is displayed. I press F1 and the system beeps and comes back to the boot loader prompt. What should I be looking at? I am at a loss since I usually end up with leftover hardware and this time I acutally got to purchase new hardware just for this project. Any suggestions would be greatly appreciated. Thanks for your help. Check your BIOS that you are ALLOWING the boot sector to be written. If that is OK, try disabling hyperthreading if that is turned on in your BIOS. -Derek -- 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. -- 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. -- 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] -- 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: first of misc questions....
At 02:29 AM 4/25/2007, Gary Kline wrote: Guys, This is an awk-type question. Hopefully a one-liner. If I need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is), that's okay... I want to do an ls -l in a /home/kline/directory and find and edit files that are dated (let's say) Apr 19 or Mar 26. This works to print $9 the filenames. ls -l| awk '{if ($6 == Apr $7 == 19 || $6 == Mar $7 == 26 ) print $9}' What's the final part to get awk to vi $9? Or another pipe and xargs and what vi? Nothing simple works, so thanks for any clues! I would use a simple approach incase you need to re-edit the list since editing will change file times: ls -l| awk '{if ($6 == Apr $7 == 19 || $6 == Mar $7 == 26 ) print $9}' /tmp/myfilelist then you can: for i in `cat /tmp/myfilelist`;do vi $i;done if you don't want to use a file, you can do in one shell loop too, but again this will change your file modification times: for i in `ls -l| awk '{if ($6 == Apr $7 == 19 || $6 == Mar $7 == 26 ) print $9}'`;do vi $i;done -Derek -- 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: Samba connection fails
At 03:38 PM 4/24/2007, L Goodwin wrote: I installed the samba-3.0.23c_2,1 package on a server destined for a small office network running Windows clients. Have not yet configured the network settings. Am trying to test the Samba configuration offline before connecting it to the network (router connected to cable modem, clients connected to router via Cat-5e Ethernet). Issues/Questions (see Samba configuration details at end of email): This is a bit off-topic here. There are samba lists that will better serve you. 1) smbclient -L hostname fails with Connection to SERVER failed. Get same error for smbclient //SERVER/sambavol. What does this mean? 2) What value to assign netbios name in smb.conf? The netbios name is the server's name your client pc's will see for those shares. It will be case insensitive and needs to be a unique name for the LAN. 3) What degree of network configuration is necessary for smbclient -L hostname to work? You need a proper IP stack running that will hit the gateway for your LAN. 4) How to verify that Samba3 package was installed successfully (other than lack of warnings/errors during install)? Use a client computer and test the connection. There are utilities to help, but they don't always completely test a windows client connecting. SAMBA CONFIGURATION DETAILS: 1) Create smb.conf file in /usr/local/etc: [global] workgroup = office netbios name = tbd (is this required, and how/where to get/set it?) It is the server name you will use on your LAN. Make it up. security = share [sambavol] path = /sambavol browseable = yes writeable = yes printable = no 2) Add entry to start samba in /etc/rc.conf: samba_enable=YES 3) Start Samba: /usr/local/etc/rc.d/samba start (to stop samba: /usr/local/etc/rc.d/samba.sh stop) Or it will start on boot-up. Note: Need to keep the file server synced with Internet standard time (see NTPD(8) man page). Tests: -- 1) Verify that smb.conf file is in the right directory (gets read): which smbd# Get location of smbd (output: usr/local/sbin/smbd) cd /usr/local/sbin# cd to the directory containing smbd! smbd -b | grep smb.conf# Get location of smb.conf (verify path is correct) (output: CONFIGFILE: /usr/local/sbin/smb.conf) RESULT: OK 2) Test Samba configuration file: cd /usr/local/etc testparm smb.conf RESULT: OK 3) List shares available on server: smbclient -L hostname RESULT: FAIL (Connection to SERVER failed) Additional Samba Configuration Steps: 1) Uncommented the following lines in /etc/inetd.conf and rebooted: #netbios-ssnstreamtcpnowaitroot /usr/local/sbin/smbdsmbd #netbios-nsdgramudpwaitroot/usr/local/sbin/nmbd nmbd On reboot, get these boot messages: ... Removing stale Samba tdb files: .. done Starting nmbd. Starting smbd. Starting usbd. ... RESULT: Still getting Connection to SERVER failed. Depends on how you are trying to do your authentication. Check your smb.conf. If you are going to authenticat against an existing windows domain or active directory you need to compile windbind in your samba. -Derek -- 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: raid controller intel 82801GR/GH
At 03:23 PM 4/24/2007, J.C. França wrote: greetings, does anyone know about freebsd 6.2 compatibility with intel controller 82801GR/GH, running RAID 10? Have you tried creating your RAID 10 array first and installing FreeBSD? -Derek -- 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: Invalid Global DNS name and sendmail
At 02:19 PM 4/23/2007, Andrew Fremantle wrote: Hello, I've got a machine on the local network, with a local DNS name (which is not a valid name in the global DNS). My problem is that I cannot kludge sendmail into behaving nicely and allow the periodic(8) mailings to get through. The machine is named psyche.local domain1.com is a domain that we own, but this machine has nothing to do with it. I want the emails delivered to [EMAIL PROTECTED] This is not an email server in any way - All I care about it getting my periodic output. Here are the settings I'm trying : /etc/mail/psyche.local.mc define(`SMART_HOST', `mail.telus.net') define(`MAIL_HUB',`mail.telus.net') define(`confDOMAIN_NAME',`domain1.com') MASQUERADE_AS(domain1.com) MASQUERADE_DOMAIN(psyche.local psyche) FEATURE(`allmasquerade') FEATURE(`masquerade_envelope') /etc/mail/genericsdomain psyche.local /etc/mail/genericstable root[EMAIL PROTECTED] andrew [EMAIL PROTECTED] /etc/mail/aliases root : [EMAIL PROTECTED] /etc/hosts 192.168.2.10 psyche psyche.local With all the configurations I've tried, emails are rejected by my smarthost with an error like sender address [EMAIL PROTECTED] invalid; domain does not exist. What I'd like to do is find a way to alter sendmail's perception of my hostname. Ideally, this would only affect sendmail and nothing else. I can't possibly be the only person running such a configuration. How have other people in the list worked past this? You don't need to go to such efforts. The stock sendmail mc file should do fine with just a couple modifications. The details are here: http://www.sendmail.org/faq/section3.html#3.22 Check your name resolution order in /etc/nsswitch.conf that you check files first. modify /etc/hosts 192.168.2.10 psyche psyche.local. so it is a fully qualified domain name. You can forward all mail in /etc/mail/virtualusertable with a line such as: @psyche.local [EMAIL PROTECTED] Be sure to recompile your virtualusertable.db -Derek -- 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: Backup media choices for FreeBSD servers
At 07:01 PM 4/23/2007, L Goodwin wrote: I need to implement an automated backup facility on the FreeBSD file server I'm setting up for a client. It will have a software RAID 1 Mirror/Duplex that is made available to Windows XP SP2 and Windows Vista Home Premium users as a Samba share. I also plan to create system recovery disks (disk images) for the server and each Windows client. This leaves backing up user data on some schedule. I've read Backup Basics, but have some questions: Which is best backup media for a FreeBSD file server, based on known issues (or lack of) with each format? I need to decide between the following formats: a) CD-R (or CD-RW?) b) DVD-R (or CD-RW?) c) Streaming tape (which format/standard?) Which is the best method for backing up data files on a Samba sharer FreeBSD? Handbook says dump is the only way to go. Is it possible to have a Windows client perform the backup files on the Samba share to a local Re-Writable CD or DVD drive? If the answer is YES, what are the pros and cons of a UNIX-based (data-file only) backup vs. a Windows-based one? Please add to my list of pros and cons: Windows Backup: PRO: Backup can be restored to a Windows drive while server is being fixed? CON: Users might forget to replace backup disk after using optical drive. FreeBSD Backup: PRO: Out of sight from users (server is in a storeroom). CON: Cannot restore backup to a Windows disk while server is being fixed? These are some of my other considerations: 1) Cost is a primary concern. Budget does not allow for a multi-drive solution. Best if client does not handle backups (change discs/tapes), so a solution that permits storing several backups to same disc/tape preferred. 2) I only want to back up user data (not the OS). Current user data occupies less than 1GB of drive space, and is expected to grow at a modest rate. 3) I do NOT have a writable CD or DVD drive (but can buy one if not too spendy). 4) I have an external SCSI connection, but very little shelf space. 5) The server does not have room for another internal device (except if swapping out the existing ATAPI CD-ROM drive). 6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive that I assume is obsolete (comments appreciated). Anyway, I don't have room for it. 7) Have not yet settled on a backup schedule. May be weekly or monthly or ad-hoc, but daily is probably out of the question. The RAID 1 array is expected to provide some degree of protection in leieu of daily backups. Plan to back up all documents each time, rather than implement a two-tiered backup process. Thanks! You already have RAID 1 so you need more of an offline, removable media solution. You need to choose between CD, DVD, or tape. That is a cost and capacity issue, you need to do some price comparisons and choose what fits your budget. You can backup and restore all files UNIX and Samba/windows from the FreeBSD but not vice-versa. You would do well to setup some automated task, as in a cron job to do the backups. You will need a human to change whatever media you choose, and move it off-site occasionally too. For FreeBSD, be sure to backup /etc /usr/local/etc. You can use dump/restore, tar, pax, cpio, or one of the ports such as bacula. -Derek -- 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: Monitor and X
At 11:19 AM 4/22/2007, Richard Knebel wrote: Hi, I am trying to set up m y computer to use X in 6.2 I edited the xorg.conf file with my monitors Horiz and Vert freq, but whenever I try and do startX I get this message Out of Range Hfreq 81 khz VFreq 65 hz Thanks Rick Rick Knebel [EMAIL PROTECTED] You need to post back with at least the monitor settings you have in your xorg.conf file. -Derek -- 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: Monitor and X
0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection The only resolution you have defines is 1280x1024. You need to verify your monitor will handle the max refresh rates at that resolution. Usually at higher resolution, you need to drop the refresh rates. Look for a table in your monitor manual that has the refresh rate AND resolutions too. -Derek -- 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]
A slicing question
I have a machine with a large hard drive which is not completely partioned (in the MSDOS sense). I would like to take some of this unallocated space and make it a slice, label it and newfs it, but I am not sure if I can do this without screwing up the existing slice scheme. Are there any suggestions for the _RIGHT_ way to do this so I don't kill the existing scheme? -- Best regards, Derek Tattersall [EMAIL PROTECTED] [EMAIL PROTECTED][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: Anti Spam
At 11:43 AM 4/20/2007, Grant Peel wrote: Hi all, I am posting this question here because I know there are alot of ISPs using FreeBSD (including me) and am hoping to get feedback, either directly to me or to the list. We are wrestling (as I am sure many are), with spam. Up until now we have been employing Spamassassin locally and using some 3rd party Anti-Spam servervices that are getting less and less reliable as the weeks go by. We are considering two hardware solutions, Easyantispam and Barracuda. Barracuda is very expensive, so the most likely candidate is Easyantispam. Does anyone out there have thought on either or both of these? Usability? Reliability? Total Cost of ownership? Integration issues? Any thoughts will be appreciated, If your volume of mail is 5 per day don't use the baracuda. It won't keep up. -Derek -- 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: FW: IBM / FreeBSD - Install Update - Seems to be ACPI
At 11:32 PM 4/18/2007, Murray Taylor wrote: In our initial posts, we stated that we seemed to be having issues getting the machine to boot with the 4 processors, so to bypass this we disabled ACPI on boot. This allowed us to get past the CPU error and continue to boot. However down the track we noticed things like the ethernet adapater not getting picked up, and the big problem - none of the disks getting recognised. We have since tried a few things, one of which was removing all but one of the CPU's. If we do this, and boot with ACPI enabled, all is totally fine. All disks are found, and I receive no CPU panic error. So it appears to me that by disabling ACPI in an attempt to bypass the QUAD CPU problem, we are causing another issue behind the scenes. The root of the problem now appears to be, that if we have anything over 1 CPU, directly after the kernel is loaded (when booting from the CD), we receive the error message panic: madt_probe_cpus_handler: CPU ID 38 Too High. The moment a second CPU to the machineit bombs out. Have you tried booting a custom kernel with SMP enabled from the hard drives? You might try that and install another CPU and see how the system reacts. Are these CPU's hyperthreaded too? Or just single core CPU's? I have had problems installing with some systems if hyperthreading was enabled. Post installation with a custom SMP enabled kernel built I could turn hyperthreading on or off and the system booted and ran fine. -Derek -- 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: random hangs/reboots with Dell servers
At 05:54 AM 4/19/2007, Dimitris Zilaskos wrote: Dear all, I am trying to understand some long standing issues we have with freebsd and Dell servers. Over the last 3 year we have installed freebsd 5.x and 6.x, with currently deployed version being 6.1, to a variety of of Dell rack mounted systems. The Dell systems used so far are Poweredge 1750, 2950 (both scsi), and sc1425 (sata). All of them are dual CPU Xeon systems. All these systems serve as mail/web servers, with 2 to 15 jails. Installation has always proceeded normally without problems. However, after a few months of operation, all of these systems, purchased at different moments during the last 3 years, will begin rebooting randomly or freezing completely. These reboots/freezes will at first occur once per 6 months, then gradually will move to to once per month, to normally stabilize around once per week, but in the case of the 1750 system once it even happened twice a day. Load does not seem to matter, since even after shutting down all services in the servers, still random reboots occured. So far we tried various tricks digged from the archives, like disabling ACPI, HT, but nothing changed. We have migrated some systems that had these issues to RHEL compatible OS, and they run rock solid under heavy load. Right now I have enabled kernel crash dumps and I am waiting for the next crash. But I understad a lot of people use FreeBSD with Dell servers, and I would like to listen on how to tackle this situation we are facing. First make sure you are up-to-date on the FreeBSD version you are running, also make sure it is still a supported release. If not, update your src and rebuild everything. For the hardware I'd run complete diagnostics from dell on one of these servers, and any stress tests available as well. If the hardware all checks out OK, I would look for either an environmental cause such as heat. Heat can cause hardware problems that wouldn't show up otherwise. If neither of these looks like the cause, then you may need to swap-out a system board, or RAM as it must be a hardware issue. -Derek -- 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: Xorg crashing without overt error messages
At 10:31 AM 4/19/2007, Rob wrote: Hi All, I am having a problem with a new laptop where Xorg crashes but doesn't give any explicite info as to why. I have added at the end some of the output. Thanks! Rob Rob, I have seen this on some systems running nvidia drivers. I found if I cvsup'd and reinstalled the nvidia driver it would fire up just fine. -Derek -- 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: Missing all video drivers
At 02:07 PM 4/19/2007, Paul Schmehl wrote: If a fresh install is missing *all* the video drivers except vga, what went wrong? My box has a boatload of drivers; s3-virge, radeon, ati, etc. This new install (6.2 RELEASE) has *no* video drivers at all. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ You specify what X drivers/X servers in a separate part of sysinstall. In all likelihood you choose only the generic vga option. -Derek -- 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: IBM / FreeBSD Install problem
At 07:07 AM 4/18/2007, Murray Taylor wrote: Server: IBM X3850 (88633SM) CPU X 4: 40K2522 HDD X 6: 40K1051 IBM ServeRAID 8i: 39R8729 We are attempting to install FreeBSD 6.2-RELEASE onto this machine and are running into a problem getting the operating system to recognise the RAID controller. As a result not finding any disks when it comes to installing the O/S. We have attempted various modifications to the boot process, including the loading of an aac module, which according to the BSD website, should provide support for this type of controller. When we attempt to boot to OS to install after making these above modifications, the boot loader advises that this module already appears to be loaded, which contradicts what I believe. In any respect, it doesn't work either way (with or without the module manually loaded). One side note (which i don't think is contributing) is that when I attempt to start the boot loader with ACPI enabled, it freezes with the message cpu id 38 too high. However if I boot the boot loader with ACPI disabled, this message dissapears. It _may_ be a possibility that a bi-product of disabling the ACPI is causing the RAID controller to have issues. This appears to be an issue because of the X4 CPU count ?? That's a quick summary of the problem we have, and the path(s) we have been down to date to attempt to fix it. Any help you can provide would be very much appreciated. We are at the position now where we are prepared to pay for consulting services to get it going. Dave Faulkner / Murray Taylor Bytecraft Systems Are you creating an Array before you try the installation? What does the console show for the recognized hardware, and not recognized hardware? You can boot from CD and run dmesg to get this information. -Derek -- 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: Exercising ATA disks in hopes of revealing errors
At 11:56 AM 4/17/2007, Doug Poland wrote: Hello, I've just come into possesion of a bunch of 80GB ATA drives. I'd like to quickly and efficiently test each drive to see if it's free of errors and suitable for deployment in non-critical workstations. Using FreeBSD 6.x as a testing platform, what tools do people use to stress-test disk drives? I've searched ports and done some googling but nothing stands out. Thanks for your help. Use the manufacture's utilities to test the drives. Each manufacturer has bootable test and stress utilities. -Derek -- 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: Cant boot fresh install of freebsd 6.2 or dell poweredge 6650
At 09:21 AM 4/12/2007, Craig Russell wrote: I am a newbie using freebsd and have run into a problem on a new install on a dell poweredge 6650. I am installing to a hardeware raid 1 on an LSI Logic raid controller. The installation appears to go well but after a reboot the freebsd boot manager comes up with F1 to boot Freebsd (or default) and then it complains of no boot loader followed by a no /boot/kernel/kernel error. The default boot parameter is 0:ad(0,d)/boot/kernel/kernel I've tried different slices with the same results. I have tried using the MBR instead of the freebsd boot manager. I have tried different bios settings on the raid card (LSI logic in the poweredge 6650). I'm not really sure what to try next. I've even tried to install it on a different machine on a single sata drive with the same result. I am obviously doing something wrong but I can't for the life of me figure out what it is. Thank you for any help or direction you can provide. If you have tried on two systems, one with a standard IDE/SATA drive and that failed to boot as well, I would suspect the install media is bad. I would download a new ISO and burn a new cd. You might try an ISO from a different mirror. It is possible your CD is foobar. Be sure you get the correct disk 1 ISO from whatever mirror you use. -Derek -- 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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about the /etc/hosts file
At 07:54 PM 4/10/2007, RW wrote: On Tue, 10 Apr 2007 15:52:43 -0500 Derek Ragona [EMAIL PROTECTED] wrote: At 03:48 PM 4/10/2007, L33T Networks wrote: What is the second line with 10.20.30.199, and the hostname ends in a period? I've never seen this in a host file previous to FBSD v.6. apollo# cat /etc/hosts #::1localhost.mydomain.com localhost 127.0.0.1 localhost.mydomain.com localhost 10.20.30.199apollo.mydomain.com apollo 10.20.30.199apollo.mydomain.com. Is this something that's required for other IP addresses that will be added to the hosts file in the future? Names ending in a dot represent the fully qualified domain name. You do it all on one line but it gets too long to easily see and edit. But that doesn't explain why apollo.mydomain.com. appears as both a FQDN and a PQDN Actually it does. The partial names are shortcut aliases for that name. On this system you can do things like: ping apollo ping apollo.mydomain.com ping apollo.mydomain.com. So can any of the network services. Just makes it easier for us humans. As names are just used so us humans don't need to memorize IP addresses. -Derek -- 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: awk question
At 07:43 PM 4/10/2007, Gary Kline wrote: On Tue, Apr 10, 2007 at 06:35:33PM -0500, Derek Ragona wrote: At 06:17 PM 4/10/2007, Gary Kline wrote: On Mon, Apr 09, 2007 at 06:54:07PM -0700, Rick Olson wrote: I'm assuming you've already taken care of this, but to answer your original question in AWK form, you could have done the following: ls -l | awk '$8 == 2006 {system(rm $9)}' i'Ll save your snippet to my growing %%% awk file in my ~/HowTo, thankee much. I'm in the first stages on a months-long trial on system tuning. This, before I'd risk publishing anything. So far tho, by upping and lower the NICE prio of various binaries, I have been able to get more than 70% efficient use out of my older servers. ---This *ought* to carry over to my faster machines Is tthere a way of using ps -alx | ask to look at nice and if it is non-zero (the default), to reset it to zero? You can easily do some of this using top, such as: top -bS 200 | tail -n +9 | awk '{ print $5 }' If you want to tweak the nice value you'd need to examine the value and then renice it as long as you are root. You'd need the PID for that, so here's another example: top -bS 200 | tail -n +9 | awk '{ printf(Pid: %d has Nice: %d\n, $1,$5) }' Well, I knew there had to be a static way to read top. -bS is it. If NICE is 9, then renice-n -9 pid ought to reset it to 0; so in C, the check for nice or n would be trivial: if (n != 0) n = -n; In you example, would this be if ($1 != 0) $1 = -$1; then a '{system(renice -n $)}; or is this disallowed in awk? gary It is easier to redirect the output to a file then just execute that file. You'd usually have this in a shell script run by cron. top -bS 200 | tail -n +9 | awk '{ if ($1 != 0) printf(/usr/bin/renice %d %d\n, $1,-$5) }' /tmp/renice.scr sh -c /tmp/renice.scr But look at the file generated, you need to do more than just the check for 0 and then negate it. -Derek -- 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: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1
At 08:07 AM 4/11/2007, Isaac Grover wrote: Good morning, I am attempting to install FreeBSD 6.2-RELEASE on a Dell Dimension C521n (no Windows pre-installed) with a Sony model DDU1615S CD/DVD drive as the chosen boot media. Booting from the CD shows that the CD drive shows up as cd, and after doing the fdisk/disklabel stuff, trying to choose the CD drive as the chosen boot media gives me an error window with the message No CD/DVD devices found. I would include a dmesg output if I knew how to get to it during an install. Why can't FreeBSD see the CD drive after sysinstall starts when it can clearly see it before sysinstall starts? Thanks in advance, -- Isaac Grover, Owner Quality Computer Services of River Falls, Wisconsin Affordable I. T. Consulting, Web Design, and Web Hosting. Commercial and Residential Inquiries Welcomed. Web: http://www.qcs-rf.com What interface is the CD drive on? what interface is the hard drive using? Which version of FreeBSD are you installing i386 or amd64? -Derek -- 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: Chroot/jail mechanism in ssh and sftp connections
At 11:20 AM 4/11/2007, Thiago Esteves de Oliveira wrote: Thanks for the suggestion. I intend to study about this possible solution but to save time I'd like to ask you some questions. With this software, can I control which accounts from the unix passwd file will be able to log in? Yes just set the shell to a non-login shell for users you don't want to give shell access. Typically I set those user's shell to: /usr/bin/false If there is a symbolic link in the home directory(jail/chroot) that point to anywhere out of it, will the users be able to use this symlink? Will they go out from their jail/chroot directory this way? You can actually specify what ftp commands are allowed in the vsftpd.conf file in one server I manage I have set: cmds_allowed=PASV,RETR,QUIT,USER,PASS,STOR,CDDN,CWD,LIST,GET,PUT,DIR,PWD,SYST,LS,TYPE,DELE,FEAT,PBSZ,PROT But you'd probably want to remove any symlinks that shouldn't be there. Derek Ragona wrote: At 10:28 AM 4/10/2007, Thiago Esteves de Oliveira wrote: Hello, I want to use the chroot/jail mechanism in user's ssh and sftp connections. I've read some tutorials and possible solutions to jail/chroot the users into their own home directories. One is to install the openssh-portable(with chroot option turned on) from the ports collection. I've installed the openssh-portable, but the jail/chroot mechanism didn't work. I think it requires some configuration in its sshd_config file, but I'm not sure because I have found nothing about jail/chroot in the openssh(sshd_config) man pages. I have implemented a similar setup using vsftpd from the ports. It works well for secure ftp when used with the filezilla client. You can limit the ftp command in the vsftpd configuration file so users cannot get out of their home directories, which chroots them there. You do need to add one thing to the accounts, which is to change their home directory in /etc/passwd adding an additional dot. For instance if a users home directory is: /home/user You'd need to change it to: /home/./user vsftpd is well documented and relatively easy to get setup and running. -Derek -- 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: fetchmail checksum mismatch error
At 11:50 AM 4/11/2007, Zbigniew Szalbot wrote: Dear all, I tried updating fetchmail today from 6.3.6 to 6.3.8. I used portupgrade to do it. However, I got an error message about checksum mismatch. I suspect it may have something to do with me stopping the upgrade process because while downloading the files, the connection froze and there was no progress for about 15 minutes or so. So I pressect CTRL-C on the command line and tried again. Since then I have been getting checksum mismatch warnings and I am not able to upgrade. What should I do now? Your advice is very much appreciated! Thank you! -- Zbigniew Szalbot delete the downloaded bad file from /usr/ports/distfiles and then download a good file. -Derek -- 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: default shell behavior with aterm
At 05:42 PM 4/11/2007, Chad Perrin wrote: I've had to solve a problem with unexpected shell behavior when using aterm (my favorite terminal emulator) a couple of times now. This seems to be limited to aterm -- the same problems do not arise at the TTY console or in xterm. Back when I first set up the workstation I'm currently using, with FreeBSD 6.1, one of the unexpected differences from what's familiar to me (having come from Debian GNU/Linux) was the fact that in aterm the open parenthesis character, (, would behave as a backspace. I solved the problem at the time, with a bit of searching around. Part of what I did to solve the problem involved entering the following command into the .bashrc file for my user account: stty erase2 '^?' Since then, something happened (I just wasn't careful enough with my edits that file, I guess) to that line. Last night, I found myself trying to remember how to solve the problem of REPLs like OCaml's toplevel and the interactive UCBLogo shell treating the open parenthesis character as a backspace. Another part of the solution the first time around -- and one that has not gone away and needed to be refixed -- is to comment out these lines in the file /usr/ports/x11/aterm/Makefile: .if !defined(WITH_BSDEL) CONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key .endif My question is this: Is there some (good) reason that aterm's Makefile contains these lines? Is there some logically justified reason for causing aterm to break the principle of least surprise in this fashion -- since it obviously works differently (surprise!) from the behavior of other means of using the shell? Is this a bug I should submit? Actually you might want to have an entry added for this terminal to terminfo and termcap databases. I don't see an entry for it, and suspect it is using one of the generic definitions. -Derek -- 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: Unable to load a kernel !
At 06:34 PM 4/11/2007, Oscar Chavarria wrote: Error Message: Loading /boot/defaults/loader.conf Unable to load a kernel ! ' can't load 'kernel' System: AMD Athlon 64 +3000 1.8GHz - 1.0GB RAM - Windows Server 2003 originally installed. Background: Booting from CD FreeBSD seems to install without problems. Create user, add sysadmin password, some utilities. Then system cannot reboot when finished. When done manually, I choose F2 for FreeBSD and the referenced error message appears. Windows boots normally when chosen. Thank you in advance for your help. -- Regards Oscar Chavarria Mobile: +506 814-0247 Before you exit sysinstall you can check that the kernel has been copied in the emergency shell on alt+f4. You may need to manually copy copy the kernel. -Derek -- 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: Boot failure after installation
At 08:14 PM 4/9/2007, L Goodwin wrote: Derek Ragona said: Go into the SCSI BIOS and reset the SCSI to default values. If it still gives the same error on bootup, I would go into the SCSI BIOS and low-level format that first drive, and reinstall FreeBSD. On the reinstall, I would just do the partioning for that drive, and then install everything. That way it will run mostly by itself, you can just check on it for the last few prompts of the install finishing up. Derek, I just did the following, expecting that this would fix the glitch: 1) Reset the SCSI BIOS to Host Adapter Defaults: Matches prior configuration exactly. 2) Run a low-level format on SCSI device #0: No errors. 3) Install FreeBSD 6.2 from scratch. Note: I answered Yes to the prompt ACPI was disabled during boot. Would you like to disable it permanently?. I don't think it will boot if I enable ACPI. RESULT: FAIL - Still getting DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER 4) Ran Verify Disk Media on SCSI ID #0: Disk Verification Complete What else could it possibly be? Are there any other diagnostics I can run? What do you think of the fact that this machine was booting Windows 2000 from the same SCSI drive prior to installing FreeBSD 6.2? In case it matters, all SCSI drives are IBM DNES-309170W ULTRA2-LVD. Thanks! One other thing that might be happening is if the geometry of the drive isn't allowing an extended translation because of the age of your hardware, you may need to keep the boot partition, that is the entire boot partition (not talking slices here) within the first 1024 cylinders. In the partition tool in sysinstall you can change the display to show different units, and one of those will be cylinders. The 1024 cylinder limit is from older BIOS translations and if the boot partition extended beyond 1024 the system will give that same error you are getting. With older hardware you may need to use multiple partitions instead of slices. You can have 4 partitons on a drive (4 is hardcoded in the partition table size and a location) so you can add additional partitions for swap and /usr if you want. Any partitions you use for filesystems like /usr the boot manager will see and offer to boot them. They won't boot of course. Swap partitions are ignored by the boot manager. Otherwise, I'd suspect it is a problem with the 6.2 you are using then. If you try with a boot within the 1024 (I wouldn't push that to the limit I'd say try like 950 cylinders) then I would try an earlier version such as 6.1 or 6.0. -Derek -- 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: adding keyboard after reboot with no keyboard ...
At 09:55 AM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hate it when a subject doesn't easily present itself ... but ... Is there something that I'm missing, such that if I add a keyboard to a server *after* rebooting it with no keyboard, that will have that keyboard recognized? Basically, I have several remote servers, with no keyboards, but if I need a tech to check something on the console (ie. the ethernet went down for some reason), when they plug a keyboard back in again, there is no signal until they actually power cycle the machine ... which of course, is too late to do any diagnosis :( Thx ... This is a limitation of the hardware in the keyboards and the motherboards. The only solution I have found is to use a KVM switch which keeps the keyboard and mouse ports active during bootups. -Derek -- 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: Chroot/jail mechanism in ssh and sftp connections
At 10:28 AM 4/10/2007, Thiago Esteves de Oliveira wrote: Hello, I want to use the chroot/jail mechanism in user's ssh and sftp connections. I've read some tutorials and possible solutions to jail/chroot the users into their own home directories. One is to install the openssh-portable(with chroot option turned on) from the ports collection. I've installed the openssh-portable, but the jail/chroot mechanism didn't work. I think it requires some configuration in its sshd_config file, but I'm not sure because I have found nothing about jail/chroot in the openssh(sshd_config) man pages. I have implemented a similar setup using vsftpd from the ports. It works well for secure ftp when used with the filezilla client. You can limit the ftp command in the vsftpd configuration file so users cannot get out of their home directories, which chroots them there. You do need to add one thing to the accounts, which is to change their home directory in /etc/passwd adding an additional dot. For instance if a users home directory is: /home/user You'd need to change it to: /home/./user vsftpd is well documented and relatively easy to get setup and running. -Derek -- 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: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ...
At 02:11 PM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a reasonably priced one? Our newer servers, we've been using HP servers, so that we have this built in, but I have 6 older servers that I'd love to be able to deal with remotely without headaches ... I only need to be able to access one at a time ... I've tried the 'serial console' route, but if the server crashes, logging in to the serial console doesn't show you anything, whereas, with the HP 'remote console' feature, its the same as a KVM, where running it does a screen refresh, so that I can see what is on the screen at the time of the crash ... The simplest thing you can do is to make sure you are logging the console messages. I set all remote servers to log the actual console output to a separate log file in /etc/syslog.conf adding the line: console.info/var/log/console.log and adding a line to /etc/newsyslog.conf to rotate the logs: /var/log/console.log600 5 100 * J -Derek -- 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: Question about the /etc/hosts file
At 03:48 PM 4/10/2007, L33T Networks wrote: What is the second line with 10.20.30.199, and the hostname ends in a period? I've never seen this in a host file previous to FBSD v.6. apollo# cat /etc/hosts #::1localhost.mydomain.com localhost 127.0.0.1 localhost.mydomain.com localhost 10.20.30.199apollo.mydomain.com apollo 10.20.30.199apollo.mydomain.com. Is this something that's required for other IP addresses that will be added to the hosts file in the future? Names ending in a dot represent the fully qualified domain name. You do it all on one line but it gets too long to easily see and edit. -Derek -- 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: flp floppies
At 04:03 PM 4/10/2007, [EMAIL PROTECTED] wrote: My first post. Apologies if I am directing the question to the wrong area. I am determined to load a copy of FreeBSD, for development purposes, on to my machine. I will then have windows XP Professional and FreeBSD on the same machine, sharing the harddrive. I have loaded FreeBSD on before successfully, but have taken it down to reload it in what I understand is a better method. eg setting up CVS before loading any ports. Now I am stuck. Here are some of the reasons why. First problem. I have booted from 3.5 in floppies ( yes I like to do things the hard way) I also do not know how to load from a cd. Since I first downloaded and copied the flp files I have load a copy of Flash on my machine. Now the FLP files are Flash Project Files. How do I change that? and what type of program should it open with? ( Via right click of mouse). Thanks in advance You need to use rawwrite to write the floppy images to the diskettes. You'd run this in a command window in XP. rawwrite is in the tools folder on FreeBSD disk 1 -Derek -- 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: disklabel error in 4.11 release
At 03:21 PM 4/10/2007, fbsd bsd wrote: Hey *, having a bit of a problem with disklabel. A bit of background. I'm building a lab with Olive boxes in it (http://juniper.cluepon.net/index.php/Olive), which are basically i386 machines running JunOS. Please note that this whole procedure is entirely unsupported by Juniper and I would never *ever* recommend anyone run production traffic on an Olive box. At any rate, it requires a base install of FBSD 4.11, which you then do a pkg_add of their software over. The problem I'm having is that the package add fails every time. I personally have no experience with disklabel so it took me a bit to track down, but it seems like the raw device is not allowing anything to edit the first sectors. Keep in mind that an Olive install effectively turns your BSD box into a Juniper box, so the boot procedure will be different, which is why I'm leaning toward this. Also, this is the output of disklabel querying the kernel, then the device. olive1# disklabel ad4 # /dev/ad4: type: unknown disk: amnesiac label: fictitious flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9726 sectors/unit: 15625 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 156250unused0 0# (Cyl.0 - 9726*) olive1# olive1# olive1# olive1# olive1# olive1# olive1# disklabel -r ad4 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) olive1# Attempts to use disklabel -e to edit the device label end in: :q disklabel: Operation not supported by device re-edit the label? [y]: n olive1# Finally, here is the failure of the pkg_add: olive1# pkg_add jinstall-7.2R4.2-domestic-signed.tgz Verified SHA1 checksum of jinstall-7.2R4.2-domestic.tgz Adding jinstall... sysctl: unknown oid 'hw.re.model' disklabel: bad pack magic number (label is damaged, or pack is unlabeled) WARNING: This package will load JUNOS 7.2R4.2 software. WARNING: It will save JUNOS configuration files, and SSH keys WARNING: (if configured), but erase all other files and information WARNING: stored on this machine. It will attempt to preserve dumps WARNING: and log files, but this can not be guaranteed. This is the WARNING: pre-installation stage and all the software is loaded when WARNING: you reboot the system. Saving the config files ... Installing the bootstrap installer ... disklabel: bad pack magic number (label is damaged, or pack is unlabeled) WARNING: Failed while trying to install bootstrap loaders Deleting bootstrap installer ... disklabel: bad pack magic number (label is damaged, or pack is unlabeled) WARNING: This installation attempt will be aborted. WARNING: If you wish to force the installation despite these warnings WARNING: you may use the 'force' option on the command line. pkg_add: install script returned error status pkg_add: install script returned error status olive1# If anyone has any tips I'd appreciate it. sysinstall will label the disks as part of the install. Is the hardware preventing the boot area from being written to? It would appear that this is the case. -Derek -- 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: awk question
At 06:17 PM 4/10/2007, Gary Kline wrote: On Mon, Apr 09, 2007 at 06:54:07PM -0700, Rick Olson wrote: I'm assuming you've already taken care of this, but to answer your original question in AWK form, you could have done the following: ls -l | awk '$8 == 2006 {system(rm $9)}' i'Ll save your snippet to my growing %%% awk file in my ~/HowTo, thankee much. I'm in the first stages on a months-long trial on system tuning. This, before I'd risk publishing anything. So far tho, by upping and lower the NICE prio of various binaries, I have been able to get more than 70% efficient use out of my older servers. ---This *ought* to carry over to my faster machines Is tthere a way of using ps -alx | ask to look at nice and if it is non-zero (the default), to reset it to zero? You can easily do some of this using top, such as: top -bS 200 | tail -n +9 | awk '{ print $5 }' If you want to tweak the nice value you'd need to examine the value and then renice it as long as you are root. You'd need the PID for that, so here's another example: top -bS 200 | tail -n +9 | awk '{ printf(Pid: %d has Nice: %d\n, $1,$5) }' -Derek -- 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: Boot failure after installation
At 12:56 AM 4/9/2007, L Goodwin wrote: Hello. I tried posting this issue a few hours ago, but it did not appear in my inbox, so I'm trying once more. I've included details of the install in case it matters (sorry about length). I'm having trouble getting FreeBSD 6.2 to boot after installation. After a successful install, (re-)boot always fails with DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER. In order to boot the install CD on this machine, I have to disable ACPI by selecting 2. Boot FreeBSD with ACPI disabled from the boot loader menu (the AWARD BIOS does not allow for disabling ACPI from the BIOS setup program). At the end of a successful install, the installer asks ACPI was disabled during boot. Would you like to disable it permanently?, to which I choose Yes. I am choosing to perform a Standard install. Here are my FDISK selections: Select Drive(s): da0 (first SCSI drive of 6 9GB drives) These are my selections in FDISK Partition Editor (before entering Q): -- Disk name:da0FDISK Partition Editor DISK Geometry:1115 cyls/255 heads/63 sectors = 17912475 sectors (8746MB) OffsetSize(ST)EndNamePTypeDescSubtype Flags 06362-12unused0 631791241217912474da0s18freebsd165A 17912475376517916239-12unused0 -- Install Boot Manager for drive da0?: Selected BootMgr (Install the FreeBSD Boot Manager) Select Drive(s): da0 selected for Boot Manager (tab to OK, press ENTER). FreeBSD Disklabel Editor (create BSD Paritions): Select A (Auto Defaults)... -- Disk: da0Partition name da0s1Free: 17912412 blocks (8746MB) PartMountSizeNewfsPartMountSizeNewfs ---- da0s1a/512MBUFS2Y da0s1bswap486MBSWAP da0s1d/var1267MBUFS2+sY da0s1e/tmp512MBUFS2+sY da0s1f/usr5968MBUFS2+sY -- ...then enter Q (Finish). Choose Distributions: Select A Minimal. Choose Installation Media: 1 CD/DVD (burned my own from FreeBSD-6.2-disk1 ISO image) All filesystem information written correctly... Distribution extracted successfully... Congratulations! You now have FreeBSD installed on your system (but can't boot!). Final Configuration: No to most questions (configure later). Yes to these: Ethernet or SLIP/PPP network devices: fxp0 (Intel EtherExpress Pro/100B PCI Fast Ethernet card IPv6 configuration of the interfaces?: No DHCP: No Bring up fxp0 interface right now?: Yes Failed (only entered hostname --will complete later) Network gateway?: No inetd?: No SSH login?: Yes anonymous FTP?: No NFS server?: No NFS client?: No customize system console settings?: No machine's time zone?: Yes CMOS clock set to UTC?: No Region: 2 America -- North and South Country or Region: 45 United States Time zone: 19 Pacific Time (PDT) Linux binary compatibility?: No PS/2 mouse?: Yes (test OK) ACPI was disabled during boot. Would you like to diswable it parmanently?: Yes Browse FreeBSD package collection?: No Add initial user accounts?: No set system manager's password: (done) Visit general configuration menu one more time?: No FreeBSD/i386 6.2-RELEASE - sysinstall Main Menu: Exit Install Last thing to print to screen: - Boot from ATAPI CD-ROM : Failure ... DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER - The first message is expected, as there is no disk in the CD-ROM drive. If I set Boot Sequence to C only in BIOS setup, only the second message appears. Am I doing something wrong here? Make sure your System BIOS is not set to not allow writing to the boot area, often this is called boot sector virus protection in some BIOS's. Go into your SCSI BIOS and make sure it is set to be bootable and has the correct disk set for booting from. -Derek -- 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
Re: lpd refuses to print from a machine with a DHCP assigned IP address...
At 01:16 AM 4/6/2007, Amarendra Godbole wrote: Hi, My FreeBSD box picks up its IP through DHCP. Now I configured a printer on this machine, using apsfilter. So far so good. Now when I try to print anything, I see the following error in the lpd-errs file: Apr 6 11:00:03 zimbu lpd[1501]: unable to get official name for local machine zimbu.vxindia.veritas.com: hostname nor servname provided, or not known Apr 6 11:00:03 zimbu lpd[1501]: lp: no line printer device or host name Now, if I add an entry for zimbu in /etc/hosts (with the currently assigned IP address), printing works fine. My printcap is: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|sym6fp1|PSgs;r=300x300;q=medium;c=full;p=a4;m=raw:\ :lp=:\ :rm=sym6fp1.vxindia.veritas.com:\ :rp=sym6fp1:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/sym6fp1:\ :lf=/var/spool/lpd/sym6fp1/log:\ :af=/var/spool/lpd/sym6fp1/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this sym6fp1.vxindia.veritas.com is the printer host (actually the printer itself, not an host really). Hence, my question is: Is there some tweak either in printcap, or somewhere else that will tell lpd that my IP address is DHCP assigned? Or how do I get printing enabled, without adding such an entry in /etc/hosts.conf? Any help to fix this issue will be appreciated. Thanks in advance! Best, Amarendra You don't say if your DHCP IP is a private LAN IP or a public IP. If the IP is public and you don't require direct access to this IP from the internet, put a router in place between your modem and the server and give your server a static private IP. If you do need a public IP on your server, ask your provider for a static IP instead of a DHCP one. -Derek -- 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: creating device node?
At 01:15 PM 4/6/2007, Franz Wegwerf wrote: A program wants to have access to /dev/tap3 which doesn't exist on my machine. I'm a newbie to FreeBSD running FreeBSD 6 and trying wesside but got stuck with this error message: Can't open tap: ... Any help apreciated! Franz In FreeBSD 5.X and beyond the /dev entries are created automatically on bootup. If a device isn't being created check your dmesg that the device is found and properly identified. Some devices may need a kernel change or kernel module loaded. -Derek -- 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]