Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
Gary wrote:

> So, you can solve your immediate problem in one of two ways. You can
> install (or force install) Net::Server 0.90 from CPAN into your 5.8.1
> version of Perl by explicitly using that version.

> Or, you could have amavisd-new use Perl 5.8.8 by changing the first
> line in amavisd:

> #!/usr/local/bin/perl -T

> but if you do this, you will most likely first need to install all the
> Perl modules from CPAN that amavisd-new needs.

In addition, if you went this route, when you get to (re)installing 
SpamAssassin,
this could possibly get a little messy, depending on how it was
installed previously (RPM or source/CPAN), but not impossible to clean up.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

> Heute (11.02.2006/00:40 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

>> and the @INC: section from:

>> /usr/bin/perl -V

>  @INC:
> /usr/lib/perl5/5.8.1/i586-linux-thread-multi
> /usr/lib/perl5/5.8.1
> /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1
> /usr/lib/perl5/vendor_perl

>> which perl

> /usr/local/bin/perl

>> perl -v

> This is perl, v5.8.8 built for i686-linux
> (and so on)

Exactly what I thought. So you have two versions of Perl. One
installed with the system, and a couple versions installed from
source, one on top of the other. It's not the end of the world.
You need to be explicit if you want to use your old version.
Amavisd-new is using using Perl 5.8.1 because we tell it to;
the first line in amavisd is:

#!/usr/bin/perl -T

If you want to install a CPAN module in the old version, be explicit
and start cpan with that version of Perl:

/usr/bin/perl -MCPAN -e shell

So, you can solve your immediate problem in one of two ways. You can
install (or force install) Net::Server 0.90 from CPAN into your 5.8.1
version of Perl by explicitly using that version.

Or, you could have amavisd-new use Perl 5.8.8 by changing the first
line in amavisd:

#!/usr/local/bin/perl -T

but if you do this, you will most likely first need to install all the
Perl modules from CPAN that amavisd-new needs, or you will get:

sfa:~# amavisd-new debug
ERROR: MISSING REQUIRED BASIC MODULES:
  IO::Wrap
  IO::Stringy
  Unix::Syslog
  Mail::Field
  Mail::Address
  Mail::Header
  Mail::Internet
  Compress::Zlib
  MIME::Words
  MIME::Head
  MIME::Body
  MIME::Entity
  MIME::Parser
  MIME::Decoder
  MIME::Decoder::Base64
  MIME::Decoder::Binary
  MIME::Decoder::QuotedPrint
  MIME::Decoder::NBit
  MIME::Decoder::UU
  MIME::Decoder::Gzip64
  Net::Server
BEGIN failed--compilation aborted at /usr/sbin/amavisd-new line 148.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (11.02.2006/00:40 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

> and the @INC: section from:

> /usr/bin/perl -V

 @INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl

> which perl

/usr/local/bin/perl

> perl -v

This is perl, v5.8.8 built for i686-linux
(and so on)

> Gary V

-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Lebe heute, vergiß die Sorgen der Vergangenheit. (Epikur)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
and the @INC: section from:

/usr/bin/perl -V

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim seems to have 3 versions of perl on this box.

@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.

What do these say?

which perl
perl -v

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/22:30 Uhr) schrieb Dale Walsh ([EMAIL PROTECTED]),

> On Feb 10, 2006, at 16:25 , Jim Knuth wrote:

>>>  /usr/lib/perl5/site_perl/5.8.1/Net/Server/

> Delete this one.


the directory?


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Die  Managerkrankheit  ist  eine  Epidemie,  die  durch  
den Uhrzeigerhervorgerufen  und  durch  den  Terminkalender 
 übertragen wird. (John Ernst Steinbeck)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
I would go back to where we started, and rename Server.pm, but this
time to something that does not contain 'Server.pm'

mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm \
/usr/lib/perl5/site_perl/5.8.1/Net/Serverpm-old

Then test again.

The @INC: section of 'perl -V' would be useful.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V

>> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/

>> total 128
>> drwxr-xr-x3 root root 4096 Jul 15  2005 .
>> drwxr-xr-x5 root root 4096 Feb 10 21:32 ..
>> -r--r--r--1 root root10446 Jun 20  2005 Daemonize.pm
>> -r--r--r--1 root root 8799 Jun 21  2005 Fork.pm
>> -r--r--r--1 root root 4502 Jun 20  2005 INET.pm
>> -r--r--r--1 root root 5221 Jun 20  2005 MultiType.pm
>> -r--r--r--1 root root14713 Jun 20  2005 Multiplex.pm
>> -r--r--r--1 root root18345 Jun 21  2005 PreFork.pm
>> -r--r--r--1 root root15633 Jun 21  2005 PreForkSimple.pm
>> drwxr-xr-x2 root root 4096 Jul 15  2005 Proto
>> -r--r--r--1 root root 9921 Jun 20  2005 Proto.pm
>> -r--r--r--1 root root 4899 Jun 20  2005 SIG.pm
>> -r--r--r--1 root root 1374 Jun 20  2005 Single.pm

> I had something like this also (until I deleted it during testing).

These are 0.88

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:


>> ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/

> total 128
> drwxr-xr-x3 root root 4096 Feb 10 01:20 .
> drwxr-xr-x3 root root 4096 Feb 10 01:23 ..
> -r--r--r--1 root root10670 Dec  5 20:56 Daemonize.pm
> -r--r--r--1 root root 8885 Nov 18 03:38 Fork.pm
> -r--r--r--1 root root 4502 Jun 20  2005 INET.pm
> -r--r--r--1 root root 5215 Dec  5 21:36 MultiType.pm
> -r--r--r--1 root root15013 Dec  3 17:17 Multiplex.pm
> -r--r--r--1 root root18579 Nov 18 03:38 PreFork.pm
> -r--r--r--1 root root15889 Nov 18 03:38 PreForkSimple.pm
> drwxr-xr-x2 root root 4096 Feb 10 01:20 Proto
> -r--r--r--1 root root 9914 Nov 23 04:14 Proto.pm
> -r--r--r--1 root root 4899 Jun 20  2005 SIG.pm
> -r--r--r--1 root root 1374 Jun 20  2005 Single.pm

These are almost the same (a few dates are different) as I have on a system
with Perl 5.8.0, and one with 5.8.7 after a fresh install from CPAN.

>> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/

> total 128
> drwxr-xr-x3 root root 4096 Jul 15  2005 .
> drwxr-xr-x5 root root 4096 Feb 10 21:32 ..
> -r--r--r--1 root root10446 Jun 20  2005 Daemonize.pm
> -r--r--r--1 root root 8799 Jun 21  2005 Fork.pm
> -r--r--r--1 root root 4502 Jun 20  2005 INET.pm
> -r--r--r--1 root root 5221 Jun 20  2005 MultiType.pm
> -r--r--r--1 root root14713 Jun 20  2005 Multiplex.pm
> -r--r--r--1 root root18345 Jun 21  2005 PreFork.pm
> -r--r--r--1 root root15633 Jun 21  2005 PreForkSimple.pm
> drwxr-xr-x2 root root 4096 Jul 15  2005 Proto
> -r--r--r--1 root root 9921 Jun 20  2005 Proto.pm
> -r--r--r--1 root root 4899 Jun 20  2005 SIG.pm
> -r--r--r--1 root root 1374 Jun 20  2005 Single.pm

I had something like this also (until I deleted it during testing).

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

>> Lets see if two sets of files are the same:

>> ls -l
>> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm
> -r--r--r--1 root root10670 Dec  5 20:56 
> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm
>> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm
> -r--r--r--1 root root10446 Jun 20  2005 
> /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm
>> ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm
> -r--r--r--1 root root65449 Dec  5 22:13 
> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm
>> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
> -r--r--r--1 root root61003 Jul 16  2005 
> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

I'm thinking this may not tell us anything. It could be the modules
are different for the different versions of Perl.
Actually, the one thing it might tell me is it might be a
good thing they are different, because you previously copied Server.pm
from one to the other, and now they are not the same, so the
'force install' may have fixed that. It's up to you if you want to
revert to 0.87 or not. If you do, it would be interesting to see where
it installs.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/22:03 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

> Jim,

> I should have just had you do:

> ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/

total 128
drwxr-xr-x3 root root 4096 Feb 10 01:20 .
drwxr-xr-x3 root root 4096 Feb 10 01:23 ..
-r--r--r--1 root root10670 Dec  5 20:56 Daemonize.pm
-r--r--r--1 root root 8885 Nov 18 03:38 Fork.pm
-r--r--r--1 root root 4502 Jun 20  2005 INET.pm
-r--r--r--1 root root 5215 Dec  5 21:36 MultiType.pm
-r--r--r--1 root root15013 Dec  3 17:17 Multiplex.pm
-r--r--r--1 root root18579 Nov 18 03:38 PreFork.pm
-r--r--r--1 root root15889 Nov 18 03:38 PreForkSimple.pm
drwxr-xr-x2 root root 4096 Feb 10 01:20 Proto
-r--r--r--1 root root 9914 Nov 23 04:14 Proto.pm
-r--r--r--1 root root 4899 Jun 20  2005 SIG.pm
-r--r--r--1 root root 1374 Jun 20  2005 Single.pm

> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/

total 128
drwxr-xr-x3 root root 4096 Jul 15  2005 .
drwxr-xr-x5 root root 4096 Feb 10 21:32 ..
-r--r--r--1 root root10446 Jun 20  2005 Daemonize.pm
-r--r--r--1 root root 8799 Jun 21  2005 Fork.pm
-r--r--r--1 root root 4502 Jun 20  2005 INET.pm
-r--r--r--1 root root 5221 Jun 20  2005 MultiType.pm
-r--r--r--1 root root14713 Jun 20  2005 Multiplex.pm
-r--r--r--1 root root18345 Jun 21  2005 PreFork.pm
-r--r--r--1 root root15633 Jun 21  2005 PreForkSimple.pm
drwxr-xr-x2 root root 4096 Jul 15  2005 Proto
-r--r--r--1 root root 9921 Jun 20  2005 Proto.pm
-r--r--r--1 root root 4899 Jun 20  2005 SIG.pm
-r--r--r--1 root root 1374 Jun 20  2005 Single.pm

> Gary V

-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Goethe war angeblich nur in der Lage zu schreiben, wenn ein 
angefaulter Apfel in der Schublade seines Schreibtisches 
lag.
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/21:56 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

> Jim wrote:

>>> Then see if amavisd-new will start normally.

>> no, the same how before

>>>  If not, then show me:

>>> grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

>> use vars qw($VERSION);
>> $VERSION = '0.90';

>>> grep VERSION
>>> /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

>> use vars qw( @ISA @EXPORT_OK $VERSION );
>> $VERSION = "0.05";

>>> grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm

>> use vars qw( $VERSION );
>> $VERSION = '0.85';

>>> grep VERSION
>>> /usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm

>> use vars qw( @ISA @EXPORT_OK $VERSION );
>> $VERSION = "0.04";

> I messed up on the last two. Should have been:

> grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm

use vars qw($VERSION);
$VERSION = '0.90';

> grep VERSION
> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm

use vars qw( @EXPORT_OK $VERSION );
$VERSION = "0.05";

> Lets see if two sets of files are the same:

> ls -l
> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm

-r--r--r--1 root root10670 Dec  5 20:56 
/usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm

> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

-r--r--r--1 root root10446 Jun 20  2005 
/usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

> ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm

-r--r--r--1 root root65449 Dec  5 22:13 
/usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm

> ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

-r--r--r--1 root root61003 Jul 16  2005 
/usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

> http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2

> Gary V


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Elektronik funktioniert mit Rauch. Ist er aus dem Gerät 
raus, geht nichts mehr.
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/21:53 Uhr) schrieb Dale Walsh ([EMAIL PROTECTED]),

