-
Change Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
operating system Debian
When purge the zabbix server packages (any) and the serve are not runnign a error raised, due script postrm/prerm assumes that a possitive result must return from killed proces
sysmonitor:~# /etc/init.d/zabbix-server stop
Stopping Zabbix server: zabbix_server.
sysmonitor:~# aptitude
(Reading database ... 26430 files and directories currently installed.)
Removing zabbix-server-pgsql ...
Stopping Zabbix server: zabbix_serverNo process in pidfile `/var/run/zabbix/zabbix_server.pid' found running; none killed.
Purging configuration files for zabbix-server-pgsql ...
zabbix_server: no process killed
dpkg: error processing zabbix-server-pgsql (--purge):
subprocess post-removal script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
zabbix-server-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
I suggest (no that those packages are not officialy from debian and not have the debian certification)
usage or "killall" if a non spected result are returned from stop service command, or at leas revise the pid file if still exist
NOTE: the server process must be killed due if thi are not killed database purge cound not performend if postgresql or sqlite are configured.
NOTE2: same for proxy cases...