3cx configuration issue on debian 9

Status
Not open for further replies.

sheeran.kee

Customer
Joined
Oct 25, 2019
Messages
12
Reaction score
0
Hi,

We have upgraded the 3cx version to Debian 9 and installed 3cx from the server. while configuring 3cx we are getting the below-attached error.

I have tried after disabling ipv6, but still getting the error. Please advise.

Thank you.
 

Attachments

  • image.png
    image.png
    136.9 KB · Views: 36
After you have installed 3CX, port 5015 does nothing. This port is only for the configuration. After that you need to access using the HTTPS port you used during the installation (default 5001 unless you changed it).

Can you access using the HTTPS port you used during the installation?
 
Hi,

Please, someone, help us with this case. Still unable to start the 3cx.

Also, the port 5001 not working and we were using it as default.

Thank you.
 
If you type command: netstat -laputen | grep nginx
Do you see nginx listening on port 5001?
13009
 
Yes, the port is not showing in netstat -ntlp result. Already added the port.
 
Yes, the port is not showing in netstat -ntlp result. Already added the port.
Wait, you said "the port is not showing in netstat -ntlp result", but then you said "Already added the port"
How did you add the port???
 
netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3015/sshd
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 4808/inetd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 711/postgres
tcp6 0 0 :::22 :::* LISTEN 3015/sshd
tcp6 0 0 ::1:5432 :::* LISTEN

using the below command:


iptables -I INPUT -p tcp --dport 5001 --syn -j ACCEPT
 
The problem here seems to be that nginx isn't running at all, that is why you cannot get into the Management Console. I am assuming you installed using HTTPS port 5001. If not, check netstat again bu using the port you installed with.

Now if nginx isn't running at all, them maybe you should uninstall everything, then restore again and restore a backup.
If you do this make sure you have a backup downloaded locally on your PC.

To uninstall what you need to do is:
  • apt remove 3cxpbx --purge
then also maybe a good idea:
  • apt remove nginx --purge
  • apt remove postgresql --purge
Then after all this reboot the machine, then re-install 3CX as described here: https://www.3cx.com/docs/manual/installing-debian-linux-pbx/
 
Status
Not open for further replies.

Forum statistics

Threads
112,363
Messages
592,122
Members
165,536
Latest member
Wecare_ITA