Hi, everyone.
I am trying to install local server.
I download the server-0.7.1.jar from https://github.com/blynkkk/blynk-server/releases.
Then I am install Java on Linux following instructions on GitHub page.
After that I tried to install server and I could’t do it.
Now the problem
I moved server-0.7.1.jar in /var/www/blynk and in command line I wrote “java -jar /var/www/blynk/server-0.7.1.jar” and nothing happened. Then I am cancel that action(ctrl+c) and there was an error “2015-07-30 11:51:51,518 FATAL Ignoring log event after log4j was shut down”.
And now I don’t know what to do.
That’s ok. By default all logging is happens in same dir within “logs” folder, so you should see no output to console. So in other words you launched server successfully =). just check folder ./logs/blynk.log
And of course after ctrl+c you have to launch server again.
I understand that when I close server’s command line with active line (“java -jar /var/www/blynk/server-0.7.1.jar”) then the blynk-server shuts down.
But how I can start my server automatically? I mean without opening command line and input the line above.
Now I guess server is working. But when I start its in command line I see that root@Test:~# java -jar /var/www/blynk_new/test/server-0.7.1.jar &
[4] 1920
root@Test:~# Aug 04, 2015 7:09:11 AM io.netty.util.internal.ThreadLocalRandom getInitialSeedUniquifier
WARNING: Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?