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

Pages: [1] 2 3 4
1
Backup / external backup of mysql database to linux server using bash
« on: February 22, 2025, 09:52:02 AM »
Hi

is it possible to access mysql database with out going in the control panel for the user. i have a user who wants to backup his mysql database to his home linux server using a bash script. we dont need help with the script but wondering if i can access myphpadmin without logging in to the users control panel

Hope this makes sense.

Thanks
Dave

2
Backup / Re: Is there a backup guide?
« on: December 17, 2024, 11:08:02 AM »
Hi @cyberspace

So you mean just create a script to backup each home folder then rsync it to the back up server?

Thanks
Dave

3
its the plugin fluent forms on wordpress i didnt set any smtp settings so must be via php mail function
Thanks
Dave

4
Hey

Just wondering how i can stop this message coming up when sending an email via a contact form on a site i have hosted. is it a IP issue or a server setting that i need to change or do i need to add any dns records ?

Thanks in advanced.

Dave

5
DNS / Re: named.service failed - NO DNS
« on: December 04, 2024, 07:00:14 PM »
Thank You!

6
I was just about to mention this.

it happened to me when doing a migration last week, Is it something i am doing wrong or is it a small bug with the migration options cpanel to cwp?

I am looking to transfer a few sites from cpanel to cwp and want me make sure i dont kill bind again ;)

Thanks and great full as always for any helP!

7
DNS / Re: named.service failed - NO DNS
« on: December 01, 2024, 07:19:08 AM »
Thanks for cyberspace.

that is great! i wont do any migrations just incase it happens again.

Thanks!

8
DNS / Re: named.service failed - NO DNS
« on: November 30, 2024, 01:14:40 PM »
Just did a capital R

restarted the service and BANG! its working

if you have the time can you explain what you did or was it as simple as making the folder and files  you listed user as root and group as namd  ?

Do you know know why this would have happened ( sorry i know am taking up your time just trying to work my head around it)

Thanks
Dave

9
DNS / Re: named.service failed - NO DNS
« on: November 30, 2024, 01:11:59 PM »
Hi Cyberspace

Thanks for the help.

I typed that in but the last command said invalid option -r is it a capital R?

Thanks
Dave

10
DNS / Re: named.service failed - NO DNS
« on: November 30, 2024, 09:02:41 AM »
sorry for the posts i just want to let you know what i have tried

it looks like it happened when i did a cpanel to cwp on 4 accounts. i have just removed all them accounts to see if that would fix the issue bit its still the same.

11
DNS / Re: named.service failed - NO DNS
« on: November 30, 2024, 08:33:27 AM »
just in case this helped

this is the content of named folder




and this is the var folder with the permissions



Thanks
Dave

12
DNS / Re: named.service failed - NO DNS
« on: November 30, 2024, 08:26:13 AM »
Thanks for the reply

for some reason the named folder user and group was set to a site i transferred over from cpanel the user was rhoscarpet:rhoscarpet

changed it back to root and give the folder permissions 777 to see if its working but i still get the same issue.

I noticed on your screenshot you have give it permissions with a T at the end (never seen T in permissions before ) do i need to do that?

If i try and run systemctl start named.service i get this error

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


and then this in journalctl -xe

Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: corporation.  Support and training for BIND 9 are
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: available at https://www.isc.org/support
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: ----------------------------------------------------
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: adjusted limit on open files from 262144 to 1048576
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: found 2 CPUs, using 2 worker threads
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: using 1 UDP listener per interface
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: using up to 21000 sockets
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: loading configuration from '/etc/named.conf'
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: unable to open '/etc/bind.keys'; using built-in keys instead
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: looking for GeoIP2 databases in '/usr/share/GeoIP'
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: opened GeoIP2 database '/usr/share/GeoIP/GeoLite2-Country.mmdb'
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: opened GeoIP2 database '/usr/share/GeoIP/GeoLite2-City.mmdb'
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: using default UDP/IPv4 port range: [32768, 60999]
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: using default UDP/IPv6 port range: [32768, 60999]
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: listening on IPv4 interface eth0, 172.236.14.181#53
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: listening on IPv6 interface lo, ::1#53
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: generating session key for dynamic DNS
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: sizing zone task pool based on 21 zones
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: could not configure root hints from 'named.ca': permission denied
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: loading configuration: permission denied
Nov 30 08:24:43 svruk01.clickns.cloud named[1986]: exiting (due to fatal error)
Nov 30 08:24:43 svruk01.clickns.cloud systemd[1]: named.service: Control process exited, code=exited status=1
Nov 30 08:24:43 svruk01.clickns.cloud systemd[1]: named.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit named.service has entered the 'failed' state with result 'exit-code'.
Nov 30 08:24:43 svruk01.clickns.cloud systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named.service has failed.
--
-- The result is failed.
Nov 30 08:24:45 svruk01.clickns.cloud postfix/smtpd[1219]: warning: unknown[80.94.95.235]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Nov 30 08:24:45 svruk01.clickns.cloud postfix/smtpd[1219]: disconnect from unknown[80.94.95.235] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 30 08:24:49 svruk01.clickns.cloud postfix/smtpd[1224]: connect from unknown[80.94.95.235]
Nov 30 08:25:02 svruk01.clickns.cloud postfix/smtpd[1109]: connect from unknown[80.94.95.235]
Nov 30 08:25:03 svruk01.clickns.cloud postfix/smtpd[1224]: warning: unknown[80.94.95.235]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Nov 30 08:25:03 svruk01.clickns.cloud postfix/smtpd[1224]: disconnect from unknown[80.94.95.235] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 30 08:25:15 svruk01.clickns.cloud postfix/smtpd[1109]: warning: unknown[80.94.95.235]: SASL LOGIN authentication failed: Connection lost to authentication server
Nov 30 08:25:16 svruk01.clickns.cloud postfix/smtpd[1219]: connect from unknown[80.94.95.235]