> On Feb 10, 2006, at 15:27 , Jim Knuth wrote:

>> Heute (10.02.2006/21:01 Uhr) schrieb Gary V ([EMAIL PROTECTED]),
>>
>>
>>> Reinstall Net::Server from CPAN. If it says you already have the
>>> newest version, do a 'force install Net::Server'. If you get some
>>> other error, don't force install.
>>
>> force install. Done. No errors
>>
>>> Then see if amavisd-new will start normally.
>>
>> no, the same how before
>>
>>>  If not, then show me:
>>
>>> grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
>>
>> use vars qw($VERSION);
>> $VERSION = '0.90';
>>
>>> grep VERSION
>>> /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm
>>
>> use vars qw( @ISA @EXPORT_OK $VERSION );
>> $VERSION = "0.05";
>>
>>> grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm
>>
>> use vars qw( $VERSION );
>> $VERSION = '0.85';
>>
>>> grep VERSION
>>> /usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm
>>
>> use vars qw( @ISA @EXPORT_OK $VERSION );
>> $VERSION = "0.04";
>>
>>> grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Server.pm
>>
>> grep: /usr/local/lib/perl5/site_perl/5.8.7/Server.pm: No such file  
>> or directory
>>
>>> grep VERSION
>>> /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm
>>
>> grep: /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm: No  
>> such file or directory
>>
>>> Gary V

