Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
errno:22 The device does not recognize the command on running mongod.exe with config file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Uberseehandel  
View profile  
 More options Jul 15 2012, 5:25 am
From: Uberseehandel <robin...@live.co.uk>
Date: Sun, 15 Jul 2012 02:25:40 -0700 (PDT)
Local: Sun, Jul 15 2012 5:25 am
Subject: errno:22 The device does not recognize the command on running mongod.exe with config file

I am trying to set up Mongo DB as a service under Win XP sp3 (mongod says
sp2), version 2.0.6 pdfile version 4.5

To do this I have set up a config file -
  # mongodb.cfg

  # data directory
  dbpath = "C:\Documents and Settings\xxx\Ubiquiti UniFi\data\db"

  # log file directory
  logpath = "C:\logs\server.log"

  # append to log file
  logappend = true

  # port mongodb listens on
  port = 27117

My command line is -

 "C:\Documents and Settings\Robin StClair\Ubiquiti UniFi\bin\mongod.exe"
--config "C:\Documents and Settings\Robin StClair\Ubiquiti
UniFi\conf\mongodb.cfg" --install

as I wish to set up Mongo DB as a service.

Mongod.exe executes, finds and opens the config file and then an errno:22
is thrown and mongod.exe shuts down gracefully.

I believe this is a Visual C++ error (doesn't like long command strings,
hence my short path to log file (to see if that would get rid of the
problem)).

I would be grateful for some guidance

R+C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
acl  
View profile  
 More options Jul 17 2012, 3:45 pm
From: acl <andrew.le...@10gen.com>
Date: Tue, 17 Jul 2012 12:45:55 -0700 (PDT)
Local: Tues, Jul 17 2012 3:45 pm
Subject: Re: errno:22 The device does not recognize the command on running mongod.exe with config file

Hi R+C,

I have tried to reproduce your problem but did not encounter the errno 22
error directly but might have replicated your problem and found a solution.

I used similar parameters you listed in configuration file:

dbpath="C:\Documents and Settings\a\xxx\Ubiquiti UniFi\data"
logpath=c:\log\mongo2.log

and I was also not able to successfully install mongod.exe as a service.

When I used this parameter in configuration file:

dbpath=C:\Documents and Settings\a\xxx\Ubiquiti UniFi\data  (Note, without
the quotes)
logpath=c:\log\mongo2.log

I was able to successfully install mongod.exe as a service when I removed
the quotes.

Does this clarify the situation, or affect the error output?

Thanks,
andrew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »