Help → help popfile on Mandriva 2009.1
How can I install popfile on Mandriva 2009.1?
I tried the version popfile 0.22 which comes with the distribution.
But this does not start because of problems with SQQLite2.
I also tried the version 1.10. I installed it and can start popfile.
But I cannot get the mails with kmail. I cannot connect to the pop server.
the pop server rejects the connection immediately.
What may be the reason?
What can I do ?
Thanks
Walter
-
Message #993
Hi,
I tried the version popfile 0.22 which comes with the distribution.
But this does not start because of problems with SQQLite2.
Yes, Mandriva provides the rpm of POPFile 0.22.4 but it does not have the
compatible version of SQLite2. The rpm of SQLite2 is built with Perl 5.8.8
but Mandriva 2009.1 includes Perl 5.10.0.
I also tried the version 1.10. I installed it and can start popfile.
But I cannot get the mails with kmail. I cannot connect to the pop server.
the pop server rejects the connection immediately.
How did you start POPFile?
After starting POPFile, can you see the POPFile's listening port? Here's my result:
% netstat -an | grep tcp tcp 0 0 127.0.0.1:110 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 :::22 :::* LISTEN
(110 and 8080 is the POPFile's listening ports.)
You can choose from two choices:
- Use POPFile v0.22.4 from the distribution and manually install DBD::SQLite2 perl module.
- Install POPFile v0.22.4 from the distribution and unzip the cross-platform version of POPFile v1.1.1 to the /usr/share/popfile/ directory.
Another choice is, to try the rpm package we are testing.
Naoki
amatubu09/27/09 04:47:20 - Use POPFile v0.22.4 from the distribution and manually install DBD::SQLite2 perl module.
-
-
Message #996
How did you start POPFile?
I built a simple batch file
cd /usr/share/popfile
perl popfile.pl
exit
and start it from /etc/rc.local
In between kmail works with popfile. I made a mistake in kmail:
I called popfile from kmail on port 8080 (which is the port of the gui).
After changing it to port 110 it works.
You can choose from two choices:
* Use POPFile v0.22.4 from the distribution and manually install DBD::SQLite2 perl module.
I tried this first but that not work
* Install POPFile v0.22.4 from the distribution and unzip the cross-platform version of POPFile v1.1.1 to the /usr/share/popfile/ directory.
I will try this on another partition with Mandriva 2009.0
Another choice is, to try the rpm package we are testing.
I will try this also because this certainly would be the easiest an best way.
Walter
wka2909/27/09 09:27:47 -
Message #999
Another choice is, to try the rpm package we are testing.
Naoki
I tried the rpm package both on Mandriva 2009.0 and 2009.1.
It worked without any problem.
Thanks
Walter
wka2909/28/09 10:26:05 -
-
Message #1001
Hi,
I tried the rpm package both on Mandriva 2009.0 and 2009.1.
It worked without any problem.
Thanks for reporting.
This package is still testing.
Please report if you find any problem.
Naoki
amatubu09/28/09 14:20:03 -
-
Message #1004
This package is still testing.
Please report if you find any problem.
Naoki
I found out a problem with popfile, but I suppose it does not come from the rpm package:
After booting of the system I cannot connect to the popserver. I get a message like
"Could not connect to 127.0.0.1. Cannot connect to popserver x.y.de:110"
I suppose that popfile started before the net connection (eth0) was set up. Could this be?
But I can start the popfiel gui.
After a restart of popfile I can also connect to the popserver and get my mails.
Am I right?
In this case I have to try and arrange that popfile service starts after eth0 ist set up.
Walter
wka2909/29/09 10:25:40 -
-
Message #1005
I found out a problem with popfile, but I suppose it does not come from the rpm package:
After booting of the system I cannot connect to the popserver. I get a message like
"Could not connect to 127.0.0.1. Cannot connect to popserver x.y.de:110"
I've tried to reproduce the problem but on my machine (VM) there's no
problem after booting.
I suppose that popfile started before the net connection (eth0) was set up. Could this be?
But I can start the popfiel gui.
popfile startup script requires 'network' service and its priority
is very low (80) so that almost all services start before popfile.
After a restart of popfile I can also connect to the popserver and get my mails.
According this information, this may not the problem of popfile itself.
At first, please get the POPFile log and post it to this forum.
For more information, please see:
http://getpopfile.org/docs/troubleshooting:preparelog
Here's an example of log file about connection problem:
2009/9/29 22:17:19 11158: pop3: 608: Attempting to connect to POP server at localhost:12345 <snip> 2009/9/29 22:17:19 11158: pop3: 693: IO::Socket::INET or IO::Socket::SSL gets an error: Connection refused 2009/9/29 22:17:19 11158: pop3: 310: -ERR can't connect to localhost:12345[0d][0a]
Naoki
amatubu09/29/09 15:29:22 -
-
Message #1006
At first, please get the POPFile log and post it to this forum.
here is some part of the logfile:
{{{{
2009/9/30 10:20:07 10575: pop3: 310: +OK POP3 POPFile (v1.1.1) server ready[0d][0a]
2009/9/30 10:20:07 10575: pop3: 198: Regexps: USER XXXXXX
2009/9/30 10:20:07 10575: pop3: 213: Command: --USER XXXXXX--
2009/9/30 10:20:07 10575: mq: 380: post LOGIN (walter@kasberg.net)
2009/9/30 10:20:07 10575: mq: 395: sending post LOGIN (walter@kasberg.net) to parent GLOB(0x87f5a08)
2009/9/30 10:20:07 10575: pop3: 608: Attempting to connect to POP server at pop.1und1.de:110
2009/9/30 10:20:07 10575: pop3: 693: IO::Socket::INET or IO::Socket::SSL gets an error: Das Argument ist ungültig
2009/9/30 10:20:07 10575: pop3: 310: -ERR can't connect to pop.1und1.de:110[0d][0a]
2009/9/30 10:20:07 10575: pop3: 213: Command: --QUIT--
2009/9/30 10:20:07 10575: pop3: 310: +OK goodbye[0d][0a]
2009/9/30 10:20:07 10575: mq: 380: post CMPLT (10575)
2009/9/30 10:20:07 10575: mq: 395: sending post CMPLT (10575) to parent GLOB(0x87f5a08)
2009/9/30 10:20:07 10575: pop3: 682: POP3 proxy done
2009/9/30 10:20:07 4449: mq: 380: post LOGIN (walter@kasberg.net)
2009/9/30 10:20:07 4449: mq: 387: queuing post LOGIN (walter@kasberg.net)
2009/9/30 10:20:07 4449: mq: 389: LOGIN queue length now 0
2009/9/30 10:20:07 4449: mq: 380: post CMPLT (10575)
2009/9/30 10:20:07 4449: mq: 391: dropping post CMPLT (10575)
2009/9/30 10:20:07 4449: mq: 259: Done with 10575 (0 to go)
2009/9/30 10:20:07 4449: mq: 128: Message LOGIN (walter@kasberg.net) ready for delivery
2009/9/30 10:20:07 4449: mq: 131: Delivering message LOGIN (walter@kasberg.net) to html
}}}}
Does it tell the reason of the problem?
Walter
wka2909/30/09 10:35:35 -
-
Message #1008
Hi,
Thank you for the log file.
Does it tell the reason of the problem?
'Das Argument ist ungültig' is the error message POPFile got.
I guess this error means 'The argument is invalid' in English.
But I don't know where the message comes from and why.
Does your network start automatically when you turn on your machine?
Do you have similar problem when you use the init script comes from
the distribution?
I've compared the two init scripts (one is from the distribution and
the other which I made) and found the former is checking
/etc/sysconfig/network.
The value of NETWORKING of your machine is different from mine?
% grep NETWORKING /etc/sysconfig/network NETWORKING=yes
Naoki
amatubu10/01/09 14:23:39 -
-
Message #1012
Hi,
'Das Argument ist ungültig' is the error message POPFile got.
I guess this error means 'The argument is invalid' in English.
Yes, that's correct
Does your network start automatically when you turn on your machine?
Yes
Do you have similar problem when you use the init script comes from
the distribution?
Do you mean the initscript for popfile?
I will try to find out
The value of NETWORKING of your machine is different from mine?
no, it is the same
NETWORKING=yes
Thank you for all your help
Walter
wka2910/01/09 17:03:01 -
-
Message #1015
Hi,
I guess this error means 'The argument is invalid' in English.
Yes, that's correct
Thanks.
But for now, I don't know what 'the argument' means and who is complaining.
Do you have similar problem when you use the init script comes from
the distribution?
Do you mean the initscript for popfile?
I will try to find out
Yes. I'll wait for your report.
Naoki
amatubu10/01/09 17:44:32 -
-
Message #1016
Hi,
Do you have similar problem when you use the init script comes from
the distribution?
Do you mean the initscript for popfile?
I will try to find out
Yes. I'll wait for your report.
There is the same problem with the init script which comes with the distribution.
My feeling is that the problem is due to the fact that popfile has been started before networking is completely set up. I have a similar problem with the mail notifier from gkrellm; the notifier only works if i shut down gkrellm an restart it after eth0 setup is finished.
For the moment I am using this solution: I disabled pofile start by the system. I inserted the start of popfile via /etc/rc.local (which will be executed *after* all the other init scripts):
service popfile start
This works. But I am curious why popfile does not connect to the popserver if popfile has been started before eth0 was set up.
walter
Since some time ( I dont know why ) it takes very lon till eth0 is set up.
wka2910/02/09 10:17:31 -
-
Message #1022
Hi,
There is the same problem with the init script which comes with the distribution.
Thank you for reporting.
For the moment I am using this solution: I disabled pofile start by the system. I inserted the start of popfile via /etc/rc.local (which will be executed *after* all the other init scripts):
<snip>
This works. But I am curious why popfile does not connect to the popserver if popfile has been started before eth0 was set up.
Thank you for the useful information.
I have no idea why POPFile cannot connect to the mail server.
Anyway, I'm going to update the Proxy module to record more detailed error message.
Since some time ( I dont know why ) it takes very lon till eth0 is set up.
I've never seen the problem on my VM (Virtual Box). This may be a hardware problem?
Naoki
amatubu10/03/09 22:01:06 -
-
Message #1023
Hi,
I have tried the new Mandriva 2010 RC1.
I could install your popfile rpm package without any problems.
On 2010 RC1 eth0 comes up very fast (as it should normally be). popfile and mail notofier of gkrellm worked at once fine.
Thus I am quite sure that the problem I have with my working system version 2009.1 arises from the slow coming up of eth0. But I up to now I could not find out why?
Walter
wka2910/05/09 09:37:38 -
-
Message #1025
Hi,
I found the solution in Mandriva 2009.1:
There is an option 'speedboot'. It was set in /etc/sysconfig/speedboot to 'SPEEDBOOT=auto'. After setting it 'SPEEDBOOT=no' eth0 is installed very fast, about 11 sec after starting. Now popfile works fine.
Thanks again
Walter
wka2910/06/09 09:21:10 -
-
Message #1027
Hi,
I found the solution in Mandriva 2009.1:
There is an option 'speedboot'. It was set in /etc/sysconfig/speedboot to 'SPEEDBOOT=auto'. After setting it 'SPEEDBOOT=no' eth0 is installed very fast, about 11 sec after starting. Now popfile works fine.
Thanks for the useful information.
I'll add the information to the wiki page.
Naoki
amatubu10/10/09 02:02:37
-
-
-
-
-
-
-
-
-
-
-
-
-