# problem install clean ubuntu 12.04 + clean servoy 6

**URL:** <https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111>\
**Category:** Classic Servoy\
**Created:** [June 28, 2012, 10:04am UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111 "2012-06-28T10:04:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pentamsi](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pentamsi](https://forum.servoy.com/u/pentamsi)\
**Post date:** [June 28, 2012, 10:04am UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/1 "2012-06-28T10:04:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [June 28, 2012, 10:19am UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/2 "2012-06-28T10:19:10Z")

</div>

> pentamsi:  
> Then we install servoy server succesfully, but then when we lauch it with sh /servoy\_path/servoy\_server.sh nothing happens

I would try

```auto
./sh /servoy_path/servoy_server.sh &

```

Regards

---

<div class="post-metadata">

**Author:** ![pentamsi](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pentamsi](https://forum.servoy.com/u/pentamsi)\
**Post date:** [June 28, 2012, 2:02pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/3 "2012-06-28T14:02:28Z")

</div>

> tgs:  
> I would try
> 
> ```auto
> ./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

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [June 28, 2012, 2:16pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/4 "2012-06-28T14:16:12Z")

</div>

Ok, sorry!  
You should first change into the application\_server directory!

```auto
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

---

<div class="post-metadata">

**Author:** ![pentamsi](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pentamsi](https://forum.servoy.com/u/pentamsi)\
**Post date:** [June 28, 2012, 2:32pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/5 "2012-06-28T14:32:01Z")

</div>

> tgs:  
> 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

```auto
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

 ![u12.jpg](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/c/c882b5c721e4cd147b5e7dcdd902bd2c198c23a3.jpeg)

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [June 28, 2012, 2:51pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/6 "2012-06-28T14:51:50Z")

</div>

Please have a look on your running services/processes!

```auto
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

```auto
kill 2232 2238...

```

but I think it would be better to restart the server

```auto
sudo shutdown -r now

```

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

Regards

---

<div class="post-metadata">

**Author:** ![pentamsi](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pentamsi](https://forum.servoy.com/u/pentamsi)\
**Post date:** [June 28, 2012, 3:02pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/7 "2012-06-28T15:02:28Z")

</div>

.- 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

 ![u12_1.jpg](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/1X/ca89a0be6c177d7116e7f97f6cb86523b17b1a68.jpeg)

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [June 28, 2012, 4:39pm UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/8 "2012-06-28T16:39:48Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![pentamsi](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pentamsi](https://forum.servoy.com/u/pentamsi)\
**Post date:** [June 29, 2012, 7:59am UTC](https://forum.servoy.com/t/problem-install-clean-ubuntu-12-04-clean-servoy-6/16111/9 "2012-06-29T07:59:59Z")

</div>

hi Thomas !!!

You are great !!

use **upgradeRepository** solve the problem  
Now I can run the server and use the web interface
