problem install clean ubuntu 12.04 + clean servoy 6

Questions and answers for all installation-related topics for Servoy products

problem install clean ubuntu 12.04 + clean servoy 6

Postby pentamsi » Thu Jun 28, 2012 12:04 pm

We are use ubuntu 10.04 + servoy app server 6 witn no problem

Now we are moving to ubuntu 12.04 + app server 6 (clean instalation)
Firts to all, I have to say, that we installed JAVA SUN JDK 7 correctly (we know that "open java" it's not valid)
We test it with java -version and it's OK
If we use the java's webpage for test our java instalation it's says that java sun 7 SE has been installed correctly (java version 7 update 5)

Then we install servoy server succesfully, but then when we lauch it with sh /servoy_path/servoy_server.sh nothing happens (no java console text it's shown, it seemd that the sh won't run the java commands
and localhost:8080 or telnet to 8080 doesn't respond either

what can we do for solve this problem?
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby tgs » Thu Jun 28, 2012 12:19 pm

pentamsi wrote:Then we install servoy server succesfully, but then when we lauch it with sh /servoy_path/servoy_server.sh nothing happens

I would try
Code: Select all
./sh /servoy_path/servoy_server.sh &


Regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby pentamsi » Thu Jun 28, 2012 4:02 pm

tgs wrote:I would try
Code: Select all
./sh /servoy_path/servoy_server.sh &


Regards


Hi Thomas

I don't understand what you will do

If I type in a terminal your comand line :
administrador@administrador:~$ ./sh /home/administrador/appserv/application_server/servoy_server.sh &

The following erros appears
[1] 2033
administrador@administrador:~$ -bash: ./sh: No such file or directory

What I'm doing wrong?

regards
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby tgs » Thu Jun 28, 2012 4:16 pm

Ok, sorry!
You should first change into the application_server directory!
Code: Select all
server:~ administrador$ cd pathToServoy/application_server
server:application_server administrador$ ./servoy_server.sh &


I hope this is more clear and will work on your machine.

Regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby pentamsi » Thu Jun 28, 2012 4:32 pm

tgs wrote:server:~ administrador$ cd pathToServoy/application_server
server:application_server administrador$ ./servoy_server.sh &[/code]

I hope this is more clear and will work on your machine.
Regards


Thanks for your help

I try like you says but I get and error

I copy paste the commands

Code: Select all
administrador@administrador:~$
administrador@administrador:~$ cd /home/administrador/appserv/application_server
administrador@administrador:~/appserv/application_server$ ./servoy_server.sh &

but the servoy wont start up
Only a random number was shown
for example
[6] 2232

I attach a screenshot

regards
Attachments
u12.jpg
u12.jpg (78.32 KiB) Viewed 6279 times
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby tgs » Thu Jun 28, 2012 4:51 pm

Please have a look on your running services/processes!
Code: Select all
ps -ax

show you a list of the currently running services/processes on the server.

As I can see on your screenshot the servoy server ist running several times ([6] 2232, [7] 2238 and so on are the service/process id's)! You can stop the services/processes by
Code: Select all
kill 2232 2238...

but I think it would be better to restart the server
Code: Select all
sudo shutdown -r now

and try to start the servoy server as I described again.

Regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby pentamsi » Thu Jun 28, 2012 5:02 pm

.- reboot the server OK
.- change directory to application_server OK
.- run the sh with ./servoy_server.sh & OK
.- the output to this last command was
[1] 1554

what can I do?

thanks you Thomas for your help
Attachments
u12_1.jpg
u12_1.jpg (78.74 KiB) Viewed 6272 times
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby tgs » Thu Jun 28, 2012 6:39 pm

This looks good! The servoy server instance is running with the PID 1554.
Now you should able to open the servoy-admin by: http://ip_of_the_server:8080/servoy-admin. If this won't work, shut down the servoy server by:
"kill 1554"
and start again by:
"./servoy_server -upgradeRepository".

I hope this are the correct commands because this is just out from head.

Regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: problem install clean ubuntu 12.04 + clean servoy 6

Postby pentamsi » Fri Jun 29, 2012 9:59 am

hi Thomas !!!!

You are great !!

use upgradeRepository solve the problem
Now I can run the server and use the web interface
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests