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
run mongos due to .conf
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
  6 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
 
Tim  
View profile  
 More options Nov 8 2012, 12:44 pm
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 09:44:22 -0800 (PST)
Local: Thurs, Nov 8 2012 12:44 pm
Subject: run mongos due to .conf

hello,

my .conf file looks like this:

port = myport                
fork = true                
dbpath = /data/db/            
configdb = ip1:port1,ip2:port2,ip3:port3
logpath = /var/log/mongodb/mongodb.log

it's stores at /etc/mongos.conf

then I would like to execute something like this:
mongos --config /etc/mongos.conf
but that doesn't work


 
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.
Dwight Merriman  
View profile  
 More options Nov 8 2012, 2:26 pm
From: Dwight Merriman <dwi...@10gen.com>
Date: Thu, 8 Nov 2012 11:26:08 -0800 (PST)
Local: Thurs, Nov 8 2012 2:26 pm
Subject: Re: run mongos due to .conf

what is the error message?

if you get "ERROR: could not read from config file" the problem is
permissions on that file i would guess


 
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.
Tim  
View profile  
 More options Nov 8 2012, 2:31 pm
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 11:31:49 -0800 (PST)
Local: Thurs, Nov 8 2012 2:31 pm
Subject: Re: run mongos due to .conf

the error code is:

error command line: unknown option dbpath
use --help for help

Am Donnerstag, 8. November 2012 20:26:08 UTC+1 schrieb Dwight Merriman:


 
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.
Tim  
View profile  
 More options Nov 8 2012, 2:45 pm
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 11:45:51 -0800 (PST)
Local: Thurs, Nov 8 2012 2:45 pm
Subject: Re: run mongos due to .conf

Is it possible to run mongos due to a .conf file?

Am Donnerstag, 8. November 2012 20:31:50 UTC+1 schrieb Tim:


 
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.
Tim  
View profile  
 More options Nov 8 2012, 3:04 pm
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 12:04:49 -0800 (PST)
Local: Thurs, Nov 8 2012 3:04 pm
Subject: Re: run mongos due to .conf

by executing

mongos --configdb ip1:port1, ip2:port2, ip3:port3 --port 25001

I get the error:

Thu Nov  8 21:00:38 [Balancer] SyncClusterConnection connecting to
[ip1:port1]
Thu Nov  8 21:00:38 [Balancer] SyncClusterConnection connecting to
[ip2:port2]
Thu Nov  8 21:00:38 [Balancer] SyncClusterConnection connecting to
[ip3:port3]
Thu Nov  8 21:00:38 [Balancer] scoped connection to ip1:port1, ip2:port2,
ip3:port3 not being returned to the pool
Thu Nov  8 21:00:38 [Balancer] caught exception while doing balance: error
checking clock skew of cluster  ip1:port1, ip2:port2, ip3:port3 :: caused
by :: 13650 clock skew of the cluster  ip2:port2, ip3:port3 is too far out
of bounds to allow distributed locking.

Am Donnerstag, 8. November 2012 20:45:51 UTC+1 schrieb Tim:


 
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.
Sam Helman  
View profile  
 More options Nov 20 2012, 5:56 pm
From: Sam Helman <sam.hel...@10gen.com>
Date: Tue, 20 Nov 2012 14:56:53 -0800 (PST)
Local: Tues, Nov 20 2012 5:56 pm
Subject: Re: run mongos due to .conf

This is a completely different error, and it has to do with clock skew
among the nodes.   The original error is because "dbpath" is not a valid
parameter for mongos (the config file was indeed being read correctly, it
just contained the incorrect parameter "dbpath").


 
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 »