burningman
(TheBurningMan)
21 فبراير 2018، 5:46ص
1
One of my forum goes offline. I checked on sever but everything is working fine on server side.
Another forum is working fine but one goes offline.
Is anyone here facing this issue.
It will be great if anyone here will share how and when forum comes back online.
Thanks
burningman
(TheBurningMan)
21 فبراير 2018، 8:08ص
3
Hey Discourse Team,
Kindly help me in this matter.
This is my forum link - https://forum.buzzbasement.com
I rebuild app two time still nothing happened.
What should I do for this.
burningman
(TheBurningMan)
21 فبراير 2018، 8:20ص
4
I just found error in rebuilding but don’t know how to solve it.
إعجاب واحد (1)
What is occupying the port 80 on your server?
burningman
(TheBurningMan)
21 فبراير 2018، 10:00ص
6
means, sorry I haven’t understand what you really want to ask
cpradio
(cpradio)
21 فبراير 2018، 11:07ص
7
Run this command, to identify what is taking up port 80 (and then provide us the output)
sudo lsof -t -i tcp:80 -s tcp:listen
3 إعجابات
burningman
(TheBurningMan)
21 فبراير 2018، 11:09ص
8
What should I do right now
cpradio
(cpradio)
21 فبراير 2018، 11:13ص
9
Sorry, I copied and pasted it with an extra parameter, can you run it once more, using this (note: the missing -t argument)
sudo lsof -i tcp:80 -s tcp:listen
3 إعجابات
cpradio
(cpradio)
21 فبراير 2018، 11:16ص
11
Perfect, so you have apache2 installed which is taking over port 80. Are you running other sites on this server (other than Discourse)?
3 إعجابات
burningman
(TheBurningMan)
21 فبراير 2018، 11:17ص
12
Nope, only this one.
I am using Digital Ocean.
I have one more Discourse but that is on another server and that is working fine.
Only this one is affecting
cpradio
(cpradio)
21 فبراير 2018، 11:22ص
13
okay, try running sudo apt-get remove apache2
If that doesn’t solve the issue, run dpkg -l | grep apache2
and remove each remaining component
إعجاب واحد (1)
burningman
(TheBurningMan)
21 فبراير 2018، 11:24ص
14
cpradio:
dpkg -l | grep apache2
I tried both but problem still exists
cpradio
(cpradio)
21 فبراير 2018، 11:26ص
16
Run the sudo lsof -i tcp:80 -s tcp:listen
command again, is anything listening on port 80 anymore? From what I can tell, that is simply implying that apache2-bin apache2-data apache2-utils
can be manually removed as well.
sudo apt-get remove apache2-bin apache2-data apache2-utils
The rc
in front of apache2 means it was removed, but still has configuration files sitting on the system.
إعجاب واحد (1)
burningman
(TheBurningMan)
21 فبراير 2018، 11:27ص
17
now,. nothing happens this time…
It is not listening on port 80 anymore
إعجاب واحد (1)
cpradio
(cpradio)
21 فبراير 2018، 11:29ص
18
If discourse was already installed, a reboot should be sufficient for starting it back up, or you can run
cd /var/discourse
./launcher rebuild app
إعجابَين (2)
burningman
(TheBurningMan)
21 فبراير 2018، 1:13م
20
Hey @cpradio , I just rebuild but still same problem
cpradio
(cpradio)
21 فبراير 2018، 1:15م
21
Anything taking up port 80 again? Are you sure it is the same error?
إعجاب واحد (1)