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.
46
Dovecot / Re: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file
« on: May 08, 2020, 11:32:49 AM »
thanks bro.... issue was resolved by stop and start of dovecot service.
[root@server dovecot]# service dovecot status -l
Redirecting to /bin/systemctl status -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor pres et: disabled)
Active: active (running) since Fri 2020-05-08 13:26:15 CEST; 58s ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 4885 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
Process: 4992 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
Process: 4989 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status= 0/SUCCESS)
Process: 4982 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, s tatus=0/SUCCESS)
Main PID: 4995 (dovecot)
CGroup: /system.slice/dovecot.service
├─4995 /usr/sbin/dovecot
├─4996 dovecot/anvil
├─4997 dovecot/log
├─4999 dovecot/config
└─5058 dovecot/auth
May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/ POP3 email server...
May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/P OP3 email server.
[root@server dovecot]# service dovecot status -l
Redirecting to /bin/systemctl status -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor pres et: disabled)
Active: active (running) since Fri 2020-05-08 13:26:15 CEST; 58s ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 4885 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
Process: 4992 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
Process: 4989 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status= 0/SUCCESS)
Process: 4982 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, s tatus=0/SUCCESS)
Main PID: 4995 (dovecot)
CGroup: /system.slice/dovecot.service
├─4995 /usr/sbin/dovecot
├─4996 dovecot/anvil
├─4997 dovecot/log
├─4999 dovecot/config
└─5058 dovecot/auth
May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/ POP3 email server...
May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/P OP3 email server.
47
Dovecot / Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file
« on: May 08, 2020, 10:36:52 AM »
Hello,
i am having master.pid file cant be found error as below. i have check /var/run/dovecot/master.pid exists with the following permissions. can someone suggest me why i am getting this error as the file and folder already exists with valid pid info inside.
[root@server ~]# service dovecot status -l
Redirecting to /bin/systemctl status -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2020-05-08 02:09:15 CEST; 10h ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 29745 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
Process: 29797 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
Process: 29794 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
Process: 29787 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
Main PID: 29801 (dovecot)
CGroup: /system.slice/dovecot.service
├─19670 dovecot/ssl-params
├─29801 /usr/sbin/dovecot
├─29802 dovecot/anvil
├─29803 dovecot/log
└─29805 dovecot/config
May 08 02:09:14 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/POP3 email server...
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file or directory
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/POP3 email server.
[root@server ~]# ll /var/run/dovecot/
total 8
srw------- 1 root root 0 May 8 02:09 anvil
srw------- 1 root root 0 May 8 02:09 anvil-auth-penalty
srw------- 1 dovecot root 0 May 8 02:09 auth-client
srw------- 1 dovecot root 0 May 8 02:09 auth-login
srw------- 1 root root 0 May 8 02:09 auth-master
-rw------- 1 root root 32 May 6 02:54 auth-token-secret.dat
srw-rw-rw- 1 vmail mail 0 May 8 02:09 auth-userdb
srw------- 1 dovecot root 0 May 8 02:09 auth-worker
srw------- 1 root root 0 May 8 02:09 config
srw-rw-rw- 1 vmail mail 0 May 8 02:09 dict
srw------- 1 root root 0 May 8 02:09 dict-async
srw------- 1 root root 0 May 8 02:09 director-admin
srw-rw-rw- 1 root root 0 May 8 02:09 dns-client
srw------- 1 root root 0 May 8 02:09 doveadm-server
lrwxrwxrwx 1 root root 25 May 8 02:09 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root root 40 May 6 00:54 empty
srw------- 1 root root 0 May 8 02:09 imap-hibernate
srw------- 1 root root 0 May 8 02:09 imap-master
srw-rw-rw- 1 root root 0 May 8 02:09 imap-urlauth
srw------- 1 dovecot root 0 May 8 02:09 imap-urlauth-worker
srw-rw-rw- 1 root root 0 May 8 02:09 indexer
srw------- 1 dovecot root 0 May 8 02:09 indexer-worker
srw------- 1 root root 0 May 8 02:09 ipc
srw-rw-rw- 1 root root 0 May 8 02:09 lmtp
srw------- 1 root root 0 May 8 02:09 log-errors
drwxr-x--- 2 root dovenull 160 May 8 02:09 login
srw------- 1 root root 0 May 8 02:09 master
-rw------- 1 root root 6 May 8 02:09 master.pid
srw------- 1 root root 0 May 8 02:09 replication-notify
prw------- 1 root root 0 May 8 02:09 replication-notify-fifo
srw------- 1 dovecot root 0 May 8 02:09 replicator
srw-rw-rw- 1 root root 0 May 8 02:09 ssl-params
srw-rw--w- 1 root root 0 May 8 02:09 stats
prw------- 1 root root 0 May 8 02:09 stats-mail
prw------- 1 root root 0 May 8 02:09 stats-user
drwxr-x--- 2 root dovenull 80 May 8 02:09 token-login
i am having master.pid file cant be found error as below. i have check /var/run/dovecot/master.pid exists with the following permissions. can someone suggest me why i am getting this error as the file and folder already exists with valid pid info inside.
[root@server ~]# service dovecot status -l
Redirecting to /bin/systemctl status -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2020-05-08 02:09:15 CEST; 10h ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 29745 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
Process: 29797 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
Process: 29794 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
Process: 29787 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
Main PID: 29801 (dovecot)
CGroup: /system.slice/dovecot.service
├─19670 dovecot/ssl-params
├─29801 /usr/sbin/dovecot
├─29802 dovecot/anvil
├─29803 dovecot/log
└─29805 dovecot/config
May 08 02:09:14 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/POP3 email server...
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file or directory
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/POP3 email server.
[root@server ~]# ll /var/run/dovecot/
total 8
srw------- 1 root root 0 May 8 02:09 anvil
srw------- 1 root root 0 May 8 02:09 anvil-auth-penalty
srw------- 1 dovecot root 0 May 8 02:09 auth-client
srw------- 1 dovecot root 0 May 8 02:09 auth-login
srw------- 1 root root 0 May 8 02:09 auth-master
-rw------- 1 root root 32 May 6 02:54 auth-token-secret.dat
srw-rw-rw- 1 vmail mail 0 May 8 02:09 auth-userdb
srw------- 1 dovecot root 0 May 8 02:09 auth-worker
srw------- 1 root root 0 May 8 02:09 config
srw-rw-rw- 1 vmail mail 0 May 8 02:09 dict
srw------- 1 root root 0 May 8 02:09 dict-async
srw------- 1 root root 0 May 8 02:09 director-admin
srw-rw-rw- 1 root root 0 May 8 02:09 dns-client
srw------- 1 root root 0 May 8 02:09 doveadm-server
lrwxrwxrwx 1 root root 25 May 8 02:09 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root root 40 May 6 00:54 empty
srw------- 1 root root 0 May 8 02:09 imap-hibernate
srw------- 1 root root 0 May 8 02:09 imap-master
srw-rw-rw- 1 root root 0 May 8 02:09 imap-urlauth
srw------- 1 dovecot root 0 May 8 02:09 imap-urlauth-worker
srw-rw-rw- 1 root root 0 May 8 02:09 indexer
srw------- 1 dovecot root 0 May 8 02:09 indexer-worker
srw------- 1 root root 0 May 8 02:09 ipc
srw-rw-rw- 1 root root 0 May 8 02:09 lmtp
srw------- 1 root root 0 May 8 02:09 log-errors
drwxr-x--- 2 root dovenull 160 May 8 02:09 login
srw------- 1 root root 0 May 8 02:09 master
-rw------- 1 root root 6 May 8 02:09 master.pid
srw------- 1 root root 0 May 8 02:09 replication-notify
prw------- 1 root root 0 May 8 02:09 replication-notify-fifo
srw------- 1 dovecot root 0 May 8 02:09 replicator
srw-rw-rw- 1 root root 0 May 8 02:09 ssl-params
srw-rw--w- 1 root root 0 May 8 02:09 stats
prw------- 1 root root 0 May 8 02:09 stats-mail
prw------- 1 root root 0 May 8 02:09 stats-user
drwxr-x--- 2 root dovenull 80 May 8 02:09 token-login
48
CentOS 7 Problems / client @0x7f9c80041c20 127.0.0.1#32918 (.): query (cache) './NS/IN' denied
« on: May 04, 2020, 08:02:43 AM »
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 ~]#
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 ~]#
49
CentOS 7 Problems / Re: pam_limits(crond:session): invalid line 'user-name hard nproc ' - skipped
« on: May 03, 2020, 11:30:14 PM »
and where is that option , i cant find it.... nproc/nofile limit ....what should be the limit set??? details plz
50
CentOS 7 Problems / pam_limits(crond:session): invalid line 'user-name hard nproc ' - skipped
« on: May 03, 2020, 08:37:29 PM »
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)
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)
51
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]#

[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]#
52
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
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
53
MySQL / Re: ERROR MariaDB is running but PID file could not be found
« on: May 02, 2020, 05:20:20 PM »
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
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
54
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
....

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