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

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

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

4
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

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

6
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

7
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

8
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

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

10
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]