Ntop install error related to net-snmp
Hello all, I'm attempting to install Ntop 3.3_1 from ports and I'm hitting a snag during compilation. Here is the error: In file included from /usr/local/include/net-snmp/utilities.h:54, from /usr/local/include/net-snmp/net-snmp-includes.h:78, from iface.c:766: /usr/local/include/net-snmp/library/container.h: In function 'CONTAINER_FREE': /usr/local/include/net-snmp/library/container.h:416: error: lvalue required as left operand of assignment I've got the latest version of net-snmp installed - 5.3.2. Any help would be appreciated. Thanks! -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgpqxmC92nUVw.pgp Description: PGP signature
lsof: can't determine device random seed
I'm running 7.0-RC1 amd64 and having an issue with lsof. # lsof lsof: can't determine user device random seed. Anyone seen this problem and have a fix? -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgps3qb4jc986.pgp Description: PGP signature
Re: lsof: can't determine device random seed
On Tue, Jan 08, 2008 at 11:25:44PM -0600, Dan Nelson wrote: In the last episode (Jan 08), Jeffrey Lehman said: I'm running 7.0-RC1 amd64 and having an issue with lsof. # lsof lsof: can't determine user device random seed. Anyone seen this problem and have a fix? Do you also have a zfs root? That's what triggers it for me. There's no mention of a device random seed anywhere in the kernel source, so I just patched lsof to always return OK and a seed of zero from dev2udev, and everything seems to work okay. Try putting the attached patch in the files subdirectory of the lsof port and rebuild. -- Dan Nelson [EMAIL PROTECTED] --- dialects/freebsd/dmnt.c 2007-11-17 23:02:29.748574401 -0600 +++ dialects/freebsd/dmnt.c 2007-11-17 23:02:29.750579975 -0600 @@ -180,6 +180,8 @@ dev2udev_no_space: } break; } + + ss = 1; /* * Free string copies, as required. */ Yep, I'm running a zfs root. The patch worked perfectly. Thanks much! -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgp0w4HWJZcKy.pgp Description: PGP signature
PHP5 segmentation fault
Hello everyone, this is my first post to the list as I am a new FreeBSD user as of last week. I've installed 7.0RC1 amd64 architecture on my poweredge 2950. I'm having issues with apache22 and php5. Here is the process I went through to install both. 1. Installed www/apache22 using 'make install clean' with default config options. 2. Installed lang/php5 using 'make install clean' with default config options plus apache support. Apache seems to be working fine w/o php5 but after I install php5, apache will core dump on restart. PHP5 also seg faults when executing /usr/local/bin/php # /usr/local/bin/php Segmentation fault: 11 (core dumped) Any suggestions would be very appreciative. Thanks! -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgpK13fe5D6qh.pgp Description: PGP signature