Starting the Lasso instance manager

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting the Lasso instance manager

Ari Najarian
Hi folks,

I'm not sure what I did in the LUX console to make this happen, but I inadvertently crashed the instance manager on my laptop so badly that I got the following error when reloading LUX:

Error code -1
Error Message Timeout waiting for fastcgi protocol reply

So, I did a search online to learn what I'm supposed to do, and discovered that I had to stop and restart all my lasso processes to get my sites and LUX working again locally.

Since I'm on a Mac, this works:

sudo lassoim

But... then all the Lasso processes that bash spawns become tied to the Terminal session, which means I can't close the terminal window and carry on. The documentation on the Lasso site is 9.2 specific and doesn't work for 9.3.x. I'm used to just taking for granted that Lasso is running in the background, and I'd like to be able to get it to behave like that if it stops for whatever reason.

How can I re-daemonize the necessary Lasso processes if they halt after boot?

Thanks in advance,

Ari.

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Starting the Lasso instance manager

Brad Lindsay
Ari,

On a Mac, you should be able to run

$> sudo launchctl start
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist
$> sudo launchctl stop
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist

Or, you should be able to have your command run in the background by
adding an ampersand:

$> sudo lassoim &


HTH,
Brad



On June 10, 2016 at 1:28:00 PM, Ari Najarian ([hidden email]) wrote:

> Hi folks,
>
> I'm not sure what I did in the LUX console to make this happen, but I inadvertently crashed
> the instance manager on my laptop so badly that I got the following error when reloading
> LUX:
>
> Error code -1
> Error Message Timeout waiting for fastcgi protocol reply
>
> So, I did a search online to learn what I'm supposed to do, and discovered that I had to stop
> and restart all my lasso processes to get my sites and LUX working again locally.
>
> Since I'm on a Mac, this works:
>
> sudo lassoim
>
> But... then all the Lasso processes that bash spawns become tied to the Terminal session,
> which means I can't close the terminal window and carry on. The documentation on the Lasso
> site is 9.2 specific and doesn't work for 9.3.x. I'm used to just taking for granted that
> Lasso is running in the background, and I'd like to be able to get it to behave like that
> if it stops for whatever reason.
>
> How can I re-daemonize the necessary Lasso processes if they halt after boot?
>
> Thanks in advance,
>
> Ari.
>
> #############################################################
>
> This message is sent to you because you are subscribed to
> the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to:
> Send administrative queries to
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Starting the Lasso instance manager

Johan Solve
In reply to this post by Ari Najarian
I have this script in /usr/sbin/lasso9ctl, provided by Steffan Cline.
Then you just sudo lasso9ctl start

if [ `id -u` != 0 ]; then
        echo "This script must be run as the system administrator."
        exit 1
fi


case "$1" in
        start)
                launchctl load -w
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist
                ;;
        stop)
                launchctl unload -w
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist
                ;;
        restart)
                launchctl unload -w
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist
                launchctl load -w
/Library/LaunchDaemons/com.lassosoft.lassoinstancemanager.plist
                ;;
        status)
                ps axwww | grep lasso | grep -v grep | grep -v lasso9ctl
                ;;
        *)
        echo $"Usage: $0 {start|stop|restart}"
                exit 1
esac

2016-06-10 19:28 GMT+02:00 Ari Najarian <[hidden email]>:

> Hi folks,
>
> I'm not sure what I did in the LUX console to make this happen, but I inadvertently crashed the instance manager on my laptop so badly that I got the following error when reloading LUX:
>
> Error code -1
> Error Message Timeout waiting for fastcgi protocol reply
>
> So, I did a search online to learn what I'm supposed to do, and discovered that I had to stop and restart all my lasso processes to get my sites and LUX working again locally.
>
> Since I'm on a Mac, this works:
>
> sudo lassoim
>
> But... then all the Lasso processes that bash spawns become tied to the Terminal session, which means I can't close the terminal window and carry on. The documentation on the Lasso site is 9.2 specific and doesn't work for 9.3.x. I'm used to just taking for granted that Lasso is running in the background, and I'd like to be able to get it to behave like that if it stops for whatever reason.
>
> How can I re-daemonize the necessary Lasso processes if they halt after boot?
>
> Thanks in advance,
>
> Ari.
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>



--
Mvh
Johan Sölve
____________________________________
Montania System AB
Halmstad   Stockholm
http://www.montania.se

Johan Sölve
Mobil +46 709-51 55 70
[hidden email]

Kristinebergsvägen 17, S-302 41 Halmstad, Sweden
Telefon +46 35-136800 |  Fax +46 35-136801

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>