Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAFPlus restart not working #160

Open
davidmat50 opened this issue Mar 10, 2015 · 3 comments
Open

SAFPlus restart not working #160

davidmat50 opened this issue Mar 10, 2015 · 3 comments

Comments

@davidmat50
Copy link

When I tried restarting the SAFplus ( # etc/init.d/asp restart) , It just stopped. It didn’t restart.
All the safplus related processes were killed and not restarted.

@hoangle
Copy link
Member

hoangle commented Mar 10, 2015

Hi,
Please attach amf_watchdog.log at /var/log?
Q: Were you waiting long enough (since Watchdog will check and start SAFplus after 30 sec )?

Regards,
Hoang

@davidmat50
Copy link
Author

Yes i have waited long enough.

Please find the log file contents towards the end of the amf_watchdog.log file pasted below.

INFO Killed [/root/asp/bin/asp_console] with command [killall -KILL /root/asp/bin/asp_console 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_event] with command [killall -KILL /root/asp/bin/safplus_event 2> /dev/null]
INFO Killed [/root/asp/bin/asp_run] with command [killall -KILL /root/asp/bin/asp_run 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_console] with command [killall -KILL /root/asp/bin/safplus_console 2> /dev/null]
DEBUG Cleanup SAFplus
DEBUG Save Previous Logs
INFO Starting AMF (/root/asp/bin/safplus_amf)...
INFO Stop file exists: SAFplus is stopping
DEBUG Exception [Errno 2] No such file or directory: '/root/asp/var/run/safplus_reboot' while removing /root/asp/var/run/safplus_reboot
INFO Stop file not found: Starting AMF from watchdog
INFO Killed [/root/asp/bin/safplus_amf] with command [killall -KILL /root/asp/bin/safplus_amf 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_name] with command [killall -KILL /root/asp/bin/safplus_name 2> /dev/null]
INFO Killed [/root/asp/bin/net-snmp-config] with command [killall -KILL /root/asp/bin/net-snmp-config 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_ckpt] with command [killall -KILL /root/asp/bin/safplus_ckpt 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_debug] with command [killall -KILL /root/asp/bin/safplus_debug 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_logd] with command [killall -KILL /root/asp/bin/safplus_logd 2> /dev/null]
INFO Killed [/root/asp/bin/csa102] with command [killall -KILL /root/asp/bin/csa102 2> /dev/null]
INFO Killed [/root/asp/bin/asp_binlogviewer] with command [killall -KILL /root/asp/bin/asp_binlogviewer 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_run] with command [killall -KILL /root/asp/bin/safplus_run 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_gms] with command [killall -KILL /root/asp/bin/safplus_gms 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_msg] with command [killall -KILL /root/asp/bin/safplus_msg 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_info] with command [killall -KILL /root/asp/bin/safplus_info 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_binlogviewer] with command [killall -KILL /root/asp/bin/safplus_binlogviewer 2> /dev/null]
INFO Killed [/root/asp/bin/virtualIp] with command [killall -KILL /root/asp/bin/virtualIp 2> /dev/null]
INFO Killed [/root/asp/bin/aspinfo] with command [killall -KILL /root/asp/bin/aspinfo 2> /dev/null]
INFO Killed [/root/asp/bin/nodeinfo] with command [killall -KILL /root/asp/bin/nodeinfo 2> /dev/null]
INFO Killed [/root/asp/bin/asp_console] with command [killall -KILL /root/asp/bin/asp_console 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_event] with command [killall -KILL /root/asp/bin/safplus_event 2> /dev/null]
INFO Killed [/root/asp/bin/asp_run] with command [killall -KILL /root/asp/bin/asp_run 2> /dev/null]
INFO Killed [/root/asp/bin/safplus_console] with command [killall -KILL /root/asp/bin/safplus_console 2> /dev/null]
DEBUG Cleanup SAFplus
DEBUG Save Previous Logs
INFO Starting AMF (/root/asp/bin/safplus_amf)...
INFO Stop file exists: SAFplus is stopping

@hoangle
Copy link
Member

hoangle commented Mar 10, 2015

I'm able to reproduce this issue on Master. I will give a fixed soon. Thanks for reporting!
You can combine 2 commands as work around:
./etc/init.d/safplus stop && ./etc/init.d/safplus start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants