Re: sudo and LDAP
In the last episode (Jul 02), ACM Staff said: Ok, so I am running a box with 6.0-STABLE Problem is I can't get sudo working for my LDAP based users. I compiled sudo from the ports tree with LDAP support. Here is some output as a user: [EMAIL PROTECTED]:~$ id notroot uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers), 201(staff), 204(staffers) [EMAIL PROTECTED]:~$ sudo ls Password: Sorry, try again. Have you created a pam.d/sudo file, or edited your pam.d/other file to include pam_ldap.so? I recommend copying the pam.d/su file, then editing pam.d/system to include pam_ldap.so. -- Dan Nelson [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: Root crontab for backup
On Monday 03 July 2006 00:29, Greg 'groggy' Lehey wrote: It's a good idea to leave /etc/periodic as it is; it makes updating easier. I personally put this sort of thing in /etc/crontab, though arguably (also because of upgrades) root's crontab is a better place. You can use /usr/ocal/etc/periodic ok -- /Xian The most incomprehensible thing about the world is that it is comprehensible. Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portupgrade ruby problem
Hello, I have a new problem that has just occured on my main mail server. I am upgrading the ports on this server every two or three days using portsnap and portupgrade. After portsnap has updated it's index I do a portupgrade -arR to upgrade all ports on the system. Mutt needed an update so I did what I am doing every couple of days since more than one year : # portsnap update # portupgrade -arR My system faithfully started to update it's ports then... -L/usr/local/lib -o pgpring pgppubring.o pgplib.o lib.o extlib.o sha1.o pgppacket.o ascii.o -lintl -liconv cc -I/usr/local/include -Wall -O -pipe -L/usr/local/lib -rpath=/usr/ local/lib -L/usr/local/lib pgpewrap.c -o pgpewrap defined symbol db_version_4002 ** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ --- Skipping 'mail/mutt' /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- freebsd5/bdb.so: Undefined symbol db_version_4002 /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix' from /usr/local/sbin/portupgrade:475:in `main' from /usr/local/sbin/portupgrade:714:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portupgrade:209:in `main' from /usr/local/sbin/portupgrade:1951 I shooted portupgrade again but that did nothing, the donkey was stucked !! root 8:08 ~ # portupgrade -arR /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- freebsd5/bdb.so: Undefined symbol db_version_4002 I have also try to reinstall portupgrade and ruby18 that did nothing !! Any idea of how to proceed... Another interesting information : root 8:18 ~ # uname -a FreeBSD newmail.rmm.fr 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Thu Nov 24 16:34:35 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/GENERIC i386 Thanks for your support. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root crontab for backup
On Monday, 3 July 2006 at 6:57:27 +0100, Xian wrote: On Monday 03 July 2006 00:29, Greg 'groggy' Lehey wrote: It's a good idea to leave /etc/periodic as it is; it makes updating easier. I personally put this sort of thing in /etc/crontab, though arguably (also because of upgrades) root's crontab is a better place. You can use /usr/ocal/etc/periodic ok It's a good idea to leave /etc/periodic as it is; it makes updating easier. But I think I said that. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpHJIiNb09Eb.pgp Description: PGP signature
Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+
Philip M. Gollucci wrote: Hi, 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727 was filed about gdb itself segfaulting when trying to debug httpd. This PR hasn't seen any action AFAIK. This appears to be a duplicate of this one: http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/73512 Again, no action, I can repo this 100% on my machines as well. (gdb) x flags 0x102: Error accessing memory address 0x102: Bad address. Can you try to get this into a simple test case? Calling apr_dso_load twice? -Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sudo and LDAP
Ya, that worked. I didn't think about it from that angel. I suppose it has to auth the user somehow and I don't have ldap in system, I just have it in ssh. Thanks. On 7/2/06, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jul 02), ACM Staff said: Ok, so I am running a box with 6.0-STABLE Problem is I can't get sudo working for my LDAP based users. I compiled sudo from the ports tree with LDAP support. Here is some output as a user: [EMAIL PROTECTED]:~$ id notroot uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers), 201(staff), 204(staffers) [EMAIL PROTECTED]:~$ sudo ls Password: Sorry, try again. Have you created a pam.d/sudo file, or edited your pam.d/other file to include pam_ldap.so? I recommend copying the pam.d/su file, then editing pam.d/system to include pam_ldap.so. -- Dan Nelson [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: Kill an stopped process
Corey Brune wrote: On 7/2/06, *O. Hartmann* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sometimes it happens on my FreeBSD 6.1-STABLE/AMD box, that a process, in most cases xine, firefox oder thunderbird, show status 'STOP' in top and are unkillable! Trying to kill them as root (sending signal 9 throught 'kill' or 'killall') doesn't have any effect. Can anyone help and tell how to kill such a job? The only way getting rid of those processes is reboot the box and this can not be the right way. Thanks, oh ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] A process cannot be killed in certain situations. For instance, if the process is waiting on a IO request, it will block all signals until the request is completed or fails. Could you mount /proc, and do a truss on the process? Also, which version of FreeBSD are you running? Thanks, Corey Hello Corey. As I wrote, the version of FreeBSD is 6.1-STABLE/AMD64 as newly built on yesterday. You're right, xine was obviously waiting for some kind of I/O. I was reading a music file from a DVD mounted via amd automounter and after a short spinup the connection was lost by some unknown reasons, maybe the amd or faulty amd setup. After a shutdown, the box got stuck at the point at whihc the kernel reports syncing done and then nothing happened for an eternity. Only a hardreset helped. In the meanwhile, I was capable of opening the DVD tray door and get the DVD. oh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Xorp-feedback] Xorp and CARP on FreeBSD]
Hello, here is a reply from one of the XORP developers, Pavlin Radoslavov. What is your opinion to this problem? Thanks, Bohus - Forwarded message from Pavlin Radoslavov [EMAIL PROTECTED] - To: [EMAIL PROTECTED] Subject: Re: [Xorp-feedback] Xorp and CARP on FreeBSD Date: Thu, 29 Jun 2006 15:54:06 -0700 From: Pavlin Radoslavov [EMAIL PROTECTED] On Fri, Jun 09, 2006 at 09:46:36AM -0700, Pavlin Radoslavov wrote: I've two FreeBSD 6.1-RELEASE routers (R1, R2) with CARP configured and it was working OK untill I've installed Xorp and tried to configure multicast PIM-SM. After that the CARP has stoped working. I've found out by the tcpdump that after Xorp is started the source IP address of CARP packets is changed to IP address used as register_vif in Xorp: Do you get the same error if you configure only the interfaces section in the XORP config. No, the problem occures, only when the plumbing section is present. Also, is any of the IP address changed (by CARP) while XORP is running? No. There are the CARP virtual interfaces created befor XORP is started. CARP dosn't change any IP address, but XORP changes source IP address of multicast CARP packets. When I stop XORP the IP address is retutned to original IP address. Thank you for the info. I did some investigation (FreeBSD-6.1) and I was able to see the the problem: VRRPv2 Advertisement messages with the wrong source address. For the record, this is what I did (on a single machine): = ifconfig vlan97 create ifconfig vlan97 inet 192.168.100.2 netmask 255.255.255.0 vlan 97 vlandev xl0 ifconfig vlan71 create ifconfig vlan71 inet 10.122.25.66 netmask 255.255.255.224 vlan 71 vlandev xl0 ifconfig carp97 create ifconfig carp97 vhid 1 pass foofoo1 192.168.100.1/24 ifconfig carp71 create ifconfig carp71 vhid 2 pass foofoo2 10.122.25.64/27 = Then I started XORP with the configuration file included at the end of this email. Basically, the important thing in that configuration file is that inside the MFEA I enabled only the vlan71 interface. Indeed, by running tcpdump I was able to see that the VRRPv2 Advertisement messages sent over vlan97 changed their source address to be same ass the source address of vlan71: = [EMAIL PROTECTED] tcpdump -n -i vlan97 proto 112 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan97, link-type EN10MB (Ethernet), capture size 96 bytes 15:38:04.614085 IP 192.168.100.2 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 0, authtype none, intvl 1s, length 36 15:38:05.615058 IP 192.168.100.2 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 0, authtype none, intvl 1s, length 36 ... 15:38:22.635132 IP 10.122.25.66 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 0, authtype none, intvl 1s, length 36 15:38:23.636107 IP 10.122.25.66 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 0, authtype none, intvl 1s, length 36 = After some investigation, I was able to trace the problem to the setsockopt(_mrouter_socket, IPPROTO_IP, MRT_ADD_VIF, ...) system call. In fact, I was able to reproduce the problem with other multicast routing implementations: mrouted and pimd which obviously also use the same setsockopt(). After some further investigation, it seems to happen only when running CARP over vlan interfaces, but I haven't investigated this in greater details. At least, it didn't happen when I enabled in MFEA the physical xl0 network interface (also running CARP). Hence, I belive the problem is in the FreeBSD kernel, and happens when we have 2+ vlan interfaces configured to run CARP and one of them is also configured for multicast routing. You might want to contact the FreeBSD folks about that, because the problem is not XORP-specific. Please let us know how it goes. Thanks, Pavlin = interfaces { interface vlan97 { description: DMZ disable: false default-system-config } interface vlan71 { description: intranet disable: false default-system-config } } fea { unicast-forwarding4 { disable: false } } plumbing { mfea4 { disable: false interface vlan71 { vif vlan71 { disable: false } } /* interface vlan97 { vif vlan97 { disable: false } } */ /* interface register_vif { vif register_vif { Note: this vif should be always enabled disable: false } } */ traceoptions { flag all { disable: false } } } }
Re: Slow server
2) as there are many connections comming from search engines siders (90% of all the established connections), I'd like to limit the ressources that spiders are using. One way would be through IPFW, but are there better ways? Is there a way to limit/prioritize in Apache (not that I know any). Lookup mod_security rules for Apache and mod_dosevasive. mod_evasive will help prevent the spiders from opening many pages at one time Thanks for the idea. I looked at both. mod_evasive would be the one, but it keeps traffic information on a per web site basis. The problem is that I have hundred of web sites and the spider tries to access one page at a time, but one page of each web site... OK I have to dig that further. Thanks, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kill an stopped process
On Sunday 02 July 2006 14:22, O. Hartmann wrote: Sometimes it happens on my FreeBSD 6.1-STABLE/AMD box, that a process, in most cases xine, firefox oder thunderbird, show status 'STOP' in top and are unkillable! they are stopped... Trying to kill them as root (sending signal 9 throught 'kill' or 'killall') doesn't have any effect. Can anyone help and tell how to kill such a job? The only way getting rid of those processes is reboot the box and this can not be the right way. You should send a CONT(inue) and then something like TERM(inate). KILL should be your last choice, since it does what its name says(the process have no way of controlling this signal, it terminates immediately, given that's in a state were can be killed). KILL is rarely really needed. AFAIK this is not FreeBSD specific. I assume It is defined in POSIX. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
shell scripting: help appreciated
short and weird problem description (from my point of view): /bin/sh stops working correctly with a content-controlled do-loop. the shell-script layout is as follows: (it's not that trivial, just to show the meaning) --- /test/foo.conf (originally ~60 lines): test1 testval1optional_testval1 test2 testval2optional_testval2 /test/foo.sh (this is the original loop code): cat $g_dir_etc/compile.lst|\ sed -e 's-^ *--g'|\ sed -e 's-^ *--g'|\ grep -v '^#'|\ sed -e 's-#.*$--g'|\ grep -v '^$'|\ while read gh_name gh_src gh_srcdir do set some vars here /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; do some stuff here done; /test/foo_sub.sh: we do very much stuff in here, like compiling programs etc... --- if i change the line /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; to echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; the program loops for all records in the foo.conf correctly. if i remove the echo keyword, the sub-script get's executed, but the shell terminates as if there were lesser records in the foo.conf file! i scripted as many debug messages as possible, for every loop they get executed and there are no errors/etc... happening. and interestingly, the execution stops always on the same record! if i comment out some records of my foo.conf, the sub-shell gets executed for more records. it seems like something with a buffer or somewhat, but i'm not a debugger/c-guru, so i don't know where to start here... maybe i'm using a wrong technique for looping? some facts: conf-file is readable and doesn't change during execution the scripts also don't change during exec we're running on 6.1-RELEASE with 2GB RAM and a XEON 2.8 no errors/warnings during exec-time from kernel or daemons fs is fine, fsck is happy! everything runs /bin/sh. the whole scripts runs currently ~45min. if i change the subshell to an empty script with just hi i'm here and exit 1; the loop works for all records in the .conf file. any ideas, what the hell is going on here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: speed of PPPoE
On Monday 03 July 2006 06:11, Benny Au wrote: Hello, The speed of PPPoE in FreeBSD is slower than in Windows XP. and sometimes I have to wait for a moment to visit the same web site again. Is your name server setup correct? check /etc/resolv.conf and use nslookup to check if everything is correct. Be sure that the first name server in /etc/resolv.conf is responding fast. It won't disconnect but it works not stably. Could you tell me how to configure the ppp and let it run fast? Thanks! try something like this while downloading at full rate: netstat -I $external_iface -w 1 (hint: If you use ppp(8) external_iface will be a tun device) or systat -ifstat What numbers do you get, and what numbers do you expect? HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting ntp-servers for ntpdate via dhcp
Jonathan Horne wrote: On Sunday 02 July 2006 15:49, Erik Nørgaard wrote: There is a dhcp-option, ntp-servers, to set which ntp-server to use. It would be quite useful with ntpdate. Does anyone have a patch to ntpdate startup script or other hack that use this option? - just before I start hacking myself... my ntp options in /etc/rc.conf look like this: ntpdate_enable=YES ntpdate_hosts=us.pool.ntp.org ntpd_enable=YES when my system boots, ntpdate forces the time to syncronize (no matter how far off it is), and then ntp takes over from there. I have that too, the point is not that ntpdate doesn't work, but that configuration via dhcp is not supported. And since dhcp provides the option, it would be quite neat to support it. So something like this in rc.conf would be nice: ntpdate_enable=DHCP ntpdate_hosts=ntp.domain.tld When set to DHCP the ntpdate script should parse the lease file to find any available ntp server to use. The hosts option should be fallback if the dhcp server did not provide a list of available ntp-servers. Currently such functionality is not supported, and just before I go ahead and hack something up, it would be nice to know if others have done the effort. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Interrupt using all the CPU
Hi I'm having a few problems with a webserver. Today the idle was at 0.0 and it's still like this. It doesn't look like it's affecting web services but it looks weird and i'm afraid that the CPU is working it's ass off with something. Of course nothing shows up in top or ps that could indicate which process is taking up all this cpu and since interrupt is the one using it i'm not even sure anything is actually using up CPU since i don't know what interrupt is. Any hints or pointers would be appreciated. It looks like interrupt and system are fighting for percents, interrupt has 100% constantly and as soon as interrupt drops system takes exactly what's left over and sometimes system doesn't do it so idle gets a few percents. It's weird to me simply because i can't find a description of what interrupt shows in top anywhere in the manuals. -- Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade ruby problem
bsd wrote: Hello, I have a new problem that has just occured on my main mail server. I am upgrading the ports on this server every two or three days using portsnap and portupgrade. After portsnap has updated it's index I do a portupgrade -arR to upgrade all ports on the system. Mutt needed an update so I did what I am doing every couple of days since more than one year : # portsnap update # portupgrade -arR My system faithfully started to update it's ports then... -L/usr/local/lib -o pgpring pgppubring.o pgplib.o lib.o extlib.o sha1.o pgppacket.o ascii.o -lintl -liconv cc -I/usr/local/include -Wall -O -pipe -L/usr/local/lib -rpath=/usr/local/lib -L/usr/local/lib pgpewrap.c -o pgpewrap defined symbol db_version_4002 ** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ --- Skipping 'mail/mutt' /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so: Undefined symbol db_version_4002 /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix' from /usr/local/sbin/portupgrade:475:in `main' from /usr/local/sbin/portupgrade:714:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portupgrade:209:in `main' from /usr/local/sbin/portupgrade:1951 I shooted portupgrade again but that did nothing, the donkey was stucked !! root 8:08 ~ # portupgrade -arR /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so: Undefined symbol db_version_4002 I have also try to reinstall portupgrade and ruby18 that did nothing !! Any idea of how to proceed... Another interesting information : root 8:18 ~ # uname -a FreeBSD newmail.rmm.fr 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Thu Nov 24 16:34:35 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Thanks for your support. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This worked for me: # cd /var/db/ports/portupgrade # rm options # cd /var/db/pkg # rm pkgdb.db # pkgdb -fu Discovered I had both ruby versions in ports: db4-4.x.x and db41-4.x.x I needed only db41; nothing depended (any more) on db4, so: # pkg_delete db4-4.x.x Note, I had migrated to WITH_BDB4=true, quite a long time ago. The recent tribulations with portupgrade has been on the list already, several times, at several stages of the problem, and various solutions have been described. Some of those seem more complicated than this. I don't think the problem is complicated, at least not in every case. At least not, now that the maintainer has worked to fix the port. -- Jacques S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transparent proxy howto
Skylar Thompson wrote: Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on is there anything to be done with the kernel? I've done this one but it didn't worked... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
screen blanking and kde
The machine I use fvwm on blanks the screen after a period of time (the default from Xorg). However, a machine running KDE does not(!), even without the screensaver enabled (in kde). Disabling the saver results in a screen never go blank. So, I guess, kde interfeares with xorg somewhere (disabling the blanktime feature from xorg). Does anybody know where this is done (by kde) and if this can be changed? Sure, I can use kde's screensaver (orxscreensaver), but I only want the screen go blank and xorg can do that just the same) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
require pam_deny in auth chain causes logins to fail
pam.d/README says: Note that having a sufficient module as the last entry for a particular service and module type may result in surprising behaviour. To get the intended semantics, add a required entry listing the pam_deny module at the end of the chain. But in fact auth sufficient pam_unix.so auth required pam_deny.so always fails, because (from the PAM article): The second exception is that pam_setcred(3) treats binding and sufficient modules as if they were required which means the final decision drops through to pam_deny even if pam_unix succeeds. Other than the obvious (make pam_unix, or whatever is the last module in the auth chain, required rather than sufficient, and leave out the required pam_deny) is there another solution to this? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
nocturnal [EMAIL PROTECTED] wrote: I'm having a few problems with a webserver. Today the idle was at 0.0 and it's still like this. It doesn't look like it's affecting web services but it looks weird and i'm afraid that the CPU is working it's ass off with something. Of course nothing shows up in top or ps that could indicate which process is taking up all this cpu and since interrupt is the one using it i'm not even sure anything is actually using up CPU since i don't know what interrupt is. Any hints or pointers would be appreciated. It looks like interrupt and system are fighting for percents, interrupt has 100% constantly and as soon as interrupt drops system takes exactly what's left over and sometimes system doesn't do it so idle gets a few percents. It's weird to me simply because i can't find a description of what interrupt shows in top anywhere in the manuals. Did you already try top -S? Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: screen blanking and kde
On Monday 03 July 2006 09:34, dick hoogendijk wrote: The machine I use fvwm on blanks the screen after a period of time (the default from Xorg). However, a machine running KDE does not(!), even without the screensaver enabled (in kde). Disabling the saver results in a screen never go blank. So, I guess, kde interfeares with xorg somewhere (disabling the blanktime feature from xorg). Does anybody know where this is done (by kde) and if this can be changed? Sure, I can use kde's screensaver (orxscreensaver), but I only want the screen go blank and xorg can do that just the same) Just a me too...sorta. My KDE session might blank out 3 or 4 times but after that it will just stay on. I noticed when using GNOME-2 the problem went away. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Monday 03 July 2006 10:38, nocturnal wrote: Hi I'm having a few problems with a webserver. Today the idle was at 0.0 and it's still like this. It doesn't look like it's affecting web services but it looks weird and i'm afraid that the CPU is working it's ass off with something. Of course nothing shows up in top or ps that could indicate which process is taking up all this cpu and since interrupt is the one using it i'm not even sure anything is actually using up CPU since i don't know what interrupt is. Any hints or pointers would be appreciated. It looks like interrupt and system are fighting for percents, interrupt has 100% constantly and as soon as interrupt drops system takes exactly what's left over and sometimes system doesn't do it so idle gets a few percents. It's weird to me simply because i can't find a description of what interrupt shows in top anywhere in the manuals. Try vmstat -i to show you what device is causing the interrupts. grtz, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Also, in reply to Fabian Kell; top -S doesn't show me which process is using all the interrupt CPU, thank you for the tip. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Daan Vreeken [PA4DAN] wrote: On Monday 03 July 2006 10:38, nocturnal wrote: Hi I'm having a few problems with a webserver. Today the idle was at 0.0 and it's still like this. It doesn't look like it's affecting web services but it looks weird and i'm afraid that the CPU is working it's ass off with something. Of course nothing shows up in top or ps that could indicate which process is taking up all this cpu and since interrupt is the one using it i'm not even sure anything is actually using up CPU since i don't know what interrupt is. Any hints or pointers would be appreciated. It looks like interrupt and system are fighting for percents, interrupt has 100% constantly and as soon as interrupt drops system takes exactly what's left over and sometimes system doesn't do it so idle gets a few percents. It's weird to me simply because i can't find a description of what interrupt shows in top anywhere in the manuals. Try vmstat -i to show you what device is causing the interrupts. grtz, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Monday 03 July 2006 12:26, nocturnal wrote: Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. Are you using powerd perhaps? Could it be that your system goes into a too deep sleep state where interrupt handling costs significantly more time? grtz, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
I want to be a programmer, but i have not any good-to-understand form of learning. (i like DOS, but i want to build my own OS too.) can you help me? -- Krasne fotografie, rady a inspiracie. Pre skusenych aj zacinajucich fotografov knihy Zoner Press! Preklady aj publikacie domacich autorov najdete na www.zonerpress.cz. Vyuzite akcne ceny! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Hi No powerd running and i've never heard of that daemon. It's a pretty basic noname machine acting as a small scale webserver and a non-public nameserver. I've asked aroung and nobody can remember how long it's been like this so it's very possible that it's been acting like this since we installed it but i highly doubt it because we've had problems with it in the past and usually when something happens you check top at least once. It doesn't have much traffic either, if you shutdown the webserver the traffic is almost none, mostly arp and DNS traffic. CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 130M Active, 355M Inact, 108M Wired, 22M Cache, 73M Buf, 5668K Free Swap: 329M Total, 316K Used, 329M Free This is what it usually looks like, or here in an iostat view, in case it helps. tty ad4 ad6 ast0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 03 28.14 2 0.06 0.57 0 0.00 0.00 0 0.00 0 0 7 83 10 0 227 16.00 1 0.02 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 16.00 11 0.17 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 6.00 1 0.01 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 50 50 0 76 16.00 2 0.03 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 100 0 Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Daan Vreeken [PA4DAN] wrote: On Monday 03 July 2006 12:26, nocturnal wrote: Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. Are you using powerd perhaps? Could it be that your system goes into a too deep sleep state where interrupt handling costs significantly more time? grtz, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Hi I'm sorry for the second e-mail but the uname is. FreeBSD unix.swebase.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 We haven't even recompiled the kernel since the install. It was supposed to be a temporary machine but turned into a development machine for me and some other developers. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Daan Vreeken [PA4DAN] wrote: On Monday 03 July 2006 12:26, nocturnal wrote: Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. Are you using powerd perhaps? Could it be that your system goes into a too deep sleep state where interrupt handling costs significantly more time? grtz, Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Monday 03 July 2006 14:06, Daan Vreeken [PA4DAN] wrote: On Monday 03 July 2006 12:26, nocturnal wrote: Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. I have the feeling that rate is calculated like this: number of interrupts since boottime / seconds of uptime so, this won't help if his is having now an interrupt storm while most of the time the system is interrupted ~ 120 times per second systat -vmstat $time shows interrupts per second regarding the last $time seconds ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Nikos Vassiliadis wrote: On Monday 03 July 2006 14:06, Daan Vreeken [PA4DAN] wrote: [ ... ] interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. I have the feeling that rate is calculated like this: number of interrupts since boottime / seconds of uptime OK. so, this won't help if his is having now an interrupt storm while most of the time the system is interrupted ~ 120 times per second An interrupt storm on what, though? The ~100 interrupts per second from the clock on IRQ0 are absolutely normal with HZ=100; the only other candidate seems to be the combination of vr0 USB controller on IRQ 12. If it's possible to disable the USB controller for a bit in the BIOS, it would be interesting to see whether that makes any difference. You can probably kill the parallel port, too. It's also interesting to note that IRQ 8, the RTC, seems to be mostly idle-- normally that fires at stathz=128...check sysctl kern.clockrate. systat -vmstat $time shows interrupts per second regarding the last $time seconds Right, although the output from vmstat 1 would survive being pasted into email better, I suspect. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel PRO/1000 PT
Nikolas Britton [EMAIL PROTECTED] writes: What are the difference between the Intel PRO/1000 PT Server and Desktop Adapters? Intel PRO/1000 PT Server Adapter: $130 ~ 150 Intel PRO/1000 PT Desktop Adapter: $40 ~ 60 Both use the i82572EI chip and both appear to use the same PCB. Would I be correct in assuming it's a marketing scam to get 2.5 times the price for the same device? Look at the specs; they use different controllers (from the same family, so they may well work in the same PCB, but distinct in capabilities). They also have different bus interfaces -- which could be a sustantial speed advantage for the server version under high load. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On 3 Jul 2006 at 10:17, jan polomsky wrote: I want to be a programmer, but i have not any good-to-understand form of learning. (i like DOS, but i want to build my own OS too.) can you help me? -- Krasne fotografie, rady a inspiracie. Pre skusenych aj zacinajucich fotografov knihy Zoner Press! Preklady aj publikacie domacich autorov najdete na www.zonerpress.cz. Vyuzite akcne ceny! Well... There are more or less 1.346.745.237.277.456 on the web to find information from but maybe you could start off with those. http://sun.java.com - really good lang to learn http://www.angelfire.com/mb/grahamaldridge/- Yeah ! learn this too http://www.zend.com/php5/ - PHP teaches somethings http://www.perl.com/ - PERL too http://www.1cplusplusstreet.com/ - Code, code. The true source of learning http://www.codearchive.com/right.html - ditto http://www.ddj.com/- really good articles http://www.geceventures.com/archive/index.shtml - more code !! hope it helps -- //| //|| // | // || -//--//---|| ARIO LOBO // //|| - [EMAIL PROTECTED] http://www.ipad.com.br ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snapshot problems
Andrea Venturoli [EMAIL PROTECTED] writes: Hello. I run an amd64 6.1 IMAP server. I do nightly backups by stopping cyrus imapd, taking a snapshot, restarting the server and then backup from the snapshot. However, I get two kind of problems: a) when I mount the snapshot I get: Jun 30 01:04:56 golia kernel: WARNING: /var was not properly dismounted Jun 30 01:04:56 golia kernel: /var: mount pending error: blocks -320 files 0 b) during backup I sometimes get some messages like the following: Could not stat /var/local/snapmnt/spool/imap/user/xxx/cyrus.index: ERR=Bad file descriptor I believe the first one is a known problem, any more info? Any hint on the second? Not really; seems strange. Are you able to fsck the snapshot? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portversion and sudo
Tankko [EMAIL PROTECTED] writes: I have two machines running the same version of 5.3, and all ports are current on both, but, on one of the machines, if I run portversion I get this: undefined method `each' for nil:NilClass /usr/local/sbin/portversion:239: [BUG] Bus Error ruby 1.8.4 (2005-12-24) [i386-freebsd5] Abort trap If I run sudo portversion, it works. Does anyone know why I can run portversion on one of the machines and have to run sudo portversion on the other? Need to remove and rebuild the index database? I can run pkg_version of either machine without sudo. Very different situation, so it doesn't tell you very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
Am Mon, 03 Jul 2006 09:57:35 -0300 schrieb Mario Lobo [EMAIL PROTECTED]: On 3 Jul 2006 at 10:17, jan polomsky wrote: I want to be a programmer, but i have not any good-to-understand form of learning. (i like DOS, but i want to build my own OS too.) can you help me? -- Krasne fotografie, rady a inspiracie. Pre skusenych aj zacinajucich fotografov knihy Zoner Press! Preklady aj publikacie domacich autorov najdete na www.zonerpress.cz. Vyuzite akcne ceny! Well... There are more or less 1.346.745.237.277.456 on the web to find information from but maybe you could start off with those. http://sun.java.com - really good lang to learn http://www.angelfire.com/mb/grahamaldridge/- Yeah ! learn this too http://www.zend.com/php5/ - PHP teaches somethings http://www.perl.com/ - PERL too http://www.1cplusplusstreet.com/ - Code, code. The true source of learning http://www.codearchive.com/right.html - ditto http://www.ddj.com/- really good articles http://www.geceventures.com/archive/index.shtml - more code !! hope it helps not to forget: http://poignantguide.net/ruby/ - if you like foxes :-) -- reinhard weismann creative media gmbh ditscheinergasse 4/3, a-1030 vienna t: +43 1 7150227 74 f: +43 1 7150227 99 http://www.creative.co.at ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't verify hostname-logs error
Hello Listers! my logs full of hundreds of these lines..nd since few days only up to day - Jul 2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed Jul 2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed -- Where hostname_net is the former name for the hosting ISP i have my server from. but same ips and dns. Also line 25 had nothing to do with this hostname its just the first active line in my hosts.allow file anyhow i have replaced the line to: ALL : .hostname_net : allow But still same errors everyday every minute! anyadvise please? Its FreeBSD 4.8R thank you Marwan _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transparent proxy howto
Oliver A. Rojo wrote: Skylar Thompson wrote: Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on is there anything to be done with the kernel? I've done this one but it didn't worked... Make sure that ipnat is loaded by putting ipnat_enable=YES in /etc/rc.conf, and you should be good to go. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Re: shell scripting: help appreciated
On 7/3/06, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote: if i change the line /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; to echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; the program loops for all records in the foo.conf correctly. if i remove the echo keyword, the sub-script get's executed, but the shell terminates as if there were lesser records in the foo.conf file! try: eval /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel PRO/1000 PT
On 7/3/06, Lowell Gilbert [EMAIL PROTECTED] wrote: Nikolas Britton [EMAIL PROTECTED] writes: What are the difference between the Intel PRO/1000 PT Server and Desktop Adapters? Intel PRO/1000 PT Server Adapter: $130 ~ 150 Intel PRO/1000 PT Desktop Adapter: $40 ~ 60 Both use the i82572EI chip and both appear to use the same PCB. Would I be correct in assuming it's a marketing scam to get 2.5 times the price for the same device? Look at the specs; they use different controllers (from the same family, so they may well work in the same PCB, but distinct in capabilities). To clarify, I'm looking at Intel's PBs (product briefs) here: http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_desktop_adapter.pdf http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_server_adapter.pdf Look at the first line in the Features list on the first page, Both PBs list the same Intel 82572EI Gigabit Controller. They also have different bus interfaces -- which could be a sustantial speed advantage for the server version under high load. Again the PB clearly states both cards are PCI Express 1x... Just look at the photo in the PB... The cards are identical! -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5)
[EMAIL PROTECTED] wrote: --- Alex Zbyslaw [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I forgot about nice being interal to csh, that is likely to source of my problems... I use this for a dump dump -0 -C 32 -f - |bzip2 --best | dd of=/foo/bar.dbz2 and then on a restore bzip2 -dc | (cd /foo; restore -r -f -) the error I get is expected 234234 got 234237 expected 234235 got 234238 expected 234236 got 234239 ... ... expected 234250 got 234267 which fills up the screen with seemingly corruption errors, then the restore bails with an error asking if I wish to continue, if I continue it fails. I will get a screen dump of the error when I can dig up the corrupt dump file, and or make a new one. I believe the error is something about inodes missing or being corrupted. this exact command syntax works on everything but my usr filesystem. The restore man page does tell you why this happens (I know because I was just reading it today :-)) You are doing this dump on a Live Filesystem. To do that use the -L option to dump (FreeBSD 5.X or later) which will snapshot the filesystem first. Either that, or do what we had to do for years and drop down to single-user mode and make sure no processes are running to change the filesystem. Dump needs the filesystem to be static. Then when you restore you will get precisely *one* similar error (at least on 5.4), which I can't explain but can say *does not matter*. I have restored several such dumps and compared them to the original filesystem and they are fine. You should do that yourself for your own peace of mind. (I do similar to you but with gzip and on 5.4). The error you'll get should be: expected next file inumber, got inumber A file that was not listed in the directory showed up. This can occur when using a dump created on an active file system. and I think it must be some artefact of the snapshot/dump interaction. If you use -L and *still* have trouble then it sounds like a bug. --Alex I wasn't aware booting off the cd and running fixit made my filesystems become live... It shouldn't, but why are you doing that? Run dump with -L while your laptop is up and running FreeBSD. But while you are in your fixit CD or single-user you could try fscking the filesystems just in case. The output you showed certainly looks like files disappeared between the dumping directories and dumping files pass. I think that a corrupted filesystem could show that behaviour. Whereas the error I consistently get looks like an extra file somehow *appeared* between the passes. dump -0 -C 32 -f - |bzip2 --best | dd of=/foo/bar.dbz2 won't bzip2 --best /foo/bar.dbz2 do? Why dd? You might also want -a in the dump command so that there are no tape size calculations (or maybe that's the default in 6.X, you'd have to check the man page). Btw, restore also has a -N option which does the restore without actually writing any data. God for seeing if a restore would work but quicker and doesn't require any disk space :-) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot upgrade
On 7/4/06, jan gestre [EMAIL PROTECTED] wrote: On 7/3/06, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 02 July 2006 14:23, Jim Stapleton wrote: I would guess that means the file was corrupted somehow, though I don't know how. At any rate, I don't know how to fix that, and not loose the stored information. You pkgdb -fu and it recreates the database. You will also probably find that you need to recreate your INDEX[-*].db. After that, everything works just fine. All I did is run pkg-version and it rebuilt the INDEX.db. i 'm having this same problem :( tried everything that is mentioned in here but to no avail. i even tried make deinstall and make reinstall and it didnt work, pkg_delete wont work coz it cant find portupgrade. pls help i fixed the problem, i saw a solution in one of the threads and it is now ok. here is what i did: # cd /var/db/pkg/ # mv pkgdb.db pkgdb.db.orig # pkgdb -fu everything went back to normal, portupgrade port was the problem as stated by the maintainer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewalls' behavior help
Box:freeBSD 6.0, ipf: IP Filter: v4.1.8 (416), Kernel: IP Filter: v4.1.8 Network layout: --- other building [ PCs - 192.168.80.0/24 ] | g1 (ipf - vr0:192.168.80.2 - sis0:10.10.10.13) | My Lan ( 10.10.10.0/24 ) [ PCs (DefaultGw = g2) ] [ MailSrv (10.10.10.12) (pop3/smtp/ssh) (DefaultGw = g2) ] [ WebSrv (10.10.10.11) (http) (DefaultGw = g1) ] | g2 | Internet ipnat.rules --- map vr0 10.10.10.0/24 - 192.168.80.2/32 proxy port 21 ftp/tcp map vr0 10.10.10.0/24 - 192.168.80.2/32 rdr vr0 192.168.80.2/32 port 80 - 10.10.10.11 port 80 tcp rdr vr0 192.168.80.2/32 port 22 - 10.10.10.12 port 22 tcp rdr vr0 192.168.80.2/32 port 25 - 10.10.10.12 port 25 tcp rdr vr0 192.168.80.2/32 port 110 - 10.10.10.12 port 110 tcp ipf.rules - ### No restrictions inside LAN Interface ### pass out quick on sis0 all pass in quick on sis0 all ### No restrictions on Loopback Interface ### pass out quick on lo0 all pass in quick on lo0 all ### Allow out DNS queries ### pass out quick on vr0 proto tcp from any to 192.168.10.5 port = 53 flags S keep state pass out quick on vr0 proto udp from any to 192.168.10.5 port = 53 keep state ### Allow IE out ### pass out quick on vr0 proto tcp from any to any port = 80 flags S keep state ### Allow Squid Access out ### pass out quick on vr0 proto tcp from any to any port = 3128 flags S keep state pass out quick on vr0 proto tcp from any to any port = 3130 flags S keep state ### Allow FTP out ### pass out quick on vr0 proto tcp from any to any port = 21 flags S keep state ### Allow Remote Desktop to WinXP external PCs ### pass out quick on vr0 proto tcp from any to any port = 3389 flags S keep state ### Allow MailServer to Deliver mails ### pass out quick on vr0 proto tcp from any to any port = 25 flags S keep state ### Block and Log only first occurrence of everything ### block out log first quick on vr0 all ### Block all inbound traffic from non-routable or reserved address spaces ... ### Allow in ssh session from other building ### pass in quick on vr0 proto tcp from any to any port = 22 flags S keep state ### Allow in HTTP session from public to Internat MailServer ### pass in quick on vr0 proto tcp from any to any port = 80 flags S keep state ### Allow in SMTP access to Internal Mail Server ### pass in quick on vr0 proto tcp from any to any port = 25 flags S keep state ### Allow in POP3 access to Internal Mail Server ### pass in quick on vr0 proto tcp from any to any port = 110 flags S keep state ### Block and log anly first occurence of all remaining traffic ### block in log first quick on vr0 all The situation: -- ...if the server(MailSrv) is redirected to G1, the users are able to connect themselves to the services. To be sure about it I redirected the server(WebSrv) with apache that before was pointing to G1 to G2(internet) and the access was broken for the other building... Why happen this? If I understand your description, it could be mapped like this: net1 is the other building's network net1pc1 .. net1pcN net2 is your network net2pc1 .. net2pcN net2server1 .. net2server3 g1 == net1,net2 g2 == net2,Internet Assumptions: net1 and net2 are private the default gateway for g1 is g2 g1 is using a map rule to nat net1 hosts to net2 the default gateway for g2 is on the Internet g2 is using a map rule to nat net2 hosts to the Internet If a net1 PC connects through g1, it would be mapped as coming from g1. Since g1 is on net2, and g2 can route to net2, the servers using g2 as the default route should have no problem. My assumptions may be false. Would you post the g1 and g2 ipf.conf and ipnat.conf, and specify what the net1 and net2 CIDR? Thank you, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot upgrade
On 7/3/06, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 02 July 2006 14:23, Jim Stapleton wrote: I would guess that means the file was corrupted somehow, though I don't know how. At any rate, I don't know how to fix that, and not loose the stored information. You pkgdb -fu and it recreates the database. You will also probably find that you need to recreate your INDEX[-*].db. After that, everything works just fine. All I did is run pkg-version and it rebuilt the INDEX.db. i 'm having this same problem :( tried everything that is mentioned in here but to no avail. i even tried make deinstall and make reinstall and it didnt work, pkg_delete wont work coz it cant find portupgrade. pls help Kent On 7/2/06, Michael P. Soulier [EMAIL PROTECTED] wrote: On 02/07/06 Michael P. Soulier said: Cannot update the pkgdb!]: Cannot update the pkgdb!] /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix' from /usr/local/sbin/portupgrade:475:in `main' from /usr/local/sbin/portupgrade:714:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portupgrade:209:in `main' from /usr/local/sbin/portupgrade:1951 [EMAIL PROTECTED] ~]# pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] This doesn't look good. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ 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]
Sendmail Bind FreeBSD 5.3 Issue
I have a machine that I have installed bind and sendmail from the ports collection it is a mail gateway. When I do a nslookup from the box when it first boots up I do an nslookup on the host name mail2.memorialcare.org It returns the correct ip address. But when I send an email through sendmail on the box that sends to memorialcare.org through mail2.memorialcare.org I get this error Jun 27 06:26:29 rdc-mailgw02 sm-mta[623]: k5RBPtCM000608: [EMAIL PROTECTED], delay=00:00:05, xdelay=00:00:00, mailer=esmtp, pri=30005, relay=mail2.memorialcare.org., dsn=5.1.2, stat=Host unknown (Name server: mail2.memorialcare.org.: host not found) And then if I do an nslookup from the box after that I get a ** server can't find mail2.memorialcare.org: NXDOMAIN Has anyone ever seen anything like this? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade
On 7/3/06, Bill Moran [EMAIL PROTECTED] wrote: E. J. Cerejo [EMAIL PROTECTED] wrote: I'm running FreeBSD 6.1 release and after upgrading portupgrade using portupgrade itself I'm getting this message (message bellow) or similar one everytime I run one of the portupgrade commands like pkgdb -u or -F, portversion -L = or portupgrade itself. Tells me that the database needs to be rebuild, I run portsdb -uU and I get this same error message (message bellow) it rebuilds with portsdb -fuU but still get this same message. Error Message: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ any clues on how to solve this? When was the last time you did a cvsup? Portupgrade was hosed for a few days there, if your ports tree previously installed the hosted version, portupgrade won't work. If this is the case, the solution is: 1) cvsup ports 2) pkg_delete portupgrade 3) cd /usr/ports/sysutils/portupgrade make install clean Portupgrade will then start working again. i always do a cvsup before upgrading the ports but i got the same problem, pkg_delete did not work coz it can't see the portupgrade version that is installed so i did a make deinstall and make reinstall instead but with the same result, any idea how will i solve this? TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel PRO/1000 PT
On 7/3/06, Lowell Gilbert [EMAIL PROTECTED] wrote: Nikolas Britton [EMAIL PROTECTED] writes: On 7/3/06, Lowell Gilbert [EMAIL PROTECTED] wrote: Nikolas Britton [EMAIL PROTECTED] writes: What are the difference between the Intel PRO/1000 PT Server and Desktop Adapters? Intel PRO/1000 PT Server Adapter: $130 ~ 150 Intel PRO/1000 PT Desktop Adapter: $40 ~ 60 Both use the i82572EI chip and both appear to use the same PCB. Would I be correct in assuming it's a marketing scam to get 2.5 times the price for the same device? Look at the specs; they use different controllers (from the same family, so they may well work in the same PCB, but distinct in capabilities). To clarify, I'm looking at Intel's PBs (product briefs) here: http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_desktop_adapter.pdf http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_server_adapter.pdf Look at the first line in the Features list on the first page, Both PBs list the same Intel 82572EI Gigabit Controller. Hmm. Sorry, my notes seem to be wrong (or, given this market, quite possibly just out of date). I thought the desktop version was based on something else (82751, I would have guessed). The 82571EB is for dual port adapters. They also have different bus interfaces -- which could be a sustantial speed advantage for the server version under high load. Again the PB clearly states both cards are PCI Express 1x... Just look at the photo in the PB... The cards are identical! I still think there's a difference there, though; the server version seems to be 4x. You must be thinking of the Intel PRO/1000 PT Dual Port Server Adapter... that's a PCIe 4x device. Each lane utilizes two low voltage differential (LVDS) signaling pairs at 2.5 gigabaud. Transmit and receive are separate differential pairs, for a total of 4 data wires per lane. [1] PCIe 1x is often quoted to support a data rate of 250 MB/s (238 MiB/s) in each direction, per lane. This figure is a calculation from the physical signalling rate (2.5 Gbaud) divided by the encoding overhead (10bits/byte.) This means a 16 lane (x16) PCIe card would then be theoretically capable of 250 * 16 = 4 GB/s (3.7 GiB/s) in each direction. [1] To summarise, PCIe 1x is 2.5Gbps each way (dual simplex). After you calculate in overhead (20%) you will have approximately 2Gbps, or 250MB/s, to work with. This is more then enough for a single gigabit ethernet connection but not enough for two of them, PCIe 4x is 10Gbps - 20% overhead (8Gbps) each way. [1] http://en.wikipedia.org/wiki/PCI_Express -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel PRO/1000 PT
Nikolas Britton [EMAIL PROTECTED] writes: On 7/3/06, Lowell Gilbert [EMAIL PROTECTED] wrote: Nikolas Britton [EMAIL PROTECTED] writes: What are the difference between the Intel PRO/1000 PT Server and Desktop Adapters? Intel PRO/1000 PT Server Adapter: $130 ~ 150 Intel PRO/1000 PT Desktop Adapter: $40 ~ 60 Both use the i82572EI chip and both appear to use the same PCB. Would I be correct in assuming it's a marketing scam to get 2.5 times the price for the same device? Look at the specs; they use different controllers (from the same family, so they may well work in the same PCB, but distinct in capabilities). To clarify, I'm looking at Intel's PBs (product briefs) here: http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_desktop_adapter.pdf http://www.intel.com/network/connectivity/products/prodbrf/pro1000_pt_server_adapter.pdf Look at the first line in the Features list on the first page, Both PBs list the same Intel 82572EI Gigabit Controller. Hmm. Sorry, my notes seem to be wrong (or, given this market, quite possibly just out of date). I thought the desktop version was based on something else (82751, I would have guessed). They also have different bus interfaces -- which could be a sustantial speed advantage for the server version under high load. Again the PB clearly states both cards are PCI Express 1x... Just look at the photo in the PB... The cards are identical! I still think there's a difference there, though; the server version seems to be 4x. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shell scripting: help appreciated
in message [EMAIL PROTECTED], wrote [EMAIL PROTECTED]@mgedv.net thusly... /bin/sh stops working correctly with a content-controlled do-loop. the shell-script layout is as follows: (it's not that trivial, just to show the meaning) --- /test/foo.conf (originally ~60 lines): test1 testval1optional_testval1 test2 testval2optional_testval2 /test/foo.sh (this is the original loop code): cat $g_dir_etc/compile.lst|\ ... ( some pipeline ) ... while read gh_name gh_src gh_srcdir do set some vars here /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; do some stuff here done; /test/foo_sub.sh: we do very much stuff in here, like compiling programs etc... --- if i change the line /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; to echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; the program loops for all records in the foo.conf correctly. if i remove the echo keyword, the sub-script get's executed, but the shell terminates as if there were lesser records in the foo.conf file! i scripted as many debug messages as possible, for every loop they get executed and there are no errors/etc... happening. and interestingly, the execution stops always on the same record! if i comment out some records of my foo.conf, the sub-shell gets executed for more records. So, what is it exactly in the records (and/or values given to subprogram.sh) where the execution stops? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel PRO/1000 PT
Nikolas Britton [EMAIL PROTECTED] writes: The 82571EB is for dual port adapters. Ah, yes. Sorry about that; I was definitely thinking of dual-port cards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
Did you guys say the card I've got in another box wont fit into a 320? On 03/07/06, Antony Mawer [EMAIL PROTECTED] wrote: On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is Intel Dual Port Server Adapter 10/100/1000. Any idea if that will do? That is a PRO/1000 MT card, which is a PCI-X adapter and is supported by the standard em(4) driver in FreeBSD 6.x, The PRO/1000 PT mentioned below is a PCI-Express adapter and is not supported by the standard driver in 6.x, but (as mentioned) should be supported by the driver available from Intel. If you wish to utilise the PCI Express expansion slots by using a Pro/1000 PT network adapter, the procedure to follow might be something like be this: 1. Install 6.1-RELEASE from CD, being sure to install the kernel source 2. Obtain the latest Intel driver for FreeBSD 6.x (if it is still not available on the website, email me and I will send it to you) 3. Burn the driver onto a CD or other media and copy it onto the server 4. Extract the driver source, and copy the if_em* files across into /usr/src/sys/dev/em/ 5. Build a new kernel (GENERIC will suffice) which will utilise the new driver source (cd /usr/src make buildkernel) 6. Install the kernel and reboot (make installkernel) You should now have a working network with your Pro/1000 PT... Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewalls' behavior help
Sorry, this mail was for the ipfilter's list... Box:freeBSD 6.0, ipf: IP Filter: v4.1.8 (416), Kernel: IP Filter: v4.1.8 Network layout: --- other building [ PCs - 192.168.80.0/24 ] | g1 (ipf - vr0:192.168.80.2 - sis0:10.10.10.13) | My Lan ( 10.10.10.0/24 ) [ PCs (DefaultGw = g2) ] [ MailSrv (10.10.10.12) (pop3/smtp/ssh) (DefaultGw = g2) ] [ WebSrv (10.10.10.11) (http) (DefaultGw = g1) ] | g2 | Internet ipnat.rules --- map vr0 10.10.10.0/24 - 192.168.80.2/32 proxy port 21 ftp/tcp map vr0 10.10.10.0/24 - 192.168.80.2/32 rdr vr0 192.168.80.2/32 port 80 - 10.10.10.11 port 80 tcp rdr vr0 192.168.80.2/32 port 22 - 10.10.10.12 port 22 tcp rdr vr0 192.168.80.2/32 port 25 - 10.10.10.12 port 25 tcp rdr vr0 192.168.80.2/32 port 110 - 10.10.10.12 port 110 tcp ipf.rules - ### No restrictions inside LAN Interface ### pass out quick on sis0 all pass in quick on sis0 all ### No restrictions on Loopback Interface ### pass out quick on lo0 all pass in quick on lo0 all ### Allow out DNS queries ### pass out quick on vr0 proto tcp from any to 192.168.10.5 port = 53 flags S keep state pass out quick on vr0 proto udp from any to 192.168.10.5 port = 53 keep state ### Allow IE out ### pass out quick on vr0 proto tcp from any to any port = 80 flags S keep state ### Allow Squid Access out ### pass out quick on vr0 proto tcp from any to any port = 3128 flags S keep state pass out quick on vr0 proto tcp from any to any port = 3130 flags S keep state ### Allow FTP out ### pass out quick on vr0 proto tcp from any to any port = 21 flags S keep state ### Allow Remote Desktop to WinXP external PCs ### pass out quick on vr0 proto tcp from any to any port = 3389 flags S keep state ### Allow MailServer to Deliver mails ### pass out quick on vr0 proto tcp from any to any port = 25 flags S keep state ### Block and Log only first occurrence of everything ### block out log first quick on vr0 all ### Block all inbound traffic from non-routable or reserved address spaces ... ### Allow in ssh session from other building ### pass in quick on vr0 proto tcp from any to any port = 22 flags S keep state ### Allow in HTTP session from public to Internat MailServer ### pass in quick on vr0 proto tcp from any to any port = 80 flags S keep state ### Allow in SMTP access to Internal Mail Server ### pass in quick on vr0 proto tcp from any to any port = 25 flags S keep state ### Allow in POP3 access to Internal Mail Server ### pass in quick on vr0 proto tcp from any to any port = 110 flags S keep state ### Block and log anly first occurence of all remaining traffic ### block in log first quick on vr0 all The situation: -- ...if the server(MailSrv) is redirected to G1, the users are able to connect themselves to the services. To be sure about it I redirected the server(WebSrv) with apache that before was pointing to G1 to G2(internet) and the access was broken for the other building... Why happen this? If I understand your description, it could be mapped like this: net1 is the other building's network net1pc1 .. net1pcN net2 is your network net2pc1 .. net2pcN net2server1 .. net2server3 g1 == net1,net2 g2 == net2,Internet Assumptions: net1 and net2 are private the default gateway for g1 is g2 g1 is using a map rule to nat net1 hosts to net2 the default gateway for g2 is on the Internet g2 is using a map rule to nat net2 hosts to the Internet If a net1 PC connects through g1, it would be mapped as coming from g1. Since g1 is on net2, and g2 can route to net2, the servers using g2 as the default route should have no problem. My assumptions may be false. Would you post the g1 and g2 ipf.conf and ipnat.conf, and specify what the net1 and net2 CIDR? Thank you, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Efren Bravo Sistemas DHL-Cuba Telf-Pizarra: (537)-2041578 Ext 123 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail Bind FreeBSD 5.3 Issue
It sounds like your server is expecting to be the authoritative server for this domain, but is not. The authoritative server's records always are assumed to be the correct ones. -Derek At 11:30 AM 7/3/2006, Derrick Schimcek wrote: I have a machine that I have installed bind and sendmail from the ports collection it is a mail gateway. When I do a nslookup from the box when it first boots up I do an nslookup on the host name mail2.memorialcare.org It returns the correct ip address. But when I send an email through sendmail on the box that sends to memorialcare.org through mail2.memorialcare.org I get this error Jun 27 06:26:29 rdc-mailgw02 sm-mta[623]: k5RBPtCM000608: [EMAIL PROTECTED], delay=00:00:05, xdelay=00:00:00, mailer=esmtp, pri=30005, relay=mail2.memorialcare.org., dsn=5.1.2, stat=Host unknown (Name server: mail2.memorialcare.org.: host not found) And then if I do an nslookup from the box after that I get a ** server can't find mail2.memorialcare.org: NXDOMAIN Has anyone ever seen anything like this? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups 1.2 - no output
the permissions of /dev/ulp* are: crw-rw 1 root cups0, 169 Jul 3 20:35 /dev/ulpt0 crw-rw 1 root cups0, 170 Jul 3 20:35 /dev/unlpt0 the directory /var/cache/cups is group writable when I start a print job I get the message printer Minolta now printing Minolta-59. enabled since Mon Jul 3 20:53:42 2006 USB port busy; will retry in 30 seconds... Minolta-59 guest18432 Mon Jul 3 20:53:42 2006 however, there is now output of fstat | grep ulpt0 'fstat |grep cups' gives this output cups usb 1657 root / 2 drwxr-xr-x 512 r cups usb 1657 wd / 2 drwxr-xr-x 512 r cups usb 1657 text /usr 7632315 -rwxr-xr-x 22297 r cups usb 16570 /dev 21 crw-rw-rw-null r cups usb 16571 /dev 21 crw-rw-rw-null w cups usb 16572* pipe c5826d78 - c5826cc0 0 rw cups usb 16573* pipe c5826580 - c58264c8 0 rw cups usb 16574 /var 4022 -rw-r- 18382 r root cupsd 1652 root / 2 drwxr-xr-x 512 r root cupsd 1652 wd / 2 drwxr-xr-x 512 r root cupsd 1652 text /usr 6743296 -rwxr-xr-x 595608 r root cupsd 16520* internet6 stream tcp c4eb0570 root cupsd 16521 /var 3206 -rw-r--r-- 695444 rw root cupsd 16522* internet stream tcp c4acfae0 root cupsd 16523* local stream c57a6c08 root cupsd 16524* internet dgram udp c48775a0 root cupsd 16525* pipe c5826198 - c5826250 0 rw root cupsd 16526* pipe c5826250 - c5826198 0 rw root cupsd 16527* internet6 stream tcp c49b8cb0 root cupsd 16528 /var 3069 -rw-r--r-- 311933 rw root cupsd 16529* internet6 stream tcp c4acf740 root cupsd 1652 11 /dev 21 crw-rw-rw-null r root cupsd 1652 14* pipe c5826cc0 - c5826d78 0 rw root cupsd 1652 16 /dev 21 crw-rw-rw-null r Am Sonntag 02 Juli 2006 22:50 schrieb Jan-Espen Pettersen: Rainer Heesen wrote: USB port busy; will retry in 30 seconds... fstat | grep ulpt0 .. will reveal which process is eventually having ulpt0 open, and causing 'device busy'. The usb backend seems to get this error while trying to open /dev/ulpt0. Please also make sure that either the cups user or cups group has read and write access to /dev/ulpt0. I think most people use permissions like: root:cups 0660 (-rw-rw). Jan-Espen Pettersen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sudo and LDAP
Ok, so its working but I realized a slight problem today when went back to check on things. Its not prompting for a password. Sudoers isn't on NOPASSWD so I am assuming its my pam.d/sudo file. What am I missing? risk# cat /etc/pam.d/sudo # # $FreeBSD: src/etc/pam.d/su,v 1.16 2003/07/09 18:40:49 des Exp $ # # PAM configuration for the su service # # auth authsufficient pam_rootok.so no_warn authsufficient pam_self.so no_warn authsufficient /usr/local/lib/pam_ldap.so no_warn authrequisite pam_group.sono_warn group=wheel root_only fail_safe authinclude system # account account sufficient /usr/local/lib/pam_ldap.so no_warn account include system # session session sufficient /usr/local/lib/pam_ldap.so no_warn session requiredpam_permit.so Thanks Jim On 7/2/06, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jul 02), ACM Staff said: Ok, so I am running a box with 6.0-STABLE Problem is I can't get sudo working for my LDAP based users. I compiled sudo from the ports tree with LDAP support. Here is some output as a user: [EMAIL PROTECTED]:~$ id notroot uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers), 201(staff), 204(staffers) [EMAIL PROTECTED]:~$ sudo ls Password: Sorry, try again. Have you created a pam.d/sudo file, or edited your pam.d/other file to include pam_ldap.so? I recommend copying the pam.d/su file, then editing pam.d/system to include pam_ldap.so. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HD Errors
Hi, I'm seeing the following messages in /var/log/messages and am concerned about the integrity of the hard drive: ad0: WRITE command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: WRITE command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 5488, size: 4096 ad0: WRITE command timeout tag=0 serv=0 - resetting Are the ad0 messages showing the hard drive is having hardware problems? Many thanks, Robert -- [EMAIL PROTECTED] rupreckt1553 (AIM) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enermax USB enclosure
On 03/07/06, mal content [EMAIL PROTECTED] wrote: Anybody had any luck getting one of these working? It's specifically an Enermax External Enclosure EB305C, IDE/SATA to USB2.0. Sorry, forgot to mention that I'm on FreeBSD-6.0-RELEASE on generic i386 hardware. MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enermax USB enclosure
Anybody had any luck getting one of these working? It's specifically an Enermax External Enclosure EB305C, IDE/SATA to USB2.0. Upon plugging in the device, with an unformatted Maxtor (hack, spit) hard disk: Jul 3 20:50:44 logik kernel: umass0: Macpower Tytech Tech USB2.0 Enclosure, rev 2.00/1.00, addr 2 Jul 3 20:50:44 logik kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 3 20:50:44 logik kernel: da0:Fixed Direct Access SCSI-2 device Jul 3 20:50:44 logik kernel: da0: 1.000MB/s transfers Jul 3 20:50:44 logik kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Medium not present Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 3 20:50:44 logik kernel: Opened disk da0 - 6 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Medium not present Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 3 20:50:44 logik kernel: Opened disk da0 - 6 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Medium not present Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 3 20:50:44 logik kernel: Opened disk da0 - 6 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Medium not present Jul 3 20:50:44 logik kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 3 20:50:44 logik kernel: Opened disk da0 - 6 And: $ ls -alF /dev/da0 crw-r- 1 root operator0, 126 2 Jul 13:02 /dev/da0 Any attempt to do anything useful with the disk just results in the following: $ sudo fdisk /dev/da0 fdisk: cannot open disk /dev/da0: Device not configured I've noticed that even Mac OS X seems to get the disk sizes wrong for this disk, it thinks that it's a 2TB (!) drive when it's actually 160gb. Any help would be welcome. MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox with flash and java!
-- Original message -- From: Gerard Seibert [EMAIL PROTECTED] Bob Middaugh wrote: fwiw, I've followed these instructions on a few boxes, all 6.1-RELEASE, and have had no problems: http://www.unixlike.com.br/?p=%2081 Is that available in English? -- Gerard Seibert [EMAIL PROTECTED] I don't think so. I can't read the language it's written in, but I just follow the commands and it works. :-) Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snapshot problems
Lowell Gilbert wrote: I believe the first one is a known problem, any more info? Any hint on the second? Not really; seems strange. Are you able to fsck the snapshot? Hm... guess so. Is it fsck /var/local/snapmnt? Just a question before I try it... this is a production system, will it screw up anything? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups 1.2 - no output
Rainer Heesen wrote: the permissions of /dev/ulp* are: crw-rw 1 root cups0, 169 Jul 3 20:35 /dev/ulpt0 crw-rw 1 root cups0, 170 Jul 3 20:35 /dev/unlpt0 the directory /var/cache/cups is group writable when I start a print job I get the message printer Minolta now printing Minolta-59. enabled since Mon Jul 3 20:53:42 2006 USB port busy; will retry in 30 seconds... Minolta-59 guest18432 Mon Jul 3 20:53:42 2006 however, there is now output of fstat | grep ulpt0 'fstat |grep cups' gives this output cups usb 1657 root / 2 drwxr-xr-x 512 r cups usb 1657 wd / 2 drwxr-xr-x 512 r cups usb 1657 text /usr 7632315 -rwxr-xr-x 22297 r cups usb 16570 /dev 21 crw-rw-rw-null r cups usb 16571 /dev 21 crw-rw-rw-null w cups usb 16572* pipe c5826d78 - c5826cc0 0 rw cups usb 16573* pipe c5826580 - c58264c8 0 rw cups usb 16574 /var 4022 -rw-r- 18382 r root cupsd 1652 root / 2 drwxr-xr-x 512 r root cupsd 1652 wd / 2 drwxr-xr-x 512 r root cupsd 1652 text /usr 6743296 -rwxr-xr-x 595608 r root cupsd 16520* internet6 stream tcp c4eb0570 root cupsd 16521 /var 3206 -rw-r--r-- 695444 rw root cupsd 16522* internet stream tcp c4acfae0 root cupsd 16523* local stream c57a6c08 root cupsd 16524* internet dgram udp c48775a0 root cupsd 16525* pipe c5826198 - c5826250 0 rw root cupsd 16526* pipe c5826250 - c5826198 0 rw root cupsd 16527* internet6 stream tcp c49b8cb0 root cupsd 16528 /var 3069 -rw-r--r-- 311933 rw root cupsd 16529* internet6 stream tcp c4acf740 root cupsd 1652 11 /dev 21 crw-rw-rw-null r root cupsd 1652 14* pipe c5826cc0 - c5826d78 0 rw root cupsd 1652 16 /dev 21 crw-rw-rw-null r You could try 'echo test /dev/ulpt0' to see if it is /dev/ulpt0 that is failing with 'device busy'. And if you stop cupsd, check that an eventual usb backend process also exits. It'll usually show up with 'ps -ax | grep usb', or 'fstat | grep cups'. Also, if you send us your printers.conf, it would be easier to understand the debug/error logs. signature.asc Description: OpenPGP digital signature
Re: Enermax USB enclosure
I've noticed that even Mac OS X seems to get the disk sizes wrong for this disk, it thinks that it's a 2TB (!) drive when it's actually 160gb. I've just tried a couple of other disks and I'm beginning to suspect that the culprit is actually this crappy Maxtor disk. I've managed to mount an old Seagate drive without problems. Jul 3 21:18:25 logik kernel: umass0: Macpower Tytech Tech USB2.0 Enclosure, rev 2.00/1.00, addr 2 Jul 3 21:18:26 logik kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 3 21:18:26 logik kernel: da0: QUANTUM 04619053 0D00 Fixed Direct Access SCSI-2 device Jul 3 21:18:26 logik kernel: da0: 1.000MB/s transfers Jul 3 21:18:26 logik kernel: da0: 6149MB (12594960 512 byte sectors: 255H 63S/T 784C) cheers! MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: screen blanking and kde
dick hoogendijk wrote: The machine I use fvwm on blanks the screen after a period of time (the default from Xorg). However, a machine running KDE does not(!), even without the screensaver enabled (in kde). Disabling the saver results in a screen never go blank. So, I guess, kde interfeares with xorg somewhere (disabling the blanktime feature from xorg). Does anybody know where this is done (by kde) and if this can be changed? Sure, I can use kde's screensaver (orxscreensaver), but I only want the screen go blank and xorg can do that just the same) From settings-peripherals-display select the power control tab and you should be able to set blanking time there. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysutils/ipmi-kmod errors
I'm attempting to install sysutil/ipmi-kmod on a 6.1-RELEASE system. I get the following output from the port: === Installing for ipmi-kmod-20060418 === Generating temporary packing list === Checking if sysutils/ipmi-kmod already installed install -o root -g wheel -m 444 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/sys/ipmi.h /usr/local/include/sys install -s -o root -g wheel -m 555 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/ipmi.ko /boot/modules kldxref: /boot/modules/ipmi.ko: file has no valid symbol table Segmentation fault (core dumped) Attempting to kldload the module causes the box to reboot. Just for a test it installed fine on another 6.1-R box I have here. Any suggestions? -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysutils/ipmi-kmod errors
On Monday 03 July 2006 17:04, Josh Paetzel wrote: I'm attempting to install sysutil/ipmi-kmod on a 6.1-RELEASE system. I get the following output from the port: === Installing for ipmi-kmod-20060418 === Generating temporary packing list === Checking if sysutils/ipmi-kmod already installed install -o root -g wheel -m 444 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/sys/ipmi.h /usr/local/include/sys install -s -o root -g wheel -m 555 /usr/ports/sysutils/ipmi-kmod/work/ipmi-kmod-20060418/ipmi.ko /boot/modules kldxref: /boot/modules/ipmi.ko: file has no valid symbol table Segmentation fault (core dumped) Attempting to kldload the module causes the box to reboot. Just for a test it installed fine on another 6.1-R box I have here. Any suggestions? Forgot to mention that the box that this breaks on is AMD64. I'm pretty sure that's the issue. Sorry about the noise. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Enermax USB enclosure
Try putting it on a windows box and try to run fdisk on it. If fdisk don't work throw it away as no good. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of mal content Sent: Monday, July 03, 2006 4:22 PM To: freebsd-questions@freebsd.org Subject: Re: Enermax USB enclosure I've noticed that even Mac OS X seems to get the disk sizes wrong for this disk, it thinks that it's a 2TB (!) drive when it's actually 160gb. I've just tried a couple of other disks and I'm beginning to suspect that the culprit is actually this crappy Maxtor disk. I've managed to mount an old Seagate drive without problems. Jul 3 21:18:25 logik kernel: umass0: Macpower Tytech Tech USB2.0 Enclosure, rev 2.00/1.00, addr 2 Jul 3 21:18:26 logik kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 3 21:18:26 logik kernel: da0: QUANTUM 04619053 0D00 Fixed Direct Access SCSI-2 device Jul 3 21:18:26 logik kernel: da0: 1.000MB/s transfers Jul 3 21:18:26 logik kernel: da0: 6149MB (12594960 512 byte sectors: 255H 63S/T 784C) cheers! MC ___ 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: Portupgrade ruby problem
Mmmh... I have followed your instructions and am still facing a problem : root 0:34 ~ # portversion -l [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ I can not rebuild the database using pkgdb -fu root 0:37 ~ # pkgdb -fu --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] ?? Any idea. Le 3 juil. 06 à 10:48, Jacques S. a écrit : bsd wrote: Hello, I have a new problem that has just occured on my main mail server. I am upgrading the ports on this server every two or three days using portsnap and portupgrade. After portsnap has updated it's index I do a portupgrade -arR to upgrade all ports on the system. Mutt needed an update so I did what I am doing every couple of days since more than one year : # portsnap update # portupgrade -arR My system faithfully started to update it's ports then... -L/usr/local/lib -o pgpring pgppubring.o pgplib.o lib.o extlib.o sha1.o pgppacket.o ascii.o -lintl -liconv cc -I/usr/local/include -Wall -O -pipe -L/usr/local/lib -rpath=/ usr/local/lib -L/usr/local/lib pgpewrap.c -o pgpewrap defined symbol db_version_4002 ** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ --- Skipping 'mail/mutt' /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- freebsd5/bdb.so: Undefined symbol db_version_4002 /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix' from /usr/local/sbin/portupgrade:475:in `main' from /usr/local/sbin/portupgrade:714:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portupgrade:209:in `main' from /usr/local/sbin/portupgrade:1951 I shooted portupgrade again but that did nothing, the donkey was stucked !! root 8:08 ~ # portupgrade -arR /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386- freebsd5/bdb.so: Undefined symbol db_version_4002 I have also try to reinstall portupgrade and ruby18 that did nothing !! Any idea of how to proceed... Another interesting information : root 8:18 ~ # uname -a FreeBSD newmail.rmm.fr 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Thu Nov 24 16:34:35 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/GENERIC i386 Thanks for your support. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] This worked for me: # cd /var/db/ports/portupgrade # rm options # cd /var/db/pkg # rm pkgdb.db # pkgdb -fu Discovered I had both ruby versions in ports: db4-4.x.x and db41-4.x.x I needed only db41; nothing depended (any more) on db4, so: # pkg_delete db4-4.x.x Note, I had migrated to WITH_BDB4=true, quite a long time ago. The recent tribulations with portupgrade has been on the list already, several times, at several stages of the problem, and various solutions have been described. Some of those seem more complicated than this. I don't think the problem is complicated, at least not in every case. At least not, now that the maintainer has worked to fix the port. -- Jacques S. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3 NIC firewall help
Hello All, I have a problem which I think must be simple, I just can't figure out exactly what I need to do. I have a gateway / firewall (freebsd 6.1) with 3 nic cards. I just added the third card, rl1, which I have attached to a wireless access point. I can ping the access point from the firewall, but not from the rest of the internal (wired) network!!?? My wired network is 192.168.1 and the wireless access point is currently the default 192.168.0.229. rl1 is set to 192.168.0.210 Attached are netstat -r, my pf.conf and rc.conf from the firewall/gateway. Any and all help is appreciated. Thanks in advance Mark Moellering # -- sysinstall generated deltas -- # Thu May 11 16:26:43 2006 # Created: Thu May 11 16:26:43 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. gateway_enable=YES linux_enable=YES moused_enable=YES usbd_enable=YES #Internal Wired Network ifconfig_bge0=inet 192.168.1.1 netmask 255.255.255.0 hostname=Myhostname #Wireless Network ifconfig_rl1=inet 192.168.0.210 netmask 255.255.255.0 #External Gateway Interface ifconfig_rl0=DHCP inetd_enable=YES pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES pflog_logfile=var/log/pflog # $FreeBSD: src/share/examples/pf/faq-example1,v 1.1 2004/09/14 01:07:18 mlaier Exp $ # $OpenBSD: faq-example1,v 1.2 2003/08/06 16:04:45 henning Exp $ # # Firewall for Home or Small Office # http://www.openbsd.org/faq/pf/example1.html # # macros int_if = bge0 ext_if = rl0 wint_if = rl1 tcp_services = { 22, 113 } icmp_types = echoreq priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } # options set block-policy return set loginterface $ext_if # scrub scrub in all # nat/rdr nat on $ext_if from $int_if:network to any - ($ext_if) nat on $ext_if from $wint_if:network to any - ($ext_if) rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021 # filter rules block all #pass in all pass quick on lo0 all block drop in on $ext_if from $priv_nets to any block drop out on $ext_if from any to $priv_nets pass in on $ext_if inet proto tcp from any to ($ext_if) \ port $tcp_services flags S/SA keep state #allow access to web server #pass in on $ext_if inet proto tcp from $XXX to 192.168.1.5 port 80 \ flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state pass in on $int_if from $int_if:network to any keep state pass out on $int_if from any to $int_if:network keep state pass in on $wint_if from $wint_if:network to any keep state pass out on $wint_if from any to $wint_if:network keep state pass in on $wint_if from $int_if:network to any keep state pass in on $int_if from $wint_if:network to any keep state pass out on $wint_if from any to $int_if:network keep state pass out on $int_if from any to $wint_if:network keep state pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state pass in on $ext_if inet proto tcp from any to ($ext_if) \ user proxy keep state Script started on Mon Jul 3 18:49:59 2006 netstat -r Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultc-68-61-202-129.hs UGS 0 40rl0 68.61.202.128/25 link#2 UC 00rl0 c-68-61-202-129.hs 00:05:5f:e9:8c:a9 UHLW20rl0 1199 localhost localhost UH 00lo0 192.168.0 link#3 UC 00rl1 192.168.0.229 00:0f:b5:7a:14:82 UHLW1 10rl1 1089 192.168.1 link#1 UC 00 bge0 192.168.1.200:09:5b:20:aa:23 UHLW1 30 bge0 1107 Internet6: DestinationGatewayFlags Netif Expire localhost.psyberat localhost.psyberat UH lo0 fe80::%bge0link#1 UC bge0 fe80::240:f4ff:fe4 00:40:f4:47:23:54 UHL lo0 fe80::%rl0 link#2 UC rl0 fe80::2e0:7dff:fec 00:e0:7d:c1:74:44 UHL lo0 fe80::%rl1 link#3 UC rl1 fe80::2e0:7dff:fea 00:e0:7d:a8:78:8e UHL lo0 fe80::%lo0 fe80::1%lo0U lo0 fe80::1%lo0link#6 UHL lo0 ff01:1:: link#1 UC bge0 ff01:2:: link#2 UC rl0 ff01:3:: link#3 UC rl1 ff01:6:: localhost.psyberat UC lo0 ff02::%bge0link#1 UC bge0 ff02::%rl0 link#2 UC rl0 ff02::%rl1 link#3 UC rl1 ff02::%lo0 localhost.psyberat UC lo0 exit exit Script done on Mon Jul 3 18:50:07 2006 ___
Re: firefox with flash and java!
-- Original message -- From: Gerard Seibert [EMAIL PROTECTED] Bob Middaugh wrote: fwiw, I've followed these instructions on a few boxes, all 6.1-RELEASE, and have had no problems: http://www.unixlike.com.br/?p=%2081 Is that available in English? -- Gerard Seibert [EMAIL PROTECTED] I don't think so. I can't read the language it's written in, but I just follow the commands and it works. :-) As mentioned about, google does have a translation service, though the link got chopped for me. I believe it is portugese(sp), but here is the tinyurl version: http://tinyurl.com/gxzof ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to install FreeBSD 6.1... Question
Hello, I have a Compaq Precario desktop with an amd 64bit athalon, and an SATA 200gb drive (No Raid Support). When i first tried to install FreeBSD the installation froze which I was able to fix by disabling APCI. Then I hit a problem agian. The installer freezes after the line rr232x no controller detected which i figured was a raid controller.. I disabled SATA in the bios to see if the installer would load, and it did, but without SATA support i dont have any harddrives to write to... I would really like to be able to install FreeBSD 6.1 and hope you guys can help. Thanks, Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE not in 6-stable anymore
Hi I have noticed that KDE 3.5.2 has been removed from packages-6-stable. Why is that? Best and kind regards, Rico. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rdiff-backup 1.1.5 on FreeBSD 4.11
Hi there, So I built a new server and it is running rdiff-backup 1.1.5 but my freeBSD-4.11 rdiff-backup clients are running the latest port version of 1.0.4_1 any chance somebody got rdiff-back 1.1.5 running well on FreeBSD? My build is failing and can use a had please. Contact me privately if need be. Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports doubt, check network performance...?
Hi people. I have some problems on my network, and i want to use my freebsd box to see if i can find the problems on my network, we have two networks in two countrys connected by a private link, but i have seen just a couple a weeks ago that we have some problems between both links, we are lossing packets if i ping some server on the other link, some times i get 36% of packets loss, is to but to much on bussines hours. I want to use my freebsd box running 6.0 but just want to know if some one could recomend me wich ports to check to see if i can find wich device is causing this problem. Thanks any help will be apreciated, greetings!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shell scripting: help appreciated
in message [EMAIL PROTECTED], wrote Parv thusly... in message [EMAIL PROTECTED], wrote [EMAIL PROTECTED]@mgedv.net thusly... By the way [EMAIL PROTECTED]@mgedv.net do something about ... Reporting-MTA: dns; mta9.adelphia.net Arrival-Date: Mon, 3 Jul 2006 13:49:48 -0400 Received-From-MTA: dns; default.chvlva.adelphia.net (69.160.66.115) Final-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.2.0 Remote-MTA: dns; mail.mgedv.net (81.223.168.230) Diagnostic-Code: smtp; 521 mta9.adelphia.net[68.168.78.199]: Client host rejected: 550 service denied (20003) - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+
Paul Querna wrote: Can you try to get this into a simple test case? Calling apr_dso_load twice? I didn't seem to be able to cause it in a simple case; any great ideas ? gcc -g -O0 \ -I/usr/local/software/freebsd-6.1-stable/3.4.4/apr/trunk/include/apr-1 \ -L/usr/local/software/freebsd-6.1-stable/3.4.4/apr/trunk/lib -l apr-1 \ gdb.c -o test ./test [EMAIL PROTECTED] /home/pgollucci 145 0gdb ./test GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd... (gdb) r Starting program: /usr/home/pgollucci/test warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100062] [New Thread 0x8053000 (LWP 100062)] Program exited normally. (gdb) Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night. /* $Id$ */ #include apr.h #include apr_dso.h #include stdio.h int main(int argc, const char * const argv[]) { apr_pool_t *cntx; apr_status_t stat; apr_dso_handle_t *modhandle; const char *path = /lib/libc.so.6; apr_app_initialize(argc, argv, NULL); stat = apr_pool_create(cntx, NULL); if (stat != APR_SUCCESS) { fprintf(stderr, apr_pool_create() failed to create initial context); apr_terminate(); exit(1); } if (apr_dso_load(modhandle, path, cntx) != APR_SUCCESS) { char my_error[256]; fprintf(stderr, apr_dso_error(modhandle, my_error, sizeof(my_error))); } if (apr_dso_load(modhandle, path, cntx) != APR_SUCCESS) { char my_error[256]; fprintf(stderr, apr_dso_error(modhandle, my_error, sizeof(my_error))); } apr_terminate(); exit(0); } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD 6.1... Question
On 7/3/06, Kevin Cortez [EMAIL PROTECTED] wrote: Hello, I have a Compaq Precario desktop with an amd 64bit athalon, and an SATA 200gb drive (No Raid Support). When i first tried to install FreeBSD the installation froze which I was able to fix by disabling APCI. Then I hit a problem agian. The installer freezes after the line rr232x no controller detected which i figured was a raid controller.. I disabled SATA in the bios to see if the installer would load, and it did, but without SATA support i dont have any harddrives to write to... I would really like to be able to install FreeBSD 6.1 and hope you guys can help. Need more info about your hardware. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail on FreeBSD 6.1 rejected
Aloha and Happy 4th of July. I am trying to make a mail server with sendmail and have not done this before. I am getting the following errors. Does anyone know what file holds the relaying that needs to be set up to make it work. The doumentation I have been able to find either has errors or is very fragmanted and hard to follow as a HOWTo. Thanks, The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: [EMAIL PROTECTED] --- Session Transcript --- Sun 2006-07-02 20:43:16: Parsing Message \pd9002791.msg Sun 2006-07-02 20:43:16: From: [EMAIL PROTECTED] Sun 2006-07-02 20:43:16: To: [EMAIL PROTECTED] Sun 2006-07-02 20:43:16: Subject: test b Sun 2006-07-02 20:43:16: Message-ID: [EMAIL PROTECTED] Sun 2006-07-02 20:43:16: MX-record resolution of [hdk5.net] in progress (DNS Server: 64.75.245.7)... Sun 2006-07-02 20:43:16: * P=000 D=hdk5.net TTL=(120) MX=[holo9.hdk5.net] Sun 2006-07-02 20:43:16: Attempting MX: P=000 D=hdk5.net TTL=(120) MX=[holo9.hdk5.net] Sun 2006-07-02 20:43:16: Attempting SMTP connection to [holo9.hdk5.net : 25] Sun 2006-07-02 20:43:16: A-record resolution of [holo9.hdk5.net] in progress (DNS Server: 64.75.245.7)... Sun 2006-07-02 20:43:16: D=holo9.hdk5.net TTL=(120) A=[66.180.132.238] Sun 2006-07-02 20:43:16: Attempting SMTP connection to [66.180.132.238 : 25] Sun 2006-07-02 20:43:16: Waiting for socket connection... Sun 2006-07-02 20:43:16: Socket connection established (64.75.245.3 : 1734 - 66.180.132.238 : 25) Sun 2006-07-02 20:43:16: Waiting for protocol initiation... Sun 2006-07-02 20:43:17: -- 220 holo9.hdk5.net ESMTP Sendmail 8.13.6/8.13.6; Sun, 2 Jul 2006 20:31:00 -1000 (HST) Sun 2006-07-02 20:43:17: -- EHLO mail.alohahosting.net Sun 2006-07-02 20:43:17: -- 250-holo9.hdk5.net Hello oahu.alohahosting.net [64.75.245.3], pleased to meet you Sun 2006-07-02 20:43:17: -- 250-ENHANCEDSTATUSCODES Sun 2006-07-02 20:43:17: -- 250-PIPELINING Sun 2006-07-02 20:43:17: -- 250-8BITMIME Sun 2006-07-02 20:43:17: -- 250-SIZE Sun 2006-07-02 20:43:17: -- 250-DSN Sun 2006-07-02 20:43:17: -- 250-ETRN Sun 2006-07-02 20:43:17: -- 250-DELIVERBY Sun 2006-07-02 20:43:17: -- 250 HELP Sun 2006-07-02 20:43:17: -- MAIL From:[EMAIL PROTECTED] SIZE=1173 Sun 2006-07-02 20:43:17: -- 250 2.1.0 [EMAIL PROTECTED]... Sender ok Sun 2006-07-02 20:43:17: -- RCPT To:[EMAIL PROTECTED] Sun 2006-07-02 20:43:17: -- 550 5.7.1 [EMAIL PROTECTED]... Relaying denied --- End Transcript --- : Message contains [1] file attachments -- Al Plant -- Webmaster- http://hawaiidakine.com Admin- http://freebsdinfo.org -- Supporting Open Source Computing - - FreeBSD 6.* -- Debian Linux 3* All that's really worth doing is what we do for others.- Lewis Carroll ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail on FreeBSD 6.1 rejected
Al Plant wrote: Sun 2006-07-02 20:43:17: -- RCPT To:[EMAIL PROTECTED] Sun 2006-07-02 20:43:17: -- 550 5.7.1 [EMAIL PROTECTED]... Relaying denied Assuming you want to ACCEPT mail for that domain, you need to create / add to /etc/mail/local-host-names See here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports doubt, check network performance...?
perikillo wrote: I want to use my freebsd box running 6.0 but just want to know if some one could recomend me wich ports to check to see if i can find wich device is causing this problem. [EMAIL PROTECTED] /usr/ports 11 0make search name=ethereal | grep ^Path Path: /usr/ports/net/ethereal Path: /usr/ports/net/ethereal-lite Path: /usr/ports/net/tethereal Path: /usr/ports/net/tethereal-lite Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail on FreeBSD 6.1 rejected
Al Plant writes: I am trying to make a mail server with sendmail and have not done this before. I am getting the following errors. Does anyone know what file holds the relaying that needs to be set up to make it work. The doumentation I have been able to find either has errors or is very fragmanted and hard to follow as a HOWTo. I assume you have read /usr/share/sendmail/cf/README? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TCP timeout
Hi folks, I'm facing some troubles with mail server on a busy slow link. I'm getting a lot of sendmail: SYSERR: collect: read timeout on connection from entries in the logs. I found this page showing an workaround for Solaris. Is it applicable for Free BSD 5.4? If positive, is there any sysctl variable to tun it? -xx- TCP/IP connections time out too soon, especially on slow links. The tcp/ip abort interval in Solaris 2.x is too short, the default value is 2 minutes. The result is that when an ACK isn't received in 2 minutes, the connection is closed. This is most often seen by sendmail, which will log sendmail: SYSERR: collect: read timeout on connection from ... You can fix this by running following command which increases the timeout to 8 minutes (unit is millisec), which is the Solaris 2.4+ (and patched 2.3) default. /usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 48 -xx- - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HD Errors
Hi, I'm seeing the following messages in /var/log/messages and am concerned about the integrity of the hard drive: ad0: WRITE command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: WRITE command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 5488, size: 4096 ad0: WRITE command timeout tag=0 serv=0 - resetting Are the ad0 messages showing the hard drive is having hardware problems? Many thanks, Robert Very likely, backup your important date, grab a HD manufacturer disk and test out the drive then post results here with the hard drive manufacture name/model. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
Correct, it will not fit - unless you order the PCI-X riser card from HP and replace the PCI-Express riser card that ships with the 320 with the PCI-X riser card. Ted - Original Message - From: William [EMAIL PROTECTED] To: Antony Mawer [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt [EMAIL PROTECTED] Sent: Monday, July 03, 2006 10:56 AM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Did you guys say the card I've got in another box wont fit into a 320? On 03/07/06, Antony Mawer [EMAIL PROTECTED] wrote: On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is Intel Dual Port Server Adapter 10/100/1000. Any idea if that will do? That is a PRO/1000 MT card, which is a PCI-X adapter and is supported by the standard em(4) driver in FreeBSD 6.x, The PRO/1000 PT mentioned below is a PCI-Express adapter and is not supported by the standard driver in 6.x, but (as mentioned) should be supported by the driver available from Intel. If you wish to utilise the PCI Express expansion slots by using a Pro/1000 PT network adapter, the procedure to follow might be something like be this: 1. Install 6.1-RELEASE from CD, being sure to install the kernel source 2. Obtain the latest Intel driver for FreeBSD 6.x (if it is still not available on the website, email me and I will send it to you) 3. Burn the driver onto a CD or other media and copy it onto the server 4. Extract the driver source, and copy the if_em* files across into /usr/src/sys/dev/em/ 5. Build a new kernel (GENERIC will suffice) which will utilise the new driver source (cd /usr/src make buildkernel) 6. Install the kernel and reboot (make installkernel) You should now have a working network with your Pro/1000 PT... Regards Antony ___ 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]
Sendmail version change with p2?
I just upgrade to 6.1 p2 with the Sendmail security update, but my Sendmail version remains unchanged at 3.13.6. Shouldn't it have been bumped to 3.13.7? How can I check that my Sendmail installation is safe from the new DOS problem? -- Mike Loiterman GrantAdler Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a daemon/program for FreeBSD that accepts Microsoft RDP connections?
On 5/14/06, Tom Norris [EMAIL PROTECTED] wrote: Hello everyone, I'm trying to convince my boss to let me set up a FreeBSD system as file server. He said he would allow it if he could use Microsoft's RDP client (not VNC or SSH :( ) to connect and monitor the machine at his whim. Are there any daemons that will take incoming RDP connections? I just found out about xrdp: http://xrdp.sourceforge.net/ It's not ported yet, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]