> I suspect you have another version further up the tree, try this as
> root user.

> perl -MCPAN -eshell
> r Net::Server

> report the results.

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 09 Feb 2006 00:38:56 GMT
All modules are up to date for Net::Server

> -- Dale


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Wer glaubt, ein Christ zu sein, weil er die Kirche besucht, 
irrt sich. Man wird ja auch kein Auto, wenn man in einer 
Garage steht. (Albert Schweitzer)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim,

I should have just had you do:

ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/
ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/

ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm
ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

>> Then see if amavisd-new will start normally.

> no, the same how before

>>  If not, then show me:

>> grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

> use vars qw($VERSION);
> $VERSION = '0.90';

>> grep VERSION
>> /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

> use vars qw( @ISA @EXPORT_OK $VERSION );
> $VERSION = "0.05";

>> grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm

> use vars qw( $VERSION );
> $VERSION = '0.85';

>> grep VERSION
>> /usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm

> use vars qw( @ISA @EXPORT_OK $VERSION );
> $VERSION = "0.04";

I messed up on the last two. Should have been:

grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm
grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm

Lets see if two sets of files are the same:

ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm
ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

ls -l /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm
ls -l /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

I'm hoping at this point that you actually have all the correct 0.90
files in /usr/lib/perl5/site_perl/5.8.1/Net/Server. If you do, then it
appears that there still may be a problem with Net::Server with Perl
5.8.1 on SuSE. This new version of Net::Server works fine on my old
RedHat Perl 5.8.0 box. There still is the option of reverting to
0.87 if you would like (Martin gave links to this), but I know that
Mark says the preferred method is to start amavisd with the user and
group arguments.

