SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
Anonymous | Login | 2021-01-22 19:09 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0003412 | Endian Firewall | Proxy - HTTP | public | 2010-12-30 15:57 | 2011-03-21 08:47 | ||||||
Reporter | luca-endian | ||||||||||
Assigned To | simon-endian | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||
Status | confirmed | Resolution | open | ||||||||
Platform | OS | OS Version | |||||||||
Product Version | 2.4 | ||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 0003412: monit monitors the wrong winbind pid file | ||||||||||
Description | This is the /etc/monit/winbind.conf file: check process winbind with pidfile /var/run/winbindd.pid But the /var/run/winbindd.pid doesn't exist :( ll /var/run/win* -rw-r--r-- 1 root root 6 Dec 30 16:27 /var/run/winbindd-winbind.conf.pid After some tests seems that winbind started without the -s /etc/samba/winbind.conf option creates the /var/run/winbindd.pid while as soon as the -s option is set the pidfile changes to /var/run/winbindd-winbind.conf.pid If the init.d script will be the same the only solution is to change the /etc/monit.d/winbind.conf file. **For the future** every monit service should depend on a check for the pidfile in order to avoid wrong restart triggered by monit. Something like this: check process winbind with pidfile /var/run/winbindd-winbind.conf.pid start program = "/etc/init.d/winbind start" stop program = "/etc/init.d/winbind stop" if 5 restarts within 5 cycles then timeout if changed pid then restart mode manual depends on winbind_pid check winbind_pid with path /var/run/winbindd-winbind.conf.pid if does not exist for 2 cycles then unmonitor | ||||||||||
Tags | purple | ||||||||||
Attached Files | |||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2010-12-30 15:57 | luca-endian | New Issue | |
2010-12-30 15:57 | luca-endian | Tag Attached: purple | |
2011-01-03 14:42 | luca-endian | Summary | monit monitors the wrong pid file => monit monitors the wrong winbind pid file |
2011-02-10 10:26 | lorenzo-endian | Customer Occurencies | => 0 |
2011-02-10 10:26 | lorenzo-endian | Assigned To | => simon-endian |
2011-02-10 10:26 | lorenzo-endian | Status | new => confirmed |
2011-02-10 12:02 | luca-endian | Customer Occurencies | 0 => 1 |
Copyright © 2000 - 2012 MantisBT Group |