ipv6 portsnap servers
Hi folks, I searched google and this mailing list and could find no specific mention of ipv6 support for portsnap. I also checked for records for the three portsnap mirrors portsnap1, 2, and 4.freebsd.org, no . I have an ipv6 only install, and wondering what other means I can use to maintain ports via ipv6. Thanks -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large RAID arrays, partitioning
Thanks for your opinion. For now I will stick with the large RAID volume and no slices/partitions. As you said, it makes life less complicated. I think there is no problem about future upgrades supporting large volumes. I guess there will be support for even larger volumes. The more important concern for me is what to do if the capacity needs will rise from a few TB to a few dozen or a few hundreds of TB. I gues there is only one economical solution for my project. Lustre cluster file system. Vinum... As I found a much simpler solution, I think there is no need for implementing it. My personal opinion is that there is no excuse for using software raid solutions on a production server systems (except RAID1 where money is realy tight). Most HW RAID controllers are well supported on Linux and xBSD and the advantages of hot swapable drives, battery powered write cache and high performance XOR IOPs are very important for 24*7 systems. This does not mean that I don't want to mess with vinum. I will when there will bee enough time for it. Regards, Joze Bill Moran wrote: In response to Joze Volf [EMAIL PROTECTED]: I have a HP DL320s 2U server with 12 500 GB SATA drives and Smart Array P400 RAID controller. The machine will be a video streaming server for a public library. The system I am installing is 7.0-RELEASE, amd64. I made 2 RAID6 volumes, one 120GB for the system and one 4.3TB for the streaming media content. The first problem I have encountered is that during installation, the large RAID volume wasn't visible. No problem, because I could install the system to the small 120G volume. After the base system installation I decided to delete the large volume using the HP ACU and create a few smaller 1TB volumes, which will hopefully be recognized by the kernel. They were, buth when I ran the fdisk from sysinstall it always reported: WARNING: A geometry of xxx/255/32 for da1 is incorrect. Using a more likely geometry. If this geometry is incorrect... That always happens. I don't remember the last time I saw a disk where it _didn't_ complain about that. Don't know the details of what's going on there, but I've never seen it cause a problem. I was trying to do a few 1TB vinum partitions and tying them together into single concatenated volume (I already did something similar in linux using LVM and it worked great). I had no success. Well, can't help you much if you don't describe what you tried to do here. Then I searched the web and found this patch http://yogurt.org/FreeBSD/ciss_large.diff and hoped it will resolve the geometry problem. It did not, but one other thing it should do is allow kernel to get da device for an array 2TB. It did! What version of FreeBSD is this? It looks like this driver has seen significant redesign in 7-STABLE. I deleted the smaller 1TB volumes and recreated one large 4.3TB RAID volume. The kernel recognized it perfectly as /dev/da1. Great! Then I tried to create a slice using sysintall fdisk and a filesystem using sysinstall label. Nothing but trouble! Again, without any details, not much anyone can do to help. I searched the web again and found a possible solution to my problem. I used the newfs -U -O2 /dev/da1 command to create the filesystem directly on the RAID volume. It worked without a problem. Then I mounted /dev/da1 to /var/media and here is the output of df -h command: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a4.3G377M3.6G 9%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e7.7G 12K7.1G 0%/tmp /dev/da0s1f 36G1.6G 31G 5%/usr /dev/da0s1d 58G 25M 53G 0%/var /dev/da1 4.3T4.0K4.0T 0%/var/media Is it somehow bad to make a filesystem directly on a storage device such as disk drive or hardware raid volume? Yes and no. If you use certain type of disk utilities, such as bootable CDs that check disk health and what not, they may get confused by the fact that there is no DOS-style fdisk partition on the disk. Otherwise, it works fine. I frequently do this to make my life simpler (why install partitions when you don't need them?) It also wastes less disk space (although, who cares about a few hundred bytes on a 4T disk). Now that you've got it up and running, I'd be more concerned about making sure your next FreeBSD upgrade will continue to support that sized disk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: securelevels
Odhiambo Washington wrote: Hi Brent, Hey Odhiambo Long time no hear! Hope you are good. All good. Why are you asking about this when it is so clearly documented? I know its documented. Having used debian for x amount of years, think its time to add *BSD to my repertoire and too see whats used in the real world / practice. Thanks for your reply. Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
Message: 2 Date: Thu, 14 Aug 2008 22:40:57 +0200 From: C.M. Burns [EMAIL PROTECTED] Subject: Re: Migrate harddisk with FreeBSD into new machine To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed [...] the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). I could switch to an LSI logic megaraid controller, but i have to check the version when i am back at work on monday. how can i load modules from floppy disk at loader prompt? I would rebuild the kernel on the old machine, incorporating the needed modules, then move the disk. -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
Dan Nelson schrieb: In the last episode (Aug 14), C.M. Burns said: Dan Nelson schrieb: In the last episode (Aug 14), C.M. Burns said: maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) I was going to suggest building the buslogic driver as a module and then loading it from floppy at the loader prompt, but it doesn't look like the bt driver is available in module form. Do you maybe have an Adaptec SCSI card you could use instead, at least until you can rebuild the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). I could switch to an LSI logic megaraid controller, but i have to check the version when i am back at work on monday. how can i load modules from floppy disk at loader prompt? run lsdev to determine which bios device is your floppy (most likely disk0), then run load disk0:/amr.ko. The loader will read ufs, msdos, cd9660, and ext2 filesystems, so you could load the module from any number of sources. I don't know if the megaraid controller will make your two disks visible to the host without you configuring them for hardware raid, though. OK, it's monday and I'm back at work ;) The controller is a LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI. I booted into a loader prompt and entered load amr. Result was a /boot/kernel/amr.ko text=xx data=xx syms=xxx so I guess the driver has been loaded successfully. If I then enter autoboot to start booting, system still cannot found root. If I enter ? to show valid boot devices, I only get acd0 (CD-ROM) and fd0, so I think the amr.ko could not detect the controller... any ideas? Is the amr.ko to old for this controller? is there a new one around? thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD-7 reboots hourly
Hello dear colleagues. 2 days I have strange behaviour on my 7.0-RELEASE-p3 server. It started to reboot once an hour. No any suspicious task in crontab, nothing strange in /var/log. Just silent reboot. I have no physical access to server - only remote one. Question is: what could it be? How to find what send computer to reboot? Just extra information: I had such stuff before - installworld helped me for one week, now it appears again :( Opened services/sockets are: nobody proftpd647 1 tcp4 *:21 *:* root sshd 845 4 tcp4 *:22 *:* postfix smtpd 5115 6 tcp4 *:25 *:* bind named 525 20 udp4 xxx.xxx.xxx.xxx:53*:* nobody nginx 643 4 tcp4 *:80 *:* root couriertcp 769 3 tcp4 *:110 *:* root couriertcp 789 3 tcp4 *:143 *:* root rsync 659 5 tcp4 *:873 *:* root couriertcp 779 3 tcp4 *:993 *:* root couriertcp 760 3 tcp4 *:995 *:* root syslogd461 9 udp4 *:514 *:* also on local interface (lo0) I have apache, postgrey, spamassasin. I need some pieces of advice what to do with it and what could it be. Thanks in advance, Alexey A. Ukhov P.S.: I mean hourly: I start top and just wait. last what I see is: 0:59:59 uptime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
C.M. Burns [EMAIL PROTECTED] writes: OK, it's monday and I'm back at work ;) The controller is a LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI. I booted into a loader prompt and entered load amr. Result was a /boot/kernel/amr.ko text=xx data=xx syms=xxx so I guess the driver has been loaded successfully. Try load mpt instead. That should give you /dev/da0*. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
Christian Laursen schrieb: C.M. Burns [EMAIL PROTECTED] writes: OK, it's monday and I'm back at work ;) The controller is a LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI. I booted into a loader prompt and entered load amr. Result was a /boot/kernel/amr.ko text=xx data=xx syms=xxx so I guess the driver has been loaded successfully. Try load mpt instead. That should give you /dev/da0*. a load mpt gave me no output, just another OK prompt. tried load mpt.ko which gave me a /boot/kernel/mpt.ko text=xx data=xx syms=xxx but sadly no more devices in the list... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD-7 reboots hourly
Hello dear colleagues. 2 days I have strange behaviour on my 7.0-RELEASE-p3 server. It started to reboot once an hour. No any suspicious task in crontab, nothing strange in /var/log. Just silent reboot. I have no physical access to server - only remote one. Question is: what could it be? How to find what send computer to reboot? Just extra information: I had such stuff before - installworld helped me for one week, now it appears again :( Opened services/sockets are: nobody proftpd647 1 tcp4 *:21 *:* root sshd 845 4 tcp4 *:22 *:* postfix smtpd 5115 6 tcp4 *:25 *:* bind named 525 20 udp4 xxx.xxx.xxx.xxx:53*:* nobody nginx 643 4 tcp4 *:80 *:* root couriertcp 769 3 tcp4 *:110 *:* root couriertcp 789 3 tcp4 *:143 *:* root rsync 659 5 tcp4 *:873 *:* root couriertcp 779 3 tcp4 *:993 *:* root couriertcp 760 3 tcp4 *:995 *:* root syslogd461 9 udp4 *:514 *:* also on local interface (lo0) I have apache, postgrey, spamassasin. I need some pieces of advice what to do with it and what could it be. Thanks in advance, Alexey A. Ukhov P.S.: I mean hourly: I start top and just wait. last what I see is: 0:59:59 uptime Try to disable some cronjobs that run hourly. I think it is something within a cronjob. Regards, Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LDAP + Samba
Hi List, Is there any tutorial or even an idea how to install LDAP + Samba in Freebsd? I've been searching in google for almost half day but i can't find any relevant tutorial. So, decided just to read a books... Do you have some tutorials guys? Thanks. FreeBSD Rock... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP + Samba
Great document: http://www.kernel-panic.it/openbsd/pdc With slight modifications, you can use it on freebsd. Major differences: - you can use bdb as openldap backend db - slpad running as ldap user - paths (/usr/local/etc) Regards, Joze Volf iLab d.o.o. Ruel Luchavez wrote: Hi List, Is there any tutorial or even an idea how to install LDAP + Samba in Freebsd? I've been searching in google for almost half day but i can't find any relevant tutorial. So, decided just to read a books... Do you have some tutorials guys? Thanks. FreeBSD Rock... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: LDAP + Samba
Hi List, Is there any tutorial or even an idea how to install LDAP + Samba in Freebsd? I've been searching in google for almost half day but i can't find any relevant tutorial. So, decided just to read a books... Do you have some tutorials guys? Thanks. FreeBSD Rock... Well try this one, it is german but you can use it as a guide. http://wiki.unixboard.de/index.php/FreeBSD_-_Samba No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD-7 reboots hourly
Hm, already did. No any cron tasks - only system ones. Moreover - stopped all non-system services. System is still going to reboot hourly. Try to disable the system jobs also. It could be something like the system tools! Regards, Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Migrating to gmirrored RAID1
Hi, I have a failing IDE disk which is running my 7.0-p1 server. I've been investigating the possible solutions and I've decided to go with two new IDE disks and gmirror. However, I'm not too familiar with disk internals, I know how to install the system and somehow understand the concept of slices and partitions, but that's about it. I found some examples on how to install the gmirror on a running system, but they all have in common that they just add new spare disk to the system and turn on the mirroring to it, but I need to replace the current disk which is not the same size as the new ones. Any suggestions how one would do such an operation? Should I just re- install the server to a new disk, turn on the mirroring and then restore the configuration and files from the failing disk? Or is it easier to add the disks to the running system, turn on mirroring and then somehow dump the current disk to the mirror and then re-configure it to boot from the gmirror and remove the failing disk? Current df output: Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a507630 159262 30775834%/ devfs 1 10 100%/dev /dev/ad0s1e507630 56 466964 0%/tmp /dev/ad0s1f 33573476 6044408 2484319020%/usr /dev/ad0s1d 1762414 381632 123979024%/var devfs 1 10 100%/var/named/dev Thanks in advance, -- Henry Karpatskij http://ripe.net/fcgi-bin/whois?searchtext=HK1203-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating to gmirrored RAID1
Henry Karpatskij wrote: Hi, I have a failing IDE disk which is running my 7.0-p1 server. I've been investigating the possible solutions and I've decided to go with two new IDE disks and gmirror. However, I'm not too familiar with disk internals, I know how to install the system and somehow understand the concept of slices and partitions, but that's about it. I found some examples on how to install the gmirror on a running system, but they all have in common that they just add new spare disk to the system and turn on the mirroring to it, but I need to replace the current disk which is not the same size as the new ones. Any suggestions how one would do such an operation? Should I just re-install the server to a new disk, turn on the mirroring and then restore the configuration and files from the failing disk? Or is it easier to add the disks to the running system, turn on mirroring and then somehow dump the current disk to the mirror and then re-configure it to boot from the gmirror and remove the failing disk? If the new drives have the same size as the old one, you could do it gradually: - Mirror the old drive to new drive #1 - Replace the old drive with new drive #2, mirror it from new drive #1 If the sizes are different, this won't work and the best would be to install a fresh system on a new drive and transfer the configuration from the old one. Booting will always happen from a single drive. Since up to the point file systems are mounted all relevant drive access is read-only, the BIOS will happily boot one of the mirrored pair, then the kernel will pick up and activate mirroring before file systems are mounted. This is why all instructions start with one drive and later add a new drive to hold the mirror; it's easy to set up a single drive and then simply mirror it. signature.asc Description: OpenPGP digital signature
[SOLVED] Migrate harddisk with FreeBSD into new machine
At 01:26 PM 8/14/2008, C.M. Burns wrote: Hi list, I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) thanks! problem solved. used a freebsd 7.0 CD to upgrade the kernel. this made the scsi disks available to the system. after that i used the livefs CD and removed the geom_mirror from loader.conf and set the root device to da0s1a. et voila, everything works! thanks for your help! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripts: variable assignment within read loops
As I thought while reading your message, awk seems to be a good solution. Just a note: On Mon, 18 Aug 2008 06:29:03 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Would you be ok with an awk(1) script instead of /bin/sh? It tends to be nicer for this sort of thing, i.e.: [...] $ netstat -nibd -f inet | awk -f david.awk You could start your awk skript with #!/usr/bin/awk and give it +x attribute, as well as adding the desired source command netstat -nibd -f inet to the script, using awk's system() function, so you can start it more easily or use it in combination with other commands. % ./netstuff.awk -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripts: variable assignment within read loops
On Mon, 18 Aug 2008 14:33:05 +0200, Polytropon [EMAIL PROTECTED] wrote: As I thought while reading your message, awk seems to be a good solution. Just a note: On Mon, 18 Aug 2008 06:29:03 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Would you be ok with an awk(1) script instead of /bin/sh? It tends to be nicer for this sort of thing, i.e.: [...] $ netstat -nibd -f inet | awk -f david.awk You could start your awk skript with #!/usr/bin/awk and give it +x attribute, as well as adding the desired source command netstat -nibd -f inet to the script, using awk's system() function, so you can start it more easily or use it in combination with other commands. % ./netstuff.awk That's an option, but piping *to* awk may be slightly trickier then. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeRadius configuration
Hi, I am working on the freeradius configuration and I had a question in that regard. I am using the following package- freeradius-2.0.3_1 A free RADIUS server implementation I am trying to enable Radius from bank end (command line) for FreeBSD system. What is the configuration on the NAS (client ) apart from the following? /etc/radius.conf auth radius_server_ip secrete_key I would really appreciate your help in this regard. Thank you, Kavita Chitnis Niksun Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail email delays
On Sun, 17 Aug 2008 04:36:11 -0600, Tom Stuart [EMAIL PROTECTED] wrote: I made the changes to rc.conf as suggested. Also below are the new diffs. firewall-1# diff freebsd.mc firewall-1.xxx.com.mc 77c77 dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST', `smtp.xxx.com') firewall-1# diff freebsd.submit.mc firewall-1.xxx.com.submit.mc I have restarted sendmail(Stop,Start) and the interactive mail(mail or mailx) is still delivered instantly. However when swatch is sending mail it is still delayed. I will post some of the maillog in hopes of isolation of the issue. I also notice this error File descriptors missing on startup: stdout, stderr; Bad file descriptor(Only when sending via swatch). Maillog from mail -s test root Aug 17 04:26:49 firewall-1 sendmail[85125]: m7HAQnRC085125: from=username, size=29, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Aug 17 04:26:49 firewall-1 sm-mta[85126]: m7HAQnOJ085126: from=[EMAIL PROTECTED], size=400, class=0, nrcpts=1, [EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Aug 17 04:26:49 firewall-1 sendmail[85125]: m7HAQnRC085125: to=root, ctladdr=user (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m7HAQnOJ085126 Message accepted for delivery) Aug 17 04:26:50 firewall-1 sm-mta[85127]: m7HAQnOJ085126: [EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30702, relay=smtp.xxx.com. [10.0.0.2], dsn=2.0.0, stat=Sent ([EMAIL PROTECTED] Queued mail for delivery) Maillog from swatch -- Delayed Receipt(1-10 minutes) note this is all relating to the same message. Aug 17 04:30:18 firewall-1 sendmail[85137]: File descriptors missing on startup: stdout, stderr; Bad file descriptor Aug 17 04:30:18 firewall-1 sendmail[85137]: m7HAUIBd085137: from=user, size=155, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Aug 17 04:30:18 firewall-1 sendmail[85137]: m7HAUIBd085137: to=root, delay=00:00:00, mailer=relay, pri=30155, stat=queued This part means that Sendmail, for some reason, failed to resolve one of the addresses involved. Are you using DNS to resolve `localhost'? Maybe that's why it times out, and it queues the message until the next time the queue runner wakes up... Two other interesting bits of information that ay help us find out what's going on are: (1) Your sendmail_xxx options in /etc/rc.conf: # fgrep sendmail_ /etc/rc.conf (2) The value of `DirectSubmissionModifiers' in sendmail.cf and submit.cf: # fgrep DirectSubmissionModifiers /etc/mail/sendmail.cf \ /etc/mail/submit.cf Aug 17 04:31:34 firewall-1 sm-mta[85148]: m7HAVYEI085148: from=[EMAIL PROTECTED], size=517, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] A minute later, the queue runner wakes up... Aug 17 04:31:35 firewall-1 sm-mta[85149]: m7HAVYEI085148: [EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30819, relay=smtp.xxx.com. [10.0.0.2], dsn=2.0.0, stat=Sent ([EMAIL PROTECTED] Queued mail for delivery) ... and sends it normally. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Drive Reliability
On Sun, 17 Aug 2008 17:36:30 -0700 Jason C. Wells [EMAIL PROTECTED] wrote: Wojciech Puchar wrote: I am running FreeBSD 6.3. I have found that attaching and detaching USB drives to my box is unreliable. Is this the experience of other users? something more precise please? I realize that this is primarily a tech support forum. I wasn't asking for a solution to the problem. I was asking for other peoples experiences. If the USB support in FreeBSD was spotty according to other people, as has been reported, then I plan to not even try to work on it more until I install 7.1. Just for the record: - crashes the system on attachment - crashes the system on detachment - the system hangs on attachment but resumes responding if you pull the drive - installing the drive results in the little blue light coming on with dmesg reporting attachment, but attempts to mount fail with device not configured or somesuch - dataloss on the device that chkdisk in DOS couldn't save Basically, every possible bad behavior that you could ask from a USB connected drive has happened to me over time as I keep coming back and trying USB drives. That's OK. I'm not upset. I'm not complaining. I just want to know what to expect from USB drives in FreeBSD. That sounds familiar, but I guess most USB storage devices are very similar, so maybe start looking at the USB controller. I know in my case, installing a PCI USB card with _NEC_ chipset solved all my problems. Thought it worth mentioning ... Cheers, Matti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
undefined symbol error from .so file after portupgrade
I just finished a successful of portupgrade -a, so everything's supposed to be the latest greatest, right? Why would I be experiencing dll hell then? These are not obscure ports... I get the following when I import gtk in python: ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined symbol g_assertion_message_expr My versions: python25-2.5.2_1 py25-gtk-2.12. Ideas? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HELP!
Hello! There is a problem with supporting NIC broadcom 59xx! When it's gonna be resolved? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Drive Reliability
it is the usb chip that does not work ok... or works only with windows timings Please use an usb storage brand: Kingston... for externals usb drivers, I recomend seagate... format them with a UFS2 file system using sysinstall, place a Freebsd partition on it and format it this way you can use all the freebsd features, and your system will never hang... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Auto Mount USB
All, Not sure how to word all of this. I am trying to auto mount my USB tumb drive in FreeBSD (The version that comes with PFSense) I believe most of my troubles are related to lack of knowledge. I can mount the drive just fine with the mount command. I also was able to add it to the fstab and have it mount at boot. However if the drive is removed it has to be mounted again. How do you get it to mount back up with out having to run the mount command again? Also I noticed while playing with it that the device assignment keeps changing each time it is plugged back into the system. Started with /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have to change my mount comand every time. Any suggestions on reading meterial would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
In response to Brian Miller [EMAIL PROTECTED]: I can mount the drive just fine with the mount command. I also was able to add it to the fstab and have it mount at boot. However if the drive is removed it has to be mounted again. How do you get it to mount back up with out having to run the mount command again? You're slightly off course. Read man 8 amd and see if that helps. Also, section 27.3.5 of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html If you get stuck on specifics, ask here. Also I noticed while playing with it that the device assignment keeps changing each time it is plugged back into the system. Started with /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have to change my mount comand every time. I've not see this happen. Are you umounting it before you remove the drive? If not, then the drive is still mounted from a previous connection (even though it can't be accessed) so the system has to grab the next available device. This will go away once you have amd running. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firefox upgrade, BASE_BIND problem
I'm trying to use portupgrade to bring Firefox up to current (2.0.0.16) from 2.0.0.12. I'm getting the msg firefox-2.0.0.16,1: bind installed with PORT_REPLACES_BASE_BIND causes build problems. This machine is running as a DNS Server, so bind94 is installed and necessary. How can I get around this error? I've tried to google for a solution, but all I can find are a few references to the problem, but no actual solution. Thanks. Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 - Let us bring out the *Power* of your PCs. - - Custom Business Software Solutions since 1991 - visit http://www.pchotshots.com for information about our company. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipv6 portsnap servers
On Aug 17, 2008, at 11:10 PM, R Dicaire wrote: Hi folks, I searched google and this mailing list and could find no specific mention of ipv6 support for portsnap. I also checked for records for the three portsnap mirrors portsnap1, 2, and 4.freebsd.org, no . I have an ipv6 only install, and wondering what other means I can use to maintain ports via ipv6. Obtain IPv4 connectivity? Very few of the FTP/HTTP servers providing ports source tarballs are going to be IPv6 only... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Auto Mount USB
I started looking at amd and it is just what I need but it doesn't appear to be available? From what I have read it should be part of FreeBSD? I see that I can download a tar from www.am-utils.org should I do that or is there a Package available for it? Is there something similar to YUM for FreeBSD? You are correct that I was not dismounting then removing the drive. So that makes sense. Next question is how/can I free them up? Tried umount /dev/da0s1 but it fails with Device not configured Thanks for the response. -Original Message- From: Bill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 12:27 PM To: Brian Miller Cc: freebsd-questions@freebsd.org Subject: Re: Auto Mount USB In response to Brian Miller [EMAIL PROTECTED]: I can mount the drive just fine with the mount command. I also was able to add it to the fstab and have it mount at boot. However if the drive is removed it has to be mounted again. How do you get it to mount back up with out having to run the mount command again? You're slightly off course. Read man 8 amd and see if that helps. Also, section 27.3.5 of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.ht ml If you get stuck on specifics, ask here. Also I noticed while playing with it that the device assignment keeps changing each time it is plugged back into the system. Started with /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have to change my mount comand every time. I've not see this happen. Are you umounting it before you remove the drive? If not, then the drive is still mounted from a previous connection (even though it can't be accessed) so the system has to grab the next available device. This will go away once you have amd running. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
However if the drive is removed it has to be mounted again. How do you first - it has to be unmounted before removal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
This question comes so often that I think this feature has to be by default installed/configured Just my two cents ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-7 reboots hourly
There could be memory issues. I had a system which used to periodically reboot. Eventually found out that after some time, when a part of memory is accessed, due to the faulty memory chip, the system crashes and reboots. Try swapping the memory banks and boot the system. If the faulty chip falls in the memory range where the system is booting up, then you will be able to see that the booting fails ! OR Try to replace the memory cards and try to run the system. Johan Hendriks wrote: Hello dear colleagues. 2 days I have strange behaviour on my 7.0-RELEASE-p3 server. It started to reboot once an hour. No any suspicious task in crontab, nothing strange in /var/log. Just silent reboot. I have no physical access to server - only remote one. Question is: what could it be? How to find what send computer to reboot? Just extra information: I had such stuff before - installworld helped me for one week, now it appears again :( Opened services/sockets are: nobody proftpd647 1 tcp4 *:21 *:* root sshd 845 4 tcp4 *:22 *:* postfix smtpd 5115 6 tcp4 *:25 *:* bind named 525 20 udp4 xxx.xxx.xxx.xxx:53*:* nobody nginx 643 4 tcp4 *:80 *:* root couriertcp 769 3 tcp4 *:110 *:* root couriertcp 789 3 tcp4 *:143 *:* root rsync 659 5 tcp4 *:873 *:* root couriertcp 779 3 tcp4 *:993 *:* root couriertcp 760 3 tcp4 *:995 *:* root syslogd461 9 udp4 *:514 *:* also on local interface (lo0) I have apache, postgrey, spamassasin. I need some pieces of advice what to do with it and what could it be. Thanks in advance, Alexey A. Ukhov P.S.: I mean hourly: I start top and just wait. last what I see is: 0:59:59 uptime Try to disable some cronjobs that run hourly. I think it is something within a cronjob. Regards, Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said Requires Windows 95, NT, or better, so I installed Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tomcat6 and diablo-jdk16
Hello, I've got the last java jdk 1.6 (diablo version) from freebsd foundation and when I tried to install the tomcat 6 from the ports I had some problems. The tomcat 6 port* tries to find the java binaries in the /usr/local/jdk1.5.0. Please see the output below. duamutef# make install clean === Cleaning for apache-tomcat-6.0.16 === Vulnerability check disabled, database not found === Extracting for apache-tomcat-6.0.16 = MD5 Checksum OK for apache-tomcat-6.0.16.tar.gz. = SHA256 Checksum OK for apache-tomcat-6.0.16.tar.gz. === Patching for apache-tomcat-6.0.16 Installation settings: Destination directory:/usr/local/apache-tomcat6.0 Location of JDK: /usr/local/jdk1.5.0 Location of Java port:java/jdk15 Running as (user/group): www/www HTTP port:8180 Shutdown listener port: 8005 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/apache-tomcat6.0/logs/stdout.log Logfile stderr: /usr/local/apache-tomcat6.0/logs/stderr.log === Applying FreeBSD patches for apache-tomcat-6.0.16 Removing unneeded files... [ DONE ] Customizing server.xml... [ DONE ] === Configuring for apache-tomcat-6.0.16 === Installing for apache-tomcat-6.0.16 === apache-tomcat-6.0.16 depends on file: /usr/local/jdk1.5.0/bin/java - not found ===Verifying install for /usr/local/jdk1.5.0/bin/java in /usr/ports/java/jdk15 === jdk-1.5.0.14p8_3,1 : Due to licensing restrictions, certain files must be fetched manually. Please open http://download.java.net/tiger/archive/tiger_u14/ in a web browser. Download the Update 14 Source, jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar and the Source Binaries, jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar . Please open http://java.sun.com/javase/downloads/index.jsp in a web browser and follow the Download link for JDK US DST Timezone Update Tool - 1_3_6 to obtain the time zone update file, tzupdater-1_3_6-2008c.zip. Please download the patchset, bsd-jdk15-patches-8.tar.bz2, from http://www.eyesbeyond.com/freebsddom/java/jdk15.html. Please place the downloaded file(s) in /usr/ports/distfiles and restart the build. .*** Error code 1 Stop in /usr/cvsup/current/ports/java/jdk15. *** Error code 1 Stop in /usr/cvsup/current/ports/www/tomcat6. Since I'm using the diablo-jdk1.6 that is located in /usr/local/diablo-jdk1.6.0, it doesn't work. I tried to find some variable to set where is my jdk, but no lucky. I tried the following and it worked well. cd /usr/local/ ; ln -s diablo-jdk1.6.0 jdk1.5.0 But creating a symbolic link from jdk1.5 to jdk1.6 seems not to be the best way. Is there a better way to install tomcat 6 *from the ports* using diablo-jdk1.6? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
In response to Brian Miller [EMAIL PROTECTED]: I started looking at amd and it is just what I need but it doesn't appear to be available? From what I have read it should be part of FreeBSD? I see that I can download a tar from www.am-utils.org should I do that or is there a Package available for it? Is there something similar to YUM for FreeBSD? Actually, I found this spiffy port while looking for a good reference to point you to: cd /usr/ports/sysutils/automounter make install then read man automounter for setup instructions. Keep in mind that the reason this is less than simple is because automatically mounting removable media is a huge security risk. The fact that it's so convenient that most people ignore the security risk does not mitigate the risk in any way. You are correct that I was not dismounting then removing the drive. So that makes sense. Next question is how/can I free them up? Tried umount /dev/da0s1 but it fails with Device not configured umount the mountpoint, not the device. I.e. umount /usr, not /dev/ad0s1g -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PERL plumbers?
fbsd 4.11 perl 5.8.8 installed by pkg_add postgrey 1.32 use.perl port This machine has been running great for a week. Monday morning, postgrey was stoppedand wouldn't start. syslog: Aug 18 14:20:35 mx1 postgrey[73387]: FATAL: ERROR: can't create DB environment: No such file or directory (dbdir: /var/db/postgrey uid/gid: 1003,1003) user:group 1003:1003 is postgrey:postgrey but: ll /var/db/postgrey/ total 1078288 -rw--- 1 postgrey postgrey - 10485684 Aug 8 01:06 log.01 -rw--- 1 postgrey postgrey - 1082490880 Aug 17 08:36 postgrey.db -rw--- 1 postgrey postgrey - 0 Dec 8 2006 postgrey.lock -rw--- 1 postgrey postgrey - 10862592 Aug 17 08:36 postgrey_clients.db It seems that some PERL path has gone wrong strace postgrey --inet=10023 .. show a lot of file open failures. open(/usr/local/lib/perl5/site_perl/5.8.5/mach/Sys/Syslog.pm, O_RDONLY) = -1 ENOENT (No such file or directory) mx1# find /usr/local -iname Syslog.pm /usr/local/lib/perl5/5.8.2/mach/Sys/Syslog.pm /usr/local/lib/perl5/site_perl/5.8.2/mach/Unix/Syslog.pm /usr/local/lib/perl5/5.8.5/mach/Sys/Syslog.pm mx1# find /usr/local -iname FileHandle.pm /usr/local/lib/perl5/5.8.2/FileHandle.pm /usr/local/lib/perl5/5.8.5/FileHandle.pm For an earlier, similar problem on this machine, we were advised to make this link, mx1# ll /usr/bin/perl lrwxr-xr-x 1 root wheel - 19 Aug 18 06:14 /usr/bin/perl@ - /usr/local/bin/perl How do I tell PERL and PERL apps where to find the stuff? We'll be upping to fbsd7.0 soon, but need this machine on line meanwhile. thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PERL plumbers?
--On Monday, August 18, 2008 13:23:43 -0500 Len Conrad [EMAIL PROTECTED] wrote: fbsd 4.11 perl 5.8.8 installed by pkg_add postgrey 1.32 use.perl port This machine has been running great for a week. Monday morning, postgrey was stoppedand wouldn't start. syslog: Aug 18 14:20:35 mx1 postgrey[73387]: FATAL: ERROR: can't create DB environment: No such file or directory (dbdir: /var/db/postgrey uid/gid: 1003,1003) user:group 1003:1003 is postgrey:postgrey but: ll /var/db/postgrey/ total 1078288 -rw--- 1 postgrey postgrey - 10485684 Aug 8 01:06 log.01 -rw--- 1 postgrey postgrey - 1082490880 Aug 17 08:36 postgrey.db -rw--- 1 postgrey postgrey - 0 Dec 8 2006 postgrey.lock -rw--- 1 postgrey postgrey - 10862592 Aug 17 08:36 postgrey_clients.db It seems that some PERL path has gone wrong strace postgrey --inet=10023 .. show a lot of file open failures. open(/usr/local/lib/perl5/site_perl/5.8.5/mach/Sys/Syslog.pm, O_RDONLY) = -1 ENOENT (No such file or directory) mx1# find /usr/local -iname Syslog.pm /usr/local/lib/perl5/5.8.2/mach/Sys/Syslog.pm /usr/local/lib/perl5/site_perl/5.8.2/mach/Unix/Syslog.pm /usr/local/lib/perl5/5.8.5/mach/Sys/Syslog.pm mx1# find /usr/local -iname FileHandle.pm /usr/local/lib/perl5/5.8.2/FileHandle.pm /usr/local/lib/perl5/5.8.5/FileHandle.pm For an earlier, similar problem on this machine, we were advised to make this link, mx1# ll /usr/bin/perl lrwxr-xr-x 1 root wheel - 19 Aug 18 06:14 /usr/bin/perl@ - /usr/local/bin/perl Whoever gave you this advice was wrong. A symlink should already exist for perl: # ls -lsa /usr/bin/perl 0 lrwxr-xr-x 1 root wheel 24 Feb 20 12:23 /usr/bin/perl - /usr/local/bin/perl5.8.8 Note that it doesn't point to /usr/local/bin/perl How do I tell PERL and PERL apps where to find the stuff? @INC Try running the perl-after-upgrade script: # which perl-after-upgrade /usr/local/bin/perl-after-upgrade -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipv6 portsnap servers
Chuck Swiger writes: On Aug 17, 2008, at 11:10 PM, R Dicaire wrote: Hi folks, I searched google and this mailing list and could find no specific mention of ipv6 support for portsnap. I also checked for records for the three portsnap mirrors portsnap1, 2, and 4.freebsd.org, no . I have an ipv6 only install, and wondering what other means I can use to maintain ports via ipv6. Obtain IPv4 connectivity? Very few of the FTP/HTTP servers providing ports source tarballs are going to be IPv6 only... OR use csup for updating ports. There're few cvsup servers at least. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpCMOfHPA4r9.pgp Description: PGP signature
Re: Auto Mount USB
Brian Miller wrote: I started looking at amd and it is just what I need but it doesn't appear to be available? From what I have read it should be part of FreeBSD? I see that I can download a tar from www.am-utils.org should I do that or is there a Package available for it? Is there something similar to YUM for FreeBSD? It's part of the base system: [53] Mon 18.Aug.2008 14:52:41 [EMAIL PROTECTED] # which amd /usr/sbin/amd [54] Mon 18.Aug.2008 14:53:05 [EMAIL PROTECTED] # whereis amd amd: /usr/sbin/amd /usr/share/man/man8/amd.8.gz /usr/src/usr.sbin/amd ... and, according to the manpage, has been since before FreeBSD existed. CVS seems to concur, with the initial revision of amd.c being committed by rgrimes@ on May 26, 1994. Kevin Kinsey -- Try to get all of your posthumous medals in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail email delays
Giorgos thank you for your response and assistance once again. I have additional details below I hope that will allow use to further locate the issue. localhost is not resolved via dns but instead using /etc/hosts file. firewall-1# getent hosts ::1 localhost localhost.xxx.com 127.0.0.1 localhost localhost.xxx.com firewall-1.xxx.com firewall-1 firewall-1# fgrep sendmail_ /etc/rc.conf sendmail_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=YES sendmail_msp_queue_enable=YES firewall-1# fgrep DirectSubmissionModifiers /etc/mail/sendmail.cf /etc/mail/submit.cf /etc/mail/sendmail.cf:#O DirectSubmissionModifiers /etc/mail/submit.cf:#O DirectSubmissionModifiers Thanks once again. On Mon, Aug 18, 2008 at 7:50 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Sun, 17 Aug 2008 04:36:11 -0600, Tom Stuart [EMAIL PROTECTED] wrote: I made the changes to rc.conf as suggested. Also below are the new diffs. firewall-1# diff freebsd.mc firewall-1.xxx.com.mc 77c77 dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST', `smtp.xxx.com') firewall-1# diff freebsd.submit.mc firewall-1.xxx.com.submit.mc I have restarted sendmail(Stop,Start) and the interactive mail(mail or mailx) is still delivered instantly. However when swatch is sending mail it is still delayed. I will post some of the maillog in hopes of isolation of the issue. I also notice this error File descriptors missing on startup: stdout, stderr; Bad file descriptor(Only when sending via swatch). Maillog from mail -s test root Aug 17 04:26:49 firewall-1 sendmail[85125]: m7HAQnRC085125: from=username, size=29, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Aug 17 04:26:49 firewall-1 sm-mta[85126]: m7HAQnOJ085126: from=[EMAIL PROTECTED], size=400, class=0, nrcpts=1, [EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Aug 17 04:26:49 firewall-1 sendmail[85125]: m7HAQnRC085125: to=root, ctladdr=user (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m7HAQnOJ085126 Message accepted for delivery) Aug 17 04:26:50 firewall-1 sm-mta[85127]: m7HAQnOJ085126: [EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30702, relay=smtp.xxx.com. [10.0.0.2], dsn=2.0.0, stat=Sent ([EMAIL PROTECTED] Queued mail for delivery) Maillog from swatch -- Delayed Receipt(1-10 minutes) note this is all relating to the same message. Aug 17 04:30:18 firewall-1 sendmail[85137]: File descriptors missing on startup: stdout, stderr; Bad file descriptor Aug 17 04:30:18 firewall-1 sendmail[85137]: m7HAUIBd085137: from=user, size=155, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Aug 17 04:30:18 firewall-1 sendmail[85137]: m7HAUIBd085137: to=root, delay=00:00:00, mailer=relay, pri=30155, stat=queued This part means that Sendmail, for some reason, failed to resolve one of the addresses involved. Are you using DNS to resolve `localhost'? Maybe that's why it times out, and it queues the message until the next time the queue runner wakes up... Two other interesting bits of information that ay help us find out what's going on are: (1) Your sendmail_xxx options in /etc/rc.conf: # fgrep sendmail_ /etc/rc.conf (2) The value of `DirectSubmissionModifiers' in sendmail.cf and submit.cf: # fgrep DirectSubmissionModifiers /etc/mail/sendmail.cf \ /etc/mail/submit.cf Aug 17 04:31:34 firewall-1 sm-mta[85148]: m7HAVYEI085148: from=[EMAIL PROTECTED], size=517, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] A minute later, the queue runner wakes up... Aug 17 04:31:35 firewall-1 sm-mta[85149]: m7HAVYEI085148: [EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30819, relay=smtp.xxx.com. [10.0.0.2], dsn=2.0.0, stat=Sent ([EMAIL PROTECTED] Queued mail for delivery) ... and sends it normally. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
On Mon, Aug 18, 2008 at 12:06:38PM -0400, Brian Miller wrote: All, Not sure how to word all of this. I am trying to auto mount my USB tumb drive in FreeBSD (The version that comes with PFSense) I believe most of my troubles are related to lack of knowledge. I can mount the drive just fine with the mount command. I also was able to add it to the fstab and have it mount at boot. However if the drive is removed it has to be mounted again. How do you get it to mount back up with out having to run the mount command again? You'd have to use an automounter, like amd(8) that comes with FreeBSD. Also I noticed while playing with it that the device assignment keeps changing each time it is plugged back into the system. Started with /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have to change my mount comand every time. This should not happen. The devfs filesystem that FreeBSD uses removes device nodes if the devices are removed (unless the devices are still in use). Are you unmounting the filesystem on the thumbdrive before removing the drive from the USB port? If not this could be the cause of the problem. Note that removing a mounted drive can crash your system! _Always_ unmount a filesystem _before_ removing the device it is on. [As an aside, FreeBSD's disk device drivers and filesystems predate hot removeable devices by a considerable margin; they were written with the (implicit) assumption that disk devices are not removed while the system is running. Although work has been done in DragonflyBSD (a derivative of FreeBSD 4) to fix this, those changes haven't made it into FreeBSD 6/7.x.] If you have device nodes for devices that aren't there anymore, you can try running 'camcontrol rescan all' as root. If the filesystem on the thumbdrive has a label FOO, you should see that label as a device node in /dev/msdosfs/FOO (for FAT* filesystems) or /dev/ufs/FOO (for UFS formatted drives). Unlike the da devices this doesn't depend on the sequence in which devices are plugged in. Labels can be made with tunefs(8) (for UFS filesystems) or newfs_msdos(8) for msdos filesystems. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpOZjvCHeliP.pgp Description: PGP signature
Re: Migrating to gmirrored RAID1
On Monday 18 August 2008 05:39:10 am Henry Karpatskij wrote: Hi, I have a failing IDE disk which is running my 7.0-p1 server. I've been investigating the possible solutions and I've decided to go with two new IDE disks and gmirror. However, I'm not too familiar with disk internals, I know how to install the system and somehow understand the concept of slices and partitions, but that's about it. I found some examples on how to install the gmirror on a running system, but they all have in common that they just add new spare disk to the system and turn on the mirroring to it, but I need to replace the current disk which is not the same size as the new ones. Any suggestions how one would do such an operation? Should I just re- install the server to a new disk, turn on the mirroring and then restore the configuration and files from the failing disk? Or is it easier to add the disks to the running system, turn on mirroring and then somehow dump the current disk to the mirror and then re-configure it to boot from the gmirror and remove the failing disk? I think the latter approach is easier and makes the most sense for your situation. Install the disks, set up the mirror(s) that you want, transfer data and then do a boot test. Something along these lines should work. Substitue device and volume names to match your hardware and tastes. #set up a single mirror to use the whole disk (versus mirroring individual slices/partitions) gmirror label myraid1 /dev/ad4 /dev/ad6 #install a partition table and the boot0 code fdisk -BI /dev/mirror/myraid1 #install a default label and the main boot code bsdlabel -wB /dev/mirror/myraid1s1 #create BSD partitions by hand. remember to set EDITOR if you don't like vi bsdlabel -e /dev/mirror/myraid1s1 #This is the tricky part. Create the partitions you want on the mirror. Use the output of bsdlabel /dev/ad0s1 as a guide. Remember that a should be root, b is traditionally swap, c is the raw partition and should not be changed, and d - h are other partitions. I find a spreadsheet to be handy for figuring out the correct values, though a calculator is adequate (I've used dc more than once..). The units you are dealing with are 512-byte sectors. Best practice (which sysinstall doesn't follow but bsdlabel -w does) is to leave 16 sectors at the start of the slice for the boot code (but both swap and UFS will avoid clobbering it even if you don't do this). If you follow the best practice and do the partitions in order, then the offset for a is 16, and the offset for any other partition is the offset of the previous one plus the size of the previous one. Assuming your last filesystem wants to use the remainder of the slice, figure its offset as above then subtract it from the total (the size of c) for the size. For filesystem partitions the fstype should be 4.2BSD, and use 2048 16384 0 for the last three columns unless you have reason to do otherwise. (The bps is recalculated when you create a filesystem so it won't be 0 later. That's expected.) The fstype for swap space is swap and the last three columns are omitted. Save and exit the editor when finished.) #Create filesystems newfs /dev/mirror/myraid1s1a #(repeat for other filesystems, changing the partition letter as appropriate) #Make temp mountpoints mkdir /newroot #(again repeat as needed) #Mount new filesystems mount /dev/mirror/myraid1s1a /newroot #(repeat as needed) #Dump/restore filesystems cd /newroot dump -0 -L -C32 -f - / | restore -r -f - rm restoresymtable #(repeat as needed, changing the filesystem argument to dump and the cwd for your new filesystems. one or two messages from restore about getting a different inode than expected is normal.) #edit /newroot/etc/fstab. Change the device for / to /dev/mirror/myraid1s1a. Make a similar change for other filesystems. #edit /newroot/boot/loader.conf. Make sure it includes this line: geom_mirror_load=YES #shut down, remove the original disk, and try booting Good luck! JN Current df output: Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a507630 159262 30775834%/ devfs 1 10 100%/dev /dev/ad0s1e507630 56 466964 0%/tmp /dev/ad0s1f 33573476 6044408 2484319020%/usr /dev/ad0s1d 1762414 381632 123979024%/var devfs 1 10 100%/var/named/dev Thanks in advance, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Auto Mount USB
Thanks for the feedback Keep in mind the original post I indicated that I was running a version installed by the pfsense firewall installation ISO(www.pfsense.org) Looks like it is drastically trimmed down version of BSD 6.2 many commands are missing. Man, amd, camcontrol, etc. Also the I can't get the pkg_add to install packages. I think because pfSense is using it for it's own package store. Yes you are correct; I was just pulling out the drive with out dismounting. Not a big deal. I will be sure to just mount and dismount the USB drives manually. They are just there to store a config and log backup on the firewall. I am doing this so that if I have a failure or attack or some other type of crash. I will be able to check out the latest config and logs. A cron job is scheduled to copy these files to the USB drive every so often. -Original Message- From: Roland Smith [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 4:11 PM To: Brian Miller Cc: freebsd-questions@freebsd.org Subject: Re: Auto Mount USB On Mon, Aug 18, 2008 at 12:06:38PM -0400, Brian Miller wrote: All, Not sure how to word all of this. I am trying to auto mount my USB tumb drive in FreeBSD (The version that comes with PFSense) I believe most of my troubles are related to lack of knowledge. I can mount the drive just fine with the mount command. I also was able to add it to the fstab and have it mount at boot. However if the drive is removed it has to be mounted again. How do you get it to mount back up with out having to run the mount command again? You'd have to use an automounter, like amd(8) that comes with FreeBSD. Also I noticed while playing with it that the device assignment keeps changing each time it is plugged back into the system. Started with /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have to change my mount comand every time. This should not happen. The devfs filesystem that FreeBSD uses removes device nodes if the devices are removed (unless the devices are still in use). Are you unmounting the filesystem on the thumbdrive before removing the drive from the USB port? If not this could be the cause of the problem. Note that removing a mounted drive can crash your system! _Always_ unmount a filesystem _before_ removing the device it is on. [As an aside, FreeBSD's disk device drivers and filesystems predate hot removeable devices by a considerable margin; they were written with the (implicit) assumption that disk devices are not removed while the system is running. Although work has been done in DragonflyBSD (a derivative of FreeBSD 4) to fix this, those changes haven't made it into FreeBSD 6/7.x.] If you have device nodes for devices that aren't there anymore, you can try running 'camcontrol rescan all' as root. If the filesystem on the thumbdrive has a label FOO, you should see that label as a device node in /dev/msdosfs/FOO (for FAT* filesystems) or /dev/ufs/FOO (for UFS formatted drives). Unlike the da devices this doesn't depend on the sequence in which devices are plugged in. Labels can be made with tunefs(8) (for UFS filesystems) or newfs_msdos(8) for msdos filesystems. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: undefined symbol error from .so file after portupgrade
2008/8/18 Steve Franks [EMAIL PROTECTED]: I just finished a successful of portupgrade -a, so everything's supposed to be the latest greatest, right? Why would I be experiencing dll hell then? These are not obscure ports... I get the following when I import gtk in python: ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined symbol g_assertion_message_expr My versions: python25-2.5.2_1 py25-gtk-2.12. Ideas? When you issued portupgrade -a, you upgraded something that python depends upon (or something that python depends upon depends upon) without recompiling the dependancies (in this case python(?)). Find out what you upgraded that broke python and issue: portupgrade -fr whatever-it-is In general, when running portupgrade, I have found it to be a good idea to manually audit the packages to be upgraded for their general state of root-, trunk-, branch-, leaf-iness and issue several runs of portupgrade -fr something Not quite as firefail as portupgrade -a, but much less time-consuming than portupgrade -af. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HELP!
Sergey Daemonic said the following on 8/18/08 10:27 AM: Hello! There is a problem with supporting NIC broadcom 59xx! When it's gonna be resolved? http://www.catb.org/~esr/faqs/smart-questions.html Good luck! Best, --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto Mount USB
On Mon, Aug 18, 2008 at 04:21:41PM -0400, Brian Miller wrote: Not a big deal. I will be sure to just mount and dismount the USB drives manually. They are just there to store a config and log backup on the firewall. If an attacker has gained access to the system, anything mounted locally should be deemed unreliable. I am doing this so that if I have a failure or attack or some other type of crash. I will be able to check out the latest config and logs. I suppose that you know that you can use syslogd to log to another machine? And you could use logger(1) to read config files into the log. That would be much safer because it's a one-way street. You can log to another machine, but you cannot delete from the logfile on the other machine, unless it's compromised as well. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpSCYk5XwyPW.pgp Description: PGP signature
Re: how do I get Speech working with Firefox?
On Mon, 2008-08-18 at 11:04 +1000, Norberto Meijome wrote: On Sun, 17 Aug 2008 14:20:50 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sun, 2008-08-17 at 20:17 +1000, Norberto Meijome wrote: On Sat, 16 Aug 2008 14:46:04 -0700 Gary Kline [EMAIL PROTECTED] wrote: Anybody know what I'm not doing right and that the java app fails to produce speech from one of the firefox applets? { please keep the ML in the TO or CC of your emails, so others can help :) ) Sorry, Beto, I thought I had replied-to-all. Gary, it would help if you said what are you doing , and what isn't happening, so someone can say what are you doing, if anything, wrong. Just to try to make it a useful reply, you do have java support working on your ffox, right? Yes, I installed the required java suite; and it is shown in about:plugins ? for example, mine shows : about:plugins Java(TM) Plug-in 1.6.0_03-p4-b00 File name: libjavaplugin_oji.so Java(TM) Plug-in 1.6.0_03 [table follows showing all supported types ] Yes, the File name is exactly what I had installed. It may have been 1.5 rather than 1.6 that you have. At any rate, after re-initialized ff, there was this two menu-bar long (or perhaps only one, but in loud colors [IMO]) and one option was Speech. There was nothing I could do to get any audio whatsoever. I wound up writing the author who asked if I had the right plugin, and more. The short version was that eventually I just dropped it. This time I thought I'd check with the best and brightest list. If you got firefox to echo any words, please tell me how! I pulled down the speech deal, I still don't know what is this speech deal you mention. Somewhere in the ff headers is a list of the newest applets. I think there are/[were] two that gave speech capability. AH! Found it: The URL : https://addons.mozilla.org and type in speech and yes, it's AccessiBar. That was the only one that seemed most likely. While my main desktop [tao] portupgrades, I'm on my ubuntu server. I'll see if something happens this time. Here and on my 7.0 FreeBSD server. gary then then I moused a few paragraphs and hit the Speech area, nada. B _ {Beto|Norberto|Numard} Meijome But I don't have to know an answer. I don't feel frightened by not knowing things, by being lost in the mysterious universe without having any purpose, which is the way it really is, as far as I can tell, possibly. It doesn't frighten me. Richard Feynman I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat6 and diablo-jdk16
On Monday 18 August 2008, Thiago Esteves wrote: Hello, I've got the last java jdk 1.6 (diablo version) from freebsd foundation and when I tried to install the tomcat 6 from the ports I had some problems. The tomcat 6 port* tries to find the java binaries in the /usr/local/jdk1.5.0. Please see the output below. duamutef# make install clean === Cleaning for apache-tomcat-6.0.16 === Vulnerability check disabled, database not found === Extracting for apache-tomcat-6.0.16 = MD5 Checksum OK for apache-tomcat-6.0.16.tar.gz. = SHA256 Checksum OK for apache-tomcat-6.0.16.tar.gz. === Patching for apache-tomcat-6.0.16 Installation settings: Destination directory:/usr/local/apache-tomcat6.0 Location of JDK: /usr/local/jdk1.5.0 Location of Java port:java/jdk15 Running as (user/group): www/www HTTP port:8180 Shutdown listener port: 8005 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/apache-tomcat6.0/logs/stdout.log Logfile stderr: /usr/local/apache-tomcat6.0/logs/stderr.log === Applying FreeBSD patches for apache-tomcat-6.0.16 Removing unneeded files... [ DONE ] Customizing server.xml... [ DONE ] === Configuring for apache-tomcat-6.0.16 === Installing for apache-tomcat-6.0.16 === apache-tomcat-6.0.16 depends on file: /usr/local/jdk1.5.0/bin/java - not found ===Verifying install for /usr/local/jdk1.5.0/bin/java in /usr/ports/java/jdk15 === jdk-1.5.0.14p8_3,1 : Due to licensing restrictions, certain files must be fetched manually. Please open http://download.java.net/tiger/archive/tiger_u14/ in a web browser. Download the Update 14 Source, jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar and the Source Binaries, jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar . Please open http://java.sun.com/javase/downloads/index.jsp in a web browser and follow the Download link for JDK US DST Timezone Update Tool - 1_3_6 to obtain the time zone update file, tzupdater-1_3_6-2008c.zip. Please download the patchset, bsd-jdk15-patches-8.tar.bz2, from http://www.eyesbeyond.com/freebsddom/java/jdk15.html. Please place the downloaded file(s) in /usr/ports/distfiles and restart the build. .*** Error code 1 Stop in /usr/cvsup/current/ports/java/jdk15. *** Error code 1 Stop in /usr/cvsup/current/ports/www/tomcat6. Since I'm using the diablo-jdk1.6 that is located in /usr/local/diablo-jdk1.6.0, it doesn't work. I tried to find some variable to set where is my jdk, but no lucky. I tried the following and it worked well. cd /usr/local/ ; ln -s diablo-jdk1.6.0 jdk1.5.0 But creating a symbolic link from jdk1.5 to jdk1.6 seems not to be the best way. Is there a better way to install tomcat 6 *from the ports* using diablo-jdk1.6? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You need to patch /usr/ports/Mk/bsd.java.mk, because the ports system doesn't know anything about diablo-jdk.1.6.0. I attached the patchfile. # cd /usr/ports/www/tomcat6 matrix010# make install === Vulnerability check disabled, database not found === Extracting for apache-tomcat-6.0.16 = MD5 Checksum OK for apache-tomcat-6.0.16.tar.gz. = SHA256 Checksum OK for apache-tomcat-6.0.16.tar.gz. === Patching for apache-tomcat-6.0.16 Installation settings: Destination directory:/usr/local/apache-tomcat6.0 Location of JDK: /usr/local/diablo-jdk1.6.0 Location of Java port:java/diablo-jdk16 Running as (user/group): www/www HTTP port:8180 Shutdown listener port: 8005 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/apache-tomcat6.0/logs/stdout.log Logfile stderr: /usr/local/apache-tomcat6.0/logs/stderr.log === Applying FreeBSD patches for apache-tomcat-6.0.16 Removing unneeded files... [ DONE ] Customizing server.xml... [ DONE ] === Configuring for apache-tomcat-6.0.16 === Installing for apache-tomcat-6.0.16 === apache-tomcat-6.0.16 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - found [...] Apache Tomcat 6.0.16 has been installed in /usr/local/apache-tomcat6.0. === Installing rc.d startup script(s) === Registering installation for apache-tomcat-6.0.16 # Cheers, ch -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x1A9BE943 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --- bsd.java.mk.orig 2008-07-29 14:18:05.0 +0200 +++ bsd.java.mk 2008-08-18 22:07:01.0 +0200 @@ -169,6 +169,8 @@ # Set all meta-information about JDK ports: # port location, corresponding JAVA_HOME, JDK version, OS, vendor +_JAVA_PORT_NATIVE_FREEBSD_JDK_1_6_INFO= PORT=java/diablo-jdk16 HOME=${LOCALBASE}/diablo-jdk1.6.0 \ + VERSION=1.6.0 OS=native
RE: Auto Mount USB
I you are correct and the thought had crossed my mind. In the event of a system failure it would be nice to have one hanging there in the system. I might add that these systems are in locked server rooms. I had planned on doing over the wire backups 1 per day over our wide area back to our main office and wanted to minimize bandwidth usage. My thoughts were to back up the config and logs once daily over the wire and to the USB drive every 3 hours or so. However, I am aware that the drives have limited writes and they would need to be replace every once and a while. -Original Message- From: Roland Smith [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 5:15 PM To: Brian Miller Cc: freebsd-questions@freebsd.org Subject: Re: Auto Mount USB On Mon, Aug 18, 2008 at 04:21:41PM -0400, Brian Miller wrote: Not a big deal. I will be sure to just mount and dismount the USB drives manually. They are just there to store a config and log backup on the firewall. If an attacker has gained access to the system, anything mounted locally should be deemed unreliable. I am doing this so that if I have a failure or attack or some other type of crash. I will be able to check out the latest config and logs. I suppose that you know that you can use syslogd to log to another machine? And you could use logger(1) to read config files into the log. That would be much safer because it's a one-way street. You can log to another machine, but you cannot delete from the logfile on the other machine, unless it's compromised as well. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde troubles....
On Mon, 2008-08-18 at 03:57 +0200, Polytropon wrote: On Sun, 17 Aug 2008 17:41:42 -0700, Gary Kline [EMAIL PROTECTED] wrote: On Mon, 2008-08-18 at 02:02 +0200, Polytropon wrote: Yes, since I need to use FreeBSD 7 after an accident destroying all my data where fsck cannot help anymore, and FreeBSD 7 and it's software does not behave the way I think it should... :-( After my Nov., 1999 disk failure, I found that my 4G tape had overwritten stuff; I lost 10 months of data files. . i know the feeling. It's not that I want to complain, I'll stay with FreeBSD, I'm just a little upset. Things behave much slower, allthough the system boots faster. X and the applications seem to eat up every bit of performance boost the new OS gave them. Are you using gcc 4.3 with -O3? I have noticed that 4.3 generates faster binaries. Still, I cringe with 7.0. I haven't tried to compute the 7th root of infinity yet, :-) ... . In the good old times, you could update your applications and they ran faster on the same hardware. That's what I've loved FreeBSD for. Today, the applications run slower after every update, so I have to update my hardware in order to just keep the speed? Sounds like DOS/Windows. Every new release, Intel counts up its $billions in faster uprocessors. With our stuff, it may be X11 and possibly sloppy hacking. I can't tell since I just gave away my old 750MHz for a 2.4GHz Dell. (Off topic, sorry.) xdm works very well, but only tried logging in as root. missing .xsession and .ctwmrc that i used more many, Many years. i'll tell you, after using FBSD since 2.0.5, i'm ready to give omething prepackaged a try. The only things I do compile is wirld, kernel, and mplayer. For everything else, pkg_add -r is very welcome. By the way, compiling lasts much longer in FreeBSD 7. I think this is due to more optimization, but from 1 to 9 hours... what's wrong here?! Examples, please? ball-park [estimates] for times are okay. The worst ting for me is re-compiling OO Of course, xdm won't give you the functionality that kdm offers. A nice replacement for xdm, by the way, is wdm, which you can use together with Windowmaker, but without it, too. Especially if you want to use different window managers, wdm allows a simple means to switch them at login time. Ah, you may be the perfect man to ask about this multi-wm launch daemon. I saw it once a long, long time ago. I would really like to try different window managers. I used ctwm for Years, but that sseemed to limit my use of certain apps. Mostly in the Gnome/KDE world. S, bit bit bit I got used to the default gnome desktop/wm on my Ubuntu computer. I wound up trying KDE and used it until it finally broke after a power surge or power-out. What are your top w managers? To the LIST: I found my missing .xinitrc. but now my .xsession file is gone. This is my ~/.xsession: It allows sourcing of the settings from ~/.cshrc (because the C shell is my usual dialog shell) and then executes ~/.xinitrc: #!/bin/csh source ~/.cshrc exec ~/.xinitrc So you can keep all your settings in ~/.xinitrc, for example: #!/bin/sh xmodmap ~/.xmodmaprc xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 xset r rate 250 30 xset s off xset -dpms exec wmaker Both files are +x attributes. o I'll try your startup config, thanks. Sometimes I'll get up but my xmodmap never touch my rc file; bothers me. going to reboot after rm'ing kdm.pid. You should be able to restart kdm from the console, but I think your setting includes automatic kdm start after system startup, controlled by /etc/ttys. Right. There is a way of havving gnome boot into graphics mode, but since I'm a CLI type except for Xterms , I like to see the console. The portupgrade finished; time to reboot and see if that fixed anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Working ccache configuration for buildworld on amd64?
On Fri, 15 Aug 2008 11:22:01 -0400 Maxim Khitrov mkhitrov at gmail.com http://lists.freebsd.org/mailman/listinfo/freebsd-questions wrote: / I think what's happening is that there is a collision in hash values // generated by ccache. That's the only thing I can think of, because // crt1.c is compiled twice; once from /usr/src/lib/csu/amd64/crt1.c, and // a second time from /usr/src/lib/csu/i386-elf/crt1.c. If LIB32 is // disabled in src.conf, only the first compilation takes place. If the // generated hash values are the same, by some chance, then the actual // problem is that the file is not compiled a second time when, in fact, // it should be. This is only a guess, however. / That collision isn't going to happen for several reasons, but it's missing the point I made earlier, that the build is failing on a cache miss. If the kind of situation you're describing is happening, then it's happening earlier, and the observed error is just a side-effect. Nothing is wrong with ccache; it works just fine. What's happening is that the build system is passing compiler options in the CC variable when invoking make for lib32, and the recommended make.conf config for ccache is blowing those away. Here's how the lib32 build is invoked with ccache enabled: cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/lib32 _SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 MACHINE=i386 MACHINE_ARCH=i386 INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC=/usr/local/libexec/ccache/world-cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 CXX=/usr/local/libexec/ccache/world-c++ -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 OBJC=cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 LD=ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 AS=as --32 LIBDIR=/usr/lib32 SHLIBDIR=/usr/lib32 make -DNO_CPU_CFLAGS -DCOMPAT_32BIT -DWITHOUT_BIND -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_INFO -DWITHOUT_HTML DESTDIR=/usr/obj/usr/src/lib32 -f Makefile.inc1 libraries cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; make -f Makefile.inc1 _generic_libs; Here's how the compiler gets called from the 2nd level make with the recommended settings: /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/lib32/usr/src/lib/libc -I/usr/src/lib/libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c Here's what's supposed to be happening (without ccache): cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/lib32/usr/src/lib/libc -I/usr/src/lib/libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/i386/gen/_ctx_start.S Notice the difference? Try this instead: # Special ccache for buildworld .if exists(/usr/local/libexec/ccache/world-cc) !defined(NOCCACHE) \ (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) CC := ${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1} CXX := ${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1} .endif Instead of hard-configuring CC/CXX, it selectively modifies it only on the first invocation of make. Subsequent invocations are allowed to modify CC as needed using the original (modified) values as a seed. -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Still, no-joy with kdm......
Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is it possible to run i386 only, on a amd64 freebsd 7?
Is there some way of doing that? Running i386 software on amd64 machine? In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? I can't see anything wrong with your kdmrc file either ... In fact, I can't see your kdmrc file at all ... You should really post more information, at the very least: o What exactly you are trying to accomplish. o Your kdmrc file. o What exactly isn't working. o The error message, if any (full, copied exactly). o What you have already tried to solve the problem. o The version of software (FreeBSD, KDM, KDE, etc.). -- Martin Tournoij [EMAIL PROTECTED] http://www.daemonforums.org QOTD: The jig's up, Elman. Which jig? -- Jeff Elman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon, 18 Aug 2008 16:43:23 -0700, Gary Kline [EMAIL PROTECTED] wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. I'd like to look at your kdmrc file, too. Any ideas where to llook next? Except /etc/ttys, /etc/X11/xorg.conf and kdm's rc file? Hnmmm... can't imagine something else at the moment. PS: what is the startup for exec'ing gnome?? The display manager for Gnome is gdm (used similar to kdm), the Gnome session is started via exec gnome-session, if I remember correctly. I'm not a Gnome user (as I am not a KDE user), so forgive me my answers of guessing. And I don't have one of them installed so I can't check. They wouldn't run on my system anyway. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mac RDP (Was: apple mac laptop)
On Aug 13, 2008, at 5:06 AM, Andrea Venturoli wrote: John Almberg ha scritto: I don't think it's far OT, either, since IMHO, Mac desktops and FreeBSD servers are the perfect, practical combination for many organizations, including my own. Since there seem to be a lot of expert here... Does anybody know of a FreeBSD client that can connect to a Mac OS X (not server) remote desktop? Last time I tried rdesktop it did not work. bye Thanks av. Andrea, Buona sera! So long as you have enable VNC support in the RDP setup on the server. Basically you need to set the VNC password and check the appropriate box. You should be able to access it from there. Also ensure that you have all of the standard ARD ports open on the firewall or you will not be able to connect. Once you do then any VNC client should be able to connect. ARD requires: 5900 tcp + udp 3283 tcp + udp 5988 tcp For VNC you should probably add 5800 tcp + udp as well. Ciao. Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org skype: mikel.king t: 631.627.3055 m: 646.554.3660 +--+ Do You know where your towel is? +--+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon August 18 2008 17:26:10 Martin Tournoij wrote: On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? I can't see anything wrong with your kdmrc file either ... In fact, I can't see your kdmrc file at all ... p0 17:59 tao [5030] locate kdmrc /usr/local/share/con fig/kdm/kdmrc which is a general collection of miscellaneous X* that have been clumped together in the /usr/local/share/con fig/kdm directory. This file is mentioned each time I try to exec kdm [as root]. This has been an ongoing discussion in recent days since the typical results state that kdm cannot create kdm.pid in /var/run. The only work-around is to logging as root from consonsole, then su kline, then type % startup. After several moments my usual KDM is all there. You should really post more information, at the very least: o What exactly you are trying to accomplish. o Your kdmrc file. Everyone who had kde3 had this file; it is very long; posting it would burn more than 20K of bandwidth per listmember. It is 0644, and text, so putting in trace is a no-go. o What exactly isn't working. Well, according to the kdm binary, I can't create /var/run/kdm.pid. But since a zer-length file is created, I think the problem is earlier. It may be, e.g., that the binary cannot be completed. o The error message, if any (full, copied exactly). I don't know exactly how much good that would do, assuming that I *could* do a ``# kdm 21/tmp/message. o What you have already tried to solve the problem. Massively removed every socket from ~/. and /tmp/. , plus, of course rm'ing the zer-len kdm.pid file. o The version of software (FreeBSD, KDM, KDE, etc.). 7.0 rev 3, upgraded in March. I did a complete ports upgrade this morning; then a reboot. Nada. kdm still can write is pid into kdm.pid. -g -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to use dig with an ip list
I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: USB Drive Reliability
[mailed and posted] On Aug 17, 2008, at 7:36 PM, Jason C. Wells wrote: I realize that this is primarily a tech support forum. I wasn't asking for a solution to the problem. I was asking for other peoples experiences. If the USB support in FreeBSD was spotty according to other people, as has been reported, then I plan to not even try to work on it more until I install 7.1. Just for the record: - crashes the system on attachment - crashes the system on detachment - the system hangs on attachment but resumes responding if you pull the drive - installing the drive results in the little blue light coming on with dmesg reporting attachment, but attempts to mount fail with device not configured or somesuch - dataloss on the device that chkdisk in DOS couldn't save Dien dobre Jason, I have one system (7.0) which becomes extremely unstable if I have a USB drive connected. I usually get a system crash in 10 to 30 minutes after mounting the USB drive. It has never crashed without the USB drive attached, and it has never gone for more than three days with it attached. Usually the failure is much sooner. This was with 7.0- RELEASE. I haven't checked since I've moved to 7-STABLE. I have another system (identical software, different hardware) which is solid as a rock with the identical USB drive attached. Unfortunately, the crashing system is a small form machine and there is no way to put in a different USB controller. The USB drive was for backups, which I now do over the network to the machine that is working just fine. Best of luck with this. -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use dig with an ip list
--On August 19, 2008 12:44:05 PM +1000 Fraser Tweedale [EMAIL PROTECTED] wrote: On Mon, Aug 18, 2008 at 09:03:36PM -0500, Paul Schmehl wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ dig(1) - see section `MULTIPLE QUERIES' note the -x flag to instruct dig to perform a reverse lookup see also host(1) That's not a great deal of help. I, of course, had read and re-read the man pages before posting the question here, and I'm quite familiar with the normal use of dig and host, because I use them daily in my work. The two options that man (1) dig provides are; on the commandline and in a file. I can easily generate a list of hostnames having constructed an iplist in a file and then preceding each line with dig +short -x IP using vi. But that gives me a list of hostnames only. What I'm looking for is the combination of the two. host (1), of course, doesn't even have *those* options, so it's of no use for accomplishing what I'm attempting. Again, I want to start with a list of IPs and end up with a list of IPs *plus* their hostnames (on the same line). I'm quite sure someone here has the experience and/or knowledge to do this using shell commands. I suspect awk might be helpful but haven't yet investigated that angle. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: How to use dig with an ip list
On Mon, Aug 18, 2008 at 09:03:36PM -0500, Paul Schmehl wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ dig(1) - see section `MULTIPLE QUERIES' note the -x flag to instruct dig to perform a reverse lookup see also host(1) frase pgp07Hd0weEn3.pgp Description: PGP signature
Re: How to use dig with an ip list
On Mon, Aug 18, 2008 at 10:05:18PM -0500, Paul Schmehl wrote: --On August 19, 2008 12:44:05 PM +1000 Fraser Tweedale [EMAIL PROTECTED] wrote: On Mon, Aug 18, 2008 at 09:03:36PM -0500, Paul Schmehl wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ dig(1) - see section `MULTIPLE QUERIES' note the -x flag to instruct dig to perform a reverse lookup see also host(1) That's not a great deal of help. I, of course, had read and re-read the man pages before posting the question here, and I'm quite familiar with the normal use of dig and host, because I use them daily in my work. The two options that man (1) dig provides are; on the commandline and in a file. I can easily generate a list of hostnames having constructed an iplist in a file and then preceding each line with dig +short -x IP using vi. But that gives me a list of hostnames only. What I'm looking for is the combination of the two. host (1), of course, doesn't even have *those* options, so it's of no use for accomplishing what I'm attempting. Again, I want to start with a list of IPs and end up with a list of IPs *plus* their hostnames (on the same line). I'm quite sure someone here has the experience and/or knowledge to do this using shell commands. I suspect awk might be helpful but haven't yet investigated that angle. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ how about == #!/bin/sh while read LINE do echo $LINE `dig +short -x $LINE` done === whack that in a file, chmod +x it and cat in the IPs HTH frase pgpUcTGrjq53p.pgp Description: PGP signature
Re: How to use dig with an ip list
On Mon, Aug 18, 2008 at 10:18:07PM -0500, Jeffrey Goldberg wrote: On Aug 18, 2008, at 10:13 PM, Fraser Tweedale wrote: == #!/bin/sh while read LINE do echo $LINE `dig +short -x $LINE` done === You'll want to change line four to echo $LINE `dig +short -x $LINE` for a cleaner output. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ The original works fine for me in ash. Definitely nothing wrong with yours though. What have I overlooked? frase pgpiijgjRBw3E.pgp Description: PGP signature
Re: How to use dig with an ip list
On Aug 18, 2008, at 10:13 PM, Fraser Tweedale wrote: == #!/bin/sh while read LINE do echo $LINE `dig +short -x $LINE` done === You'll want to change line four to echo $LINE `dig +short -x $LINE` for a cleaner output. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use dig with an ip list
On Aug 18, 2008, at 9:03 PM, Paul Schmehl wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Easiest: $ for i in `cat ip-list`; do echo -n $i dig +short -x $i done Better might be to use something in p5-net-DNS so that you don't make N separate calls to dig. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use dig with an ip list
On Mon, 18 Aug 2008 21:03:36 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? You could pipe it through: while read ip;do echo ${ip} `dig +short -x ${ip}`;done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use dig with an ip list
--On August 18, 2008 10:13:54 PM -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: On Aug 18, 2008, at 9:03 PM, Paul Schmehl wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? Easiest: $ for i in `cat ip-list`; do echo -n $i dig +short -x $i done Don't know why I didn't think of that. I ended up using this: for ip in `cat public_linux_ips`; do echo ${ip} `dig +short -x ${ip}`; done public_linux_ips_resolved Which gave me the output I wanted. Thanks for the pointer. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
freebsd-update metadata signature fails
What am i missing or doing incorrectly? Thanks, Jerry nutmeg# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 6.3-RELEASE-p3. nutmeg# freebsd-update --debug -r 6.3-RELEASE-p3 upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... latest.ssl100% of 512 B 405 kBps done. Fetching metadata index... 2cb1c0210ae431e5b296ddf428decc9fc27d154eb196ce100% of 225 B 176 kBps done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic kernel/smp src/base src/bin src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/catpages world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: Does this look reasonable (y/n)? y Fetching metadata signature for 6.3-RELEASE-p3 from update1.FreeBSD.org... fetch: http://update1.FreeBSD.org/6.3-RELEASE-p3/i386/latest.ssl: Not Found failed. No mirrors remaining, giving up. nutmeg# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]