I take it its still a permissions issue?

Thnaks
Dave


Thanks
Dave

13
DNS / named.service failed - NO DNS
« on: November 29, 2024, 11:51:09 PM »
Hi i did have an issue before and posted it below but the issue has got worse.

i now have no DNS due to named.d service failed when all i did was reboot the server. the error i get is

systemctl status named
● 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 Fri 2024-11-29 23:48:50 UTC; 10s ago
  Process: 16230 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
  Process: 16225 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 (>

Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: using 1 UDP listener per interface
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: using up to 21000 sockets
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: loading configuration from '/etc/named.conf'
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: /etc/named.conf:13: change directory to '/var/named' failed: permission denied
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: /etc/named.conf:13: parsing failed: permission denied
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: loading configuration: permission denied
Nov 29 23:48:50 svruk01.clickns.cloud named[16231]: exiting (due to fatal error)
Nov 29 23:48:50 svruk01.clickns.cloud systemd[1]: named.service: Control process exited, code=exited status=1
Nov 29 23:48:50 svruk01.clickns.cloud systemd[1]: named.service: Failed with result 'exit-code'.
Nov 29 23:48:50 svruk01.clickns.cloud systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
lines 1-16/16 (END)

Any ideas what could be the issue and fix?

Thanks
Dave

14
DNS / Re: name servers taken a while to update
« on: November 29, 2024, 05:52:23 PM »
not sure if this is because of the issue

i read something about restarting the bind dns server which i did and i got this error

● 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 Fri 2024-11-29 17:50:03 UTC; 38s ago
  Process: 2093310 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 2089687 ExecReload=/bin/sh -c if /usr/sbin/rndc null > /dev/null 2>&1; then /usr/sbin/rndc reload; else /bin/kill -HUP $MAINPID; fi (code=exited, status=1/FAILURE)
  Process: 2093328 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
  Process: 2093325 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=0/SUCCESS)
 Main PID: 697 (code=exited, status=0/SUCCESS)

Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: using 1 UDP listener per interface
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: using up to 21000 sockets
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: loading configuration from '/etc/named.conf'
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: /etc/named.conf:13: change directory to '/var/named' failed: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: /etc/named.conf:13: parsing failed: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: loading configuration: permission denied
Nov 29 17:50:03 svruk01.clickns.cloud named[2093330]: exiting (due to fatal error)
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: named.service: Control process exited, code=exited status=1
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: named.service: Failed with result 'exit-code'.
Nov 29 17:50:03 svruk01.clickns.cloud systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).

15
DNS / name servers taken a while to update
« on: November 29, 2024, 05:42:16 PM »
Hi

Am trying to add two new domains to my cwp server

i have created two accounts  fixcomputers.co.uk and njt-builders.com.
(others work fine on it for example freddio.co.uk or linuxshed.com - test domains for learning how to use cwp).

updated the name servers to ns1 and ns2.clickns.cloud but the domains don't seem to be updating waited over 3 days for njt-builders.com and a day for fixcomputers.co.uk -you can see its updated on whatsmydns in Pakistan or India but none of the other countries show the name servers updating.

Anything am missing?

Thanks in advance.

Thanks
Dave

Pages: [1] 2 3 4