Last active
December 26, 2015 03:19
-
-
Save hgomez/7085083 to your computer and use it in GitHub Desktop.
Mongodb stop at init time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mongodb start and stop at boot time :( | |
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.497088] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: acl,user_xattr | |
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.505886] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: acl,user_xattr | |
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.521741] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: acl,user_xattr | |
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.562705] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: acl,user_xattr | |
Oct 21 09:36:11 qaf-mysql55 systemd-logind[513]: New seat seat0. | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: Starting mongodb warning: remove or comment out this line by starting it with '#', skipping now : noauth = false | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: about to fork child process, waiting until server is ready for connections. | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: forked process: 572 | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: all output going to: /var/log/mongodb/mongodb.log | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: ..done | |
Oct 21 09:36:11 qaf-mysql55 vmtoolsd[530]: Starting vmtoolsd ..done | |
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: child process started successfully, parent exiting | |
Oct 21 09:36:12 qaf-mysql55 mongodb[589]: Shutting down mongodb ..done | |
Oct 21 09:36:16 qaf-mysql55 network[512]: Setting up (localfs) network interfaces: | |
Oct 21 09:36:16 qaf-mysql55 network[512]: lo | |
Oct 21 09:36:16 qaf-mysql55 ifup[866]: lo | |
Oct 21 09:36:16 qaf-mysql55 ifup[866]: lo | |
Oct 21 09:36:16 qaf-mysql55 ifup[866]: IP address: 127.0.0.1/8 | |
Oct 21 09:36:16 qaf-mysql55 network[512]: lo IP address: 127.0.0.1/8 | |
Oct 21 09:36:16 qaf-mysql55 ifup[866]: | |
Oct 21 09:36:16 qaf-mysql55 network[512]: ..done eth0 device: Intel Corporation 82545EM Gigabit Ethernet Co | |
Oct 21 09:36:16 qaf-mysql55 ifup[963]: eth0 device: Intel Corporation 82545EM Gigabit Ethernet Co | |
Oct 21 09:36:16 qaf-mysql55 kernel: [ 13.475414] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None | |
Oct 21 09:36:16 qaf-mysql55 kernel: [ 13.477905] ADDRCONF(NETDEV_UP): eth0: link is not ready | |
Oct 21 09:36:16 qaf-mysql55 ifup[963]: eth0 | |
Oct 21 09:36:16 qaf-mysql55 ifup[963]: IP address: 10.128.59.71/22 | |
Oct 21 09:36:16 qaf-mysql55 kernel: [ 13.485897] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready | |
Oct 21 09:36:16 qaf-mysql55 network[512]: eth0 IP address: 10.128.59.71/22 | |
Oct 21 09:36:16 qaf-mysql55 ifup[963]: | |
Oct 21 09:36:16 qaf-mysql55 network[512]: ..doneSetting up service (localfs) network . . . . . . . . . ...done | |
Oct 21 09:36:16 qaf-mysql55 /usr/sbin/cron[1083]: (CRON) INFO (running with inotify support) | |
Oct 21 09:36:17 qaf-mysql55 mysql[1087]: /etc/rc.status: line 57: /dev/stderr: No such device or address | |
Mongodb init.d script : | |
### BEGIN INIT INFO | |
# Provides: mongodb | |
# Required-Start: $syslog $remote_fs | |
# Should-Start: $time ypbind smtp | |
# Required-Stop: $syslog $remote_fs | |
# Should-Stop: ypbind smtp | |
# Default-Start: 3 5 | |
# Default-Stop: 0 1 2 6 | |
# Short-Description: Start the mongodb a document-oriented database. | |
# Description: Start the mongodb a document-oriented database. | |
### END INIT INFO | |
No problem for MySQL, it's init.d script is : | |
### BEGIN INIT INFO | |
# Provides: mysql | |
# Required-Start: $network $remote_fs | |
# Required-Stop: $network $remote_fs | |
# Default-Start: 3 5 | |
# Default-Stop: | |
# Short-Description: Start the MySQL database server | |
# Description: Start the MySQL database server | |
### END INIT INFO | |
Should mongodb depend on $network instead of $syslog ? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment