Edouard,
At work I run MongoDB 2.2.0 successfully on my Linux Desktop running Fedora
17 and on a couple of our QA and production servers running RHEL 6. I use
the same config for both Fedora and RHEL.
I have a fairly standard mongodb.conf file in /etc/mongodb/ (on some
servers I need to run multiple instances, so I prefer to group all of their
conf files into a single directory). I always install MongoDB from a
tarball rather than an rpm. Personal preference.
I created a mongodb user and group under which I run mongod. I then have a
custom init script for starting, stopping repairing, checking status, etc.
I store logs in /var/log/mongodb/ (again, a directory for the log file for
each instance).
I created the init file a year or two ago, based off someone else's script
in a gist. It's probably not that different than the one that comes with
the rpm, but this one is mine and it works well for me.
I run the init script directly to start, stop, etc. Typing service instead
of /etc/init.d/ isn't a huge win for me. Have you tried that instead of
service mongod start?
Some of your posts show lines like with the user and file name as mongodb:
-rw-r--r--. 1 mongodb mongodb 986 Oct 5 23:43 mongodb.log
and others with mongod:
rw-r----. 1 mongod mongod 0 Aug 28 22:42 mongod.log
Maybe check the init script to see which user account it is trying to use?
I run my init script via sudo, but in the script I run mongod as the
mongodb user. Also, in the start section of my init script, I first ensure
the /var/log/mongodb/mongod.log file is there and properly owned via touch
and chown.
Robert
On Monday, October 8, 2012 10:08:42 PM UTC-7, Thomas Rueckstiess wrote:
> Hi Edouard,
> I'd like to point out that 10gen (the MongoDB company) also offers
> commercial support for MongoDB: http://www.10gen.com/subscription
> We offer training, consulting, on-boarding and health checks, as well as
> different levels of subscribed commercial support (including 24x7) and MMS,
> our free cloud-based monitoring service.
> You will find information on the different support levels and pricing on
> the website above as well.
> This Google group is part of 10gen's free community support, and 10gen
> endeavours to provide answers for all MongoDB questions in a reasonable
> time frame. However, your problem looks like it is more related to
> incorrectly set user permissions, since other users report that 2.2 is
> working on Fedora for them. Maybe double-check these settings and compare
> them to your 2.0.7 permissions. You could also try to start mongod not as a
> service but from the command line, with "mongod" and the config parameters
> for log files etc and see if that makes a difference.
> If you have any more questions please let us know.
> Best Regards,
> Thomas
> --
> Thomas Rueckstiess
> 10gen Technical Support
> On Tuesday, October 9, 2012 8:34:52 AM UTC+11, Edouard Perov wrote:
>> Yes, of course, we have a commercial Oracle license and we are Oracle
>> partners.
>> I can contact to Oracle Support 24x7, talk to their management anytime if
>> the problem is important.
>> If it is critical Oracle may provide a dedicated support person or even
>> team until resolution, I had such experience a couple of times.
>> Fedora I am using at home only and wanted just to play with MongoDb to
>> see how it looks like and whether it may fit with our needs.
>> For business we use Red Hat Enterprise different versions (including
>> several clusters for Oracle RAC), and AIX, Solaris, HP-UX, HP-UX Itanium
>> (all versions available and released during last decade).
>> Tens Oracle databases from 8.1.7 to 11.2.0.3.