Actions
Bug #8700
closedEL7 mongod.service typo in unit file
Description
Hi,
i version 2.0.0 there is a typo in the MongoDB unit
This is the installed unit, the PIDFile Path is incorrect , this causes the installer to fail.
[Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongod.pid EnvironmentFile=/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS run PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target
the correct unit changing mongod.pid to mongodb.pid and it works
[Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongodb.pid EnvironmentFile=/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS run PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target
Updated by Florian Koch almost 10 years ago
- Is duplicate of Bug #8478: MongoDB fails to start with a RHEL 7 system added
Updated by Florian Koch almost 10 years ago
sorry for the dup, found this already reported after creating the new bug
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 166
Actions