| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 | 
			
				|  Posted: Wed Feb 06, 2008 9:02 pm    Post subject: new install of 1.3.4 and issue |   |  
				| 
 |  
				| 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 |  | 
	
		| gerasimos_h Site Admin
 
 
 Joined: 09 Aug 2007
 Posts: 1757
 Location: Greece
 
 | 
			
				|  Posted: Wed Feb 06, 2008 9:15 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 | 
			
				|  Posted: Wed Feb 06, 2008 9:38 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| gerasimos_h Site Admin
 
 
 Joined: 09 Aug 2007
 Posts: 1757
 Location: Greece
 
 | 
			
				|  Posted: Wed Feb 06, 2008 9:46 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 |  | 
	
		| Back to top |  | 
	
		|  |