LINUX.ORG.RU

Re: Freebsd 7 i sendmail.mc

Ja nashol naverno vo freebsd on nazivaetsja freebsd.mc? Teperj nemogu naiti access.db nashol kakoito acess.sample no eto zhe neto vrode. Pomogite naiti access.db.

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от wentura

Re: Freebsd 7 i sendmail.mc

Freebsd neispolzuet rpm poketi. Zafig mne eto silka? U menja uzhe drugaja problema pomogite udalitj sendmail ih 2 versii i oni udaljatsja nehotjatj.
62# cd /usr/ports/mail/sendmail-sasl/
62# make deinstall
===> Deinstalling for mail/sendmail-sasl
===> Deinstalling sendmail+tls+sasl2-8.14.1
62# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 62.205.227.97 ESMTP Sendmail 8.14.1/8.14.2; Wed, 16 Apr 2008 19:33:01 +0300 (EEST)
quit
221 2.0.0 62.205.227.97 closing connection
Connection closed by foreign host.
62#

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от Olorin

Re: Freebsd 7 i sendmail.mc

Ja udalili i virubil, potom zahotel zanoovo postavitj i mne pishet vot eto:

sm-mta[881]: daemon MSA: problem creating SMTP socket
sm-mta[881]: NOQUEUE: SYSERR(root): openddaemonsocket:daemon MSA: cannot bin:Adress already in use

Pomogite v chjom mozhet bitj problema.
Vzarane sps.

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

>cannot bin:Adress already in use

скорее всего какой-то другой mta уже запущен и конфликтует сендмылом, вспоминай какие mta ставил и удаляй или отключай (в /etc/rc.conf или перемещением скриптов запуска из /usr/local/etc/rc.d/) лишние

Olorin ()
Ответ на: Re: Freebsd 7 i sendmail.mc от Olorin

Re: Freebsd 7 i sendmail.mc

Nu ja sna4ala hotel postavitj sendmail 8.14.2. Kakbi postavil, no chtoto polnostju zaputalsja sto potom udalil. Potom postavil postfix i tozhe udalil i teperj postavil zanovo sendmail i pishet takoe. Prosto kogda nachal ustanavlivatj postfix tam stoto pro host pisali, a host moi ip adress bil.
V /usr/local/etc/rc.d faili:

001slpd
apache
avahi-daemon
cupsd
dbus
exim
fetchmail
ffserver
gdm
hald
mdnsd
mysql
polkitd
rsyncd
samba
sendmail.sh.sample
sm-client.sh.sample
snmpd
snmptrapd
svnserve
system-tools-backends
xfs

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

Esho vi4ital gdeto iskav v interete sto mozhet port zabit 25.
Vvjol komandu:

# sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root login 968 3 dgram -> /var/run/logpriv
root inetd 947 5 tcp4 *:143 *:*
root sshd 920 3 tcp6 *:22 *:*
root sshd 920 4 tcp4 *:22 *:*
smmsp sendmail 885 3 dgram -> /var/run/log
root nfsd 752 3 tcp4 *:2049 *:*
root nfsd 752 4 tcp6 *:2049 *:*
root mountd 750 4 udp4 *:789 *:*
root mountd 750 5 tcp4 *:895 *:*
root mountd 750 6 udp6 *:788 *:*
root mountd 750 7 tcp6 *:894 *:*
root rpcbind 706 4 udp6 *:* *:*
root rpcbind 706 5 stream /var/run/rpcbind.sock
root rpcbind 706 6 udp6 *:111 *:*
root rpcbind 706 7 udp6 *:1023 *:*
root rpcbind 706 8 tcp6 *:111 *:*
root rpcbind 706 9 udp4 *:111 *:*
root rpcbind 706 10 udp4 *:997 *:*
root rpcbind 706 11 tcp4 *:111 *:*
root syslogd 686 4 dgram /var/run/log
root syslogd 686 5 dgram /var/run/logpriv
root syslogd 686 6 udp6 *:514 *:*
root syslogd 686 7 udp4 *:514 *:*
root devd 620 4 stream /var/run/devd.pipe
#
Kogda ja pitajusj posmotretj v /var/run/log

Could not open the file /var/run/log.
gedit cannot hadle file:locations.

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

Seichas kogda zapuskaju pishet:

# /usr/local/etc/rc.d/sendmail.sh.sample start
Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: DefaultAuthInfo requires SASL support (-DSASL)
sendmail sm-msp-queue#
# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host

Pochemuto localhost nenaxodit.
Na imap-uw kogda telnet delaju(vrode stoto rabotaet :) ):

# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Kogda virubaju sendmail pishet:

# /usr/local/etc/rc.d/sendmail.sh.sample stop
ERROR: pidfile /var/run/sendmail.pid does not exist.

Faila kakogoto nenahodit. Kto znaet pomogite pozhaluista vzaranee spasibo.

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

проверяй /etc/mail/mailer.conf, при использовании сендмыла там должно быть:

sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail

>exim

отключи его в rc.conf или перемести скрипт из /usr/local/etc/rc.d

Olorin ()
Ответ на: Re: Freebsd 7 i sendmail.mc от Olorin

Re: Freebsd 7 i sendmail.mc

>проверяй /etc/mail/mailer.conf, при использовании >сендмыла там должно быть:
>
>sendmail /usr/libexec/sendmail/sendmail
>send-mail /usr/libexec/sendmail/sendmail
>mailq /usr/libexec/sendmail/sendmail
>newaliases /usr/libexec/sendmail/sendmail
>hoststat /usr/libexec/sendmail/sendmail
>purgestat /usr/libexec/sendmail/sendmail

Estj tam takoe.

>>exim
>
>отключи его в rc.conf или перемести скрипт >из /usr/local/etc/rc.d

Peretashil v root, potom perezapustil linux nepomoglo. :(

Sna4alo u menja sedmail rabotal,stojalo sendmail + imap-uw, potom ja zahotel postfix postavitj, tam kogda postfix stavil antivirus stavil, a kogda nachal cherez port postfix stavitj on nachal rugatsja na host, poetomu ja reshil zanovo sendmail postavitj i nestalo rabotatj. :(

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

Vot sto pishet v maillog:

Apr 17 02:43:23 sm-mta[878]: gethostbyaddr(62.205.227.97) failed: 1
Apr 17 02:43:23 sm-mta[879]: starting daemon (8.14.2): SMTP+queueing@00:30:00
Apr 17 02:43:23 sm-mta[879]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already in use
Apr 17 02:43:23 sm-mta[879]: daemon MSA: problem creating SMTP socket
Apr 17 02:43:23 sm-msp-queue[883]: starting daemon (8.14.2): queueing@00:30:00
Apr 17 02:43:29 sm-mta[879]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already in use

Pozhaluista pomogite reshitj etu problemu. :(

anonymous ()
Ответ на: Re: Freebsd 7 i sendmail.mc от anonymous

Re: Freebsd 7 i sendmail.mc

Vo pobolshe informacii v mailog stalo:

Apr 17 05:34:32 sm-mta[905]: gethostbyaddr(62.205.227.97) failed: 1
Apr 17 05:34:33 sm-mta[906]: starting daemon (8.14.2): SMTP+queueing@00:30:00
Apr 17 05:34:33 sm-mta[906]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already in use
Apr 17 05:34:33 sm-mta[906]: daemon MSA: problem creating SMTP socket
Apr 17 05:34:33 sm-msp-queue[910]: starting daemon (8.14.2): queueing@00:30:00
Apr 17 05:34:33 sm-msp-queue[911]: m3H83Xs6002398: to=root, ctladdr=root (0/0), delay=02:31:00, xdelay=00:00:00, mailer=relay, pri=212539, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Apr 17 05:34:33 sm-msp-queue[911]: m3H83WvV002352: to=root, ctladdr=root (0/0), delay=02:31:01, xdelay=00:00:00, mailer=relay, pri=315619, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Apr 17 05:34:38 sm-mta[906]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already in use
Apr 17 05:34:38 sm-mta[906]: daemon MSA: problem creating SMTP socket
Apr 17 05:34:43 sm-mta[906]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MSA: cannot bind: Address already in use

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.