# Valkey start fails on linux server

**URL:** <https://forums.percona.com/t/valkey-start-fails-on-linux-server/36985>\
**Category:** Valkey & Redis\
**Created:** [February 28, 2025, 8:53pm UTC](https://forums.percona.com/t/valkey-start-fails-on-linux-server/36985 "2025-02-28T20:53:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josephtryit](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@josephtryit](https://forums.percona.com/u/josephtryit)\
**Post date:** [February 28, 2025, 8:53pm UTC](https://forums.percona.com/t/valkey-start-fails-on-linux-server/36985/1 "2025-02-28T20:53:51Z")

</div>

Hello, I am new to the valkey and trying to install it on a linux server. This is stand alone host. I am following the documentation provided on percona website. Installation worked but starting valkey fails

installation steps : [Install from Percona repository - Percona Packages for Valkey](https://docs.percona.com/valkey/installation.html#install-valkey)

Error: Feb 28 14:43:10 ech-10-157-146-73 valkey-server[54622]: 54622:C 28 Feb 2025 14:43:10.042 # Fatal error, can’t open config file '/etc/val\>  
Feb 28 14:43:10 ech-10-157-146-73 systemd[1]: valkey.service: Main process exited, code=exited, status=1/FAILURE  
Feb 28 14:43:10 ech-10-157-146-73 systemd[1]: valkey.service: Failed with result ‘exit-code’.  
– Subject: Unit failed  
– Defined-By: systemd

–  
– The unit valkey.service has entered the ‘failed’ state with result ‘exit-code’.  
Feb 28 14:43:10 ech-10-157-146-73 systemd[1]: Failed to start Valkey persistent key-value database.  
– Subject: Unit valkey.service has failed  
– Defined-By: systemd

–  
– Unit valkey.service has failed.

Installation created a file at /etc/valkey/valkey.conf and it has full permissions and untouched. No other steps mentioned in the doc  
-rwxrwxrwx 1 root root 112720 Oct 3 06:22 valkey.conf

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [March 3, 2025, 11:52pm UTC](https://forums.percona.com/t/valkey-start-fails-on-linux-server/36985/2 "2025-03-03T23:52:17Z")

</div>

Hi @josephtryit,

I tested this, and we need the following additional command to make the default configs and paths to work:

```auto
chown -R valkey:valkey /var/log/valkey/ /var/lib/valkey/ /etc/valkey/

```

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![josephtryit](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@josephtryit](https://forums.percona.com/u/josephtryit)\
**Post date:** [March 4, 2025, 7:13pm UTC](https://forums.percona.com/t/valkey-start-fails-on-linux-server/36985/3 "2025-03-04T19:13:36Z")

</div>

Thankyou. It works. Already did this for /var/log and /etc/valkey but missed on the lib.
