[systemd-devel] MongoDB error after the changing the Path

hemanthkumar.t at vakilsearch.com hemanthkumar.t at vakilsearch.com
Wed Jan 9 13:35:50 UTC 2019


Hi All,

 

I am facing the problem in MongDB after the Path. So help me ti sort the issue 

 

 

 

 

[root at ca-mongo mongo]# cat /etc/mongod.conf

# mongod.conf

 

# for documentation of all options, see:

#   http://docs.mongodb.org/manual/reference/configuration-options/

 

# where to write logging data.

systemLog:

  destination: file

  logAppend: true

  path: /var/log/mongodb/mongod.log

 

# Where and how to store data.

storage:

#  dbPath: /var/lib/mongo

dbPath: /mnt/data/mongo

 

# nojournal: true

#journal:

#   enabled: true

#  engine:

#  mmapv1:

#  wiredTiger:

 

# how the process runs

processManagement:

  fork: true  # fork and run in background

  pidFilePath: /var/run/mongodb/mongod.pid  # location of pidfile

 

# network interfaces

net:

  port: 27017

  bindIp: 0.0.0.0  # Listen to local interface only, comment to listen on all interfaces.

 

 

#security:

 

#operationProfiling:

 

#replication:

 

#sharding:

 

## Enterprise-Only Options

 

#auditLog:

 

#snmp:

#

#

 

 

Error 

 

● mongod.service - High-performance, schema-free document-oriented database

   Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)

   Active: failed (Result: exit-code) since Wed 2019-01-09 13:30:30 UTC; 2min 14s ago

     Docs: https://docs.mongodb.org/manual

  Process: 3733 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=1/FAILURE)

  Process: 3731 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)

  Process: 3729 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)

  Process: 3726 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)

 

Jan 09 13:30:30 ca-mongo systemd[1]: Starting High-performance, schema-free document-oriented database...

Jan 09 13:30:30 ca-mongo mongod[3733]: about to fork child process, waiting until server is ready for connections.

Jan 09 13:30:30 ca-mongo mongod[3733]: forked process: 3736

Jan 09 13:30:30 ca-mongo mongod[3733]: ERROR: child process failed, exited with error number 1

Jan 09 13:30:30 ca-mongo systemd[1]: mongod.service: control process exited, code=exited status=1

Jan 09 13:30:30 ca-mongo systemd[1]: Failed to start High-performance, schema-free document-oriented database.

Jan 09 13:30:30 ca-mongo systemd[1]: Unit mongod.service entered failed state.

Jan 09 13:30:30 ca-mongo systemd[1]: mongod.service failed.

[root at ca-mongo mongo]#

 

Regards,

Hemanth

Legal is now Simple

 <http://www.vakilsearch.com/> India's No.1 Professional Service is on  <http://www.facebook.com/pages/Vakil-Search/132311446825878> Facebook I Twitter I  <http://www.linkedin.com/in/datar> LinkedIn I  <http://www.youtube.com/user/legalsolutionsvakil?feature=watch> YouTube! 

----------------------------------------------------------

​This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free and information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message. 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190109/4d527a6f/attachment.html>


More information about the systemd-devel mailing list