Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
new install of 1.3.4 and issue
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Feb 06, 2008 9:02 pm    Post subject: new install of 1.3.4 and issue Reply with quote

Good Day,

I installed 1.3.4 and the install was flawless. Really, like the upgrades.

I downloaded the 'sms.openbravo.sh' script. I ran the script and it ran without any errors. I logged out and then back in. I tried to start tomcat and received the following error message:

'root@nemo:~# /etc/rc.d/rc.tomcat start
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program.

Just thought I would let you know. It is truly inspiring how fast sms has matured.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Feb 06, 2008 9:15 pm    Post subject: Reply with quote

Deja Vu...
I think that script for some reason skip installing a package...
Check if packages are all installed...
what's the output of
cat /etc/profile.d/jre.sh
cat /etc/profile.d/jdk.sh

I've installed openbravo on SMS 1.3.4 with no issues..
Of course I had already download the packages and just run the script with no errors....

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Feb 06, 2008 9:38 pm    Post subject: Reply with quote

root@nemo:~# cat /etc/profile.d/jre.sh
cat: /etc/profile.d/jre.sh: No such file or directory
root@nemo:~# cat /etc/profile.d/jdk.sh
cat: /etc/profile.d/jdk.sh: No such file or directory
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Feb 06, 2008 9:46 pm    Post subject: Reply with quote

So neither
ls /var/log/packages/jre*
ls /var/log/packages/jdk*
will exists...
It seems that
jdk-6u2-i586-2.tgz
jre-6u2-i586-1.tgz
are not installed...
That's the bad think with text programming, can't output the error...
Download the files in the same folder as sms.openbravo.sh comment the wget lines and run the script....
For now you can install those two packages and others if they are not installed and do
ln -s /usr/lib/jdk1.6.0_02/ /usr/lib/jdk
for not running the srcipt again...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Feb 06, 2008 9:55 pm    Post subject: Reply with quote

Here is what is happening:
--19:58:23-- http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/extra/jd k-6//jdk-6u2-i586-2.tgz
=> `jdk-6u2-i586-2.tgz'
Resolving slackware.cs.utah.edu... 1.0.0.0
Connecting to slackware.cs.utah.edu|1.0.0.0|:80... failed: Connection timed out.
Retrying.

--20:01:33-- http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/extra/jdk-6//jdk-6u2-i586-2.tgz
(try: 2) => `jdk-6u2-i586-2.tgz'
Connecting to slackware.cs.utah.edu|1.0.0.0|:80... failed: Network is unreachable.
--20:03:07-- http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/patches/packages//jre-6u2-i586-1.tgz
=> `jre-6u2-i586-1.tgz'
Resolving slackware.cs.utah.edu... 1.0.0.0
Connecting to slackware.cs.utah.edu|1.0.0.0|:80... failed: Network is unreachable.

As you can see, its not able to connect and since there is no error message, one thinks it was installed. So, script is actually working.

thanks for the input.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional