# How to install remotely on Linux Debian

**URL:** <https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813>\
**Category:** Classic Servoy\
**Created:** [March 7, 2005, 9:44am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813 "2005-03-07T09:44:05Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [March 7, 2005, 9:44am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/1 "2005-03-07T09:44:05Z")

</div>

I have to install Servoy Server on a remote Debian machine.  
I have ssh access to that machine so I can use the terminal etc…  
The remote machine has JDK 1.4 installed but not X11.  
Locally I have access to a MacOS X machine or a Windows machine.  
How can I install on Debian?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [March 7, 2005, 8:38pm UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/2 "2005-03-07T20:38:18Z")

</div>

You have to install locally on a debian(linux) machine with GUI using the installer.  
Than copy the whole map of Servoy to your remote server.

(See also the server manuall)

---

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [March 8, 2005, 7:49am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/3 "2005-03-08T07:49:58Z")

</div>

But I don’t have a Linux box locally!  
Is there any way to run setup without user interface?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [March 8, 2005, 7:54am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/4 "2005-03-08T07:54:00Z")

</div>

No, I don’t think so!

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [March 8, 2005, 8:06am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/5 "2005-03-08T08:06:58Z")

</div>

There isn’t at the moment. We hope to have a headless installer in the future but we do not have one at the moment. If you do not need sybase you can do a install on mac os x, remove the sybase\_db directory, configure your db connections and copy the whole directory to the target linux box. If you do need to run sybase please contact [support@servoy.com](mailto:support@servoy.com) for a solution.

---

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [March 15, 2005, 8:23am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/6 "2005-03-15T08:23:59Z")

</div>

Thank you for the tar file.  
I have some problems. I tried to reply to your email but have no response.  
This is the problem: I installed in /usr/local but whe I run servoy\_server.sh I have this:

> Loading servoy.properties from /usr/local/Servoy/servoy.properties  
> Loading - Done  
> Exception in thread “main” org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused  
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)  
> at com.servoy.j2db.persistence.datasource.n.createConnection(Unknown Source)  
> at com.servoy.j2db.persistence.datasource.r.makeObject(Unknown Source)  
> at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)  
> at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)  
> at com.servoy.j2db.persistence.datasource.i.getConnection(Unknown Source)  
> at com.servoy.j2db.persistence.Server.getConnection(Unknown Source)  
> at com.servoy.j2db.persistence.Server.checkIfTableExistsInDatabase(Unknown Source)  
> at com.servoy.j2db.persistence.Repository.int(Unknown Source)  
> at com.servoy.j2db.persistence.Repository.(Unknown Source)  
> at com.servoy.j2db.persistence.Repository.(Unknown Source)  
> at com.servoy.j2db.persistence.Server.getRepository(Unknown Source)  
> at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)  
> Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused  
> at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:487)  
> at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:723)  
> at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3071)  
> at com.sybase.jdbc2.tds.Tds.login(Tds.java:394)  
> at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:218)  
> at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:195)  
> at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:174)  
> at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:126)  
> at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)  
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:83)  
> … 12 more

What is happening?

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [March 16, 2005, 8:46am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/7 "2005-03-16T08:46:31Z")

</div>

The database is not yet started. On linux you have to start it before you start servoy server. Instructions are in the server manual.

---

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [March 16, 2005, 11:16am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/8 "2005-03-16T11:16:18Z")

</div>

Sorry but in the manual I found only this:

> For the information needed to create, start, and stop a database service on Linux/Unix, check  
> the documentation for your operating system or refer to the man pages for your specific  
> vendor.

Could you give me some tips?

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [March 16, 2005, 11:36am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/9 "2005-03-16T11:36:33Z")

</div>

It looks like I was reading a newer (not yet released) version of the server doc. I can’t find it in the current docs either. Here’s how to start sybase on linux/unix systems if you run servoy server (and not developer)

```auto
export LD_LIBRARY_PATH=/Applications/Servoy/sybase_db 
export PATH=$PATH:PATHTOSERVOY/sybase_db 
cd PATHTOSERVOY/ 
sybase_db/dbsrv9 @sybase_db/sybase.config

```

then start server

make sure to replace PATHTOSERVOY/ with the path where servoy is installed.

---

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [March 16, 2005, 2:24pm UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/10 "2005-03-16T14:24:05Z")

</div>

What is LD\_LIBRARY\_PATH=/Applications/Servoy/sybase\_db?  
What is /Applications?  
I’m on Linux not on Mac…

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [March 16, 2005, 3:59pm UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/11 "2005-03-16T15:59:19Z")

</div>

sorry, it should be the path to the servoy/sybase\_db directory

---

<div class="post-metadata">

**Author:** ![dealfirst](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dealfirst](https://forum.servoy.com/u/dealfirst)\
**Post date:** [April 22, 2005, 12:52am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/12 "2005-04-22T00:52:25Z")

</div>

I get that same message and when i try

sybase\_db/dbsrv9 @sybase\_db/sybase.config

i get

-bash: sybase\_db/dbsrv9: cannot execute binary file

i think i have permissions wrong?

Bo

---

<div class="post-metadata">

**Author:** ![dealfirst](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dealfirst](https://forum.servoy.com/u/dealfirst)\
**Post date:** [April 22, 2005, 1:11am UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/13 "2005-04-22T01:11:10Z")

</div>

I installed the server on OSX and just moved the servoy file to my redhat enterprise 3 server colo’d.

i get the same error as above when i try and start ./servoy\_server.sh  
so i try and start dbserv9 and get this.

[root@localhost sybase\_db]# file dbsrv9  
dbsrv9: Mach-O executable powerPC

so does this mean i have to have another linux box set up with enterprise 3 on it. then i install servoy on to that box, then i can move over my databases and the servoy file to my box downtown?

when my servoy server is downtown on my box what happens if i need to make some quick changes to the layout or add a field or something? do i have to shut down the server, pull my servoy folder back to my machine locally, then start up developer, then move the folder back to the server downtown and then start up the server again?

please help i am going nuts.

---

<div class="post-metadata">

**Author:** ![Odysseus](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@Odysseus](https://forum.servoy.com/u/Odysseus)\
**Post date:** [April 22, 2005, 6:53pm UTC](https://forum.servoy.com/t/how-to-install-remotely-on-linux-debian/3813/14 "2005-04-22T18:53:44Z")

</div>

> when my servoy server is downtown on my box what happens if i need to make some quick changes to the layout or add a field or something? do i have to shut down the server, pull my servoy folder back to my machine locally, then start up developer, then move the folder back to the server downtown and then start up the server again?

When servoy server is running on your machine “downtown”, you can connect to it using [http://downtown\_machines\_ip:8080/servoy-admin/](http://downtown_machines_ip:8080/servoy-admin/)

In the administration pages you can practicly do anything you need except create new dbconnections. So a quick change to a layout or modification to a backend db ( as long as the connection is already defined) is very simple.

Regarding your other problems I can only say that we are running a SUSE 9.1 machine remotely that we can control through VNC. I guess this is no option for you ?

We use it to create new dbconnections in the Servoy Developper installed on the remote machine and to install the updates.

HTH
