Re: [AMaViS-user] Pid error
Gary, The final version of amavisd-new 2.3.2 will not *require* 0.88, will it? No, although I toyed with the idea, as it removes the need to apply two patches to it (the setuid fix and providing a new hook for a SAVI Perl module) and avoids a need for amavisd to provide its own sub done(). Perhaps I'll 'require' 0.88 with the version of amavisd-new following 2.3.2. Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Gary wrote: Tom wrote: i was going for .83 of Net::Server i downloaded it to an MS box that was running ftp. maybe MS screwed with the file. I couldn't do a wget from Redhat. i kept getting access denied. but from a browser it worked. i'm not running x-windows on the box. strange. Yeah, I got the same thing. wget this: http://www.xmission.com/~jmcrc/Net-Server-0.83.tar.gz For the future: Install WinSCP on you Windows machine, you will be glad you did. I just tested my RH9 box (perl 5.8.0) with 0.87 and it did not die, so this may possibly be considered a bug in 0.88? At least it is if the author intends it to run with no problems on perl 5.8.0. you can wget my copy here: http://www.xmission.com/~jmcrc/Net-Server-0.87.tar.gz BTW, I simply installed 0.87 over the top of 0.88, there was no need to remove 0.88, at least not on my RH9 box. Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Gary, Seems to have worked. What a pain. Did anyone notify the Net::Server author Actually, yes, I filed a bug report with CPAN. Funny. When Net::Server 0.88 finally fixed the long-standing setuid security problem for everybody else, it seems to be failing on ancient bug-infested Perl 5.8.0 on Linux... Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Mark wrote: Gary, Seems to have worked. What a pain. Did anyone notify the Net::Server author Actually, yes, I filed a bug report with CPAN. Funny. When Net::Server 0.88 finally fixed the long-standing setuid security problem for everybody else, it seems to be failing on ancient bug-infested Perl 5.8.0 on Linux... Mark Yeah, It's a shame that there are all those Linux machines out there running 5.8.0. I love that fact that it is so easy to upgrade Perl on my Debian machine. Heck, if I install any package that requires a newer version of Perl, it simply installs the new version. I'm sure you are hoping the Net::Server author does not mess up the new stuff in an attempt to make it backward compatible. So, 5.8.0 users should possibly just have to live with using Net::Server 0.87, no big deal. But maybe it's any easy fix, and will not break the new stuff. My 0.02 The final version of amavisd-new 2.3.2 will not *require* 0.88, will it? BTW, on the subject of bugs, the new 2.74 version of razor-agents is out. wget http://osdn.dl.sourceforge.net/sourceforge/razor/razor-agents-2.74.tar.bz2 Hmm, I'm not used to .bz2 I did this: bunzip2 -v razor-agents-2.74.tar.bz2 tar xvf razor-agents-2.74.tar seems to work. Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
BTW, on the subject of bugs, the new 2.74 version of razor-agents is out. wget http://osdn.dl.sourceforge.net/sourceforge/razor/razor-agents-2.74.tar.bz2 Hmm, I'm not used to .bz2 I did this: bunzip2 -v razor-agents-2.74.tar.bz2 tar xvf razor-agents-2.74.tar seems to work. Gary V Thanks for the heads-up on Razor, Gary. You can open a bz2 file with tar by using the j switch: tar xjvf razor-agents-2.74.tar.bz2 -RoNNY --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Tom, I'm running Amavis-new-2.3.1 with Postfix(not chrooted) on redhat ES 3 When I try to reload or stop amavis, I get- No PID file /var/amavis/amavisd.pid, can't reload the process Because most likely amavisd is not running. /usr/local/sbin/amavisd[7870]: Net::Server: Setting gid to 999 999 Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Couldn't become gid 999: \n\n at line 486 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm See? It is not running. It can't change GID to 999 and aborts, probably because you don't have any group with gid 999. Fix that first. Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
RE: [AMaViS-user] Pid error
If only it were that simple. i do have a amavis group with gid of 999 from my /etc/group- amavis:x:999: The amavis user and group have full rights on the /var/amavis dir. What else? thanks Mark Martinec wrote: Tom, I'm running Amavis-new-2.3.1 with Postfix(not chrooted) on redhat ES 3 When I try to reload or stop amavis, I get- No PID file /var/amavis/amavisd.pid, can't reload the process Because most likely amavisd is not running. /usr/local/sbin/amavisd[7870]: Net::Server: Setting gid to 999 999 Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Couldn't become gid 999: \n\n at line 486 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm See? It is not running. It can't change GID to 999 and aborts, probably because you don't have any group with gid 999. Fix that first. Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
RE: [AMaViS-user] Pid error
Gary V wrote: Tom wrote: Well, i changed the uid/gid to a diff # and still no go. what am i doing wrong? I had the identical setup except for an older verison of amavis on RHEL3 and it worked fine. Now its broken. It doesn't seem to complain about the uid. does that mean thats ok? what does 'grep amavis /etc/passwd' say? Gary V Here is the output- grep 'amavis' /etc/passwd amavis:x:886:886:amavisd-new daemon:/var/amavis:/sbin/nologin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Tom wrote: Gary V wrote: Tom wrote: Well, i changed the uid/gid to a diff # and still no go. what am i doing wrong? I had the identical setup except for an older verison of amavis on RHEL3 and it worked fine. Now its broken. It doesn't seem to complain about the uid. does that mean thats ok? what does 'grep amavis /etc/passwd' say? Gary V Here is the output- grep 'amavis' /etc/passwd amavis:x:886:886:amavisd-new daemon:/var/amavis:/sbin/nologin Try giving shell access, change it to: amavis:x:886:886:amavisd-new daemon:/var/amavis:/bin/sh ^^ or whatever path 'sh' is located Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
RE: [AMaViS-user] Pid error
Gary V wrote: Tom wrote: Gary V wrote: Tom wrote: Well, i changed the uid/gid to a diff # and still no go. what am i doing wrong? I had the identical setup except for an older verison of amavis on RHEL3 and it worked fine. Now its broken. It doesn't seem to complain about the uid. does that mean thats ok? what does 'grep amavis /etc/passwd' say? Gary V Here is the output- grep 'amavis' /etc/passwd amavis:x:886:886:amavisd-new daemon:/var/amavis:/sbin/nologin Try giving shell access, change it to: amavis:x:886:886:amavisd-new daemon:/var/amavis:/bin/sh ^^ or whatever path 'sh' is located Gary V changed it- grep 'amavis' /etc/passwd amavis:x:886:886:amavisd-new daemon:/var/amavis:/bin/bash still get the same error. thanks --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Clifton wrote: Perl 5.8.0 had some significant bugs fixed in later releases of 5.8.0, and Mark has many times warned that amavisd can tickle some of them. -- Clifton I think one of the strange things I found when I played with Fedora Core 2 was that it 'installs' 5 different versions of Perl. But I think it only has one set of Perl files, and they are not 5.8.0. What does perl -v say? Earlier Tom asked: what am I doing wrong? IMHO opinion, (and I realize this is a thoughtless, opinionated, cruel thing to say, so don't beat me up (I can beat myself up just fine)) ... You are using Fedora! Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Tom wrote: What distro of linux do you guys recommend? In a perfect world what's the ideal distro you would run? i just picked RH because thats what I know and it has support so it made my managers happy to go with a known name but i'd like to know what you would use if you could pick any distro you wanted? more importantly, i'd like help with this issue :) i'm not really in the mood to wrap my head around a new distro and reinstall just yet but i'd still be curious as to which verison is the purest and doesn't try to mucj about with apps and libaries. thanks But Fedora is not exactly RedHat, I would guess the 'not free' Redhat is stable. Maybe a Perl upgrade would do the trick. Sounds like you've had this box running fine for a while? And it's only when you try to upgrade amavisd-new that the problem surfaces? Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Gary wrote: Tom wrote: What distro of linux do you guys recommend? In a perfect world what's the ideal distro you would run? i just picked RH because thats what I know and it has support so it made my managers happy to go with a known name but i'd like to know what you would use if you could pick any distro you wanted? more importantly, i'd like help with this issue :) i'm not really in the mood to wrap my head around a new distro and reinstall just yet but i'd still be curious as to which verison is the purest and doesn't try to mucj about with apps and libaries. thanks But Fedora is not exactly RedHat, I would guess the 'not free' Redhat is stable. Maybe a Perl upgrade would do the trick. Sounds like you've had this box running fine for a while? And it's only when you try to upgrade amavisd-new that the problem surfaces? FWIW: I have perl 5.8.0 running on an old RedHat 9.0 box, I installed 2.3.1 as a test, and it start up fine, this box was also built using the Scott L. Henderson HOWTO. Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Pid error
Tom, amavis:x:886:886:amavisd-new daemon:/var/amavis:/sbin/nologin I don't know what is going on on your host, but as a workaround you can start amavisd with an option -u, giving it a username to change uid to. This way the Net::Server will be completely relieved of attempting to change uid or gid: # amavisd -u amavis or alternatively (different mechanism, same effect): # su amavis -c amavisd (or perhaps: su - amavis -c amavisd ) Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
RE: [AMaViS-user] Pid error
2 questions- 1.how do i uninstall Net::Server? 2. Where can i get an earlier version? CPAN is gonna want to give me the newest version. Thanks for all your help. I guess it would be too much to ask why the newer version seems to break things(or why RHEL breaks the new version)? Thanks again -Original Message- From: Gary V [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 6:50 PM To: Kern, Tom Cc: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Pid error Tom wrote: i'm running perl 5.8.0. what's there to upgrade to? I rebuilt the box. it was running before with amavis-new,postifx,spamassassin,clamav and i never got an error. I had to rebuild the box and i updated all the software except RHEL3. the things that i updated was postfix,spamassassin(which isn't running yet) and amavis-new. the perl installation is what came with redhat. i never touched perl either time. i downloaded a new Net::Server mod from cpan. maybe thats it. That's it! My old RH9 box crashed the same way when I upgraded from Net::Server from 0.83 to 0.88! Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/