Author Topic: CentOS 7.3.1611 java 1.8.0_131  (Read 1197 times)

Offline gwichman

  • Full Member
  • ***
  • Posts: 143
  • Karma: +3/-2
CentOS 7.3.1611 java 1.8.0_131
« on: May 04, 2017, 07:29:36 pm »
it seems to run however I can't pull up the web interface and I don't see any running process.. like perhaps its just dying quietly. Are there logs somewhere that would shed some light as to whats going on here?

[root@homeseer ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@homeseer ~]# java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
[root@homeseer ~]# /usr/bin/java -jar ConciergeServer.jar
May 4, 2017 4:22:06 PM V:InstallManager:OS:Linux
[root@homeseer ~]# curl https://localhost:8989
curl: (7) Failed connect to localhost:8989; Connection refused
[root@homeseer ~]# ps -ef | grep java
root      1118     1  0 08:57 ?        00:00:14 /usr/bin/java -jar -Dserver.ip=192.168.1.130 -Dconfig.file=/root/habridge/data/habridge.config /root/habridge/ha-bridge-4.2.0.jar
root      2898  2777  0 16:23 pts/0    00:00:00 grep --color=auto java

Offline alpha1

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #1 on: May 07, 2017, 06:07:56 pm »
I have the same issues
[root@NBW0010 ~]#  /usr/bin/java -jar ConciergeServer.jar
07-May-2017 23:06:21 V:InstallManager:OS:Linux
[root@NBW0010 ~]# curl https://localhost:8989
curl: (7) Failed connect to localhost:8989; Connection refused

Offline alpha1

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #2 on: May 08, 2017, 03:12:39 am »
Richard. Which Linux distribution did you test on?

@gwichman have you tried anything else or made any progress
I might spin up a Ubuntu box today and see if I can get it to work

Are there any other dependencies this needs to run? I have a fresh CentOS7 box with httpd running and java rte 1.8.0.  am I missing anything else?

Thanks
Nick.

Sent from my Nexus 6 using Tapatalk


Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9820
  • Karma: +742/-136
    • RTS Services Plugins
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #3 on: May 08, 2017, 08:29:07 am »
Take a look at the install.sh ... after running java -jar ConciergeServer.jar  it should be in the same area as the ConciergeServer.jar file.
It must have not worked ... probably need to rename  the gksu to su and run it manually.
« Last Edit: May 08, 2017, 02:19:44 pm by RichardTSchaefer »

Offline gwichman

  • Full Member
  • ***
  • Posts: 143
  • Karma: +3/-2
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #4 on: May 08, 2017, 02:00:32 pm »
@gwichman have you tried anything else or made any progress
I might spin up a Ubuntu box today and see if I can get it to work

no not yet.. I was going to see what kind of response i got in here before trying.

Offline alpha1

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #5 on: May 09, 2017, 04:25:58 pm »
Hi Richard.
I can see the install.sh and have edited it to accommodate centos

working through the install.sh manually, i have got to the part where i start the conciergeservice. 

When i run it "service conciergeserver start" i get the following
"/etc/init.d/conciergeserver: line 25: /lib/lsb/init-functions: no such file or directory"

I will try and work my way through but if know of the fix that would be awesome

thanks



Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9820
  • Karma: +742/-136
    • RTS Services Plugins
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #6 on: May 09, 2017, 05:15:44 pm »
Just look at some of the other scripts in the /etc/init.d directory.

Offline alpha1

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #7 on: May 10, 2017, 10:37:23 am »
Hi Richard

Just so you know, in the end i spun up a Debian build and threw it on there with very little issues.

Now i just need the 22nd may to come round so my wife can hand over my birthday present of a Google Home!

Thanks

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9820
  • Karma: +742/-136
    • RTS Services Plugins
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #8 on: May 10, 2017, 11:19:36 am »
I hope to have the Android app out by then ...

Offline alpha1

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #9 on: May 10, 2017, 11:30:05 am »
That would be amazing....

Great work as always Richard.  Have already paid for the Vera Concierge licence.

Thanks
Nick

Offline MarcM001

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #10 on: December 05, 2017, 01:50:30 am »
Picking up on this thread because I'm working through the exact same issue trying to get VeraConcierge to run on my Synology NAS. I've installed java no problem and when I run java -jar ConciergeServer.jar I get:

Dec 5, 2017 1:39:26 AM V:InstallManager:OS:Linux

Which could imply success, but the server is not running although I've open the appropriate ports. So I've been working through the install.sh file and have modified it as follows:

#!/bin/sh
sudo  cp conciergeserver /usr/local/etc/rc.d/conciergeserver
sudo  chmod 755 /usr/local/etc/rc.d/conciergeserver
#sudo  update-rc.d conciergeserver defaults  ← update-rc.d command not found
sudo synoservice --enable /usr/local/etc/rc.d/conciergeserver ← Service [conciergeserver] does not exist
sleep 5
xdg-open https://localhost:8989


As you can see from the <-- notes, there are two critical issues. If I just execute

/usr/local/etc/rc.d/conciergeserver

I receive the error: line 25: /lib/lsb/init-functions: No such file or directory

At this point it seems like this software is just incompatible with the Synology NAS, unless this looks like an easier problem to someone who is better trained than me. I don't suppose it would be easier to create a docker container that I could execute on the NAS as I did for HA-Bridge before realizing Google Home no longer supports scanning locally for Hue emulators? Thanks in advance.

Marc

Offline GaryOkie

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +3/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #11 on: December 11, 2017, 12:12:31 pm »
@MarcM - I will follow this thread to see if you or anyone else has had success running conciergeserver on the Synology.   I suspected it wouldn't be easy to get it working, so I didn't even attempt it.  I went with a dedicated Raspberry PI3 instead which is working nicely, but it would be even nicer to have fewer parts to integrate.

Offline MarcM001

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: CentOS 7.3.1611 java 1.8.0_131
« Reply #12 on: December 11, 2017, 10:31:24 pm »
Thanks. For the time being, I've got it running on Win10 on a tiny fanless Liva X PC that I also use as a headless Spotify server connected to a Dragonfly audio card. It seems like a moderate challenge to get Concierge running in a Docker Container. Docker runs easily on Synology. Another alternative would be to run Virtual Box on Synology, which also looks quite easy, and then you can install whatever linux distro you use on your Rasberry Pi in a VB installation if you' like to remove your Pi from the equation. I'll probably go this route if I decide not to invest more time in learning Docker.