Project

General

Profile

Actions

Bug #8700

closed

EL7 mongod.service typo in unit file

Added by Florian Koch over 9 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Installer
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #8478: MongoDB fails to start with a RHEL 7 systemClosedIvan Necas11/21/2014Actions
Actions #1

Updated by Florian Koch over 9 years ago

  • Is duplicate of Bug #8478: MongoDB fails to start with a RHEL 7 system added
Actions #2

Updated by Florian Koch over 9 years ago

sorry for the dup, found this already reported after creating the new bug

Actions #3

Updated by Eric Helms over 9 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by Eric Helms over 9 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Eric Helms almost 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF