burningman
(TheBurningMan)
21 בפברואר, 2018, 5:46am
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:08am
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:20am
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:00am
6
means, sorry I haven’t understand what you really want to ask
cpradio
(cpradio)
21 בפברואר, 2018, 11:07am
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:09am
8
What should I do right now
cpradio
(cpradio)
21 בפברואר, 2018, 11:13am
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:16am
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:17am
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:22am
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:24am
14
cpradio:
dpkg -l | grep apache2
I tried both but problem still exists
cpradio
(cpradio)
21 בפברואר, 2018, 11:26am
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:27am
17
now,. nothing happens this time…
It is not listening on port 80 anymore
לייק 1
cpradio
(cpradio)
21 בפברואר, 2018, 11:29am
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:13pm
20
Hey @cpradio , I just rebuild but still same problem
cpradio
(cpradio)
21 בפברואר, 2018, 1:15pm
21
Anything taking up port 80 again? Are you sure it is the same error?
לייק 1