The article was moved to https://www.bernardi.cloud/2015/02/25/phantomjs-with-ghostdriver-on-openshift/
See you on my new website! 😎
The article was moved to https://www.bernardi.cloud/2015/02/25/phantomjs-with-ghostdriver-on-openshift/
See you on my new website! 😎
Sir, I’ve successfully downloaded your patch file into my openshift server.. But when i write this command “./phantomjs -v” It says “Permission denied” Please help.. Why i’m getting this error.?
Disclaimer: I’m the owner of this question -> http://stackoverflow.com/questions/28606650/getting-error-could-not-start-ghost-driver
Maybe you should try with a chmod +x ./phantomjs
Hi, thanks a lot for your build of phantomjs. I tried to download your binary into my openshift server. However, every time when I run it, it always gives me a “Segmentation Fault” error. Do you know how I can fix it? Thanks.
What kind of cartridge are you using?
Hi Paolo,
Nice post. while I found “Segmentation fault” in my DIY cartridge…
compile issue?
Perhaps… I never tried it on a DIY cartridge, only on the Tomcat one. I’m not even sure how to debug that segfault. If gdb is available you may try with something like this: https://wiki.archlinux.org/index.php/Step-by-step_debugging_guide#Segmentation_faults
Also what is the output of uname -a and ldd phantomjs?
ldd
-> statically linked
uname -a
Linux ex-std-node384.prod.rhcloud.com 2.6.32-504.3.3.el6.x86_64 #1 SMP Fri Dec 12 16:05:43 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
seems “x86_64” doesn’t make difference….
Hi Paolo,
Nice post! I’m really interested into this solution, but I have not been able to make it work.
When running “./phantomjs –webdriver=$OPENSHIFT_JBOSSEWS_IP:23456”, I also catch a segmentation fault. My cartridges: Tomcat 7 (JBoss EWS 2.0), MongoDB 2.4 and RockMongo 1.1.
$ uname -a
Linux ex-std-node431.prod.rhcloud.com 2.6.32-504.3.3.el6.x86_64 #1 SMP Fri Dec 12 16:05:43 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
$ ldd phantomjs
statically linked
Any idea why this error and how to solve it?
Thanks 🙂
I have not been able to make your patch work, I always catched a segmentation fault. So I re-compiled it on an RHEL machine, and this one worked for me: http://christophe-maillard.com/phantomjs-1.9.8.patched/phantomjs.tar.gz
PS: see http://stackoverflow.com/questions/30506496/trying-to-run-phantomjs-on-openshift-cannot-patch-ghostdriver-so-that-it-can-bi
Sorry for the delay, and good job! 😀