http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Dale Walsh


On Feb 10, 2006, at 15:27 , Jim Knuth wrote:


Heute (10.02.2006/21:01 Uhr) schrieb Gary V ([EMAIL PROTECTED]),



Reinstall Net::Server from CPAN. If it says you already have the
newest version, do a 'force install Net::Server'. If you get some
other error, don't force install.


force install. Done. No errors


Then see if amavisd-new will start normally.


no, the same how before


 If not, then show me:



grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm


use vars qw($VERSION);
$VERSION = '0.90';


grep VERSION
/usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm


use vars qw( @ISA @EXPORT_OK $VERSION );
$VERSION = "0.05";


grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm


use vars qw( $VERSION );
$VERSION = '0.85';


grep VERSION
/usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm


use vars qw( @ISA @EXPORT_OK $VERSION );
$VERSION = "0.04";


grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Server.pm


grep: /usr/local/lib/perl5/site_perl/5.8.7/Server.pm: No such file  
or directory



grep VERSION
/usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm


grep: /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm: No  
such file or directory



Gary V


I suspect you have another version further up the tree, try this as  
root user.


perl -MCPAN -eshell
r Net::Server

report the results.

-- Dale



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/21:01 Uhr) schrieb Gary V ([EMAIL PROTECTED]),


> Reinstall Net::Server from CPAN. If it says you already have the
> newest version, do a 'force install Net::Server'. If you get some
> other error, don't force install.

force install. Done. No errors

> Then see if amavisd-new will start normally.

no, the same how before

>  If not, then show me:

> grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

use vars qw($VERSION);
$VERSION = '0.90';

> grep VERSION
> /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm

use vars qw( @ISA @EXPORT_OK $VERSION );
$VERSION = "0.05";

> grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm

use vars qw( $VERSION );
$VERSION = '0.85';

> grep VERSION
> /usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm

use vars qw( @ISA @EXPORT_OK $VERSION );
$VERSION = "0.04";

> grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Server.pm

grep: /usr/local/lib/perl5/site_perl/5.8.7/Server.pm: No such file or directory

> grep VERSION
> /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm

grep: /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm: No such file or 
directory

> Gary V


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Viele Menschen würden niemals mit vollem Mund sprechen, tun 
es aber bedenkenlos mit leerem Kopf. (Orson Welles, am. 
Schauspieler, 1915-1985)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1403 Build 6768  10.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:
>> So what action did you take?

> I do 3 things.

> 1. mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm 
> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm.old
> and try amavisd debug 2>&1 |more

> and I get
> --snip
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: starting.  /usr/sbin/amavisd 
> at server amavisd-new-2.2.1 (20041222),
> Unicode
> aware, [EMAIL PROTECTED]
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: user=, EUID: 0 (0);  group=, 
> EGID: 0 0 (0 0)
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: Perl version   
> 5.008001
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: INFO: no optional modules: 
> unicore::PVA.pl Razor2::Client
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Amavis (type Net::Server::PreForkSimple)
> sta
> rting! pid(31697)
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Binding to TCP 
> port 10024 on host 127.0.0.1
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Setting gid to 
> "663 663"
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Couldn't become gid "663": Illegal
> seek\n\n
>  at line 519 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Server closing!
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: at the END handler: invoking 
> DESTROY methods
> --snap

> 2. cp /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm 
> /usr/lib/perl5/site_perl/5.8.1/Net/
> and try amavisd debug 2>&1 |more
> The same error (see above)

> 3.And when I try amavisd -u vscan -g vscan debug 2>&1 |more
> I get no errors and see: /usr/sbin/amavisd[31711]: Module Net::Server 0.90


