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

Pages: 1 2 3 [4]
46
hello,

i am getting following denied messages for my named service. anybody kindly suggest
-----------------------------------------------------------------------------------------------------------------------------------------
[root@server ~]# service named status -l
Redirecting to /bin/systemctl status  -l named.service
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2020-05-03 22:04:56 CEST; 11h ago
  Process: 835 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 782 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: 868 (named)
   CGroup: /system.slice/named.service
           └─868 /usr/sbin/named -u named -c /etc/named.conf

May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#32918 (.): query (cache) './NS/IN' denied
May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c7801d450 127.0.0.1#38424 (.): query (cache) './NS/IN' denied
May 04 09:48:12 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (125.10.10.10.in-addr.arpa): query (cache) '125.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:49:05 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (66.10.10.10.in-addr.arpa): query (cache) '66.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#50594 (.): query (cache) './NS/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c780486e0 127.0.0.1#38502 (.): query (cache) './NS/IN' denied
May 04 09:56:25 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (111.10.10.10.in-addr.arpa): query (cache) '111.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:56:57 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (211.10.10.10.in-addr.arpa): query (cache) '211.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#36754 (.): query (cache) './NS/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c800b7150 127.0.0.1#38550 (.): query (cache) './NS/IN' denied
[root@server ~]#

47
and where is that option , i cant find it....  nproc/nofile limit ....what should be the limit set??? details plz

48
hello,

i am getting the below warning with crond.service, is it critical ? how to fix it ? any suggestions......


-------------------------------------------------------------------------------------------------------------------
WARNING!

● crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-05-03 12:08:05 CEST; 10h ago
 Main PID: 545 (crond)
   CGroup: /system.slice/crond.service
           └─545 /usr/sbin/crond -n

May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 20:11:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)
May 03 20:15:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)

49
Updates / Re: sh update_cwp script giving errors
« on: May 03, 2020, 06:18:47 PM »
no luck :( see the below output.

[root@server scripts]# systemctl stop polkit

** (pkttyagent:24840): WARNING **: 20:17:27.611: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
[root@server scripts]#

50
Updates / sh update_cwp script giving errors
« on: May 03, 2020, 11:40:01 AM »
hello,

sh update_cwp script giving below error/warnings. how to fix it ? anybody knows

[root@server scripts]# sh update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl reload cwpsrv.service

** (pkttyagent:25879): WARNING **: 13:35:08.241: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl reload cwp-phpfpm.service

** (pkttyagent:25899): WARNING **: 13:35:08.355: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
https://packagecloud.io/varnishcache/varnish5/el/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:1f1c:2e5:6901:786e:510b:4f4f:d29c: Network is unreachable"
Trying other mirror.
Redirecting to /bin/systemctl restart cwpsrv.service

** (pkttyagent:26220): WARNING **: 13:35:48.302: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:26287): WARNING **: 13:35:48.590: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl reload httpd.service

** (pkttyagent:26331): WARNING **: 13:35:51.144: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)



Regards,

Zeeshan Javed

51
hello,

yes you need to paste this in /etc/my.cnf after creating /var/run/mysqld/mysqld.pid with proper permissions.

[mysqld]
pid-file    = /var/run/mysqld/mysqld.pid

i had the exact same issue and it waas resolved after the above steps, but after this i was not able to view any mysql databases under cwp pro admin and user control panels .

does anybody know how to fix database view issue after fixing the above pid issue in cwp pro? kindly share the workaround if you know.

Regards,

Zeeshan Javed

52
SSL / Re: SSL not working for ports 2031 and 2083
« on: March 26, 2020, 06:41:58 PM »
any additional steps after changing hostname as i have tried all possibilities replacing crt and key files with the issued certificate for my domain but no luck :( ....

53
SSL / SSL not working for ports 2031 and 2083
« on: March 26, 2020, 05:09:58 PM »
hello,

i am using latest version of cwp pro and everything seems to be working fine and smooth so far. SSL is also working fine for parent domain and all subdomains using AutoSSL . just the control panel access for admin and user for ports 2031 and 2083 are not having SSL, although i have SSL installed and working fine on main domain and all subdomains via cwp AutoSSL.

how to secure the admin and client cotrol panel URL with SSL on latest version of cwp pro. i tried following the old threads about this but none were effective as most were outdated and not applicable.

Regards,

Zeeshan Javed

Pages: 1 2 3 [4]