Not able to push repo

The OpenShift forums have been retired.
You can still read and search them, but for help, please post a question on Stack Overflow.

I am trying to push repo in the cloub but I am getting following error :

rockvilla@CodeMachine:/var/www/nisargaresort$ git push
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 473 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: restart_on_add=false
remote: httpd (no pid file) not running
remote: /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 982: /var/lib/openshift/0afc2085c8d341ef85f5c8057885035c/app-root/runtime/repo/.openshift/action_hooks/post_stop_php-5.3: Permission denied
remote: Failed to stop php-5.3
To ssh://0afc2085c8d341ef85f5c8057885035c@nisargaresort-syndication.rhcloud.com/~/git/nisargaresort.git/
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://0afc2085c8d341ef85f5c8057885035c@nisargaresort-syndication.rhcloud.com/~/git/nisargaresort.git/'

There is nothing related to this problem on the net? Can anyone help me here? thanx in advance

Also if i do this rhc app start -a nisargaresort -d

Contacting https://openshift.redhat.com
Problem reported from server. Response code was 500.
 
DEBUG:
Cartridge return code: 121
 
Exit Code: 143
api_c: placeholder
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
API version:    1.1.3
 
RESULT:
Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.

I am checking with our dev ops to see if there is something wrong with the node your application is running on. Please stay tuned. Meanwhile, can you give these commands a try:

  • rhc app force-stop -a nisargaresort -d
  • rhc app start -a nisargaresort -d

I have similar issue failed to push into a newly created application. I tried restarting the app on the console as well. I also tried to delete the application and started over but no luck. I followed Grant Shipley Beershift example carefully and here is what I got when I do $ git push openshift

To ssh://51af66785004469955000043@beershift-koogine.rhcloud.com/~/git/beershift.git/
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'ssh://51af66785004469955000043@beershift-koogine.rhcloud.com/~/git/beershift.git/'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Regarding the git error you are getting, please check suggestions from here: http://stackoverflow.com/questions/10298291/cannot-pushto-github-keeping-saying-need-merge

I followed instructions from beershift github readme and I did not encounter the same error message.