[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-11 Thread Jörg Frings-Fürst
Hello Nico,

thank your for your work.


I close this bug now. 

Jörg

** Changed in: mongodb (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Nico T
Hello Jörg,

I tried the hotfix you suggested and it works.

At the same time I tried a fresh install in a virtualbox and mongodb-
server works out of the box.

It seems I'm the only one to have this problem so it might come from
something specific in my installation.

Thanks for your help,

Nicolas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Jörg Frings-Fürst
Hello Nico,

please test this hotfix:

In file /etc/init/mongodb.conf

[...]
pre-start script
mkdir -p /var/lib/mongodb/
mkdir -p /var/log/mongodb/
+touch /var/log/mongodb/mongodb.log
+chown -R mongodb /var/lib/mongodb/
+chown -R mongodb /var/log/mongodb/
end script
[...]

and please report about the result

Jörg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Nico T
** Attachment added: "/etc/init/mongodb.conf"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+attachment/3945376/+files/mongodb.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Nico T
** Attachment added: "/etc/mongodb.conf"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+attachment/3945375/+files/mongodb.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Jörg Frings-Fürst
Hello,

please attach your

/etc/mongodb.conf
/etc/init/mongodb.conf

Thanks


** Changed in: mongodb (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267791] Re: Mongodb server don't start because of bad log folder owner

2014-01-10 Thread Nico T
** Description changed:

  If I install (or reinstall) the mongodb-server package everything is
  fine.
  
-  At the end of the installation the server is properly started and
+ At the end of the installation the server is properly started and
  clients can connect to it.
  
  At that time, the owner of the /var/log/mongodb folder is 'mongodb'.
  
  But as soon as the machine is rebooted the owner of this folder becomes
  'root' and the server is unable to start.
  
  See the mongo.txt file for a bash script descripting the bug
+ 
+ The date of the Ubuntu installation is rather old now on this computer.
+ It means that I made a lot of dist upgrade and it could also be my fault
+ manualy modifing some system file. Am I the only in that case ?
+ 
+ Please do not hesitate to ask me for more information or if I can be of
+ any help.
+ 
+ Thanks,
+ 
+ Nicolas
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: mongodb-server 1:2.4.6-0ubuntu5
  ProcVersionSignature: Ubuntu 3.5.0-44.67-generic 3.5.7.25
  Uname: Linux 3.5.0-44-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Fri Jan 10 08:41:13 2014
  MarkForUpload: True
  SourcePackage: mongodb
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267791

Title:
  Mongodb server don't start because of bad log folder owner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1267791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs