Ahoj,


díky za radu. Bohužel u mě to píše:


Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up redis-server (3:3.2.6-1) ...
Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript redis-server, action "start" failed.
● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/redis-server.service.d
           └─override.conf
   Active: activating (auto-restart) (Result: exit-code) since Tue 2017-07-11 10:35:59 CEST; 12ms ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
  Process: 19329 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)
  Process: 19322 ExecStartPre=/bin/run-parts --verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)

Jul 11 10:35:59 tomasvaril systemd[1]: redis-server.service: Unit entered failed state.
Jul 11 10:35:59 tomasvaril systemd[1]: redis-server.service: Failed with result 'exit-code'.
dpkg: error processing package redis-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 redis-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


T.


Od: community-list-bounces@lists.vpsfree.cz <community-list-bounces@lists.vpsfree.cz> za uživatele Jakub Skokan <jakub.skokan@vpsfree.cz>
Odesláno: 11. července 2017 10:23:38
Komu: community-list@lists.vpsfree.cz
Předmět: Re: [vpsFree.cz: community-list] Problémy s Redis serverem pri upgrade z Debian 8 na 9
 
Ahoj,

podarilo se mi to zprovoznit nasledujicim zpusobem:

mkdir /etc/systemd/system/redis-server.service.d

cat > /etc/systemd/system/redis-server.service.d/override.conf <<EOF
[Service]
ReadOnlyDirectories=
ReadWriteDirectories=
EOF

systemctl daemon-reload
apt-get -f install

Jakub
_______________________________________________
Community-list mailing list
Community-list@lists.vpsfree.cz
http://lists.vpsfree.cz/listinfo/community-list