Bug 670888 - Mongo on RHEL doesn't create /var/lib/mongodb
Summary: Mongo on RHEL doesn't create /var/lib/mongodb
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-19 15:40 UTC by Jay Dobies
Modified: 2014-03-31 01:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:06:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-19 15:40:56 UTC
Without it, mongo doesn't work.

As a workaround, we want to add in the directory create and chown to mongo in the pulp-server init script.

Comment 1 Jay Dobies 2011-01-19 15:42:05 UTC
commit	74da05db9045c1480cdf170a97f1ffc9c295a14a
tree	0c1be7892750c384d513ca79c172525bc28c19aa


added mongodb dir creation to the pulp-server init command


etc/rc.d/init.d/pulp-server
pulp-dev.py

Comment 2 Jay Dobies 2011-01-21 19:18:46 UTC
Fixed in 0.130.

Comment 3 Preethi Thomas 2011-02-04 16:35:20 UTC
verified
[root@unused etc]# rpm -q pulp
pulp-0.0.134-1

[root@unused yum.repos.d]# service pulp-server restart
Stopping httpd:                                            [FAILED]
Stopping Qpid AMQP daemon:                                 [  OK  ]
Stopping mongod:                                           [  OK  ]
Starting mongod:                                           [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.16.79.196 for ServerName
                                                           [  OK  ]



[root@unused etc]# ls -l /var/lib/mongodb/
total 213232
-rw------- 1 mongodb mongodb  67108864 Feb  4 10:38 _database.0
-rw------- 1 mongodb mongodb 134217728 Feb  4 10:38 _database.1
-rw------- 1 mongodb mongodb  16777216 Feb  4 10:38 _database.ns
-rwxr-xr-x 1 mongodb mongodb         6 Feb  4 10:38 mongod.lock

Comment 4 Preethi Thomas 2011-08-16 12:06:38 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:40 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.