View previous topic :: View next topic |
Author |
Message |
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Mon Oct 07, 2002 12:48 am Post subject: /usr/sbin/sendmail: can't open the smtp port (25) on mail. |
|
|
Can anyone tell me why I'm getting this message? Is it something to do with cron? If so, why is it trying to send email from my computer?
Also, how do I remove cron (specifically vcron) from my startup? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Mon Oct 07, 2002 2:19 am Post subject: Re: /usr/sbin/sendmail: can't open the smtp port (25) on mai |
|
|
Looks like something is trying to send an email and sendmail is not installed. Nothing serious, I think. Some scripts may try to send emails to root when things go bad.
IvanHoe wrote: | Can anyone tell me why I'm getting this message? Is it something to do with cron? If so, why is it trying to send email from my computer?
Also, how do I remove cron (specifically vcron) from my startup? |
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Oct 07, 2002 2:47 am Post subject: Re: /usr/sbin/sendmail: can't open the smtp port (25) on mai |
|
|
IvanHoe wrote: | Is it something to do with cron? |
Quite possibly.
Quote: | If so, why is it trying to send email from my computer? |
Probably to tell you that something unusual happened trying to run a job.
Quote: | Also, how do I remove cron (specifically vcron) from my startup? |
Code: | # rc-update del vcron default |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Mon Oct 07, 2002 3:07 am Post subject: |
|
|
Thanks, I'll give that a try after I've finished dealing with Gnome.
|
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Sat Nov 16, 2002 7:24 pm Post subject: |
|
|
Perhaps the port is already beeing used... To check who's using it do:
which will give you the PID of the process that opened that port |
|
Back to top |
|
|
djprotoss n00b
Joined: 14 Nov 2002 Posts: 37
|
Posted: Sun Nov 17, 2002 1:20 am Post subject: |
|
|
its something to do with vcron apparenty (I was having the same problem). I found the fix else where on the forums (can't remember where though)
add the line MAILTO="" to the top of /etc/crontab
note: this hasn't worked for everyone apparently! |
|
Back to top |
|
|
Mats L n00b
Joined: 17 Nov 2002 Posts: 1
|
Posted: Sun Nov 17, 2002 2:43 pm Post subject: /usr/sbin/sendmail: can't open the smtp port (25) on mail. |
|
|
I had the same problem, i used ssmtp and vcron. Ssmtp is not a real mailserver (can only handel sending post) and neads to be configured to a real server. This is maybe about port 25. I use now postfix instead.
The next problem is that vcron has some script error, it told me that 'root' is not a valid komando. I mad a chance in /etc/crontab...
*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly
0 0 * * * rm -f /var/spool/cron/lastrun/cron.daily
0 0 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly
0 0 1 * * rm -f /var/spool/cron/lastrun/cron.monthly
and run 'crontab /etc/crontab' and restarted vcron, I do not know if this is the right but I think the error from vcron still be working for me, and I don't get more mail from vcron. |
|
Back to top |
|
|
|