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
Deb package init script issue #239
Comments
see #234 |
Hey, thank you. I have edited the |
re @slavomirdittrich 1. why the status command got
|
Thank you very much. This helps. |
@slavekdittrich I'm having the same issue here. Can you post your log files here? Restart your server/computer that runs KairosDB at startup and copy the log here. The log file for the current day is (usually) located at Following you can check my log: https://gist.github.com/paladini/7f7f07fe43c11c64b4f4 I can start KairosDB with I've made the following to try boot up my Xubuntu with Cassandra + KairosDB: Changed (...)
### main logic ###
case "$1" in
start)
sleep 10
start
;;
(...) Now on my Terminal: # Removing KairosDB and Cassandra from startup
$ sudo update-rc.d -f kairosdb remove
$ sudo update-rc.d -f cassandra remove
# Enabling Cassandra to start on instant 01 and KairosDB to start on instant 99.
$ sudo update-rc.d cassandra defaults 01 99
$ sudo update-rc.d kairosdb defaults 99 01 I have no success with that. Still getting the same error at startup :/ @at15 Any tips? |
@paladini I'm glad I'm not the only trying to solve this exact issue. You can find my log here: https://gist.github.com/slavekdittrich/16f77c83a8ba5c2e60e8 I did try the same approach with different start and stops of cassandra and kairosdb services using I have also tried using my own upstart script in |
@slavekdittrich Let me know if you find an answer to solve this problem. If I find a fix to the problem I'll do the same. About the |
Hi @slavekdittrich , any news on that? I don't have any progress here. What about you? |
@slavekdittrich I've some success here, do you still need help? It's only a temporary solution, but I'm looking for a more robust solution. If you still need help, tell me. |
Yes I do and would highly appreciate your help.
|
Well, remember that we've tested the My If you still can't boot up KairosDB after Cassandra tell me so I'll try to guide you. If you need any other information let me know. |
This was a bit of a design issue. If you have Kiaros miss configured it shouldn't start up. I'll look into a configuration option that lets Kairos startup even if it cannot immediately talk to Cassandra. Long term I think this is the better solution. |
@brianhks I think that isn't a miss configuration, the problem is within the Cassandra dependency. In our case KairosDB is starting with the system, the problem is that KairosDB starts without waiting for Cassandra (then KairosDB is closed by an error). |
@paladini Thank you very much for the script! This solution starts KairosDB after startup indeed. As @brianhks suggests if it's a missconfiguration, which I also think it's not this case, can you gist your |
Still opened? |
Adding a sleep to the startup is a hack. I left this ticket open so to remember to add functionality to kairos to startup without a connection to Cassandra. As a partial work around the startup script was changed to systemd which allows adding dependencies on other services. I'm going to leave this open until an option is added to startup without C* available. |
Kairos can start without C* being up :) |
Hi, once successfully installed KairosDB from the last DEB package on Ubuntu 14.04, after issuing the command for starting the service
sudo service kairosdb start
it replies with/etc/init.d/kairosdb: line 52: syntax error: unexpected end of file
. Has anyone experienced the same behaviour? Thanks in advance!The text was updated successfully, but these errors were encountered: