In the process of updating MySQL last week, I did a
I tried creating a symlink from libdb-6.2.so (which exists) as libdb-6.1.so and now sendmail(8) fails differently:
I tried
and
Why is it checking dependencies for sendmail+tls+sasl2+db5-8.15.2_3 where there's a saved configuration for sendmail+tls+sasl2+db6-8.15.2?
What do I have to do to get mail/sendmail working again?
This is rather urgent, because this is a PRODUCTION server that blew up!
pkg upgrade
and after my server rebooted, sendmail(8) won't start:
Code:
/etc/mail # make start
Starting: sendmailShared object "libdb-6.1.so" not found, required by "sendmail"
sendmail-clientmqueueShared object "libdb-6.1.so" not found, required by "sendmail"
Code:
# make start
Starting: sendmail554 5.0.0 Berkeley DB version mismatch: compiled against 6.1.26, run-time linked against 6.2.23
sendmail-clientmqueueBerkeley DB version mismatch: compiled against 6.1.26, run-time linked against 6.2.23
Code:
# pkg upgrade sendmail
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
pkg: sendmail is not installed, therefore upgrade is impossible
Checking integrity... done (0 conflicting)
Your packages are up to date.
Code:
/usr/ports/mail/sendmail # make
===> License Sendmail accepted by the user
===> Found saved configuration for sendmail+tls+sasl2+db6-8.15.2
===> sendmail+tls+sasl2+db5-8.15.2_3 depends on file: /usr/local/sbin/pkg - found
=> sendmail.8.15.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/distfiles/sendmail.8.15.2.tar.gz
fetch: ftp://ftp7.freebsd.org/pub/FreeBSD/ports/distfiles/sendmail.8.15.2.tar.gz: No route to host
=> Attempting to fetch ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.15.2.tar.gz
fetch: ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.15.2.tar.gz: Permission denied
=> Attempting to fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/distfiles/sendmail.8.15.2.tar.gz
fetch: ftp://ftp7.freebsd.org/pub/FreeBSD/ports/distfiles/sendmail.8.15.2.tar.gz: No route to host
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/mail/sendmail
*** Error code 1
Stop.
make: stopped in /usr/ports/mail/sendmail
What do I have to do to get mail/sendmail working again?
This is rather urgent, because this is a PRODUCTION server that blew up!
Code:
# uname -a
FreeBSD Dreamer.FKEinternet.net 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Mon Oct 5 23:53:36 EDT 2015 root@Dreamer.FKEinternet.com.:/usr/obj/usr/src/sys/GENERIC amd64
Last edited by a moderator: