Thank you for reply. Yes there was no logs. But I found. I removed mongodb and mongodb-server and added 10gen repo and now i have no problem.
Thank you for help. :)
Le 1 août 2011 04:34, "Eliot Horowitz" <
eliot-Ot75HdpNzd8AvxtiuMwx3w@public.gmane.org> a écrit :
> Can you send the contents of the logs?
> If there are no logs - then there are probably permissions problems logging.
>
> On Sun, Jul 31, 2011 at 3:22 PM, Florian Guérin <
floriang33-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
>
>> Hi,
>>
>> I'm trying to install mongodb on Fedora 15 and i have little problem
>> when i start playing with shell console.
>> When i use find() i have no answer i just can do ctrl+c for escape and
>> i really dont understand why.
>>
>> Here are the steps I followed :
>>
>> # yum install mongodb mongodb-server
>> # mkdir -p /data/db
>> # chown `id -u` /data/db
>>
>> # service mongod start
>> # mongo
>> connecting to : test
>> > j = { a : 1, b : 3}
>> { "a" : 1, "b" : 3 }
>> > k = { a : 2, b : 3}
>> { "a" : 2, "b" : 3 }
>> > db.test.save(j)
>> > db.test.save(k)
>> > db.test.find()
>> ||| here no answer next step is ctrl+c
>>
>> ---------------------------------------------------------
>>
>> My mongodb.conf file
>> # mongodb.conf
>>
>> #where to log
>> logpath=/var/log/mongodb/mongodb.log
>>
>> # fork and run in background
>> fork = true
>>
>> bind_ip = 127.0.0.1
>> port = 27017
>>
>> dbpath=/var/lib/mongodb
>>
>> pidfilepath=/var/run/mongodb/mongodb.pid
>>
>> # Enables periodic logging of CPU utilization and I/O wait
>> #cpu = true
>>
>> # Turn on/off security. Off is currently the default
>> #noauth = true
>> #auth = true
>>
>> # Verbose logging output.
>> #verbose = true
>>
>> # Inspect all client data for validity on receipt (useful for
>> # developing drivers)
>> #objcheck = true
>>
>> # Enable db quota management
>> #quota = true
>>
>> # Set oplogging level where n is
>> # 0=off (default)
>> # 1=W
>> # 2=R
>> # 3=both
>> # 7=W+some reads
>> #oplog = 0
>>
>> # Diagnostic/debugging option
>> #nocursors = true
>>
>> # Ignore query hints
>> #nohints = true
>>
>> # Disable the HTTP interface (Defaults to localhost:27018).
>> #nohttpinterface = true
>>
>> # Turns off server-side scripting. This will result in greatly
>> limited
>> # functionality
>> #noscripting = true
>>
>> # Turns off table scans. Any query that would do a table scan fails.
>> #notablescan = true
>>
>> # Disable data file preallocation.
>> #noprealloc = true
>>
>> # Specify .ns file size for new databases.
>> # nssize = <size>
>>
>> # Accout token for Mongo monitoring server.
>> #mms-token = <token>
>>
>> # Server name for Mongo monitoring server.
>> #mms-name = <server-name>
>>
>> # Ping interval for Mongo monitoring server.
>> #mms-interval = <seconds>
>>
>> # Replication Options
>>
>> # in replicated mongo databases, specify here whether this is a slave
>> or master
>> #slave = true
>> #source =
master.example.com
>> # Slave only: specify a single database to replicate
>> #only =
master.example.com>> # or
>> #master = true
>> #source =
slave.example.com
>>
>> # Address of a server to pair with.
>> #pairwith = <server:port>
>> # Address of arbiter server.
>> #arbiter = <server:port>
>> # Automatically resync if slave data is stale
>> #autoresync
>> # Custom size for replication operation log.
>> #oplogSize = <MB>
>> # Size limit for in-memory storage of op ids.
>> #opIdMem = <bytes>
>>
>> -----------------------------------------
>>
>> Finally i looked logs but no way.
>> What can i do?
>>
>> Sorry if my english is not really well.
>>
>> Thanks,
>>
>> Florian.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "mongodb-user" group.
>> To post to this group, send email to
mongodb-user <at> googlegroups.com.
>> To unsubscribe from this group, send email to
>>
mongodb-user+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> For more options, visit this group at
>>
http://groups.google.com/group/mongodb-user?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to
mongodb-user-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en.
>
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to mongodb-user+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.