# Problems with grafana and rocket chat: how to stop rocket chat?

**URL:** <https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119>\
**Category:** Community Support\
**Created:** [July 4, 2019, 7:33pm UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119 "2019-07-04T19:33:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigL](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bigl/32/1097_2.png) [@BigL](https://forums.rocket.chat/u/BigL)\
**Post date:** [July 4, 2019, 7:33pm UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/1 "2019-07-04T19:33:38Z")

</div>

Hi  
I have installed grafana for my influxdb and openhab but when I opened my browser on [http://192.168.178.30:3000](http://192.168.178.30:3000) to login to grafana, I found the login page to rocket chat 🤨  
I do not have any plans to work with rocket chat and wasn’t able to stop or uninstall it.  
I have a ubuntu server running on my nas in a virtual station, when I login to rocket chat the version is 1.1.3 and was installed on Oct 27 2018.

> sudo netstat -lp  
> tcp 0 0 0.0.0.0:3000 0.0.0.0:\* LISTEN 23285/node

I’m sorry but I want to stop rocket chat running on my server. Is there a way to stop the service?  
Regards Ben

---

<div class="post-metadata">

**Author:** ![wladimir50](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wladimir50](https://forums.rocket.chat/u/wladimir50)\
**Post date:** [July 5, 2019, 11:25am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/2 "2019-07-05T11:25:57Z")

</div>

try somethink like this

sudo systemctl disable rocketchat && sudo systemctl stop rocketchat

depends on your OS

---

<div class="post-metadata">

**Author:** ![BigL](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bigl/32/1097_2.png) [@BigL](https://forums.rocket.chat/u/BigL)\
**Post date:** [July 6, 2019, 6:40am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/3 "2019-07-06T06:40:55Z")

</div>

sudo systemctl disable rocketchat returns

> Failed to disable unit: Unit file rocketchat.service does not exist.

sudo systemctl stop rocketchat returns

> Failed to stop rocketchat.service: Unit rocketchat.service not loaded.

How could that be that no service ist running, but Rocket Chat is there and I can login in to it?

---

<div class="post-metadata">

**Author:** ![wladimir50](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wladimir50](https://forums.rocket.chat/u/wladimir50)\
**Post date:** [July 8, 2019, 6:31am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/4 "2019-07-08T06:31:27Z")

</div>

sudo /etc/init.d/rocketchat stop

?

---

<div class="post-metadata">

**Author:** ![BigL](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bigl/32/1097_2.png) [@BigL](https://forums.rocket.chat/u/BigL)\
**Post date:** [July 8, 2019, 8:16am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/5 "2019-07-08T08:16:28Z")

</div>

that doesn’t work:

> sudo /etc/init.d/rocketchat stop  
> sudo: /etc/init.d/rocketchat: command not found

Can I provide you with more information, please ask if there is something I can do ? I greatly appreciate your help. Thanks

---

<div class="post-metadata">

**Author:** ![wladimir50](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wladimir50](https://forums.rocket.chat/u/wladimir50)\
**Post date:** [July 8, 2019, 9:19am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/6 "2019-07-08T09:19:14Z")

</div>

try to at first kill RC…

This shows process number\>

#ps aux |grep rocket

and then kill proces

#kill -9 PROCESNR

---

<div class="post-metadata">

**Author:** ![wladimir50](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wladimir50](https://forums.rocket.chat/u/wladimir50)\
**Post date:** [July 8, 2019, 10:33am UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/7 "2019-07-08T10:33:41Z")

</div>

you can always disable RC site in apache

a2dissite rocketchat

/etc/init.d/apache2 restart

---

<div class="post-metadata">

**Author:** ![BigL](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bigl/32/1097_2.png) [@BigL](https://forums.rocket.chat/u/BigL)\
**Post date:** [July 8, 2019, 12:57pm UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/8 "2019-07-08T12:57:14Z")

</div>

doesn’t work

> ps aux |grep rocket  
> root 828 0.0 0.0 4504 0 ? Ss Jul03 0:00 /bin/sh /snap/rocketchat-server/1384/bin/startmongo  
> root 1057 1.2 2.6 1502392 26924 ? Sl Jul03 86:32 mongod --bind\_ip 127.0.0.1 --pidfilepath /var/snap/rocketchat-server/common/mongod.pid --smallfiles --journal --dbpath=/var/snap/rocketchat-server/common --replSet rs0  
> root 5518 0.6 0.0 18100 228 ? Ss 12:45 0:00 /bin/bash /snap/rocketchat-server/1384/bin/startRocketChat  
> root 5607 37.3 42.3 1712844 427540 ? Dl 12:45 0:47 node /snap/rocketchat-server/1384/main.js  
> root 5864 0.0 0.0 13136 944 pts/0 S+ 12:47 0:00 grep --color=auto rocket

> kill -9 -5518

(PROCESSID for startRocketChat - stops the service on port 3000)

> a2dissite rocketchat /etc/init.d/apache2 restart

Command ‘a2dissite’ not found, but can be installed with:

apt install apache2

rocketchat restarts after a minute

---

<div class="post-metadata">

**Author:** ![wladimir50](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wladimir50](https://forums.rocket.chat/u/wladimir50)\
**Post date:** [July 8, 2019, 1:12pm UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/9 "2019-07-08T13:12:47Z")

</div>

eh,  
it looks like that u have snap ?

I have no idea how it works with snap, but google something how to stop service +snap

maybe this :

```auto
sudo service snap.rocketchat-server.rocketchat-server stop

```

---

<div class="post-metadata">

**Author:** ![BigL](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bigl/32/1097_2.png) [@BigL](https://forums.rocket.chat/u/BigL)\
**Post date:** [July 8, 2019, 1:48pm UTC](https://forums.rocket.chat/t/problems-with-grafana-and-rocket-chat-how-to-stop-rocket-chat/4119/10 "2019-07-08T13:48:29Z")

</div>

Yes this works  
As I didn’t know what snap is, this is a good start to get more familiar with snap apps.  
Many thanks  
cheers
