Permission denied
-
I have three websites on one vps. Use OpenLiteSpeed.
I separated the username of OpenLiteSpeed’s PHP.
PHP user A, PHP user B, PHP user C.
However, the plugin Redis Object Cache for PHP users C appears “Permission denied”
The other two websites are intact. What is the reason for this..
-
Status: Not connected Client: PhpRedis (v5.1.1) Drop-in: Valid Disabled: No Ping: Connection Exception: Permission denied (RedisException) Errors: [ "Permission denied" ] PhpRedis: 5.1.1 Predis: Not loaded Credis: Not loaded PHP Version: 7.4.23 Plugin Version: 2.0.21 Redis Version: Unknown Multisite: No Metrics: Disabled Metrics recorded: null Filesystem: Working Global Prefix: "e_" Blog Prefix: "e_" WP_REDIS_CLIENT: "phpredis" WP_REDIS_SCHEME: "unix" WP_REDIS_PATH: "/var/run/redis/redis.sock" WP_REDIS_DATABASE: "1" WP_REDIS_TIMEOUT: 1 WP_REDIS_READ_TIMEOUT: 1 WP_REDIS_PREFIX: "%nBb<,<nEs-31!O-8GF6qv" WP_CACHE_KEY_SALT: "%nBb<,<nEs-31!O-8GF6qv" WP_REDIS_PASSWORD: •••••••• Global Groups: [ "blog-details", "blog-id-cache", "blog-lookup", "global-posts", "networks", "rss", "sites", "site-details", "site-lookup", "site-options", "site-transient", "users", "useremail", "userlogins", "usermeta", "user_meta", "userslugs", "redis-cache" ] Ignored Groups: [ "counts", "plugins", "themes", "blog-details", "blog-id-cache", "blog-lookup", "global-posts", "networks", "rss", "sites", "site-details", "site-lookup", "site-options", "site-transient", "users", "useremail", "userlogins", "usermeta", "user_meta", "userslugs", "redis-cache", "blog_meta" ] Unflushable Groups: [] Drop-ins: [ "Redis Object Cache Drop-In v2.0.21 by Till Krüss" ]95831 root 20 0 22456 8336 6552 S 0.0 0.1 0:14.86 ├─ openlitespeed (lshttpd - main) 95832 root 20 0 12748 2932 2000 S 0.0 0.0 0:02.25 │ ├─ openlitespeed (lscgid) 95844 aaa 21 1 221M 33664 25952 S 0.0 0.4 0:02.50 │ │ ├─ lsphp 97771 aaa 21 1 226M 60156 47532 S 0.0 0.7 0:00.12 │ │ │ └─ lsphp 96501 bbb 21 1 221M 33576 25860 S 0.0 0.4 0:01.80 │ │ ├─ lsphp 97584 bbb 21 1 343M 110M 82504 S 0.0 1.4 0:08.69 │ │ │ ├─ lsphp 97659 bbb 21 1 341M 108M 84332 S 0.0 1.4 0:10.44 │ │ │ ├─ lsphp 97692 bbb 21 1 341M 107M 81932 S 0.0 1.4 0:05.13 │ │ │ ├─ lsphp 97695 bbb 21 1 342M 106M 81924 S 0.0 1.3 0:04.57 │ │ │ └─ lsphp 97167 ccc 20 0 238M 67560 43100 S 0.0 0.8 0:01.13 │ │ ├─ lsphp 97717 ccc 20 0 308M 83976 61252 S 0.0 1.0 0:00.75 │ │ │ ├─ lsphp 97833 ccc 20 0 310M 85936 61040 S 0.0 1.1 0:00.28 │ │ │ └─ lsphp 95833 nobody 20 0 25812 10048 6668 S 0.0 0.1 0:32.71 │ ├─ openlitespeed (lshttpd - #01) 95834 nobody 20 0 25844 10004 6668 S 0.0 0.1 0:32.49 │ ├─ openlitespeed (lshttpd - #02) 95835 nobody 20 0 25916 10028 6668 S 0.0 0.1 0:32.54 │ ├─ openlitespeed (lshttpd - #03) 95836 nobody 20 0 25744 9840 6604 S 0.0 0.1 0:31.95 │ ├─ openlitespeed (lshttpd - #04) 95838 nobody 20 0 25768 10320 7068 S 0.0 0.1 0:32.58 │ ├─ openlitespeed (lshttpd - #05) 95839 nobody 20 0 26292 10332 6604 S 0.0 0.1 0:33.73 │ ├─ openlitespeed (lshttpd - #06) 95840 nobody 20 0 26020 10328 6668 S 0.0 0.1 0:32.84 │ ├─ openlitespeed (lshttpd - #07) 95841 nobody 20 0 25656 9880 6668 S 0.0 0.1 0:33.06 │ ├─ openlitespeed (lshttpd - #08) 95842 nobody 20 0 25840 10060 6668 S 0.0 0.1 0:32.43 │ ├─ openlitespeed (lshttpd - #09) 95843 nobody 20 0 25740 9832 6604 S 0.0 0.1 0:33.58 │ └─ openlitespeed (lshttpd - #10)
23-Sep-2021 09:58:43 UTC] RedisException: Permission denied in /html/wp-content/object-cache.php:636
Stack trace:
#0 /html/wp-content/object-cache.php(636): Redis->connect()
#1 /html/wp-content/object-cache.php(485): WP_Object_Cache->connect_using_phpredis()
#2 /html/wp-content/object-cache.php(178): WP_Object_Cache->__construct()
#3 /html/wp-includes/load.php(726): wp_cache_init()
#4 /html/wp-settings.php(131): wp_start_object_cache()
#5 /html/wp-config.php(280): require_once(‘/usr/share/ngin…’)
#6 /html/wp-load.php(50): require_once(‘/usr/share/ngin…’)
#7 /html/wp-admin/admin.php(34): require_once(‘/usr/share/ngin…’)
#8 /html/wp-admin/options-general.php(10): require_once(‘/usr/share/ngin…’)
#9 {main}It’s weird that all three websites have the same configuration
And, all join the redis group
Only one cannot be used. The other two are intact
The topic ‘Permission denied’ is closed to new replies.