Hello list,

I have a problem with the PostMasterMailbox.pl script. It should run every two 
minutes but fails to run with the following log message:

OTRS-PMAccount-10[31577]: [Notice][Kernel::System::PID::PIDCreate] Can't 
create PID PostMasterMailbox, because it's
already running (otrs.haarlem.dem.local/29345)!

Turns out it is not running but the PID enty in the database is there anyway. 
Running the script manualy gives me the same error. If I force the script 
with "-f 1" it does work but after about 20 messages it stops giving me the 
error "Got no Email at /opt/otrs/Kernel/System/PostMaster.pm line 92."

The line in PostMaster.pm says:

# check needed objects
    for (qw(DBObject LogObject ConfigObject TimeObject MainObject Email)) {
        die "Got no $_" if ( !$Param{$_} );
    }

So it seems there is a problem with the Email variable. Strange enough the PID 
entry does sometimes get removed after the email has been picked up. I think 
this happens if there are less then 20 messages, if there are more the PID 
stays and the script won't run anymore.

Does any one know how I can fix this problem? Many thanks for any help on this 
in advance! 

-- 
Best regards,

Machiel.
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to