How to install Servoy server on Mac

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

How to install Servoy server on Mac

Postby rn » Tue Nov 05, 2013 6:49 pm

Hi all,

I've tried to install the servoy application server on a mac.
The installation goes fine.
The problem comes with the daemons setup.
I've tried to create a new daemon:

Code: Select all
#!/bin/sh
. /etc/rc.common

# The start subroutine
StartService() {
    # Insert your start command below.  For example:
/Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt start
    # End example.
}

# The stop subroutine
StopService() {
    # Insert your stop command(s) below.  For example:
    /Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt stop
    # End example.
}

# The restart subroutine
RestartService() {
    # Insert your start command below.  For example:
   StopService()
StartService()
    # End example.
}

RunService "$1"

But it doesn't work. I don't know if the syntax its correct.
If I run
Code: Select all
/Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt start
into the terminal, the database runs fine.

I've done the folder, the .sh file and the .plist by myself because the link to the "armadillo" page is broken.
I've tried to follow the servoyguy guide:
http://www.servoyguy.com/knowledge_base ... p_automa_1


Can anyone say me what I'm missing?
Does exist a step-by-step servoy installation guide for mac?

Thanks
rn
 
Posts: 32
Joined: Tue Apr 17, 2012 11:36 am

Re: How to install Servoy server on Mac

Postby Andrei Costescu » Fri Nov 08, 2013 1:03 pm

Do you mean this link? https://www.macupdate.com/app/mac/17385/armadillo
I see the page is showing some html markup for some reason - but the href link works for me.

Edit: ah, sorry about that, actually the download links don't work.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: How to install Servoy server on Mac

Postby mboegem » Fri Nov 08, 2013 4:38 pm

To create daemons you can try Lingon.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: How to install Servoy server on Mac

Postby ROCLASI » Fri Nov 08, 2013 8:13 pm

Hi,

Under what user are you trying to run PostgreSQL? If the daemon is launched as root PostgreSQL will quit because this is considered (very) bad practice.
Check the postgresql.log file to see what really the problem is.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: How to install Servoy server on Mac

Postby rn » Tue Nov 26, 2013 4:25 pm

Hi all!

Following your suggestion, I'll solved the problem!

Thanks!
rn
 
Posts: 32
Joined: Tue Apr 17, 2012 11:36 am


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 9 guests