burningman
(TheBurningMan)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 10:00
6
means, sorry I haven’t understand what you really want to ask
cpradio
(cpradio)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 11:09
8
What should I do right now
cpradio
(cpradio)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 11:24
14
cpradio:
dpkg -l | grep apache2
I tried both but problem still exists
cpradio
(cpradio)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午前 11:27
17
now,. nothing happens this time…
It is not listening on port 80 anymore
「いいね!」 1
cpradio
(cpradio)
2018 年 2 月 21 日午前 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)
2018 年 2 月 21 日午後 1:13
20
Hey @cpradio , I just rebuild but still same problem
cpradio
(cpradio)
2018 年 2 月 21 日午後 1:15
21
Anything taking up port 80 again? Are you sure it is the same error?
「いいね!」 1