Problems upgrading SpamAssassin
I am having problems up grading SpamAssassin. The get the following errors when I do portupgrade. I hand corrected the first error by following the instructions listed below, then this error showed. Before I go though and hand correct these one by one, I thought I'd ask if I was doing something wrong. P.S. I ran perl-after-upgrade after upgrading perl. Thanks === Installing for p5-Socket6-0.23 === p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found === Generating temporary packing list === Checking if net/p5-Socket6 already installed === p5-Socket6-0.23 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/p5-Socket6 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/net/p5-Socket6. *** Error code 1 Stop in /usr/ports/net/p5-IO-INET6. *** Error code 1 Stop in /usr/ports/dns/p5-Net-DNS. *** Error code 1 Stop in /usr/ports/dns/p5-Net-DNS. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. ___ 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: Problems upgrading SpamAssassin
We need the line that says: === p5-IO-INET6 depends on file That line is probably faulty. This is the closest thing I can find to p5-IO-INET6 in the build output. === Installing for p5-Net-DNS-0.65 === p5-Net-DNS-0.65 depends on executable: ipcount - found === p5-Net-DNS-0.65 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/Digest/HMAC_MD5.pm - found === p5-Net-DNS-0.65 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm in /usr/ports/net/p5-IO-INET6 === Extracting for p5-IO-Socket-INET6-2.56 = MD5 Checksum OK for IO-Socket-INET6-2.56.tar.gz. = SHA256 Checksum OK for IO-Socket-INET6-2.56.tar.gz. === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for p5-IO-Socket-INET6-2.56 === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm in /usr/ports/net/p5-Socket6 === Extracting for p5-Socket6-0.23 = MD5 Checksum OK for Socket6-0.23.tar.gz. = SHA256 Checksum OK for Socket6-0.23.tar.gz. === p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found === Patching for p5-Socket6-0.23 === p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found === p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found === Configuring for p5-Socket6-0.23 Also please list: grep ^PERL /etc/make.conf This is what is listed in /etc/make.conf # added by use.perl 2009-02-16 09:12:57 PERL_VER=5.8.9 PERL_VERSION=5.8.9 ___ 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: Problems upgrading SpamAssassin
If: # grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS gives something with site_perl/5.8.8, you: pkg_delete -f p5-Socket6-* Then go back to building what you were building. If the output is empty, then still do the pkg_delete -f, then install p5-Socket6. Then run the above command again. If it's still empty, the port doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken because of it OR the pkg-plist for p5-Socket6 is broken. Either way a send-pr(1) is needed. If the output is anything else, please list here. I ran the grep, and it did come back with site_perl/5.8.8, so I ran: pkg_delete -f p5-Socket6-* pkgdb -F portupgrade p5-Mail-SpamAssassin and I get the following errors: ---cut--- Writing Makefile for IO::Socket::INET6 === Building for p5-IO-Socket-INET6-2.56 cp lib/IO/Socket/INET6.pm blib/lib/IO/Socket/INET6.pm Manifying blib/man3/IO::Socket::INET6.3 === Installing for p5-IO-Socket-INET6-2.56 === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - found === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found === p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found === Generating temporary packing list === Checking if net/p5-IO-INET6 already installed === p5-IO-Socket-INET6-2.56 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/p5-IO-INET6 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/net/p5-IO-INET6. *** Error code 1 Stop in /usr/ports/dns/p5-Net-DNS. *** Error code 1 Stop in /usr/ports/dns/p5-Net-DNS. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. ___ 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: Problems upgrading SpamAssassin
Same issue, different package. Apparently perl-after-upgrade didn't do it's job. I would: portupgrade -f p5-* Then go back to upgrade spamassasin. -- Mel OK, this solved the problem. Everything upgrades fine now. Thank you very much for all your help. Not sure why this happened in the first place. ___ 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
/tmp running out of inodes
For the second time in 2 weeks my server has gone down due to running out of inodes in /tmp. The first time it did this /tmp was filled with files, so that made sense. I delete all the files from /tmp and all was well for a few weeks. Just this morning it did it again (keep in mind that this sever is currently 700 miles away) and had to be rebooted. But when I looked at /tmp, it was empty except for a couple of files, but running df shows the follow: Filesystem SizeUsed Avail Capacity iusedifree %iused Mounted on /dev/ad4s1a496M 59M398M13%1535642552% / devfs 1.0K1.0K 0B 100% 00 100% /dev /dev/ad4s1e496M 69M387M15% 657900 100% /tmp /dev/ad4s1f221G5.2G198G 3% 337742 295968481% /usr /dev/ad4s1d1.9G757M1.0G42%1632 2809901% /var /dev/md019M 12K 18M 0% 9 28050% /tmp /dev/ad5s1c289G 49G217G18% 27779 391156430% /bigdrive 65790 used inodes and 0 free on /tmp I ran fsck and it shows: ** /dev/ad4s1e (NO WRITE) ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 65790 files, 35374 used, 218441 free (9 frags, 27304 blocks, 0.0% fragmentation) So where are these mysterious 65790 files? Is there a way to clean this up? And more importantly is there a way to do this remotely given that I am 700 miles from the server right now? Every time the server goes down due to this problem, it won't come up again without someone physically running fsck at boot. On a side question...what the the best policy for deleting files from /tmp? Seems like a lot of apps are happy to leave files in /tmp. Is clean up commonly done as a cron job? What about files like mysql.sock= which are important. I can't just blindly remove everything in /tmp each night. Thanks for any help. Tankko ___ 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: /tmp running out of inodes
As Kirk has already said, you need to figure why this is happening in the first place, but there is a periodic job which can help keep /tmp tidy for you. It is in /etc/periodic/daily/110.clean-tmps and can be enabled with this in /etc/periodic.conf: daily_clean_tmps_enable=YES You can tailor its behaviour depending on your needs - look for the relevant knobs in /etc/defaults/periodic.conf Thank you for all your help. I now understand what is going wrong. Thanks again! Tankko ___ 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: apache portupgrade conflicts with apr-db43
Does anyone know the answer to this? I am stuck as to how to proceed? Tankko On Dec 28, 2007 9:40 AM, Tankko [EMAIL PROTECTED] wrote: I am upgrading apache... apache-2.2.6_2needs updating (port has 2.2.6_3) ...and I get the following error: --- Installing the new version via the port === Installing for apache-2.2.6_3 === apache-2.2.6_3 conflicts with installed package(s): apr-db43-1.2.8_2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 apr-db43-1.2.8_2 is needed by subversion-1.4.4_1 Why is this happening and what do I need to do to correct it. I figured I'd ask here before I blindly started removing ports. I am running FreeBSD 6.2-RELEASE Thanks, Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache portupgrade conflicts with apr-db43
I am upgrading apache... apache-2.2.6_2needs updating (port has 2.2.6_3) ...and I get the following error: --- Installing the new version via the port === Installing for apache-2.2.6_3 === apache-2.2.6_3 conflicts with installed package(s): apr-db43-1.2.8_2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 apr-db43-1.2.8_2 is needed by subversion-1.4.4_1 Why is this happening and what do I need to do to correct it. I figured I'd ask here before I blindly started removing ports. I am running FreeBSD 6.2-RELEASE Thanks, Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
db41, db42 and db43 are they all needed
After installing 6.2 and all the ports I use on a new machine, I have: apr-db42-1.2.8_2 db41-4.1.25_4 db42-4.2.52_5 and there is db43 out there as well, probably just waiting to be installed. db41-4.1.25_4 is used by: portupgrade-2.3.1,2 ruby18-bdb-0.6.2 db42-4.2.52_5 is used by: apr-db42-1.2.8_2 Which is required by subverson (I need BDB access in subversion). Do I need all these different version of db? I guess there is no huge downside to having them all installed, but it doesn't seem clean to my anal-retentive nature. Is there a make.conf flag that will just make them all use db42 (or db43)? Is that wise? Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: courier-authlib problems.
yea ran into a similar issue yesterday myself. i had to make this modification in /usr/local/etc/courier-imap/imapd-ssl: TLS_PROTOCOL=SSL23 believe old default value was: TLS_PROTOCOL=SSL3 HTH -pete Thanks! This solved my problem as well! Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
courier-authlib problems.
I upgraded one of my servers to courier-authlib-base-0.60.0 from .59 and I am now getting the following errors in my mail log: Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthvchkpw.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthpam Oct 8 18:21:47 myserver.net authdaemond: Installation complete: authpam Oct 8 18:21:47 myserver.net authdaemond: Installing libauthldap Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthldap.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthmysql Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthmysql.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthpgsql Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthpgsql.so not found, required by authdaemond and Oct 8 18:11:33 myserver.net imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number Oct 8 18:12:07 myserver.net imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number Thunderbird (OSX) has doesn't seem to care, but the iphone is now unable to get email. I am using SSL to get mail via imap. I have a 2nd server that has not been upgraded to .60 yet, and it works fine. But...the upgraded server has: courier-authlib-base-0.60.0 = up-to-date with port and the non-upgraded server has: courier-authlib-0.59.3 needs updating (port has 0.60.0) courier-authlib-base-0.59.3needs updating (port has 0.60.0) courier-authlib-vchkpw-0.59.3 needs updating (port has 0.60.0) I am assuming the upgraded server had these three ports as well before the upgrade, but I can not be 100% sure. I always kept these 2 severs running the same versions of everything, so I assume they were. Anyone know how to fix this? Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Haskell on FreeBSD 5.3
I am trying to install Haskell (no-x11) on a FreeBSD 5.3 system and having no luck. From looking at the Makefile, it seems that the latest version of Haskel (6.6.1) can only be installed on FreeBSD 6. I've tried tweaking the makefile to fudge version numbers, but all I get is pain and errors. Is there a way to install a previous version of Haskell using the ports system? Google has no good answers I can find. I've looked into portdowngrade, but that doesn't seem to be what I need. I am not downgrading a previous version of Haskell, I just need to install an old one. Plus I can't really figure out how portdowngrade works. :-) Any help will be much appreciated. Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Haskell and nox11
I need to install darcs on my server, and it requires Haskell (ghc) which in turn seems to require the x11 system which is not installed on my headless sever. I have WITHOUT_X11=true set in /etc/make.conf === Extracting for darcs-1.0.9 = MD5 Checksum OK for darcs-1.0.9.tar.gz. === darcs-1.0.9 depends on file: /usr/local/sbin/pkg_info - found === Patching for darcs-1.0.9 === darcs-1.0.9 depends on executable: ghc - not found ===Verifying install for ghc in /usr/ports/lang/ghc === ghc-nox11-6.6.1 unsupported at the moment. *** Error code 1 Is this correct or I am doing something wrong? It seems strange that a programming language would require x11. Is there a better was to get darcs and/or Haskell on my server without installing x11? Do most people that run backend server just install x11 anyway? Thanks, Tankko. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Haskell and nox11
On 7/19/07, Sergey Zaharchenko [EMAIL PROTECTED] wrote: It probably doesn't matter here whether you use X11 or not. It seems like you're running -current, and you are hitting the `.if ${OSVERSION} = 70' check in the Makefile. Try removing it, and it might work. It works for me that way, at least... HTH, I removed a couple of those checks, and it gets father, but now I get: === Extracting for ghc-nox11-6.6.1 = MD5 Checksum OK for ghc-6.6.1-src.tar.bz2. = MD5 Checksum OK for ghc-6.6.1-src-extralibs.tar.bz2. === ghc-nox11-6.6.1 depends on file: /usr/local/bin/perl5.8.8 - found === ghc-nox11-6.6.1 depends on file: /usr/local/sbin/pkg_info - found === Patching for ghc-nox11-6.6.1 === ghc-nox11-6.6.1 depends on file: /usr/local/bin/perl5.8.8 - found === Applying FreeBSD patches for ghc-nox11-6.6.1 /usr/bin/sed -i.bak s+/usr/local/lib/ghc-6.6+/usr/ports/lang/ghc/work/ghc-6.6.1-boot/lib/i386-unknown-freebsd+ /usr/ports/lang/ghc/work/ghc-6.6.1-boot/bin/i386-unknown-freebsd/*.sh sed: /usr/ports/lang/ghc/work/ghc-6.6.1-boot/bin/i386-unknown-freebsd/*.sh: No such file or directory *** Error code 1 I am running 5.3, I don't know if that is messing things up, or if I need to modify the Makefile more to get it to work. I have a... /usr/ports/lang/ghc/work/ghc-6.6.1 ...but not a... /usr/ports/lang/ghc/work/ghc-6.6.1-boot ...as the Makefile seems to want. Thanks, Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portversion and sudo
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? I can run pkg_version of either machine without sudo. Tankko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]