Mat777
Mat777

Reputation: 338

Can't start/stop openshift application

I have an application on openshift which has suddenly stopped running.
The following cartridges are used :

The only information about the crash of the app is the following from nodejs.log :

 DEBUG: Sending SIGTERM to child...

Now, when I try to rhc start / stop / restart the app, I got the following messages :

Failed to execute: 'control stop' for /var/lib/openshift/<username>/nodejs
Failed to execute: 'control stop' for /var/lib/openshift/<username>/cron
Failed to execute: 'control stop' for /var/lib/openshift/<username>/mysql

I can manually start the app by ssh in the app and executing

./mysql/bin/control start
./nodejs/bin/control start
./cron/bin/control start

Why can't the app be automatically restarted ?

Upvotes: 2

Views: 5379

Answers (2)

insideClaw
insideClaw

Reputation: 488

Solution that worked for me - as weird as it is - try a day later.

Had the same problem yesterday - neither restarting nor git pushes were working. Tried restoring from snapshot, forcing stop and manual starts to no avail. And today it works straight off. I can only guess that some cron-jobs on OpenShift fixed it.

Upvotes: 1

fat fantasma
fat fantasma

Reputation: 7613

Try 'rhc app-force-stop "app"'. Then restart the app. I don't know what the root cause of your problem is tho. Check your disk quota and or a memory leak.

Upvotes: 3

Related Questions