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

5
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

6
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

7
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

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

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

10
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

11
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

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 / Re: Swap and Cron Jobs
« on: October 20, 2017, 12:19:50 AM »
Thanks, but I'm not as familiar with the commands to pull that info except the TOP and that didn't give much info.

14
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

15
CentOS 6 Problems / Re: HTTPD Issues - Will not start - RESOLVED
« on: August 30, 2017, 12:18:35 AM »
Code: [Select]
Figured it out!

edited /usr/local/apache/conf.d/ssl.conf and add this into it

Code: [Select]
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>

httpd works now and was able to auto the ssl on the other addon domain that I had been working on.

Thanks! Would not have been able to get it fixed without your help.

Pages: [1] 2