| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Mon Jan 21, 2008 3:14 pm    Post subject: openbravo script | 
				     | 
			 
			
				
  | 
			 
			
				Good Day,
 
 
I am trying to install OpenBravo on SMS 1.3.3. I ran the ./sms.openbravo.sh script and then logged out.
 
 
Upon starting tomcat, I got this message:
 
 
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
 
 
help? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Mon Jan 21, 2008 3:30 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Did the script,  install the required packages...
 
Try to restart if logout login doesn't work... 
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Mon Jan 21, 2008 4:01 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Just run sms.openbravo.sh script. on SMS-1.3.3 LiveCD...
 
Here is the output after logout - login:
 
 	  | Code: | 	 		  root@sms:~# /etc/rc.d/rc.tomcat start
 
Using CATALINA_BASE:   /usr/share/tomcat
 
Using CATALINA_HOME:   /usr/share/tomcat
 
Using CATALINA_TMPDIR: /usr/share/tomcat/temp
 
Using JRE_HOME:       /usr/lib/java | 	  
 
 
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: Mon Jan 21, 2008 4:45 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I ran the install script again. It goes thru the install, but I did not see anything about java. It asks for postgres password. Then finishes.
 
 
I logged out and then back in. Started tomcat and got the same message.
 
 
In 1.3.3 did path variable change? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Mon Jan 21, 2008 4:55 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I did searches after install for java. Could not find java or jdk. There is a /usr/bin/jdk . That's it.
 
 
So, does this mean its not installing java?
 
 
I will be away from my computer for about an hour after I post this.
 
Any thoughts suggestions would be appreciated. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Mon Jan 21, 2008 7:16 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Interesting: jdk and openbravo did not install, but tomcat was there. I am now downloading the files and will run the script again.
 
 
thanks for help | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Mon Jan 21, 2008 7:29 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Openbravo is not going to be installed throughout the script.
 
After the script finished type
 
./OpenbravoERP-2.35-linux-installer.bin
 
to execute the openbravo installer...
 
 
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: Tue Jan 22, 2008 5:04 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				okay, downloading the files individually and running the script worked. Its now installing Openbravo. Will let you know progress.
 
 
thanks | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Tue Jan 22, 2008 6:38 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Progress: Ran openbravo script ran thru and asked a series of questions. It then installs openbravo but proceeds to hang:
 
 
Please wait while Setup installs Openbravo ERP on your computer.
 
 
 Installing
 
 0% ______________ 50% ______________ 100%
 
 ######################################
 
 
It just sits here obviously hung.
 
 
any thoughts | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Tue Jan 22, 2008 8:09 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Look at the openbravo logs to see if there are any errors....
 
If you have KDE run it from X, it's more detailed in errors...
 
I install it in the past in my test machine, a 667MHz Pentium with 128MB RAM and took all night to compile it...
 
I believe the answer will be in the logs...
 
do a
 
 	  | Code: | 	 		  | ls -1t /opt/OpenbravoERP/install_logs_all/ | tail `head -1` | 	  
 
or open the last log by time.
 
I'll try it later today to install it again, just in case version 2.35 has some differences in setup, I doubted though, simple openbravo takes too long to install as it compiles a lot of stuff...
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Tue Jan 22, 2008 7:47 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Well after ~150 minutes I had a Success story on my test machine (Pentium 667MHz 128MB RAM)
 
The logs are created in that order:
 
 	  | Code: | 	 		  init.log
 
uncompress.log
 
sqlimport.log
 
src.log
 
install.log
 
clean.log
 
 | 	  
 
 
as for my times on a Pentium 667MHz with 128MB RAM...
 
 	  | Code: | 	 		  ==> init.log <==
 
BUILD SUCCESSFUL
 
Total time: 2 seconds
 
 
==> uncompress.log <==
 
BUILD SUCCESSFUL
 
Total time: 38 seconds
 
 
==> sqlimport.log <==
 
BUILD SUCCESSFUL
 
Total time: 12 minutes 18 seconds
 
 
==> src.log <==
 
BUILD SUCCESSFUL
 
Total time: 130 minutes 51 seconds
 
 
==> clean.log <==
 
BUILD SUCCESSFUL
 
Total time: 6 seconds | 	  
 
 
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: Tue Jan 22, 2008 7:58 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				well, mine finally said it was built. But when I try to access openbravo it gives me a 404 error, url not found.
 
 
Bummer, that it too so long for you. I tried your suggested tail call and here is what I got:
 
 
ls -1t /opt/OpenbravoERP/install_logs_all/ | tail `head -1`
 
tail: cannot open `clean.log' for reading: No such file or  directory
 
 
Maybe I am doing something wrong. I thought you open http://host/openbravo:8080. Is that right?
 
 
I looked at clean.log and it says build successful. Install log has alot of messages that say 0 space available. This maybe normal, because I have 200Gigs available. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Tue Jan 22, 2008 8:23 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				   Got it turned around.
 
 
I now get the login page. But when I put in the user and password nothing happens. It does not even try to resolve authentication. Nothing.
 
 
Now, in the past versions of sms I always had this problem. So, I am trying to understand why it won't let me log in. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		 |