Author Topic: 502 User Error  (Read 2885 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
502 User Error
« on: January 06, 2020, 01:01:27 AM »
Hello all,
I'm hoping you can help me solve my issue.  I have several so I'll number them.

1) Trying to set up DNS but was having a number of issues.
  • Register my DNS name with the owner of my domain name.  Cloudflare is the owner and to register a NS through them you have to upgrade to a business account at a cost of $200 a month!  I don't have that kind of cash right now.
  • So I decided to go with using the ns1.centos-webpanel.com with the DNS manager.  I made all changes but then for some reason I got an error on
Code: [Select]
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
and the error code is as follows (Note this is just the end of the long log): 
Code: [Select]
Jan 05 18:25:47 server-01.idwph.com nm-dispatcher[27691]: req:1 'dhcp6-change' [enp3s6]: new request (4 scripts)
Jan 05 18:25:47 server-01.idwph.com nm-dispatcher[27691]: req:1 'dhcp6-change' [enp3s6]: start running ordered scripts...
Jan 05 18:25:52 server-01.idwph.com kernel: Firewall: *UDP_OUT Blocked* IN= OUT=virbr0 SRC=192.168.122.1 DST=224.0.0.251 LEN=67 TOS=0x00 PREC=0x00 TTL=255 ID=17218 DF PROTO=UDP SPT=5353 DPT=5353 LEN=47 UID=70 GID=70
Jan 05 18:25:52 server-01.idwph.com kernel: Firewall: *UDP_OUT Blocked* IN= OUT=enp3s6 SRC=104.11.115.249 DST=224.0.0.251 LEN=67 TOS=0x00 PREC=0x00 TTL=255 ID=41381 DF PROTO=UDP SPT=5353 DPT=5353 LEN=47 UID=70 GID=70
Jan 05 18:26:01 server-01.idwph.com kernel: Firewall: *TCP_IN Blocked* IN=enp3s6 OUT= MAC=00:20:78:01:b6:ed:18:9c:27:16:e4:f0:08:00 SRC=92.118.37.83 DST=104.11.115.249 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=33960 PROTO=TCP SPT=55135 DPT=19682 WINDOW=1024 RES=0x00 SYN URGP=0
Jan 05 18:26:51 server-01.idwph.com dhclient[1132]: XMT: Solicit on enp3s6, interval 119320ms.
Jan 05 18:26:51 server-01.idwph.com kernel: Firewall: *UDP6OUT Blocked* IN= OUT=enp3s6 SRC=fe80:0000:0000:0000:7f0b:eb67:4339:8737 DST=ff02:0000:0000:0000:0000:0000:0001:0002 LEN=136 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=UDP SPT=546 DPT=547 LEN=96 UID=0 GID=0
Jan 05 18:26:51 server-01.idwph.com dhclient[1132]: send_packet6: Operation not permitted
Jan 05 18:26:51 server-01.idwph.com dhclient[1132]: dhc6: send_packet6() sent -1 of 88 bytes
Jan 05 18:27:21 server-01.idwph.com clamd[1927]: SelfCheck: Database status OK.
Jan 05 18:27:21 server-01.idwph.com clamd[1927]: SelfCheck: Database status OK.
Jan 05 18:27:52 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=01:00:5e:00:00:fb:3c:37:86:1c:a1:1f:08:00 SRC=192.168.1.130 DST=224.0.0.251 LEN=91 TOS=0x00 PREC=0x00 TTL=1 ID=61685 DF PROTO=UDP SPT=5353 DPT=5353 LEN=71
Jan 05 18:27:52 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=01:00:5e:00:00:fb:3c:37:86:1c:a1:1f:08:00 SRC=192.168.1.128 DST=224.0.0.251 LEN=91 TOS=0x00 PREC=0x00 TTL=1 ID=47581 DF PROTO=UDP SPT=5353 DPT=5353 LEN=71
Jan 05 18:27:52 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=01:00:5e:00:00:fb:3c:37:86:1c:a1:1f:08:00 SRC=192.168.1.130 DST=224.0.0.251 LEN=91 TOS=0x00 PREC=0x00 TTL=1 ID=61686 DF PROTO=UDP SPT=5353 DPT=5353 LEN=71
Jan 05 18:27:52 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=01:00:5e:00:00:fb:3c:37:86:1c:a1:1f:08:00 SRC=192.168.1.128 DST=224.0.0.251 LEN=91 TOS=0x00 PREC=0x00 TTL=1 ID=47582 DF PROTO=UDP SPT=5353 DPT=5353 LEN=71
Jan 05 18:27:52 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=01:00:5e:00:00:fb:3c:37:86:1c:a1:1f:08:00 SRC=192.168.1.128 DST=224.0.0.251 LEN=91 TOS=0x00 PREC=0x00 TTL=1 ID=47583 DF PROTO=UDP SPT=5353 DPT=5353 LEN=71
Jan 05 18:28:16 server-01.idwph.com kernel: Firewall: *UDP_IN Blocked* IN=enp3s6 OUT= MAC=00:20:78:01:b6:ed:18:9c:27:16:e4:f0:08:00 SRC=88.202.190.155 DST=104.11.115.249 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=54321 PROTO=UDP SPT=123 DPT=123 LEN=20
×
    [/li]
  • So I decided to just use Cloudflare for it all, and left the DNS blank
  • So my BIND DNS server has failed, and I'm not sure if I need it if I'm going to use CF.  Please tell me if I'm wrong.

Edit: I created a new account and I have access to the user panel?  So I will remove the old user and start from scratch.

2) I logged into my user account and get a 502 error. Now how did making changes to the DNS cause this, I'm not sure?  Now I'm NOT a Linux expert by any means, in fact far from it.  I need my own server for hosting multiple sub-domains without running out of space.  Plus after some time and I become more comfortable I may expand with a second server, most likely a cloud server, for my own hosting platform.  Now what I have tried:
  • sh /scripts/restart_cwpsrv with a response that no directory exists.  I double-checked the scripts directory and that is 100% accurate.
  • systemctl status cwp-phpfpm now errors everything operational as it should be.
  • I have access to the admin login and did a cwp restart.
  • I then rebooted the server, just to see if some services would come back up, to no avail it did not work.

So currently I have possibly a fresh install os CentOS 7 and CentOS 7 Web Panel, which I really do not want to do.  I am hoping that someone here can walk me through some possibilities for me both gaining access to the user panel, as well as any tips I may need to follow to have my server host sub-domains using CF.

Thank you,
Syxguns
« Last Edit: January 06, 2020, 01:35:21 AM by Syxguns »