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

ERROR: child process failed, exited with error number 100 #21

Closed
Mehrian opened this issue May 11, 2015 · 7 comments
Closed

ERROR: child process failed, exited with error number 100 #21

Mehrian opened this issue May 11, 2015 · 7 comments

Comments

@Mehrian
Copy link

Mehrian commented May 11, 2015

Dear all
I'm trying to test the branin.py on the cluster (On my laptop every thing is OK), and I have the following error when I try to start mongo using command ; "mongod --fork --logpath --dbpath".

ERROR: child process failed, exited with error number 100

I have to mention that, when I type "mongo" on the cluster it says:

MongoDB shell version: 2.4.9
connecting to: test
Server has startup warnings:
Mon May 11 13:09:59.173 [initandlisten]
Mon May 11 13:09:59.173 [initandlisten] ** WARNING: You are running on a NUMA machine.
Mon May 11 13:09:59.173 [initandlisten] ** We suggest launching mongod like this to avoid performance problems:
Mon May 11 13:09:59.173 [initandlisten] ** numactl --interleave=all mongod [other options]
Mon May 11 13:09:59.173 [initandlisten]

So, I tried starting mongo using command; "numactl --interleave=all mongod --fork --logpath --dbpath", but didn't see any difference in the output!

Thanks,
Mohammad

@JasperSnoek
Copy link
Contributor

Hi Mohammad, try running the same command without the --fork argument and
it will give you a more interpret-able error message.

Jasper

On Mon, May 11, 2015 at 8:42 AM, Mehrian notifications@github.com wrote:

Dear all
I'm trying to test the branin.py on the cluster (On my laptop every thing
is OK), and I have the following error when I try to start mongo using
command ; "mongod --fork --logpath --dbpath".

ERROR: child process failed, exited with error number 100

I have to mention that, when I type "mongo" on the cluster it says:

MongoDB shell version: 2.4.9
connecting to: test
Server has startup warnings:
Mon May 11 13:09:59.173 [initandlisten]
Mon May 11 13:09:59.173 [initandlisten] ** WARNING: You are running on a
NUMA machine.
Mon May 11 13:09:59.173 [initandlisten] ** We suggest launching mongod
like this to avoid performance problems:
Mon May 11 13:09:59.173 [initandlisten] ** numactl --interleave=all mongod
[other options]
Mon May 11 13:09:59.173 [initandlisten]

So, I tried starting mongo using command; "numactl --interleave=all mongod
--fork --logpath --dbpath", but didn't see any difference in the output!

Thanks,
Mohammad


Reply to this email directly or view it on GitHub
#21.

@Mehrian
Copy link
Author

Mehrian commented May 12, 2015

Hi Jasper
When I tried it without --fork, it seems that Mongo doesn't start, because when I run the command "python main.py", the output is as follow. I think the problem is somehow related to the cluster. because I ran the branin.py on my laptop without any error! I'm wondering if I have to install additional stuff on the cluster!

Traceback (most recent call last):
File "main.py", line 198, in
from spearmint.utils.database.mongodb import MongoDB
ImportError: No module named spearmint.utils.database.mongodb

Mohammad

@JasperSnoek
Copy link
Contributor

Can you show what the error message is when you run mongod without --fork?

Jasper

On Tue, May 12, 2015 at 3:43 AM, Mehrian notifications@github.com wrote:

Hi Jasper
When I tried it without --fork, it seems that Mongo doesn't start, because
when I run the command "python main.py", the output is as follow. I think
the problem is somehow related to the cluster. because I ran the branin.py
on my laptop without any error! I'm wondering if I have to install
additional stuff on the cluster!

Traceback (most recent call last):
File "main.py", line 198, in
from spearmint.utils.database.mongodb import MongoDB
ImportError: No module named spearmint.utils.database.mongodb

Mohammad


Reply to this email directly or view it on GitHub
#21 (comment).

@Mehrian
Copy link
Author

Mehrian commented May 12, 2015

There is no error when I run it without --fork! The output is like this:

log file [/home/mehrianmohammad/Spearmint-master/examples/simple/--dbpath] exists; copied to temporary file [/home/mehrianmohammad/Spearmint-master/examples/simple/--dbpath.2015-05-12T14-26-16]

Mohammad

@JasperSnoek
Copy link
Contributor

Ok, that looks fine. You'll likely just have to install spearmint with pip
"pip install -e </path/to/spearmint/root>" or add the spearmint directory
to your pythonpath.

Jasper

On Tue, May 12, 2015 at 10:26 AM, Mehrian notifications@github.com wrote:

There is no error when I run it without --fork! The output is like this:

log file [/home/mehrianmohammad/Spearmint-master/examples/simple/--dbpath]
exists; copied to temporary file
[/home/mehrianmohammad/Spearmint-master/examples/simple/--dbpath.2015-05-12T14-26-16]

Mohammad


Reply to this email directly or view it on GitHub
#21 (comment).

@Mehrian
Copy link
Author

Mehrian commented May 27, 2015

Hi Jasper
On the cluster that I have installed Spearmint package, I am NOT the administrative!
So, Would you please let me know what changes I have to made while installing the package from the beginning to use it as a normal user?
I think lots of my errors are because the fact that I don't have access to some administrative files?!!

Also, I install spearmint again! ("pip install -e </path/to/spearmint/root>"), and I have no more that child process error for one day!! and again today I see that error (I think these are all because I'm NOT the admin on the cluster!)

Thanks in advance,
Mohammad

@JasperSnoek
Copy link
Contributor

Hi Mehrian, that unfortunately often depends on the exact configuration on
the cluster. However, I'd recommend installing the anaconda python
distribution. They allow you to run it in a virtual environment that
doesn't require admin privileges.

Jasper

On Wed, May 27, 2015 at 10:40 AM, Mehrian notifications@github.com wrote:

Hi Jasper
On the cluster that I have installed Spearmint package, I am NOT the
administrative!

So, Would you please let me know what changes I have to made while
installing the package from the beginning to use it as a normal user?
I think lots of my errors are because the fact that I don't have access to
some administrative files?!!
Thanks in advance,
Mohammad


Reply to this email directly or view it on GitHub
#21 (comment).

@Mehrian Mehrian closed this as completed Jun 2, 2015
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