creating symbolic link `usr/lib/zoneinfo/localtime' to `/etc/localtime': No such file

M

MF-Scripts

Mitglied
Das kommt, wenn ich Postfix starten will mit /etc/init.d/postfix start. zoneinfo ist bei mir in /usr/share und nicht /usr/lib
Was kann ich da denn jetzt machen, damit es läuft?
:hilfe2:
 
mkdir /usr/lib/zoneinfo
ln -sf /usr/share/zoneinfo/localtime /usr/lib/zoneinfo/localtime

einfach nochmal dahinlinken wo er's erwartet...
 
Thx, für die Schnelle Antwort. Hätt nich gedacht, dass mir um diese Uhrzeit noch jemand antwortet^^

Es kommt immer noch "creating symbolic link `usr/lib/zoneinfo/localtime' to `/etc/localtime': No such file or directory"
 
Hab halt nix besseres zu tun...

Das File usr/lib/zoneinfo/localtime existiert jetzt?
Wenn ja, link halt das nochmal nach /etc/localtime...

Seltsam das Postfix das ueberhaupt will...
 
Habs nochmal neu installiert. So sieht das bei der Installation aus:
Preconfiguring packages ...
(Reading database ... 30112 files and directories currently installed.)
Removing popa3d ...
Stopping pop daemon: popa3d.
Removing sendmail-tuning ...
Removing sendmail ...
Removing rmail ...
(Reading database ... 30078 files and directories currently installed.)
Preparing to replace sensible-mda 8.13.4-3 (using .../sensible-mda_8.13.4-3sarge3_i386.deb) ...
Unpacking replacement sensible-mda ...
dpkg: sendmail-bin: dependency problems, but removing anyway as you request:
at depends on mail-transport-agent; however:
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is to be removed.
mailx depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is to be removed.
(Reading database ... 30076 files and directories currently installed.)
Removing sendmail-bin ...
Stopping Mail Transport Agent: sendmail.
Stopping Mail Transport Agent: sendmail.
Selecting previously deselected package postfix.
(Reading database ... 30027 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.1.5-9_i386.deb) ...
Preparing to replace libsasl2-modules 2.1.19-1.5 (using .../libsasl2-modules_2.1.19.dfsg1-0sarge2_i386.deb) ...
Unpacking replacement libsasl2-modules ...
Preparing to replace libsasl2 2.1.19-1.5 (using .../libsasl2_2.1.19.dfsg1-0sarge2_i386.deb) ...
Unpacking replacement libsasl2 ...
Selecting previously deselected package libmysqlclient12.
Unpacking libmysqlclient12 (from .../libmysqlclient12_4.0.24-10sarge2_i386.deb) ...
Selecting previously deselected package libpq3.
Unpacking libpq3 (from .../libpq3_7.4.7-6sarge3_i386.deb) ...
Selecting previously deselected package dovecot-common.
Unpacking dovecot-common (from .../dovecot-common_0.99.14-1sarge0_i386.deb) ...
Selecting previously deselected package dovecot-imapd.
Unpacking dovecot-imapd (from .../dovecot-imapd_0.99.14-1sarge0_i386.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_0.99.14-1sarge0_i386.deb) ...
Selecting previously deselected package dovecot.
Unpacking dovecot (from .../dovecot_0.99.14-1sarge0_all.deb) ...
Preparing to replace sasl2-bin 2.1.19-1.5 (using .../sasl2-bin_2.1.19.dfsg1-0sarge2_i386.deb) ...
Unpacking replacement sasl2-bin ...
Preparing to replace sendmail-base 8.13.4-3 (using .../sendmail-base_8.13.4-3sarge3_all.deb) ...
Unpacking replacement sendmail-base ...
Preparing to replace sendmail-cf 8.13.4-3 (using .../sendmail-cf_8.13.4-3sarge3_all.deb) ...
Unpacking replacement sendmail-cf ...
Setting up postfix (2.1.5-9) ...
Adding group `postfix' (108)...
Done.
Adding system user `postfix'...
Adding new user `postfix' (108) with group `postfix'.
Not creating home directory.
setting synchronous mail queue updates: false
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (109)...
Done.
setting myhostname: v1299.ncsrv.de
setting alias maps
setting alias database
changing /etc/mailname
setting myorigin
setting destinations: v1299.ncsrv.de, localhost.ncsrv.de, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all

Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Starting mail transport agent: Postfixln: creating symbolic link `usr/lib/zoneinfo/localtime' to `/etc/localtime': No such file or directory
invoke-rc.d: initscript postfix, action "start" failed.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of sensible-mda:
sensible-mda depends on sendmail-bin | mail-transport-agent; however:
Package sendmail-bin is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing sensible-mda (--configure):
dependency problems - leaving unconfigured

Setting up libsasl2 (2.1.19.dfsg1-0sarge2) ...

Setting up libsasl2-modules (2.1.19.dfsg1-0sarge2) ...
Setting up libmysqlclient12 (4.0.24-10sarge2) ...

Setting up libpq3 (7.4.7-6sarge3) ...

Setting up dovecot-common (0.99.14-1sarge0) ...
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).

Setting up dovecot-imapd (0.99.14-1sarge0) ...

Setting up dovecot-pop3d (0.99.14-1sarge0) ...

Setting up dovecot (0.99.14-1sarge0) ...
Setting up sasl2-bin (2.1.19.dfsg1-0sarge2) ...

Setting up sendmail-base (8.13.4-3sarge3) ...
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

#<off># smtp\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
-----------------------------------------------------------

--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

#<off># submission\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
-----------------------------------------------------------

--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

#<off># smtps\tstream\ttcp\tnowait\troot\t/usr/sbin/sendmail sendmail -Am -bs

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
-----------------------------------------------------------


Setting up sendmail-cf (8.13.4-3sarge3) ...
Errors were encountered while processing:
postfix
sensible-mda
E: Sub-process /usr/bin/dpkg returned an error code (1)

v1299:/# /etc/init.d/postfix start
Starting mail transport agent: Postfixln: creating symbolic link `usr/lib/zoneinfo/localtime' to `/etc/localtime': No such file or directory

Da sind halt so ein paar Errors, die direkt bei der Installation (apt-get install postfix sasl2-bin libsasl2-modules dovecot-pop3d dovecot-imapd) auftreten.

Das was du gerade geschrieben hast werde ich jetzt gleich mal testen.

EDIT: Nach dem erneuten Linken geht es auch nicht.
 
Zuletzt bearbeitet:
Ok, Problem gelöst. Ich hab die /etc/init.d/postfix Datei angepasst und zwar usr/... auf /usr/... und jetzt geht es.
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

ganze Netzwerkumgebung schagartig unsichtbar - 0S 13.1

JBidWatcher: Problem bei loading Auctions in Verbindung mit mySQL

dovecot und postfix Konfiguration Problem

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Zurück
Oben