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 - daowen

Pages: [1]
1
CentOS 8 Problems / NodeJS issue
« on: February 10, 2024, 12:05:16 PM »
Hi All,

Installed NodeJS 20.11.0 and tried to set it up for one of the user profiles and keep getting an issue.

When I go to the Node.js Manager, I get the add new application now. When the general settings come up, I select the user account and the NodeJS Version says First install of NodeJS version. I select it and the configuration comes up. I select the version and install. Once completed, it shows None NodeJS version installed!

2
Postfix / Not sending or receiving emails
« on: January 22, 2024, 12:28:33 AM »
Hi Everyone,

Got an issue with postfix. It is not sending or receiving emails. I don't get a bounce back, just the emails not coming in or going out.

Let me know what you need to help with the issue.

Here is info from the log file:

Code: [Select]
Jan 21 19:51:11 host postfix/smtpd[94956]: connect from mail-lf1-f44.google.com[209.85.167.44]
Jan 21 19:51:11 host postfix/smtpd[94956]: TLS SNI mx.mydomain.ca from mail-lf1-f44.google.com[209.85.167.44] not matched, using default chain
Jan 21 19:51:11 host postfix/smtpd[94956]: Anonymous TLS connection established from mail-lf1-f44.google.com[209.85.167.44]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Jan 21 19:51:12 host postfix/smtpd[94956]: NOQUEUE: reject: RCPT from mail-lf1-f44.google.com[209.85.167.44]: 554 5.7.1 Service unavailable; Client host [209.85.167.44] blocked using zen.spamhaus.org; Error: open resolver; https://check.spamhaus.org/returnc/pub/172.69.207.5/; from=<my gmail@gmail.com> to=<doug@mydomian.ca> proto=ESMTP helo=<mail-lf1-f44.google.com>
Jan 21 19:51:12 host postfix/smtpd[94956]: disconnect from mail-lf1-f44.google.com[209.85.167.44] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7
Jan 21 19:51:34 host postfix/smtpd[94956]: connect from mail-ej1-f48.google.com[209.85.218.48]
Jan 21 19:51:34 host postfix/smtpd[94956]: TLS SNI mx.daowen.ca from mail-ej1-f48.google.com[209.85.218.48] not matched, using default chain
Jan 21 19:51:34 host postfix/smtpd[94956]: Anonymous TLS connection established from mail-ej1-f48.google.com[209.85.218.48]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Jan 21 19:51:34 host postfix/smtpd[94956]: NOQUEUE: reject: RCPT from mail-ej1-f48.google.com[209.85.218.48]: 554 5.7.1 Service unavailable; Client host [209.85.218.48] blocked using zen.spamhaus.org; Error: open resolver; https://check.spamhaus.org/returnc/pub/108.162.240.5/; from=<mygmail@gmail.com> to=<doug@mydomain.ca> proto=ESMTP helo=<mail-ej1-f48.google.com>
Jan 21 19:51:35 host postfix/smtpd[94956]: disconnect from mail-ej1-f48.google.com[209.85.218.48] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7

Doug

3
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

4
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

5
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?

6
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

7
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?

8
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.

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 / 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.

11
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

12
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

13
CentOS 6 Problems / Swap and Cron Jobs
« on: October 13, 2017, 12:15:42 AM »
Hi Everyone.

System Info:
CPU Model: QEMU Virtual CPU version (cpu64-rhel6)
CPU Details: 2 Core (2100 MHz)
Ram 3 Gig
Distro Name: CentOS release 6.9 (Final)
Kernel Version: 2.6.32-696.10.2.el6.x86_64
Platform: x86_64 [kvm]

Issue: Swap keeps overloading after a couple of days uptime. I put in a cron to turn off and on the swap to clear it but the cron does not appear to be running. So the issue is two fold. Swap getting full after two days and cron not working. Any ideas?

Cron added through the control panel - Crontab

Thanks,
Doug

14
CentOS 6 Problems / HTTPD Issues - Will not start
« on: August 29, 2017, 02:03:29 AM »
Hi all,

I have run into a problem with httpd not starting, even after reboots. When I try to start it I get the following error

Code: [Select]
Starting httpd: httpd: Syntax error on line 499 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf.d/suphp.conf: Cannot load modules/mod_suphp.so into server: /usr/local/apache/modules/mod_suphp.so: undefined symbol: ap_log_rerror
[FAILED]

The httpd.conf have 499 lines and the last ones are these

Code: [Select]
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf

here's the suphp.conf

Code: [Select]
LoadModule suphp_module modules/mod_suphp.so
suPHP_Engine on
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
<Directory />
        suPHP_AddHandler application/x-httpd-php
</Directory>
#suPHP_UserGroup nobody nobody
suPHP_AddHandler application/x-httpd-php44
suPHP_AddHandler application/x-httpd-php52
suPHP_AddHandler application/x-httpd-php53
suPHP_AddHandler application/x-httpd-php54
suPHP_AddHandler application/x-httpd-php55
suPHP_AddHandler application/x-httpd-php56
suPHP_AddHandler application/x-httpd-php7

Business server is down right now. Any help would be appreciated.

15
SSL / Getting error when requesting SSL cert
« on: August 26, 2017, 02:00:44 AM »
Code: [Select]
AutoSSL Issue Failed![Fri Aug 25 18:50:57 PDT 2017] Single domain='********.com'
[Fri Aug 25 18:50:57 PDT 2017] Getting domain auth token for each domain
[Fri Aug 25 18:50:57 PDT 2017] Getting webroot for domain='********.com'
[Fri Aug 25 18:50:57 PDT 2017] Getting new-authz for domain='********.com'
[Fri Aug 25 18:50:59 PDT 2017] The new-authz request is ok.
[Fri Aug 25 18:50:59 PDT 2017] Verifying:********.com
[Fri Aug 25 18:51:02 PDT 2017] scriptophobia.com:Verify error:Fetching https://%25domain_name/.well-known/acme-challenge/ppUJQh7OK3dBKL0AuoH9pMaGqwhaKkBDCZZvdm9Ajb0: Error getting validation data
[Fri Aug 25 18:51:02 PDT 2017] Please check log file for more details: /root/.acme.sh/acme.sh.log
AutoSSL Issue Failed![Fri Aug 25 18:51:03 PDT 2017] Single domain='********.com'
[Fri Aug 25 18:51:03 PDT 2017] Getting domain auth token for each domain
[Fri Aug 25 18:51:03 PDT 2017] Getting webroot for domain='********.com'
[Fri Aug 25 18:51:03 PDT 2017] Getting new-authz for domain='********.com'
[Fri Aug 25 18:51:05 PDT 2017] The new-authz request is ok.
[Fri Aug 25 18:51:05 PDT 2017] Verifying:********.com
[Fri Aug 25 18:51:09 PDT 2017] ********.com:Verify error:Fetching https://%25domain_name/.well-known/acme-challenge/HzLmq5WubNNwCv8JaeibUmrSwsXSxU4nyL3HFtTxlHU: Error getting validation data
[Fri Aug 25 18:51:09 PDT 2017] Please check log file for more details: /root/.acme.sh/acme.sh.log

Already have several certs for other domains so I know it is working. Any ideas?

Pages: [1]