Opened 14 years ago
Closed 14 years ago
#62 closed task (wontfix)
error missing or corrupt vuurmuur.pid (na crash systeem)
Reported by: | frank | Owned by: | Victor Julien |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | suite | Version: | 0.5.72 |
Keywords: | vuurmuur.pid | Cc: |
Description
Ha die Victor,
Ook maar ff langs deze weg, bij het opstarten van deze vuurmuur_conf foutmelding: error or empty (hij is empty)in /var/run/vuurmuur.pid Hoe herstel ik dit?
Note:
See TracTickets
for help on using tickets.
Hi Frank, please use English on this site!
Translation/explanation of the issue: after a crash vuurmuur_conf gives the error: vuurmuur_conf: Error: empty or corrupted pid file: '/var/run/vuurmuur.pid' (in: get_vuurmuur_pid). (-1)
Response:
The file vuurmuur.pid contains only the pid's (process ids) of 'vuurmuur' en 'vuurmuur_log' is used by vuurmuur_conf to make contact with those daemons for 'apply changes'.
To solve this error, take the following steps:
/etc/init.d/vuurmuur stop
This could give a error or warning message, but that can be ignored. Make sure the daemons are really closed:
kill -n INT
pidof vuurmuur
kill -n INTpidof vuurmuur_log
The iptables rules will remain active as Vuurmuur doesn't remove them on exit. Next remove the pidfile.
rm /var/run/vuurmuur.pid
Start Vuurmuur again:
/etc/init.d/vuurmuur start
That should solve it!