by bbaronas » Fri May 02, 2014 7:44 pm
Here are my results from $this->bbcode_second_pass_code('', 'journalctl -u couchdb.service'):
$this->bbcode_second_pass_quote('', '[')root@alarm-xu ~]# journalctl -u couchdb.service
-- Logs begin at Thu 2014-05-01 13:10:16 MDT, end at Fri 2014-05-02 12:53:17 MDT. --
May 01 14:41:10 alarm systemd[1]: Starting CouchDB Server...
May 01 14:41:11 alarm couchdb[419]: Apache CouchDB has started, time to relax.
May 01 14:41:11 alarm systemd[1]: Started CouchDB Server.
May 01 14:45:05 alarm systemd[1]: Starting CouchDB Server...
May 01 14:45:05 alarm couchdb[491]: Apache CouchDB has started, time to relax.
May 01 14:45:05 alarm systemd[1]: Started CouchDB Server.
-- Reboot --
May 01 14:46:15 alarm systemd[1]: Starting CouchDB Server...
May 01 14:46:15 alarm systemd[1]: Started CouchDB Server.
May 01 14:46:15 alarm couchdb[148]: Apache CouchDB has started, time to relax.
May 01 14:55:13 alarm-xu systemd[1]: Starting CouchDB Server...
May 01 14:55:13 alarm-xu couchdb[403]: Apache CouchDB has started, time to relax.
May 01 14:55:13 alarm-xu systemd[1]: Started CouchDB Server.
May 01 14:58:58 alarm-xu systemd[1]: Starting CouchDB Server...
May 01 14:58:58 alarm-xu couchdb[486]: Apache CouchDB has started, time to relax.
May 01 14:58:58 alarm-xu systemd[1]: Started CouchDB Server.
May 01 15:05:59 alarm-xu systemd[1]: Stopped CouchDB Server.
May 01 15:06:08 alarm-xu systemd[1]: Starting CouchDB Server...
May 01 15:06:08 alarm-xu couchdb[576]: Apache CouchDB has started, time to relax.
May 01 15:06:08 alarm-xu systemd[1]: Started CouchDB Server.
May 02 07:33:34 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 07:33:34 alarm-xu couchdb[29448]: Apache CouchDB has started, time to relax.
May 02 07:33:34 alarm-xu systemd[1]: Started CouchDB Server.
-- Reboot --
May 02 07:43:36 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 07:43:36 alarm-xu systemd[1]: Started CouchDB Server.
May 02 07:43:37 alarm-xu couchdb[146]: Apache CouchDB has started, time to relax.
-- Reboot --
May 02 07:56:41 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 07:56:41 alarm-xu systemd[1]: Started CouchDB Server.
May 02 07:56:42 alarm-xu couchdb[148]: Apache CouchDB has started, time to relax.
-- Reboot --
May 02 07:58:37 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 07:58:37 alarm-xu systemd[1]: Started CouchDB Server.
May 02 07:58:38 alarm-xu couchdb[147]: Apache CouchDB has started, time to relax.
May 02 08:07:19 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 08:07:19 alarm-xu couchdb[387]: Apache CouchDB has started, time to relax.
May 02 08:07:19 alarm-xu systemd[1]: Started CouchDB Server.
May 02 10:26:04 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 10:26:04 alarm-xu couchdb[531]: Apache CouchDB has started, time to relax.
May 02 10:26:04 alarm-xu systemd[1]: Started CouchDB Server.
May 02 10:42:02 alarm-xu systemd[1]: Stopped CouchDB Server.
May 02 10:42:13 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 10:42:13 alarm-xu couchdb[628]: Apache CouchDB has started, time to relax.
May 02 10:42:13 alarm-xu systemd[1]: Started CouchDB Server.
May 02 12:26:18 alarm-xu systemd[1]: Starting CouchDB Server...
May 02 12:26:19 alarm-xu couchdb[718]: Apache CouchDB has started, time to relax.
May 02 12:26:19 alarm-xu systemd[1]: Started CouchDB Server.
It just shows many starts and restarts
$this->bbcode_second_pass_code('', 'netstat -atnp | grep 5984') returned nothing. A regular netstat -atnp shows:
$this->bbcode_second_pass_quote('', '[')root@alarm-xu ~]# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 179/nginx: master p
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 148/sshd
tcp 0 248 xxx.xxx.xxx.xxx:22 xxx.xxx.xxx.xxx:55835 ESTABLISHED 376/sshd: root@pts/
tcp6 0 0 :::22 :::* LISTEN 148/sshd