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.


Messages - daowen

Pages: [1] 2
1
CSF Firewall / Block host names
« on: November 28, 2021, 04:10:15 AM »
Hi All,

In CSF, and I block a hostname? My WP sites are getting hammered by AWS hosts and it is causing a lot of grief. I have WordFence set to kill access for a month with the wrong username/password/recovery attempts, but they just keep coming and eating up bandwidth and resources. It is getting ridiculous and shooting. Shooting their abuse email every day about 10-20 times a day telling them to get the IP fixed, but they take forever to do anything.

Trying to block any hostname that ends in compute.amazonaws.com

Thanks,
Doug

2
CSF Firewall / Only allow one country user level
« on: November 03, 2021, 07:33:48 PM »
Hi Everyone,

I have a user who wants to block access to her website for any country other than Canada. Since there are other users, I don't want to update the main system to block all but Canadian IP access. How can this be achieved?

Running CWP 7 Pro

3
Other / Traffic from unknown URL
« on: November 16, 2020, 02:38:56 AM »
Looking for a little help.

My Colocator contacted me about excessive traffic on the server. After monitoring for a few hours, it appears my server is getting hits based on a domain name that I don't have. It's like someone is pointing a subdomain at my servers IP address and hammering it for requests.

Any idea how I can get it to stop?

4
CentOS 7 Problems / BIND DNS Server - Failed
« on: November 09, 2019, 09:53:16 PM »
Hello All,

New install of Centos 7 with CWP.

After install and config it cannot start the BIND DNS Server. Here's the error when I try to start it:

Code: [Select]
Failed to start named.service: Unit not found.
Here is the last part of the journalcrl:
Quote
-- Subject: A new session 9 has been created for user root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 9 has been created for the user root.
--
-- The leading process of the session is 32645.
Nov 09 16:55:18 Script-UAT sshd[32645]: pam_unix(sshd:session): session closed for user root
Nov 09 16:55:18 Script-UAT systemd-logind[368]: Removed session 9.
-- Subject: Session 9 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID 9 has been terminated.

Here is the tail log file:

Quote
Nov  9 16:49:47 Script-UAT systemd-logind: New session 9 of user root.
Nov  9 16:55:18 Script-UAT systemd-logind: Removed session 9.

I try to edit the Nameservers IP and names to the Google DNS servers and get the following:

Code: [Select]
Nameservers updated.
Code: [Select]
Saving Nameserver Zones
But also warnings:

Code: [Select]
Warning: file_put_contents(/var/named/ns1.google.com.db): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/nameservers.php on line 0
Code: [Select]
Warning: file_put_contents(/var/named/ns2.google.com.db): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/nameservers.php on line 0
There is no /var/named directory in the system so I'm wondering if there's an issue with CWP...

Any ideas?

Doug

5
E-Mail / Mail Queue is capturing every email
« on: October 30, 2018, 11:52:44 PM »
Hi All,

The mail queue is capturing every email that comes in. Not sure why for it was okay until this morning. Now it captures every email and when I try to process it pushes the emails out but still shows them in the queue.

Did a rebuild and still it's happening.

Any ideas?

6
MySQL / User not able to create MySQL user
« on: October 29, 2018, 07:26:40 PM »
Just added a user to CWP and their domains are up and running. When they try to create a database and user the database creates but the user does not.

I can go in and create a database and user for the user through the admin log in but the user is still unable to see the user for the db and no scripts can connect to the database.

Any ideas?

I have screen captures but unable to attach them.

7
CentOS 6 Problems / Re: MySQL Root Password issues
« on: October 23, 2018, 01:29:29 AM »
Possible resolve - testing now:

Code: [Select]
yum --enablerepo=remi update mysql-server

8
CentOS 6 Problems / Re: mysql issues
« on: October 23, 2018, 01:28:54 AM »
Had the same issue. Try the following command logged in as root:

Code: [Select]
yum --enablerepo=remi update mysql-server

9
CentOS 6 Problems / MySQL Root Password issues
« on: October 20, 2018, 09:20:54 PM »
Hi,

The root password for the MySQL server keeps coming up with a problem. I kills all access to the MySQL databases. When I see it, I log in and run the script to reset the root password and everything is fine. Problem is, I don't know when the password stops working so I need to monitor it all the time. Once it did this in the middle of the night and I didn't see it until 8 hours later, causing a lot of issues.

Reset script: /scripts/mysql_pwd_reset

10
DNS / Re: new user domain going to main...
« on: April 04, 2018, 10:00:06 AM »
I have dug a little and found the new domain is showing the contents of:

/usr/local/apache/htdocs/

Why?

Here is the VHost setup
Code: [Select]
# vhost_start *****.ca
<VirtualHost 23.****.102:80>
ServerName ****.ca
ServerAlias www.****.ca
ServerAdmin webmaster@****.ca
DocumentRoot /home/****/public_html/*****.ca/
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/***/public_html/*****//cgi-bin/

# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/***/***/***.ca/*.conf

<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled daowenpu
</IfModule>

<IfModule mod_suexec.c>
SuexecUserGroup **** ****
</IfModule>

<IfModule mod_suphp.c>
suPHP_UserGroup **** ****
suPHP_ConfigPath /home/****
</IfModule>

<Directory "/home/****/public_html/****.ca/">
AllowOverride All
</Directory>

</VirtualHost>
# vhost_end ****.ca

11
DNS / new user domain going to main...
« on: March 30, 2018, 02:15:36 AM »
Hi Support,

Usually find the answers myself but this time it is not working.

Pointed the DNS as the server a few days ago and then added a new user to the server with the domain. When I go to the domain it resolves to the root directory of the host and shows the contents:

img/
info.php
laravel/
php.ini
phpMyAdmin/
roundcube/
webftp_simple/

Very concerned about this and removed the domain. Need to have this resolved and help will be great.

12
CentOS-WebPanel GUI / Re: User Log In not resolving
« on: March 24, 2018, 02:45:41 PM »
Resolved. Added new port to firewall.

13
CentOS-WebPanel GUI / User Log In not resolving
« on: March 24, 2018, 03:28:33 AM »
Hi,

Trying to get the user log in to the hosting panel working. When they go to the site, all they get is an unresolved.

Try to log into the main panel with the user credentials and it points to the IP with port 2083.

Any ideas?

Regards,

Doug

14
E-Mail / Re: Email just stopped working
« on: December 20, 2017, 10:35:22 AM »
Thanks for the reply, but I don't think that's the issue.

The IP address listed is my home IP, not the server, it is at 23.111.69.102.

Any ideas about that?

Regards,
Doug

15
E-Mail / Email just stopped working
« on: December 20, 2017, 12:32:16 AM »
It was okay on Sunday, now it is bouncing and unable to send. Here's the test send message:

Code: [Select]
Your message did not reach some or all of the intended recipients.

      Subject: Email testing
      Sent: 2017-12-19 19:30

The following recipient(s) cannot be reached:

      '***********@gmail.com' on 2017-12-19 19:30
            Server error: '450 4.7.1 Client host rejected: cannot find your hostname, [24.239.14.203]'

Any ideas?

Note: Can still log into round cube and see the email addresses on the server.

Doug

Pages: [1] 2