Obsolete Releases > SME 8.x Contribs

eHour Timesheet Management

<< < (2/3) > >>

guest22:
Just curious, any success stories on this pls?

engdev:
RequestedDeletion,

Thanks for your work. I followed your howto with SME 8.1 and if you install java using
--- Code: ---yum install java
--- End code ---
the subsequent running of the script fails due to missing java fonts:

--- Quote ---?[root@smeserver4 ~]# ./ehour-1.4.1-standalone-unix.sh
testing JVM in /usr ...
Starting Installer ...
java.lang.Error: Probable fatal error:No fonts found.
        at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1090)
        at sun.font.FontManager.initialiseDeferredFont(FontManager.java:962)
...................
        at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
        at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Could not display the GUI. This application needs access to an X Server.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
[root@smeserver4 ~]#
--- End quote ---

However, if you use the sme9 java install instruction with sme 8.1:
--- Code: ---yum install java-1.6.0-openjdk dejavu*
--- End code ---
then the script runs successfully and ehour installs ok.
So would you be able to update the wiki accordingly?
thanks. John

guest22:

--- Quote from: engdev on September 08, 2014, 11:25:29 AM ---So would you be able to update the wiki accordingly?
thanks. John

--- End quote ---

Done. Thanks John!

guest

ps. eHour would be a perfect example to be used as a Docker container... http://wiki.contribs.org/Docker

engdev:
HF,

Sorry for being a bit tardy in replying but it looks like SME 8 needs both versions of java installing to get ehour working. I've installed it on another 8.1 server and this is what I did:

--- Code: ---yum install java
yum install nmap
nmap -n localhost
--- End code ---
This shows that port 8000 is not open

--- Code: ---chmod 755 ehour-1.4.1-standalone-unix.sh
./ehour-1.4.1-standalone-unix.sh
--- End code ---
This installed ok with no errors, unlike the first server.

--- Code: ---nmap -n localhost
--- End code ---
Lists port 8000 as being open, ehour is available in the browser.
I then did

--- Code: ---signal-event post-upgrade; signal-event reboot
--- End code ---

After reboot ehour isn't available:

--- Quote ---'Firefox can't establish a connection to the server at 192.168.2.5:8000'
--- End quote ---
this is confirmed by nmap, port 8000 is unavailable

I tried reinstalling the ehour script but that didn't fix it.

So I tried the sme 9 java install

--- Code: ---yum install java-1.6.0-openjdk dejavu*
--- End code ---
port 8000 open again, ehour runs

However, after another upgrade/reboot, the login fails post reboot as port 8000 is unavail.
So I reinstalled again using the script and ehour is available but after every reboot the port is no longer avail and the script needs to be re-run. Any thoughts on why this might be, have you experienced the same issue?

thanks

John

guest22:

--- Quote from: engdev on September 23, 2014, 12:24:05 PM ---However, after another upgrade/reboot, the login fails post reboot as port 8000 is unavail.
So I reinstalled again using the script and ehour is available but after every reboot the port is no longer avail and the script needs to be re-run. Any thoughts on why this might be, have you experienced the same issue?

--- End quote ---

You need to create a link to the ehour startup script in /etc/rc.d/rc.local. See "G" section on the wiki

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version