Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2018-03-16 16:08:45

  hubot - Użytkownik

hubot
Użytkownik
Zarejestrowany: 2017-04-13

Błąd w trakcie instalacji postfix

Otrzymuję następujący błąd w trakcie próby instalacji postfix:

Kod:

    root@myvps:~# apt install postfix
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      postfix-sqlite
    Suggested packages:
      postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb sasl2-bin
      dovecot-common resolvconf postfix-cdb ufw postfix-doc
    The following NEW packages will be installed:
      postfix postfix-sqlite
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/1,755 kB of archives.
    After this operation, 4,378 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Preconfiguring packages ...
    Selecting previously unselected package postfix-sqlite.
    (Reading database ... 66632 files and directories currently installed.)
    Preparing to unpack .../postfix-sqlite_3.1.8-0+deb9u1_amd64.deb ...
    Unpacking postfix-sqlite (3.1.8-0+deb9u1) ...
    Selecting previously unselected package postfix.
    Preparing to unpack .../postfix_3.1.8-0+deb9u1_amd64.deb ...
    Unpacking postfix (3.1.8-0+deb9u1) ...
    Processing triggers for systemd (232-25+deb9u2) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up postfix-sqlite (3.1.8-0+deb9u1) ...
    grep: /etc/postfix/dynamicmaps.cf: No such file or directory
    Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
    Processing triggers for rsyslog (8.24.0-1) ...
    Setting up postfix (3.1.8-0+deb9u1) ...
    Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service.
    Adding group `postdrop' (GID 118) ...
    Done.
    setting myhostname: myvps
    setting alias maps
    setting alias database
    setting myorigin
    setting destinations: $myhostname, example.com, myvps, localhost.localdomain, localhost
    setting relayhost: 
    setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    setting mailbox_command
    setting mailbox_size_limit: 0
    setting recipient_delimiter: +
    setting inet_interfaces: all
    setting inet_protocols: all
    
    Postfix (main.cf) 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 'service postfix reload'.
    
    Running newaliases
    newaliases: fatal: scan_dir_push: open directory /etc/postfix/dynamicmaps.cf.d: Permission denied
    dpkg: error processing package postfix (--configure):
     subprocess installed post-installation script returned error exit status 75
    Processing triggers for systemd (232-25+deb9u2) ...
    Processing triggers for rsyslog (8.24.0-1) ...
    Errors were encountered while processing:
     postfix
    needrestart is being skipped since dpkg has failed
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Jak się pozbyć tych błędów dpkg?

Ostatnio edytowany przez hubot (2018-03-16 16:09:06)

Offline

 

#2  2018-03-17 15:49:05

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: Błąd w trakcie instalacji postfix

Kod:

    newaliases: fatal: scan_dir_push: open directory /etc/postfix/dynamicmaps.cf.d: Permission denied

Sprawdź uprawnienia. Poza tym dali ci wystarczające odpowiedzi: https://unix.stackexchange.com/questions/430640/dpkg-error-processing-package-postfix-configure żeby to rozwiązać.


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.011 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00126 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='44.215.110.142' WHERE u.id=1
0.00083 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '44.215.110.142', 1711654995)
0.00069 SELECT * FROM punbb_online WHERE logged<1711654695
0.00083 SELECT topic_id FROM punbb_posts WHERE id=318440
0.00100 SELECT id FROM punbb_posts WHERE topic_id=30363 ORDER BY posted
0.00103 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30363 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00149 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30363 ORDER BY p.id LIMIT 0,25
0.00115 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30363
Total query time: 0.0085 s