Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run commands? #2

Open
pattiereaves opened this issue Jul 24, 2013 · 3 comments
Open

Cannot run commands? #2

pattiereaves opened this issue Jul 24, 2013 · 3 comments

Comments

@pattiereaves
Copy link

When I run php fetch.php -v, I get this message:

To start OpenFuego, run these commands:

nohup /usr/bin/php /Library/WebServer/Documents/OpenFuego/collect.php > /dev/null 2> /dev/null & echo $!
nohup /usr/bin/php /Library/WebServer/Documents/OpenFuego/consume.php > /dev/null 2> /dev/null & echo $!

[2]+ Exit 255 nohup /usr/bin/php /Library/WebServer/Documents/OpenFuego/consume.php > /dev/null 2> /dev/null

Even after running those commands. Running those commands gives me responses like

[1] 5930
5930

and

[2] 5941
5941
[1] Exit 255 nohup /usr/bin/php /Library/WebServer/Documents/OpenFuego/collect.php > /dev/null 2> /dev/null

Can you help point me in the right direction?

@phelps
Copy link
Member

phelps commented Jul 28, 2013

Those numbers, 5930 and 5941, are the process IDs Fuego is using and are supposed to be displayed, for you reference.

After starting it up, can you do a pidof php and see if those same process IDs are displayed?

Also, by chance are you in a shared hosting environment?

@pattiereaves
Copy link
Author

I'm trying to set this up on my localhost (a mostly out of the box php 5.3 set up on Snow Leopard).

I don't appear to have pidof but when I look through the list of ps -ax I don't see those numbers in there.

@phelps
Copy link
Member

phelps commented Jul 29, 2013

I haven't tested this in a non-Linux environment. If you know how to compile PHP, make sure to compile it with process control. That will allow all of this to happen in the background just by running fetch.php.

If you're launching the processes and then seeing they're not actually running, try running fetch.php -v (verbose mode) to get verbose error output. Let me know if you see any errors or warnings.

@ohofmann ohofmann mentioned this issue Sep 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants