Comments (1)
I have tested systemctl restart keepalived on my CentOS 7 VM and it works fine for me.
There are some strange things about the log output
- systemd logs "Stopped ..." before it logs "Stopping ..."
- The new keepalived logs that keepalived is already running.
Point 2 means that keepalived has found an old PID file and the process whose PID is in the file still exists. Each of the keepalived processes (parent process, VRRP process checker process) creates a PID file and each of them is checked. It is presumably the VRRP or checker process that is still running, since systemd complains that /var/run/keepalived.pid does not exist. After keepalived determines another instance of keepalived is still running the new keepalived then exits, which is why the keepalived.pid file does not exist.
Does this problem always happen when you restart keepalived, or is it intermittent? Have you checked the RedHat bugzilla for any relevant keepalived issues on RHEL7?
The interaction between keepalived and systemd has significantly improved since keepalived v1.3.5, as indeed has keepalived itself (there have been over 3000 non merge commits since v1.3.5). In order for us to look at the problem further, you would need to build and install the latest keepalived (i.e. v2.2.8 or later) and observe the problem occurring with that. You would also need to provide the full logs for keepalived since it started, and the relevant systemd logs.
I am closing this issue now, but if you provide the details identified in the previous paragraph and the problem is still occurring with keepalived v2.2.8+ we will reopen the issue.
from keepalived.
Related Issues (20)
- Keepalived claims that blackhole route doesn't have interface and can't be tracked HOT 3
- I can not interrupt the gdb debugger by entering ctrl+c when it has attached a keepalived_vrrp process HOT 1
- Issue with interface ip and vip subnet HOT 5
- the backupser log is always print Entering MASTER STATE/Entering BACKUP STATE HOT 5
- vip no route to host HOT 4
- Regression in 2.3.1 compared to 2.2.8 with virtual_server HOT 5
- Suggest adding dependency requirements in the INSTALL file HOT 2
- Tracking script not changing VRRP state to BAD HOT 9
- Logic bug in parser function. HOT 5
- ip address associated with VRID 1 not present in MASTER advert HOT 1
- Use keepalived cmdline may start two keepalived daemon HOT 1
- nopreempt improvement HOT 1
- Integer overflow vulnerability in vrrp_ipsets_handler HOT 6
- The forward value of the keepalived DR Does not support Local HOT 15
- MLDv1 listener reports are not blocked when using use_vmac HOT 1
- keepalived-2.1.5 segfault because the interface vethxxx has been deleted when reloading, how to fix it? HOT 1
- -t/--config-test does not comply with docs
- Both VRRP peers become master when uincast_peer is configured HOT 2
- The corresponding MAC address is abnormal after VIP switching HOT 8
- When the check child process and VRRP child process are abnormally terminated and restarted by the parent process, they might not have a PID file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepalived.