I just installed dvWA range environment. After debugging, I executed the SystemCTL Restart PHP-FPM command as root user, and then reported this error:
[root@localhost ~]# systemctl restart php-fpm
** (pkttyagent:10946): WARNING **: 17:09:31.957: 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)
Refer to such a document, found that was caused by x permissions lost, reference document links: https://blog.csdn.net/huangjin0507/article/details/51536454
The following command is used:
[root@localhost ~]# chmod 755 /
With the changes, the problem disappeared, PHP was rebooted, and DVWA was successfully accessed.
Read More:
- Failed to restart xxx.service: The name org.freedesktop.PolicyKit1 was not provided by any..
- win10 unable to start ssh-agent service, error :1058 solution
- Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 My solution
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- ZABBIX agent failed to start
- Failed to create agent because there is no valid NavMesh
- Failed to connect to appears after burp suite agent is set
- Failed to register observatory port with mDNS with error
- Under Linux, git cannot be used, prompt sign_and_send_pubkey: signing failed: agent refused operation
- ansible Q&A: Failed to connect to the host via ssh: ssh_exchange_identification and Authentication or per
- unity Failed to create agent because there is no valid NavMesh
- Modify the tomcat configuration in docker, causing javaagent to report agent library failed to init instrument
- Pull the git warehouse code IDEA reports an error: Clone failed: Authentication failed for’http://10.xx.XXXXXXXXXXXXXXXXX’
- Git push “fatal: Authentication failed ”
- Unable to read scheme document‘ http://www.springframework.org/schema/spring-context.xsd The solution to the problem
- Error in Python connection to mongodb pymongo.errors.OperationFailure : Authentication failed.
- Eureka failed to register error: saw local status change event statuschangeevent
- Mongodb connection authentication auth failed solution
- org.apache.jasper . jasperexception: unable to compile class for jsp: error resolution
- Unable to read Scheme Document ‘ http://www.springframework.org/schema/beans/spring-beans-4.1.xsd ‘ [How to Fix]