Log rotation / newsyslog / apache not reloaded
Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30*@T00 JCG /var/log/*-error.log644 30*@T00 JCG Man newsyslog.conf says: If this field (signal_number) is not present, then a SIGHUP signal will be sent. My problem is that while the apache logs are rotated as specified in the newsyslog.conf file, the apache server is not reloaded which causes it to write log entries to the now compressed files. Which flag should I specify to make sure apache is reloaded during log rotation? Thank you very much in advance! Zbigniew Szalbot ___ 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: are the are C [or C++] src sites ....
On Wed, Apr 14, 2010 at 10:03:24PM -0400, Karl Vogel wrote: On Sun, 11 Apr 2010 15:39:16 -0700, Gary Kline kl...@thought.org said: G what i am thinking of is functions that work in any of several venues: G math, [every] science, strings, filenames, queues, stacks, arrays, G whatever. Have a look at the Apache runtime library: http://en.wikipedia.org/wiki/Apache_Portable_Runtime It provides: * Memory allocation and memory pool functionality * Atomic operations * Dynamic library handling * File I/O * Command argument parsing * Locking * Hash tables and arrays * Mmap functionality * Network sockets and protocols * Thread, process and mutex functionality * Shared memory functionality * Time routines * User and group ID services looks just about what i have in mind, thanks! -- Karl Vogel I don't speak for the USAF or my company Difference between airplanes and women #4: Airplanes don't object to a preflight inspection. ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ 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: Extended VLAN?
On 14 April 2010 16:14, Dan D Niles d...@more.net wrote: On Wed, 2010-04-14 at 00:23 +0200, Ross Cameron wrote: Look into OpenVPN's bridge mode. www.openvpn.net I use it to bridge networks like what you have in mind quite regularly. Thanks, I'll look into that. On Wed, Apr 14, 2010 at 12:04 AM, Dan D Niles d...@more.net wrote: I have two FreeBSD routers. I would like both locations to share the 10.10.0.0/16 network. If I were using Cisco routers I would use extended VLANs. How would I do that with FreeBSD routers? I already have a tunnel set up and routing different networks in the 192.168.0.0/16 range. Router A: ifconfig em2 inet 192.168.1.1 netmask 255.255.255.0 ifconfig gif0 create 192.168.1.1 192.168.2.1 netmask 255.255.255.0 tunnel routerA routerB route add 192.168.2.0/24 129.168.2.1 Router B: ifconfig em2 inet 192.168.2.1 netmask 255.255.255.0 ifconfig gif0 create 192.168.2.1 192.168.1.1 netmask 255.255.255.0 tunnel routerB routerA route add 192.168.1.0/24 129.168.1.1 This routes traffic between 192.168.1.0/24 and 192.168.2.0/24 as I would expect. The docs say I can use a tunnel with a bridge, which seems like it would do what I want. Router A: ifconfig em3 inet 10.10.1.1 netmask 255.255.0.0 ifconfig bridge0 create addm em3 addm gif0 Router B: ifconfig em3 inet 10.10.2.1 netmask 255.255.0.0 ifconfig bridge0 create addm em3 addm gif0 I cannot ping 10.10.2.1 from router A or 10.10.1.1 from router B. Should I be able to use a bridge this way? Am I missing some piece? Is there an easier/better way to extend a VLAN with FreeBSD routers? Thanks! Dan ___ 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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org openvpn is a good solution, but that isn't the bit that does the bridging, its actually the tap interface that does. Openvpn just does the crytpo side, auth and tunnel setup ___ 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: Log rotation / newsyslog / apache not reloaded
On 15 Apr 2010 at 8:30, Zbigniew Szalbot wrote: Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30*@T00 JCG /var/log/*-error.log644 30*@T00 JCG I added /var/run/httpd.pid at the end of both lines and will see if that helps. Zbigniew Szalbot ___ 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: Log rotation / newsyslog / apache not reloaded
On 2010-04-15 12:08, Zbigniew Szalbot wrote: On 15 Apr 2010 at 8:30, Zbigniew Szalbot wrote: Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30*@T00 JCG /var/log/*-error.log644 30*@T00 JCG I added /var/run/httpd.pid at the end of both lines and will see if that helps. Zbigniew Szalbot Alternatively you can use sysutils/cronolog which will eliminate the need to restart Apache entirely. Apache's configuration file allows you to pipe your logs to sysutils/cronolog (or any other external program) which in turn can be configured to split the logs almost any way you like. This is very convenient, especially if you run many vhosts which normally will turn nywsyslog.conf into a mess. The man page explains it in detail. http://cronolog.org/download/cronolog.pdf Regards Morgan ___ 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: Log rotation / newsyslog / apache not reloaded
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/04/2010 11:08:14, Zbigniew Szalbot wrote: On 15 Apr 2010 at 8:30, Zbigniew Szalbot wrote: Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30*@T00 JCG /var/log/*-error.log644 30*@T00 JCG I added /var/run/httpd.pid at the end of both lines and will see if that helps. I use this: /var/log/httpd-access.log 644 3 100 * J /var/run/httpd.pid 30 /var/log/httpd-error.log 644 3 100 * J /var/run/httpd.pid 30 Signal 30 (SIGUSR1) causes Apache to do a graceful restart which is less disruptive for anyone using the web site, but it can result in a few log records being lost during the restart. If you're going to be running a busy website, then it's better to use rotatelogs(1) (comes with apache) or cronolog(1) (in ports) to cycle the log files. Neither of those handles compressing or deleteing old log files, but a trivial cron job will deal with that. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvG6vkACgkQ8Mjk52CukIw4UgCfaMG9vpDTeMAvhCQ+MaBlgTEh EbMAmgOI246i1nFgb7EuM6qVBbXqGVC8 =Tama -END PGP SIGNATURE- ___ 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: downgrade php5
On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin glar...@freebsd.org wrote: Hi Doug, I just realized I should have specified 2010-04-01 as the checkout date, just to be a bit safer. Hope this is not a late joke. 8-) php5-zip still exists in the ports tree, and a new patch file was imported for the 5.3.2 upgrade. For any directory that you check out with the datestamp, make sure to do an rm -rf on it first to ensure that you don't have a mix of old and new files. After you do that, php5-zip should compile cleanly. Regards, Greg php5-zip compiled cleanly. Checking through my php_error.log these ports were also removed, and I install them after cvs co. php5-wddx php5-ming php5-dbase php5-ncurses php5-spl Going back to php5-extensions, a make install complains; (about ming, dbase, and ncurses) [r...@test /usr/ports/lang/php5-extensions]# make install Unknown extension ncurses for PHP 5. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. However, checking with our developers, we don't use any of these so in, make config I unchecked them. php5-extensions install finished. I'll check with our QA folk and see that the applications are working. thanks again. doug ___ 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
dansguardian + squid running on local machine
Hello fellow BSD users - I have dansguardian listening on 127.0.0.0.1:8080 - squid listening on 127.0.0.1:3128 on the same computer for content filtering and caching for the kids. I also have ipfw ruleset. I'm able to browse the Internet fine but I just want to make sure http requests are going through my ipfw ruleset. How do I know if my websites requests are going through the ipfw rules and coming back through them? The rule below allows everything through the loop back interface, is that whats allowing squid and dansguardian to work? If so, I would like to know what rules specifically I can add specifically for dansguardian and squid? allow all from any to any via lo0 ___ 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
NFS Mount FreeBSD 8.0
Hi all, I have been running a backups storage server for many years on FreeBSD 5.2.1. It has been and still is working fine. Several 6.x machines are connected to it on the local network. Since installing FreeBSD 8.0 on two machines (they used to run 6.x and connected to the nfs mount fine), But with FreeBSD 8, the are no longer connecting. ps ax shows (on the client machiens) 551 ?? Is 0:00.00 mount_nfs -t 10 -b -o rw enterprise:/mnt /mnt Obviously backgrounded. It never connects. df- h confirms this. I have tested the network thuroughly, i.e. I can connect to the backup machine using ssh, ftp etc. named is working fine, hosts file is correct. -No firewalling issues, -quadruple checked the network settings, -Checked all the settings for nfs. -Have added the patches from Errata (all 7 of them). I was wondering if there is some new/changed settings for the client that I missed in the documentation somewhere. SERVER SETTINGS: rc.conf nfs_client_enable=YES nfs_server_enable=YES nfs_server_flags=-h 192.168.0.4 -n 15 rpcbind_enable=YES /etc/exports /mnt -alldirs -mapall root -network 192.168.0.0 -mask 255.255.255.0 CLIENT SETTINGS: rc.conf nfs_reserved_port_only=YES nfs_client_enable=YES fstab enterprise:/mnt /mntnfs -t=10,-b,rw 0 0 Any hints would be appreciated. -Grant ___ 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: NFS Mount FreeBSD 8.0
On 04/15/10 15:35, Grant Peel wrote: Hi all, I have been running a backups storage server for many years on FreeBSD 5.2.1. It has been and still is working fine. Several 6.x machines are connected to it on the local network. Since installing FreeBSD 8.0 on two machines (they used to run 6.x and connected to the nfs mount fine), But with FreeBSD 8, the are no longer connecting. ps ax shows (on the client machiens) 551 ?? Is 0:00.00 mount_nfs -t 10 -b -o rw enterprise:/mnt /mnt Just for an experiment, what does showmount -e nfs_server say on the client and the server sides? ___ 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: NFS Mount FreeBSD 8.0
Ivan, I actually just got it to work. Not sure why the default TCP no longer works but I added the -U flag to the fstab for the mount and it works. Anyone know what may bave changed in FreeBSD 8 to cause this? -Grant P.S on the server machine the output you were looking for was /mnt 192.168.0.0 - Original Message - From: Ivan Voras ivo...@freebsd.org To: freebsd-questions@freebsd.org Sent: Thursday, April 15, 2010 10:19 AM Subject: Re: NFS Mount FreeBSD 8.0 On 04/15/10 15:35, Grant Peel wrote: Hi all, I have been running a backups storage server for many years on FreeBSD 5.2.1. It has been and still is working fine. Several 6.x machines are connected to it on the local network. Since installing FreeBSD 8.0 on two machines (they used to run 6.x and connected to the nfs mount fine), But with FreeBSD 8, the are no longer connecting. ps ax shows (on the client machiens) 551 ?? Is 0:00.00 mount_nfs -t 10 -b -o rw enterprise:/mnt /mnt Just for an experiment, what does showmount -e nfs_server say on the client and the server sides? ___ 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-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: dansguardian + squid running on local machine
Mexican Loser wrote: Hello fellow BSD users - I have dansguardian listening on 127.0.0.0.1:8080 - squid listening on 127.0.0.1:3128 on the same computer for content filtering and caching for the kids. I also have ipfw ruleset. I'm able to browse the Internet fine but I just want to make sure http requests are going through my ipfw ruleset. How do I know if my websites requests are going through the ipfw rules and coming back through them? The rule below allows everything through the loop back interface, is that whats allowing squid and dansguardian to work? If so, I would like to know what rules specifically I can add specifically for dansguardian and squid? allow all from any to any via lo0 For starters, read up in the Handbook on ipfw. You're really going to want to understand what you are doing. It may help to define your rules in English, then try and figure out the syntax for ipfw. You should look carefully at your network setup. I'm assuming you have a BSD box dual-homed to your ISP, and doing NAT for your LAN? Your loopback interface must always work, otherwise Bad Stuff(tm) will happen. That's the rule you have up there. After that, write out your rules in English: 1. I can connect to anything from the gateway/server. 2. Nothing can come in from outside. 2. No one else can connect to anything outside the gateway/server. 4. Everyone inside can connect to the gateway/server. Etc. After that, it's just a matter of figuring out ipfw's syntax. HTH, Kevin Kinsey P.S. You'll get some recommendations for other firewalls, too. Use which ever one makes sense to you :-) ___ 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: NFS Mount FreeBSD 8.0
On Thu, Apr 15, 2010 at 9:47 AM, Grant Peel gp...@thenetnow.com wrote: Ivan, I actually just got it to work. Not sure why the default TCP no longer works but I added the -U flag to the fstab for the mount and it works. Anyone know what may bave changed in FreeBSD 8 to cause this? -Grant P.S on the server machine the output you were looking for was /mnt 192.168.0.0 Please don't top post. FBSD 8 has a new NFS implementation which might be the cause of your issues. In particular this seems relevant. http://lists.freebsd.org/pipermail/freebsd-current/2009-November/013172.html There's been more than one nfs issue on 8 however so it could easily be something else. 8-STABLE has received a lot of NFS love so you could try that on your clients perhaps. -- Adam Vande More ___ 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
Warming and CPU work % above normal(comparing to Fedora Linux).SpeedStep not working?
Comparing my FreeBSD8 and FedoraLinux12 systems (both using KDE and running on the same computer Dell netbook) I notice on the Bottom bar monitoring CPU graph that the CPU under FreeBSD8 is in average 40% above the FedoraLinux12 -comparison for the exactly same type of computing tasks-.The warming of the netbook for example,after 1 hour running is clearly higher with FreeBSD8 than with FedoraLinux12. Is this SpeedStep not running on one system and running on the other,or is there something configurable on FreeBSD which must be done manually and it is not done automatically to approximate the charge on the CPU under FreeBSD to the FedoraLinux? Thanks. ___ 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: denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'
Dear Jerry, Do you use denyhosts in synchrozed mode? http://denyhosts.sourceforge.net/faq.html#4_0 Unfortunately I cannot reproduce the problem on FreeBSD 6.x and 7.x since I don't use synchronized mode. Can you contact the original author of Denyhosts? http://sourceforge.net/users/phil_schwartz/ Best Regards, Janos Mohacsi Head of HBONE+ project Network Engineer, Deputy Director of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 On Wed, 7 Apr 2010, Jerry wrote: Using denyhosts-2.6_3 from the ports system, I am finding the following error message in the /var/log/denyhosts log file: snippet 2010-04-07 07:45:25,818 - sync: ERRORFault 1: exceptions.KeyError:'timestamp' Traceback (most recent call last): File /usr/local/lib/python2.6/site-packages/DenyHosts/sync.py, line 117, in receive_new_hosts self.__prefs.get(SYNC_DOWNLOAD_RESILIENCY)) File /usr/local/lib/python2.6/xmlrpclib.py, line 1199, in __call__ return self.__send(self.__name, args) File /usr/local/lib/python2.6/xmlrpclib.py, line 1489, in __request verbose=self.__verbose File /usr/local/lib/python2.6/xmlrpclib.py, line 1253, in request return self._parse_response(h.getfile(), sock) File /usr/local/lib/python2.6/xmlrpclib.py, line 1392, in _parse_response return u.close() File /usr/local/lib/python2.6/xmlrpclib.py, line 838, in close raise Fault(**self._stack[0]) Fault: Fault 1: exceptions.KeyError:'timestamp' /snippet This error message repeats anywhere from every hour to every three or four hours. I cannot seem to decipher the pattern. Is this error message something I should be worried about; and if so, how do I go about correcting it? -- Jerry freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ If more of us valued food and cheer and song above hoarded gold, it would be a merrier world. J. R. R. Tolkien ___ 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: denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'
On Wed, Apr 7, 2010 at 8:45 AM, Jerry freebsd.u...@seibercom.net wrote: This error message repeats anywhere from every hour to every three or four hours. I cannot seem to decipher the pattern. Is this error message something I should be worried about; and if so, how do I go about correcting it? Just a guess but is the time correct on your box? -- Adam Vande More ___ 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: Warming and CPU work % above normal(comparing to Fedora Linux).SpeedStep not working?
В Thu, 15 Apr 2010 17:15:20 +0100 Luca Renaud renaud.l...@gmail.com пишет: Comparing my FreeBSD8 and FedoraLinux12 systems (both using KDE and running on the same computer Dell netbook) I notice on the Bottom bar monitoring CPU graph that the CPU under FreeBSD8 is in average 40% above the FedoraLinux12 -comparison for the exactly same type of computing tasks-.The warming of the netbook for example,after 1 hour running is clearly higher with FreeBSD8 than with FedoraLinux12. Is this SpeedStep not running on one system and running on the other,or is there something configurable on FreeBSD which must be done manually and it is not done automatically to approximate the charge on the CPU under FreeBSD to the FedoraLinux? Thanks. ___ 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 Maybe you need to add in /etc/rc.conf something like powerd_enable=YES powerd_flags=-a hiadaptive -b adaptive -p 100 ___ 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: denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'
On Thu, 15 Apr 2010 11:57:32 -0500, Adam Vande More amvandem...@gmail.com articulated: On Wed, Apr 7, 2010 at 8:45 AM, Jerry freebsd.u...@seibercom.net wrote: This error message repeats anywhere from every hour to every three or four hours. I cannot seem to decipher the pattern. Is this error message something I should be worried about; and if so, how do I go about correcting it? Just a guess but is the time correct on your box? Yes it is. The error message does not seem to follow any easily decipherable routine. For example, since 00:57 last night, the error message was only displayed for: 07:57; 09:57; 10:57; 11:57; 12:57. The other updates, done at one hour inclements were without incident. I have no idea how to debug this problem, if it really is a problem. -- Jerry freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Lisp Users: Due to the holiday next Monday, there will be no garbage collection. ___ 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: denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'
On Thu, 15 Apr 2010 18:50:13 +0200 (CEST), Mohacsi Janos moha...@niif.hu articulated: On Wed, 7 Apr 2010, Jerry wrote: Using denyhosts-2.6_3 from the ports system, I am finding the following error message in the /var/log/denyhosts log file: snippet 2010-04-07 07:45:25,818 - sync: ERRORFault 1: exceptions.KeyError:'timestamp' Traceback (most recent call last): File /usr/local/lib/python2.6/site-packages/DenyHosts/sync.py, line 117, in receive_new_hosts self.__prefs.get(SYNC_DOWNLOAD_RESILIENCY)) File /usr/local/lib/python2.6/xmlrpclib.py, line 1199, in __call__ return self.__send(self.__name, args) File /usr/local/lib/python2.6/xmlrpclib.py, line 1489, in __request verbose=self.__verbose File /usr/local/lib/python2.6/xmlrpclib.py, line 1253, in request return self._parse_response(h.getfile(), sock) File /usr/local/lib/python2.6/xmlrpclib.py, line 1392, in _parse_response return u.close() File /usr/local/lib/python2.6/xmlrpclib.py, line 838, in close raise Fault(**self._stack[0]) Fault: Fault 1: exceptions.KeyError:'timestamp' /snippet This error message repeats anywhere from every hour to every three or four hours. I cannot seem to decipher the pattern. Is this error message something I should be worried about; and if so, how do I go about correcting it? Do you use denyhosts in synchrozed mode? http://denyhosts.sourceforge.net/faq.html#4_0 Obviously, otherwise I would not be getting this error. Unfortunately I cannot reproduce the problem on FreeBSD 6.x and 7.x since I don't use synchronized mode. You wouldn't if you were not using synchronized mode. Can you contact the original author of Denyhosts? http://sourceforge.net/users/phil_schwartz/ I filed a bug report the day I submitted this post. I have not received any feedback or acknowledgment of the report. This may even be a python bug. I was thinking of asking on that forum. -- Jerry freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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
pyglet segfaults on FreeBSD 8.0/amd64/nVidia
Hi Michael, thanks for replying. Unfortunately changing the driver to the nv one does not work since nv does not support GLX which is required by pyglet. I appreciate your suggestion, though. cheers, giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 ___ 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: denyhost: ERROR Fault 1: exceptions.KeyError:'timestamp'
On Thu, Apr 15, 2010 at 1:27 PM, Jerry freebsd.u...@seibercom.net wrote: I filed a bug report the day I submitted this post. I have not received any feedback or acknowledgment of the report. This may even be a python bug. I was thinking of asking on that forum. http://sourceforge.net/tracker/?func=detailaid=2898723group_id=131204atid=720419 -- Adam Vande More ___ 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
about tcpdump
I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ? Could you give me an example or docs? I use freebsd7.2 ___ 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: about tcpdump
I think by default it does only log session info not the full packet. For that you'd need to add -vvv and set the packet length to zero to capture the full packet. So, just run it without any args and you should be ok. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thu Apr 15 15:37:09 2010 Subject: about tcpdump I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ? Could you give me an example or docs? I use freebsd7.2 ___ 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-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: about tcpdump
On Apr 15, 2010, at 1:37 PM, Yavuz Maşlak wrote: I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ? tcpdump -nq will display a short and sweet summary of packets, without the contents. You might also find that /usr/ports/net/tcpflow is helpful for coalescing tcpdump data into flows. Regards, -- -Chuck ___ 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
console no responding to key in.
To whom it concerns: I am an unix administrator, am responsible for our company's unix servers: there are some running FreeBSD (ver 4.10, 4.11, etc). We I tried to connect to the console by connecting a LCD keyboard. I found some consoles are responding the key typing, some are just like a dead session - no responding to key typing at all. I must fix the problem since I need console login with root. Any insight on this? thanks. Our machines are Dell PowerEdge 2650 (2U rack mountable) , come with Video port, PS2 keyboard/Mouse ports, and two Serial ports. -- I also tried the serial ports for console access, no lucky. My question is: why some machines' LCD console is hang while some are good. the consoles with hang problem show Unix error message on the console, but I don't think this could cause the console hang. I also checked the BIOS, the good ones have same setting wit bad ones. Jessie Xu Unix Administrator jessie...@cryptologic.com desk phone: 416 545 1453 x 5618 Skype: Jessie.xu972 ___ 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: about tcpdump
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/04/2010 21:46:03, Gary Gatten wrote: I think by default it does only log session info not the full packet. For that you'd need to add -vvv and set the packet length to zero to capture the full packet. So, just run it without any args and you should be ok. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thu Apr 15 15:37:09 2010 Subject: about tcpdump I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ? Could you give me an example or docs? I use freebsd7.2 nope -- when you use tcpdump to capture packets it defaults to capturing just the first 68bytes of each packet -- that's just enough to get all the packet headers (ie ethernet addresses, IP numbers, port numbers, tcp options, etc.) for a tcp packet, plus quite a lot of protocol specific packet headers for other types [assuming IPv4 -- you'll need to capture a bit more for IPv6 because the addresses are longer]. Simply doing: # tcpdump -i em0 -w /tmp/capture.pcap is actually pretty space efficient. Even so, on any reasonably busy server that's going to add up to megabytes per minute. If that's too much then try an application like pftop(1) or ntop(1) which can categorize and summarize traffic on the fly. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvHf/EACgkQ8Mjk52CukIyz6wCfSiBEIYT/KGkJgD01WV4eTQDf 1t0AniH1+b1xWWkehPXMK3bpv121zhrz =Bqsf -END PGP SIGNATURE- ___ 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: console no responding to key in.
On Apr 15, 2010, at 1:26 PM, Jessie Xu wrote: I must fix the problem since I need console login with root. Any insight on this? thanks. Our machines are Dell PowerEdge 2650 (2U rack mountable) , come with Video port, PS2 keyboard/Mouse ports, and two Serial ports. -- I also tried the serial ports for console access, no lucky. PS/2 isn't a hot-pluggable interface. On older hardware, you can blow a fuse on the motherboard by trying to do so while the machine is on, although newer equipment uses a polyfuse (aka PPTC or resettable fuse) to avoid permanent damage. If there was no keyboard there initially, then the hardware may never attempt to use one added later, short of a power-cycle. In such cases, trying a USB keyboard instead might work better. Regards, -- -Chuck ___ 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
libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session
Dear folks, As I was trying to get out of the other mess that I got into. See thread: Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day I have encountered thread subject. i had kde, and kde could not find it, so I removed KDE and then have added gnome both ways: pkg_add -r gnome2 and /usr/ports/.. and ran portmaster -a and still have error message in Subject line. I am wondering if I shot myself in the foot. I have had previous experience before with FreeBSD 5.3 and FreeBSD 6.0, but those had KDE 3.5 series and none of these errors popped up.What should I do? I am thinking about reinstalling system? I can't cure the illness that I have encountered. I checked via google and I found: http://www.opennet.ru/openforum/vsluhforumID15/3041.html IT is in Russian, but I could follow it someway in the suggestions, still no joy :( Advice/Suggestions are welcome. Should I just go with pulling the trigger and reinstalling? System is AMD64, 8.0-RELEASE-p2 Regards, Antonio P.S. I feel bad about doing this, but I have tried for several days to fix the issues. I had a working desktop, but then ran the cvsup/? command(suggested in the other thread) and fix the other issue and made things worse could not log into KDE and then tried installing GNOME to at least have a working desktop but not good. I have two other machines running FreeBSD 8.0 but no updates, I don't want to screw up. The ports used to work well, apparently now things are different? ___ 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: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session
On Thu, Apr 15, 2010 at 06:49:31PM -0500, Antonio Olivares wrote: Dear folks, As I was trying to get out of the other mess that I got into. See thread: Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day I have encountered thread subject. i had kde, and kde could not find it, so I removed KDE and then have added gnome both ways: pkg_add -r gnome2 and /usr/ports/.. and ran portmaster -a Have you read /usr/ports/UPDATING entry from 20100328 ? You'll need to rebuild all ports which depend (directly or indirectly) on graphics/png. Depending on the number of such ports it might be easier to delete all ports and rebuild from scratch. If you use portmaster(1) see the bottom of the man page for some recommendations. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session
I have rebuilt everything from scratch ran it for several days. Have tried it back and forth still get the same thing. I guess I should keep trying for a while Till I give up and maybe install 7.3? I did not read /usr/ports/UPDATING entry from that day, or maybe it was there but too many things worked apparently except KDE and/or GNOME :( Thanks, Antonio On 4/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote: On Thu, Apr 15, 2010 at 06:49:31PM -0500, Antonio Olivares wrote: Dear folks, As I was trying to get out of the other mess that I got into. See thread: Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day I have encountered thread subject. i had kde, and kde could not find it, so I removed KDE and then have added gnome both ways: pkg_add -r gnome2 and /usr/ports/.. and ran portmaster -a Have you read /usr/ports/UPDATING entry from 20100328 ? You'll need to rebuild all ports which depend (directly or indirectly) on graphics/png. Depending on the number of such ports it might be easier to delete all ports and rebuild from scratch. If you use portmaster(1) see the bottom of the man page for some recommendations. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session
On Thu, Apr 15, 2010 at 07:11:24PM -0500, Antonio Olivares wrote: I have rebuilt everything from scratch ran it for several days. Have tried it back and forth still get the same thing. I guess I should keep trying for a while Till I give up and maybe install 7.3? I don't think your problem has anything to do with the base OS. I think this is only related to the ports tree. I did not read /usr/ports/UPDATING entry from that day, or maybe it was there but too many things worked apparently except KDE and/or GNOME :( well, the png upgrade was painful for all. But all you need is to rebuild all png-dependent ports. In your example of gnome-session you can try to find which port installed it and rebuild that port. Something like # which gnome-session or # find /usr -name gnome-session should give you the full path to the executable. Then you can try # pkg_info -W full path to the executable this should give you the port name. Try to rebuild it. If all goes well you are likely to be stopped at another png-dependent port needing rebuilding. So you just repeat this process for all such ports. But as I said, if you have lots of png dependent ports it might be easier to delete all ports and install them from scratch. I don't use gnome or kde myself, so can't advise here. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session
Thank you Anton for helping me. The output of pkg_info -W /usr/local/bin/gnome-session is pkg_info: corrupted record (pkgdep line without argument), ignoring pkg_info: corrupted record (pkgdep line without argument), ignoring /usr/local/bin/gnome-session was installed by package gnome-session-2.26.2_1 The ports system report gnome 2.28 while this points to 2.26, is there anything I can try? Regards, Antonio On 4/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote: On Thu, Apr 15, 2010 at 07:11:24PM -0500, Antonio Olivares wrote: I have rebuilt everything from scratch ran it for several days. Have tried it back and forth still get the same thing. I guess I should keep trying for a while Till I give up and maybe install 7.3? I don't think your problem has anything to do with the base OS. I think this is only related to the ports tree. I did not read /usr/ports/UPDATING entry from that day, or maybe it was there but too many things worked apparently except KDE and/or GNOME :( well, the png upgrade was painful for all. But all you need is to rebuild all png-dependent ports. In your example of gnome-session you can try to find which port installed it and rebuild that port. Something like # which gnome-session or # find /usr -name gnome-session should give you the full path to the executable. Then you can try # pkg_info -W full path to the executable this should give you the port name. Try to rebuild it. If all goes well you are likely to be stopped at another png-dependent port needing rebuilding. So you just repeat this process for all such ports. But as I said, if you have lots of png dependent ports it might be easier to delete all ports and install them from scratch. I don't use gnome or kde myself, so can't advise here. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
mysql60 port broken? Its 10:00. Do U know where ur mysqlclient.16 is?
Hi - I'm running FBSD 8.0 amd64. Already installed are ports fo php5 and mysql server and client 5.5.2. Before beginning I did a portsnap fetch update. I've been trying to install databases/php5-mysqli. It complains that it can't find mysqlclient.16. So I thought the missing file might be part of mysql version 60. When attempting to make mysql60-server, I get: === mysql-server-6.0.11 cannot install: unknown MySQL version: 60. *** Error code 1 Stop in /usr/ports/databases/mysql60-server. Question 1) Why can mysqlclient.16 not be found? Could it actually need libmysqlclient.so.16? Question 2) What's up with mysql60-server? Is the port broken? IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. ___ 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: about tcpdump
On Thu, 15 Apr 2010 23:37:09 +0300 Yavuz Maşlak yavuz.mas...@netiletisim.net wrote: I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ? Could you give me an example or docs? I use freebsd7.2 Have you thought about using ARGUS (Audit Record Generation and Utilization System)? -- Michael Hughes Log Home living is the best mich...@thehugheslogcabin.net signature.asc Description: PGP signature
Re: downgrade php5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 doug schmidt wrote: On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin glar...@freebsd.org wrote: Hi Doug, I just realized I should have specified 2010-04-01 as the checkout date, just to be a bit safer. Hope this is not a late joke. 8-) Hi Doug, No, I just noticed that I should have given you a date much closer to the final sweeping commit to move from PHP 5.2.x to 5.3.2 that occurred on 4/9. I suppose the 4/1 was just a coincidence! :) php5-zip still exists in the ports tree, and a new patch file was imported for the 5.3.2 upgrade. For any directory that you check out with the datestamp, make sure to do an rm -rf on it first to ensure that you don't have a mix of old and new files. After you do that, php5-zip should compile cleanly. Regards, Greg php5-zip compiled cleanly. Checking through my php_error.log these ports were also removed, and I install them after cvs co. php5-wddx php5-ming php5-dbase php5-ncurses php5-spl Going back to php5-extensions, a make install complains; (about ming, dbase, and ncurses) [r...@test /usr/ports/lang/php5-extensions]# make install Unknown extension ncurses for PHP 5. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. However, checking with our developers, we don't use any of these so in, make config I unchecked them. php5-extensions install finished. I'll check with our QA folk and see that the applications are working. thanks again. doug Ah yes, you most likely have to check out an older version of /usr/ports/Mk/bsd.php.mk, too, because it is going to be tightly coupled with the PHP-related ports in the tree. I just started working with the PHP ports earlier this week (fixing some misc. breakages after the big upgrade), and I forgot about that file. One solution I've seen on the mailing lists is to set a datestamp tag in your ports-supfile and csup the whole tree back to that date. Of course, if you rely on some newer ports along with the old PHP ports, that will be unwieldy. There are some rumblings about creating a PR to restore PHP 5.2 to the tree (lang/php52 + extensions), but to say it would be a lot of work to maintain both release branches in the tree would be the understatement of the year. I'll keep an eye on how that idea evolves. I hope your environment is stable again, and please continue to post with any questions or issues, and we'll do our best to help you resolve them. Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLx8cA0sRouByUApARAvB1AJ9w8Vf6lt1zJHycBqF060tMzIVM/QCfWscg tRNj2NIJWx1WpftarbAT2gw= =C6w9 -END PGP SIGNATURE- ___ 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