>>  It does not look like you renamed
>> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm (because it still finds
>> that one, but now it's not the same file). It looks like you may have
>> upgraded to 0.90? Or did you just copy Server.pm from somewhere? If
>> you had renamed Server.pm, Perl should have found
>>  /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm instead.

>> Gary V

You can't just copy Server.pm from somewhere else, the associated
files in the ~/Net/Server directory also have to match the version of
Server.pm that is in use.

Reinstall Net::Server from CPAN. If it says you already have the
newest version, do a 'force install Net::Server'. If you get some
other error, don't force install. Try installing it manually. To do so:

cd /root/.cpan/build/Net-Server-0.90
perl Makefile.PL
make
make install

Then see if amavisd-new will start normally. If not, then show me:

grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
grep VERSION /usr/lib/perl5/site_perl/5.8.1/Net/Server/Daemonize.pm
grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm
grep VERSION /usr/lib/perl5/vendor_perl/5.8.1/Net/Server/Daemonize.pm
grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Server.pm
grep VERSION /usr/local/lib/perl5/site_perl/5.8.7/Server/Daemonize.pm

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/18:44 Uhr) schrieb Gary V ([EMAIL PROTECTED]),


>>> Then try 'amavisd debug' again and note the version again.

>> with
>> amavisd -u vscan -g vscan debug 2>&1 |more

>> --snip
>> Feb 10 18:25:18 server /usr/sbin/amavisd[31711]: Module Net::Server 
>> 0.90
>> --snap

>> and
amavisd debug 2>>>&1 |more

>> --snip
>> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: starting.  
>> /usr/sbin/amavisd at server amavisd-new-2.2.1 (20041222), Unicode
>> aware, [EMAIL PROTECTED]
>> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: user=, EUID: 0 (0);  
>> group=, EGID: 0 0 (0 0)
>> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: Perl version   
>> 5.008001
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: INFO: no optional modules: 
>> unicore::PVA.pl Razor2::Client
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
>> 2006/02/10-18:23:58 Amavis (type Net::Server::PreForkSimple) sta
>> rting! pid(31697)
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Binding to TCP 
>> port 10024 on host 127.0.0.1
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Setting gid to 
>> "663 663"
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
>> 2006/02/10-18:23:58 Couldn't become gid "663": Illegal seek\n\n
>>  at line 519 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
>> 2006/02/10-18:23:58 Server closing!
>> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: at the END handler: 
>> invoking DESTROY methods
>> --snap

>> very strange

>>> If you don't find more than one version, then you should install 0.90,
>>> and try again.

>>> Gary V

> So what action did you take?

I do 3 things.

1. mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm 
/usr/lib/perl5/site_perl/5.8.1/Net/Server.pm.old
and try amavisd debug 2>&1 |more

and I get
--snip
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: starting.  /usr/sbin/amavisd 
at server amavisd-new-2.2.1 (20041222),
Unicode
aware, [EMAIL PROTECTED]
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: user=, EUID: 0 (0);  group=, 
EGID: 0 0 (0 0)
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: Perl version   
5.008001
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: INFO: no optional modules: 
unicore::PVA.pl Razor2::Client
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Amavis (type Net::Server::PreForkSimple)
sta
rting! pid(31697)
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Binding to TCP 
port 10024 on host 127.0.0.1
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Setting gid to 
"663 663"
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Couldn't become gid "663": Illegal
seek\n\n
 at line 519 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Server closing!
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: at the END handler: invoking 
DESTROY methods
--snap

2. cp /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm 
/usr/lib/perl5/site_perl/5.8.1/Net/
and try amavisd debug 2>&1 |more
The same error (see above)

3.And when I try amavisd -u vscan -g vscan debug 2>&1 |more
I get no errors and see: /usr/sbin/amavisd[31711]: Module Net::Server 0.90


