
cron: can't lock /var/run/cron.pid, otherpid may be 612: Resource temporarily unavailable<< What have i done wrong?
Hi Guys, 1) i've installed OTRS on a Suse 8.2-System. And it runs. But: How do i start a cron job for pop3-email-fetching? If i run "perl PostMasterPOP3.pl" - it works and i have emails in the OTRS-Queue. If i run "cron otrs", an error message appears: 2) If i try to send an email, it takes 5-10 secs to get sent it. Why? The Config.pm contains the following matter: $Self->{SendmailModule} = 'Kernel::System::Email::SMTP'; $Self->{SendmailModule::Host} = 'srv-exchange2k'; $Self->{SendmailModule::AuthUser} = 'otrs'; $Self->{SendmailModule::AuthPassword} = 'password'; (it is an exchange-server) merci!

cron: can't lock /var/run/cron.pid, otherpid may be 612: Resource temporarily unavailable<< What have i done wrong?
Use *always* the following rule: If you can ping a host with a good roundtrip, if the host is not and heavy load, and things seem slow: its *always*(90%) a problem with: DNS or identd So, telnet to port 25 of your exchange server, and see if it takes too much time for the first message to appear. That would indicate a reverse lookup problem . Hope it helps, Duarte -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Karb, Eduard Sent: terça-feira, 26 de Agosto de 2003 8:56 To: otrs@otrs.org Subject: [otrs] Suse8.2+OTRS Hi Guys, 1) i've installed OTRS on a Suse 8.2-System. And it runs. But: How do i start a cron job for pop3-email-fetching? If i run "perl PostMasterPOP3.pl" - it works and i have emails in the OTRS-Queue. If i run "cron otrs", an error message appears: 2) If i try to send an email, it takes 5-10 secs to get sent it. Why? The Config.pm contains the following matter: $Self->{SendmailModule} = 'Kernel::System::Email::SMTP'; $Self->{SendmailModule::Host} = 'srv-exchange2k'; $Self->{SendmailModule::AuthUser} = 'otrs'; $Self->{SendmailModule::AuthPassword} = 'password'; (it is an exchange-server) merci!

cron: can't lock /var/run/cron.pid, otherpid may be 612: Resource temporarily unavailable<< What have i done wrong?
(read "under", not "and" bellow) Use *always* the following rule: If you can ping a host with a good roundtrip, if the host is not under heavy load, and things seem slow: its *always*(90%) a problem with: DNS or identd You can first try to ping the host by IP address, then by name, to see if there is something strange with your dns. Also, telnet to port 25 of your exchange server, and see if it takes too much time for the first message to appear. That would indicate a reverse lookup problem . Hope it helps, Duarte -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Karb, Eduard Sent: terça-feira, 26 de Agosto de 2003 8:56 To: otrs@otrs.org Subject: [otrs] Suse8.2+OTRS Hi Guys, 1) i've installed OTRS on a Suse 8.2-System. And it runs. But: How do i start a cron job for pop3-email-fetching? If i run "perl PostMasterPOP3.pl" - it works and i have emails in the OTRS-Queue. If i run "cron otrs", an error message appears: 2) If i try to send an email, it takes 5-10 secs to get sent it. Why? The Config.pm contains the following matter: $Self->{SendmailModule} = 'Kernel::System::Email::SMTP'; $Self->{SendmailModule::Host} = 'srv-exchange2k'; $Self->{SendmailModule::AuthUser} = 'otrs'; $Self->{SendmailModule::AuthPassword} = 'password'; (it is an exchange-server) merci!

Hi Eduard, On Tue, Aug 26, 2003 at 09:56:00AM +0200, Karb, Eduard wrote:
1) i've installed OTRS on a Suse 8.2-System. And it runs. But: How do i start a cron job for pop3-email-fetching? If i run "perl PostMasterPOP3.pl" - it works and i have emails in the OTRS-Queue. If i run "cron otrs", an error message appears:
cron: can't lock /var/run/cron.pid, otherpid may be 612: Resource temporarily unavailable<< What have i done wrong?
Check if your crond is running (rccron status/rccron start). Then check your OTRS postmaster_pop3 cronjob (/opt/otrs/var/cron/postmaster_pop3) and restart your OTRS service (rcotrs restart) then all OTRS cronjobs are reloaded.
2) If i try to send an email, it takes 5-10 secs to get sent it. Why? The Config.pm contains the following matter: $Self->{SendmailModule} = 'Kernel::System::Email::SMTP';
$Self->{SendmailModule::Host} = 'srv-exchange2k';
$Self->{SendmailModule::AuthUser} = 'otrs';
$Self->{SendmailModule::AuthPassword} = 'password';
(it is an exchange-server)
If it still takes 5-10 secs then you could configure the local MTA (e. g. sendmail or postfix) to deliver email to your exchange-server. OTRS delivers emails to the local MTA and this takes just a short time. Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl
participants (3)
-
Duarte Cordeiro
-
Karb, Eduard
-
Martin Edenhofer