On Tue, 24 Jan 2006, Fred Moyer wrote:
> I scripted out my installation into the following set of commands. I
> had to explicitly configure the spool_dir in config/spool_dir or I
> encountered this message in the log:
>
> @4000000043d6f77b05c05404 11755 trying to get config for spool_dir
> @4000000043d6f77b05c2c8ec Could not create spool_dir /root/tmp/:
> Permission denied at lib/Qpsmtpd.pm line 391
>
> Take this for a spin and see how it goes. I put your run and log/run
> files in /tmp/qptest and /tmp/qptest/log, so you should do the same or
> make the appropriate changes. Make sure to clean your /service
> directory first of any existing qpsmtpd links.
>
> wget http://smtpd.develooper.com/files/qpsmtpd-0.31.1.tar.gz
> tar zxvpf qpsmtpd-0.31.1.tar.gz
> chown -R smtpd:users qpsmtpd-0.31.1
> chmod o+t qpsmtpd-0.31.1
> mkdir tmp; chown smtpd:users tmp; chmod 700 tmp
> cd qpsmtpd-0.31.1
> perl Makefile.PL
# perl Makefile.PL
Checking if your kit is complete...
Looks good
WARNING: Setting ABSTRACT via file 'README' failed
at /usr/lib/perl5/5.8.5/ExtUtils/MakeMaker.pm line 606
Writing Makefile for qpsmtpd
Line 606 is the last 'push' in this code segment:
foreach my $section ( @MM_Sections ){
# Support for new foo_target() methods.
my $method = $section;
$method .= '_target' unless $self->can($method);
print "Processing Makefile '$section' section\n" if ($Verbose >= 2);
my($skipit) = $self->skipcheck($section);
if ($skipit){
push @{$self->{RESULT}}, "\n# --- MakeMaker $section section
$skipit.";
} else {
my(%a) = %{$self->{$section} || {}};
push @{$self->{RESULT}}, "\n# --- MakeMaker $section section:";
push @{$self->{RESULT}}, "# " . join ", ", %a if $Verbose && %a;
push @{$self->{RESULT}}, $self->nicetext($self->$method( %a ));
}
}
> make && make test && make install
> mv config.sample/ config
> cp /tmp/qptest/run .
> cp /tmp/qptest/log/run log/
The /tmp/qptest/ directory wasn't created - failure while running
the Makefile.PL???. I've used my previous run files.
> echo "/home/smtpd/qpsmtpd-0.31.1/tmp" > config/spool_dir
> cd /service/
> ln -s /home/smtpd/qpsmtpd-0.31.1 .
> sleep 5;
> tail -f /home/smtpd/qpsmtpd-0.31.1/log/main/current
The following keeps repeating:
@4000000043d7af5e08875b74 Can't load
'/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/Socket/Socket.so' for
module Socket:
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/Socket/Socket.so: failed
to map segment from shared object: Cannot allocate memory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/XSLoader.pm line 68.
@4000000043d7af5e0887866c at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Socket.pm line 399
@4000000043d7af5e08879224 Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm
line 20.
@4000000043d7af5e0889a94c BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm
line 20.
@4000000043d7af5e0889b504 Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver/UNIX.pm
line 9.
@4000000043d7af5e0889c0bc BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver/UNIX.pm
line 9.
@4000000043d7af5e0889f76c Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver.pm
line 19.
@4000000043d7af5e088a0324 BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS/Resolver.pmline
22.
@4000000043d7af5e088a552c Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS.pm line 66.
@4000000043d7af5e088a60e4 BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Net/DNS.pm line 66.
@4000000043d7af5e088a6c9c Compilation failed in require at lib/Qpsmtpd/SMTP.pm
line 19.
@4000000043d7af5e088a93ac BEGIN failed--compilation aborted at
lib/Qpsmtpd/SMTP.pm line 19.
@4000000043d7af5e088a9b7c Compilation failed in require at
lib/Qpsmtpd/TcpServer.pm line 2.
@4000000043d7af5e088aa734 BEGIN failed--compilation aborted at
lib/Qpsmtpd/TcpServer.pm line 2.
@4000000043d7af5e088ab2ec Compilation failed in require at ./qpsmtpd-forkserver
line 10.
@4000000043d7af5e088ababc BEGIN failed--compilation aborted at
./qpsmtpd-forkserver line 10.
I'll see if I can take a further look at this later today.
I'll add the following information with regards to my system:
Dual Opteron
Fedora Core 3 64bit