Way to be announced about security updates and new releases
Is there any way to be noticed, when security updates or new releases are available? https://twitter.com/freebsd nearly would be a solution, if it did not repostquestions from its subscribers and other information that is not related to updates. -- Best regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD analog of net.ipv4.tcp_fin_timeout
*net.inet.tcp.finwait2_timeout* is what I search for, thank you! What is net.inet.tcp.fast_finwait2_recycle=1 ? 2010/10/27 Maxim Dounin > Hello! > > On Wed, Oct 27, 2010 at 11:49:47AM +0400, Antonio Kless wrote: > > > There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of > > TCP connection to stay in FIN_WAIT2 state. Is there something like that > in > > FreeBSD? > > net.inet.tcp.fast_finwait2_recycle=1 > net.inet.tcp.finwait2_timeout=30000 > > Maxim Dounin > -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FreeBSD analog of net.ipv4.tcp_fin_timeout
There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how to re-read /etc/newsyslog.conf ?
2010/9/15 Matthew Seaman > On 15/09/2010 09:02, Antonio Kless wrote: > > I have changed my /etc/newsyslog.conf by adding some new lines. How to > make > > FreeBSD re-read it? > > > > # /etc/rc.d/newsyslog status > > newsyslog is not running. > > > > Is it OK? > > newsyslog is a cron job that gets run every hour. There's nothing to > restart. Changes to newsyslog.conf will be picked up the next time it > runs. > >Cheers, > >Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matt...@infracaninophile.co.uk Kent, CT11 9PW > > OK, now I see. Then for what /etc/rc.d/newsyslog are there? FreeBSD 7.2-RELEASE. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
how to re-read /etc/newsyslog.conf ?
I have changed my /etc/newsyslog.conf by adding some new lines. How to make FreeBSD re-read it? # /etc/rc.d/newsyslog status newsyslog is not running. Is it OK? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Strange network issue (packet loss?)
I have tried to change switch port and use another ethernet interface (igb1) on the server, but problem are still here. So could I say it is 100% not hardware bug? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Strange network issue (packet loss?)
Server has 1000 Mbit network interface connected to 1000 Mbit Cisco switch. Let's say this things works OK. Actually, provider gives 10 Mbit channel. Here we go: # uname -a FreeBSD server.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Jul 26 02:33:48 MSD 2010 u...@server.net:/usr/obj/usr/src/sys/ALTERKERN amd64 # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet autoselect (1000baseTX ) status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 13% 172MB 3.0MB/s 06:08 ETA Disconnecting: Corrupted MAC on input. lost connection I repeat that about 20 times. Error goes in random moment and point (percentage) of downloading. # ifconfig igb0 media 100BaseTX # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet 100baseTX (100baseTX ) status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 100% 1291MB 3.1MB/s 07:00 That's works! But why half-duplex? Go next: # ifconfig igb0 media 100BaseTX mediaopt full-duplex # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet 100baseTX status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 82% 1069MB 453.2KB/s 08:20 ETA ^C Killed by signal 2. OMG! Where has the speed get lost? What could be the reason, any ideas? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freecolor: Bus error. software or hardware problem?
So, is it port trouble? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freecolor: Bus error. software or hardware problem?
2010/7/23 Antonio Kless > > > 2010/7/23 Randy Belk > > Have you updated your ports? This was an issue on the amd64 distribution, >> but it was fixed. >> >> On Fri, Jul 23, 2010 at 1:21 AM, Antonio Kless wrote: >> >>> Strange freecolor behavior on fresh 8.0-RELEASE system. >>> >>> # uname -a >>> FreeBSD alternate-1.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 >>> 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu: >>> /usr/obj/usr/src/sys/GENERIC >>> amd64 >>> >>> # freecolor -V >>> freecolor version 0.8.8 >>> >>> # freecolor >>> Bus error >>> >>> >>> I have reinstall 7.3-RELEASE on this server, and get another look of >>> error: >>> >>> # freecolor >>> Bus error: 10 >>> >>> >>> Is it software or hardware problem? >>> >>> -- >>> Best regards, >>> Antonio Kless, >>> http://kless.spb.ru/ >>> ___ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscr...@freebsd.org" >>> >> >> >> >> -- >> - Simplicity is the ultimate sophistication. - Leonardo da Vinci >> - Intelligence is not defined by what you know, It's how you USE it. >> - People who hate Windows use Linux but people who love UNIX use BSD. >> > > > Yes, I run > # portsnap fetch update > just about 1 hour ago. > > -- > Best regards, > Antonio Kless, > http://kless.spb.ru/ > ...run it before I install freecolor port, of course. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freecolor: Bus error. software or hardware problem?
2010/7/23 Randy Belk > Have you updated your ports? This was an issue on the amd64 distribution, > but it was fixed. > > On Fri, Jul 23, 2010 at 1:21 AM, Antonio Kless wrote: > >> Strange freecolor behavior on fresh 8.0-RELEASE system. >> >> # uname -a >> FreeBSD alternate-1.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 >> 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu: >> /usr/obj/usr/src/sys/GENERIC >> amd64 >> >> # freecolor -V >> freecolor version 0.8.8 >> >> # freecolor >> Bus error >> >> >> I have reinstall 7.3-RELEASE on this server, and get another look of >> error: >> >> # freecolor >> Bus error: 10 >> >> >> Is it software or hardware problem? >> >> -- >> Best regards, >> Antonio Kless, >> http://kless.spb.ru/ >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> > > > > -- > - Simplicity is the ultimate sophistication. - Leonardo da Vinci > - Intelligence is not defined by what you know, It's how you USE it. > - People who hate Windows use Linux but people who love UNIX use BSD. > Yes, I run # portsnap fetch update just about 1 hour ago. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
freecolor: Bus error. software or hardware problem?
Strange freecolor behavior on fresh 8.0-RELEASE system. # uname -a FreeBSD alternate-1.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # freecolor -V freecolor version 0.8.8 # freecolor Bus error I have reinstall 7.3-RELEASE on this server, and get another look of error: # freecolor Bus error: 10 Is it software or hardware problem? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 7.3-RELEASE: unable to compile custom kernel
That's right! Thanks a lot, now it builts well. 2010/5/13 Lowell Gilbert > Antonio Kless writes: > > > if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined > > reference to `ieee80211_free_node' > > At a guess, you've got the rum device without wlan. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > > http://be-well.ilk.org/~lowell/<http://be-well.ilk.org/%7Elowell/> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 7.3-RELEASE: unable to compile custom kernel
um.o(.text+0x130c):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to `ieee80211_media_status' if_rum.o(.text+0x1359):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to `ieee80211_media_init' if_rum.o(.text+0x1372):/usr/src/sys/dev/usb/if_rum.c:554: undefined reference to `ieee80211_amrr_init' if_rum.o(.text+0x13dd):/usr/src/sys/dev/usb/if_rum.c:571: undefined reference to `ieee80211_announce' if_rum.o(.text+0x1409):/usr/src/sys/dev/usb/if_rum.c:516: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1453):/usr/src/sys/dev/usb/if_rum.c:522: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x149d):/usr/src/sys/dev/usb/if_rum.c:528: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x14e9):/usr/src/sys/dev/usb/if_rum.c:534: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1b05): In function `rum_start': /usr/src/sys/dev/usb/if_rum.c:1423: undefined reference to `ieee80211_find_txnode' if_rum.o(.text+0x1b39):/usr/src/sys/dev/usb/if_rum.c:1430: undefined reference to `ieee80211_encap' if_rum.o(.text+0x1cec):/usr/src/sys/dev/usb/if_rum.c:1440: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1d1b):/usr/src/sys/dev/usb/if_rum.c:1416: undefined reference to `ieee80211_cancel_scan' if_rum.o(.text+0x1d3d):/usr/src/sys/dev/usb/if_rum.c:1304: undefined reference to `ieee80211_crypto_encap' if_rum.o(.text+0x1f8b):/usr/src/sys/dev/usb/if_rum.c:1432: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x207d): In function `rum_txeof': /usr/src/sys/dev/usb/if_rum.c:846: undefined reference to `ieee80211_process_callback' if_rum.o(.text+0x20fd):/usr/src/sys/dev/usb/if_rum.c:865: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2183): In function `rum_set_chan': /usr/src/sys/dev/usb/if_rum.c:1794: undefined reference to `ieee80211_chan2ieee' if_rum.o(.text+0x2b77): In function `rum_rxeof': /usr/src/sys/dev/usb/if_rum.c:939: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2c40):/usr/src/sys/dev/usb/if_rum.c:959: undefined reference to `ieee80211_input' if_rum.o(.text+0x2c4a):/usr/src/sys/dev/usb/if_rum.c:962: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2c9f):/usr/src/sys/dev/usb/if_rum.c:939: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2e52): In function `rum_amrr_update': /usr/src/sys/dev/usb/if_rum.c:2423: undefined reference to `ieee80211_amrr_choose' if_rum.o(.text+0x30c4): In function `rum_task': /usr/src/sys/dev/usb/if_rum.c:2284: undefined reference to `ieee80211_beacon_alloc' if_rum.o(.text+0x319a):/usr/src/sys/dev/usb/if_rum.c:2366: undefined reference to `ieee80211_amrr_node_init' if_rum.o(.text+0x3493): In function `rum_ioctl': /usr/src/sys/dev/usb/if_rum.c:1495: undefined reference to `ieee80211_ioctl' if_rum.o(.text+0x3603): In function `rum_media_change': /usr/src/sys/dev/usb/if_rum.c:744: undefined reference to `ieee80211_media_change' if_rum.o(.text+0x381c): In function `rum_raw_xmit': /usr/src/sys/dev/usb/if_rum.c:2318: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3a0b):/usr/src/sys/dev/usb/if_rum.c:2354: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1f74): In function `rum_start': /usr/src/sys/dev/usb/if_rum.c:1398: undefined reference to `ieee80211_free_node' *** Error code 1 Stop in /usr/obj/usr/src/sys/ALTERKERN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 2010/5/13 Jiansong Liu > Try to compile it again without the -j option, will help to figure out > where is going wrong exactly. > > Cheers, > Jiansong > > -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
7.3-RELEASE: unable to compile custom kernel
soft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c ld -d -warn-common -r -d -o if_zyd.ko.debug if_zyd.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_zyd.ko.debug export_syms | xargs -J% objcopy % if_zyd.ko.debug objcopy --only-keep-debug if_zyd.ko.debug if_zyd.ko.symbols objcopy --strip-debug --add-gnu-debuglink=if_zyd.ko.symbols if_zyd.ko.debug if_zyd.ko 1 error *** Error code 2 1 error *** Error code 2 1 error What do I do wrong? This kernel configuration was OK for 7.2 RELEASE, but doesn't works with 7.3. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mixing different versions of PHP extensions
2010/5/11 Toomas Aas > > > Is it possible to rebuild just the php52-gd extension to a newer version of > php52-gd-5.2.13 and have it working with existing php5-5.2.9 and all the > existing extensions, or would it be asking for trouble? > > It is possible as a interim measure, but to have your ports in tip-top state and to not to have any troubles with dependencies, you have to have the same versions of php and all of it's extensions. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Received signal 15; terminating.
Received signal 15; terminating. - this is the last line in /var/log/auth.log before my 7.2-STABLE suddenly shut down. Something with "signal 15" also was in /var/log/messages, but I can't copy it exactly. What could produce halting of system with this symptoms, if I sure that nobody could just type "shutdown" or "halt" in root console? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Strange diskspace loss
2010/5/4 > wrote: > > > And the fsck: > > > > # fsck > ... > > ** /dev/aacdu0s1e (NO WRITE) > > ** Last Mounted on /var > > ** Phase 1 - Check Blocks and Sizes > > ** Phase 2 - Check Pathnames > > ** Phase 3 - Check Connectivity > > ** Phase 4 - Check Reference Counts > > UNREF FILE I=23587 OWNER=root > > MODE=100644 > > SIZE=0 MTIME=Apr 9 13:36 > > 2010 > > CLEAR? > > no > > > > UNREF FILE I=3156011 OWNER=root MODE=100644 > > SIZE=6944766 MTIME=May 4 04:34 2010 > > CLEAR? no > > > > UNREF FILE I=3179521 OWNER=www MODE=100644 > > SIZE=30361665474 MTIME=May 4 09:43 2010 > > > CLEAR? no > > There's at least part of your problem: 30GB that du can't see > because it isn't linked to by any directory entry. Something > associated with your web server has created a large scratch file, > which it still has open (and thus the space can't be reclaimed), > but it unlinked the file after creating it so that it would > automatically go away once the process dies. > > This sort of thing -- though seldom so large as this -- is not at > all uncommon in /tmp. It's less common, but (as in this case) not > unheard of, in /var/tmp. > So, in future, is there some sence to make /var, /var/log and /var/tmp on different partitions? I usually use only two - /var and /var/db/mysql on dedicated hard drive. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php5-5.3.2 to php52-5.2.13
You need to update your ports (portsnap fetch update for example), deinstall your lang/php5 and lang/php5-extensions and install lang/php52 and lang/php52-extensions ports. You also may just portdowngrade your lang/php5, but (according to my own expirience) it would be much more difficult. 2010/5/4 n dhert > A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9. > I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang > Can one switch back to 5.2.13 when 5.3.2 is already installed and packages > that depend on PHP > are already compiled with php5-5.3.2 > I'v never used portdowngrade? How to do it? > > But, what if you upgrade other packages that have in their dependencies > php5-5.3.2 ? > Will this not reinstall the 5.3.2. version again, again removing 5.2.x ? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"