Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - aamirrajpoot

Pages: [1]
1
CentOS 8 Problems / Centos 8 fresh install IP tables issue
« on: February 26, 2024, 01:07:25 PM »
I'm trying to turn on firewall but that is not working

Code: [Select]
Status: csf and lfd have been disabled, use 'csf -e' to enable
I checked the forms and looks like
Code: [Select]
iptables is not installed in the Fresh Installation. Then I installed iptables

Now, when I enable the firewall CWP stop responding and my sites start giving me 500 error. I did disabled using
Code: [Select]
csf -x which bring back the sites and CWP up.

How can I make this up. I had a server from 5 years back and it is now starting to act so doing a fresh clean install on different machine and migrating the content to new one.

2
CentOS-WebPanel Bugs / All accounts got suspended, Can access root
« on: February 15, 2019, 06:55:18 AM »
I have added couple of user accounts and everything working fine for past couple of months.

It happened that one of my client's domain expired and he moved it to his other server, but they were having issues there and asked me to redirect it back to my server. I had not removed their content so its a matter of changing DNS records only for domain. Which I did and their domain is back.

now I tried to login to their account, and I got message it is suspended,

I have performed following so far

1. Checked if user is suspended in Admin panel or not... it is not
2. Rebuild server configuration by going to CWP Side Bar-> CWP Settings -> Edit Settings -> Rebuild hosts files (checked) and saved
3. grep USERNAME /etc/shadow  and i see USERNAME:$ instead of USERNAME:!! so its correct here as well
4. Rebooted the server, didnt logged in.


Any how, i thought to delete and recreate the account, but before that I tried to login someother users and unfortunately all of my users are giving same error 'Account Suspended' So yeah i have not recreated that account yet, and came here for a solutions.


Thanks

3
CSF Firewall / Chat Application with port 8065 - IP not working
« on: January 02, 2019, 06:24:49 AM »
I have been struggling for couple of days that my chat application works only for 24 hours and then stops working. Then I realized that when I do login on CWP with root, my IP gets added in temporary list and chat app starts working. But users on other locations are still not able to connect.


Running Mattermost ( A clone of slack ) for a small team. It runs on port 8065. I have enabled this port in both TCP/UDP in/out sections.

I want it to accessible permanent from anywhere from any IP. Sometimes we do have to work from home and everyone can not have static IP.

Thank you

4
DNS / Unable to start BIND DNS server
« on: December 25, 2018, 06:08:39 PM »
I am new to CWP and moved my all sites over. SSL applied and everything was working. for one domain I need to set MX record to google and i went to user account and added the MX record, it gave me error and after that my BIND DNS is not starting. I am getting error

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.


Here is the log

Code: [Select]
systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-12-25 17:41:04 UTC; 16s ago
  Process: 18311 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: NS 'ns1.aalasolutions.com' has no address records (A or AAAA)
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: NS 'ns2.aalasolutions.com' has no address records (A or AAAA)
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: not loaded due to errors.
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: _default/aalasolutions.com/IN: bad zone
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone urdulook.info/IN: loaded serial 2018071600
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aala.pk/IN: loaded serial 2018071600
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: named.service: control process exited, code=exited status=1
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: Unit named.service entered failed state.
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: named.service failed.

I tried to rebuild the DNS zone files from DNS section in Admin panel, no luck so far

5
CentOS-WebPanel Bugs / AutoSSL not adding on www
« on: December 14, 2018, 10:26:47 AM »
I recently have transferred my domain to CWP and I am getting error .. NET::ERR_CERT_COMMON_NAME_INVALID

My domain is https://www.pgrepublic.com

Pages: [1]