>  It does not look like you renamed
> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm (because it still finds
> that one, but now it's not the same file). It looks like you may have
> upgraded to 0.90? Or did you just copy Server.pm from somewhere? If
> you had renamed Server.pm, Perl should have found
>  /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm instead.

> Gary V


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Der Aztekenherrscher Montezuma hatte einen Neffen namens 
Cuitlahac. Dieser Name bedeutet übersetzt in etwa 
"Großer Haufen **e".
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1402 Build 6765  09.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

> Heute (10.02.2006/17:07 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

>> Jim wrote:

>>> Heute (10.02.2006/15:54 Uhr) schrieb Gary V ([EMAIL PROTECTED]),
 Sorry
 amavisd -u amavis -g amavis debug
>>> evrything is "ok", but show this
>>> Feb 10 16:20:24 server /usr/sbin/amavisd[29089]: Module Net::Server 
>>> 0.88

>> That's what I thought. Just because you may have installed version
>> 0.90 does not necessarily mean it will be used.

>> What does:
>> find / -name Server.pm
>> tell you (as far as more than copy installed).

> find: /proc/31636/fd: No such file or directory
> /root/perl/Net-Server-0.87/lib/Net/Server.pm
> /root/perl/Net-Server-0.87/blib/lib/Net/Server.pm
> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
> /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm
> /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Apache/Server.pm
> /usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm

>> You can probably hide version 0.88 by renaming it, and if you have
>> version 0.90 installed somewhere else, Perl may then find that
>> version instead.

>> If you find two versions, rename the old one:
>> mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm \
>> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm-old

>> Then try 'amavisd debug' again and note the version again.

> with
> amavisd -u vscan -g vscan debug 2>&1 |more

> --snip
> Feb 10 18:25:18 server /usr/sbin/amavisd[31711]: Module Net::Server 
> 0.90
> --snap

> and
amavisd debug 2>>&1 |more

> --snip
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: starting.  /usr/sbin/amavisd 
> at server amavisd-new-2.2.1 (20041222), Unicode
> aware, [EMAIL PROTECTED]
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: user=, EUID: 0 (0);  group=, 
> EGID: 0 0 (0 0)
> Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: Perl version   
> 5.008001
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: INFO: no optional modules: 
> unicore::PVA.pl Razor2::Client
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Amavis (type Net::Server::PreForkSimple) sta
> rting! pid(31697)
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Binding to TCP 
> port 10024 on host 127.0.0.1
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Setting gid to 
> "663 663"
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Couldn't become gid "663": Illegal seek\n\n
>  at line 519 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
> 2006/02/10-18:23:58 Server closing!
> Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: at the END handler: invoking 
> DESTROY methods
> --snap

> very strange

>> If you don't find more than one version, then you should install 0.90,
>> and try again.

>> Gary V

So what action did you take? It does not look like you renamed
/usr/lib/perl5/site_perl/5.8.1/Net/Server.pm (because it still finds
that one, but now it's not the same file). It looks like you may have
upgraded to 0.90? Or did you just copy Server.pm from somewhere? If
you had renamed Server.pm, Perl should have found
 /usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm instead.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/17:07 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

> Jim wrote:

>> Heute (10.02.2006/15:54 Uhr) schrieb Gary V ([EMAIL PROTECTED]),
>>> Sorry
>>> amavisd -u amavis -g amavis debug
>> evrything is "ok", but show this
>> Feb 10 16:20:24 server /usr/sbin/amavisd[29089]: Module Net::Server 
>> 0.88

> That's what I thought. Just because you may have installed version
> 0.90 does not necessarily mean it will be used.

> What does:
> find / -name Server.pm
> tell you (as far as more than copy installed).

find: /proc/31636/fd: No such file or directory
/root/perl/Net-Server-0.87/lib/Net/Server.pm
/root/perl/Net-Server-0.87/blib/lib/Net/Server.pm
/usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
/usr/lib/perl5/vendor_perl/5.8.1/Net/Server.pm
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Apache/Server.pm
/usr/local/lib/perl5/site_perl/5.8.7/Net/Server.pm

> You can probably hide version 0.88 by renaming it, and if you have
> version 0.90 installed somewhere else, Perl may then find that
> version instead.

> If you find two versions, rename the old one:
> mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm \
> /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm-old

> Then try 'amavisd debug' again and note the version again.

with
amavisd -u vscan -g vscan debug 2>&1 |more

--snip
Feb 10 18:25:18 server /usr/sbin/amavisd[31711]: Module Net::Server 0.90
--snap

and
amavisd debug 2>&1 |more

--snip
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: starting.  /usr/sbin/amavisd 
at server amavisd-new-2.2.1 (20041222), Unicode
aware, [EMAIL PROTECTED]
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: user=, EUID: 0 (0);  group=, 
EGID: 0 0 (0 0)
Feb 10 18:23:57 server /usr/sbin/amavisd[31697]: Perl version   
5.008001
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: INFO: no optional modules: 
unicore::PVA.pl Razor2::Client
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Amavis (type Net::Server::PreForkSimple) sta
rting! pid(31697)
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Binding to TCP 
port 10024 on host 127.0.0.1
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: Setting gid to 
"663 663"
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Couldn't become gid "663": Illegal seek\n\n
 at line 519 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: Net::Server: 
2006/02/10-18:23:58 Server closing!
Feb 10 18:23:58 server /usr/sbin/amavisd[31697]: at the END handler: invoking 
DESTROY methods
--snap

very strange

> If you don't find more than one version, then you should install 0.90,
> and try again.

> Gary V


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Kein Problem wird gelöst, wenn wir träge darauf warten, daß Gott
allein sich darum kümmert. (Martin Luther King Jr., 1929-1968)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1402 Build 6765  09.02.2006
N¬HY޵隊X¬²š'²ŠÞu¼’¦[§‰ÜŒ¨º
Þ¦Øk¢è!–ˆŠW¬~Šé®†åzk¶ŠC£  [EMAIL PROTECTED],º·âža{›
å,àHòÔ4¨m¶Ÿÿ±éZ²ëjY‚w­þÇ¥rg

Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

> Heute (10.02.2006/15:54 Uhr) schrieb Gary V ([EMAIL PROTECTED]),
>> Sorry
>> amavisd -u amavis -g amavis debug
> evrything is "ok", but show this
> Feb 10 16:20:24 server /usr/sbin/amavisd[29089]: Module Net::Server 
> 0.88

That's what I thought. Just because you may have installed version
0.90 does not necessarily mean it will be used.

What does:
find / -name Server.pm
tell you (as far as more than copy installed).

You can probably hide version 0.88 by renaming it, and if you have
version 0.90 installed somewhere else, Perl may then find that
version instead.

If you find two versions, rename the old one:
mv /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm \
/usr/lib/perl5/site_perl/5.8.1/Net/Server.pm-old

Then try 'amavisd debug' again and note the version again.

If you don't find more than one version, then you should install 0.90,
and try again.

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/15:54 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

> Sorry

> amavisd -u amavis -g amavis debug



evrything is "ok", but show this
Feb 10 16:20:24 server /usr/sbin/amavisd[29089]: Module Net::Server 0.88

> Gary V

-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Man bezeichnet eine schlimme Tat als eine Untat - gerade so, als
ob überhaupt nichts geschehen wäre. (Werner Mitsch)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1402 Build 6765  09.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Gary V
Sorry

amavisd -u amavis -g amavis debug

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Gary V
Jim wrote:

> Hallo und Guten Morgen AMaViS-user,

> I can`t starting amavis no more.
> This is the output from amavisd debug:
> Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
> 2006/02/10-02:57:20 Couldn't become gid "663": Illegal seek\n\n
>  at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm

> Can anybody help me please? Thank you.

This issue has been seen before with Perl 5.8.1 on SuSE.

Are you certain of the version of Net::Server in use?

See what version amavisd-new actually sees, start up debug as the
amavisd-new user, and note the "Module Net::Server 0.90"

amavisd -u amavis debug

Gary V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/13:58 Uhr) schrieb Dale Walsh ([EMAIL PROTECTED]),

> On Feb 10, 2006, at 07:28 , Jim Knuth wrote:

>> Heute (10.02.2006/08:27 Uhr) schrieb Martin Svensson  
>> ([EMAIL PROTECTED]),
>>
 Hallo und Guten Morgen AMaViS-user,

 I can`t starting amavis no more.
 This is the output from amavisd debug:
 --snip
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting.  /usr/ 
 sbin/amavisd at server amavisd-new-2.2.1 (20041222), Unicode
 aware, [EMAIL PROTECTED]
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0  
 (0);  group=, EGID: 0 0 (0 0)
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl  
 version   5.008001
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no  
 optional modules: unicore::PVA.pl Razor2::Client
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
 2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta
 rting! pid(16125)
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
 Binding to TCP port 10024 on host 127.0.0.1
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
 Setting gid to "663 663"
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
 2006/02/10-02:57:20 Couldn't become gid "663": Illegal seek\n\n
 at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
 2006/02/10-02:57:20 Server closing!
 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END  
 handler: invoking DESTROY methods
 --snap

 Can anybody help me please? Thank you.

> What is your OS//Version???

Suse 9.0

>>
>>> I think this is a known bug/issue in Net::Server 0.88. A  
>>> workaround is
>>> to start Amavisd with the correct user in the startup-script, or to
>>> switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without
>>> any problems.
>>
>> And I`ve update especially of version 0.90 Net::Server. The same
>> error.
>>
>>> Check:
>>> http://marc.theaimsgroup.com/?l=amavis-user&m=112782949425376&w=2
>>> and
>>> http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2
>>
>>> Regards,
>>> Martin
>>
>> -- 
>> Viele Gruesse, Kind regards,
>>  Jim Knuth

> -- Dale

-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Freiheit bedeutet Verantwortlichkeit; das ist der Grund,
warum sich die meisten Menschen vor ihr fürchten.
(George Bernard Shaw, ir. Dramatiker, 1856-1950)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1402 Build 6765  09.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-10 Thread Dale Walsh


On Feb 10, 2006, at 07:28 , Jim Knuth wrote:

Heute (10.02.2006/08:27 Uhr) schrieb Martin Svensson  
([EMAIL PROTECTED]),



Hallo und Guten Morgen AMaViS-user,

I can`t starting amavis no more.
This is the output from amavisd debug:
--snip
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting.  /usr/ 
sbin/amavisd at server amavisd-new-2.2.1 (20041222), Unicode

aware, [EMAIL PROTECTED]
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0  
(0);  group=, EGID: 0 0 (0 0)
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl  
version   5.008001
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no  
optional modules: unicore::PVA.pl Razor2::Client
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta

rting! pid(16125)
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
Binding to TCP port 10024 on host 127.0.0.1
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
Setting gid to "663 663"
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
2006/02/10-02:57:20 Couldn't become gid "663": Illegal seek\n\n

at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server:  
2006/02/10-02:57:20 Server closing!
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END  
handler: invoking DESTROY methods

--snap

Can anybody help me please? Thank you.


What is your OS//Version???



I think this is a known bug/issue in Net::Server 0.88. A  
workaround is

to start Amavisd with the correct user in the startup-script, or to
switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without
any problems.


And I`ve update especially of version 0.90 Net::Server. The same
error.


Check:
http://marc.theaimsgroup.com/?l=amavis-user&m=112782949425376&w=2
and
http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2



Regards,
Martin


--
Viele Gruesse, Kind regards,
 Jim Knuth


-- Dale



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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] can`t starting amavis

2006-02-10 Thread Jim Knuth
Heute (10.02.2006/08:27 Uhr) schrieb Martin Svensson ([EMAIL PROTECTED]),

>>Hallo und Guten Morgen AMaViS-user,
>>
>>I can`t starting amavis no more.
>>This is the output from amavisd debug:
>>--snip
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting.  /usr/sbin/amavisd 
>>at server amavisd-new-2.2.1 (20041222), Unicode
>>aware, [EMAIL PROTECTED]
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0 (0);  group=, 
>>EGID: 0 0 (0 0)
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl version   
>>5.008001
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no optional modules: 
>>unicore::PVA.pl Razor2::Client
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
>>2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta
>>rting! pid(16125)
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Binding to TCP 
>>port 10024 on host 127.0.0.1
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Setting gid to 
>>"663 663"
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
>>2006/02/10-02:57:20 Couldn't become gid "663": Illegal seek\n\n
>> at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
>>2006/02/10-02:57:20 Server closing!
>>Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END handler: invoking 
>>DESTROY methods
>>--snap
>>
>>Can anybody help me please? Thank you.
>>

> I think this is a known bug/issue in Net::Server 0.88. A workaround is
> to start Amavisd with the correct user in the startup-script, or to
> switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without
> any problems.

And I`ve update especially of version 0.90 Net::Server. The same
error.

> Check:
> http://marc.theaimsgroup.com/?l=amavis-user&m=112782949425376&w=2
> and
> http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2

> Regards,
> Martin

-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867 - VoIP: +49 (0) 322 212 044 67
 Key ID: 0x1F78066F
--
Zufalls-Zitat
--
Bohrer für Öl? Sie meinen, in die Erde bohren und versuchen 
Öl zu finden? Sie sind verrückt. (Bohrer, die Edwin L. 
Erpel, zu seinem Projekt, nach Öl zu bohren,1859 einstellen 
wollte)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1402 Build 6765  09.02.2006


Re: [AMaViS-user] can`t starting amavis

2006-02-09 Thread Martin Svensson

Hi Jim,

I think this is a known bug/issue in Net::Server 0.88. A workaround is 
to start Amavisd with the correct user in the startup-script, or to 
switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without 
any problems.


Check: http://marc.theaimsgroup.com/?l=amavis-user&m=112782949425376&w=2
and
http://marc.theaimsgroup.com/?l=amavis-user&m=111999829830183&w=2

Regards,
Martin

Jim Knuth wrote:


Hallo und Guten Morgen AMaViS-user,

I can`t starting amavis no more.
This is the output from amavisd debug:
--snip
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting.  /usr/sbin/amavisd 
at server amavisd-new-2.2.1 (20041222), Unicode
aware, [EMAIL PROTECTED]
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0 (0);  group=, 
EGID: 0 0 (0 0)
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl version   
5.008001
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no optional modules: 
unicore::PVA.pl Razor2::Client
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta
rting! pid(16125)
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Binding to TCP 
port 10024 on host 127.0.0.1
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Setting gid to "663 
663"
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 
Couldn't become gid "663": Illegal seek\n\n
at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 
2006/02/10-02:57:20 Server closing!
Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END handler: invoking 
DESTROY methods
--snap

Can anybody help me please? Thank you.


 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
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/