# Mysql pid not found during installation XtraDB Cluster

**URL:** <https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [April 4, 2020, 10:53am UTC](https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505 "2020-04-04T10:53:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Anikin](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@Sam\_Anikin](https://forums.percona.com/u/Sam_Anikin)\
**Post date:** [April 4, 2020, 10:53am UTC](https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505/1 "2020-04-04T10:53:27Z")

</div>

Hi, everyone. I am trying to install Percona XtraDB Cluster on fresh Debian 10 as root.&nbsp;

```auto
apt remove -y apparmorapt install -y wget gnupg2 lsb-release<br>wget https://repo.percona.com/apt/percona-release_latest.generic_all.debdpkg -i percona-release_latest.generic_all.debpercona-release enable original releaseapt updateapt install -y percona-xtradb-cluster-full-57

```

But last command failed with error:  
&nbsp;  
**Apr 04 05:16:22 kan460 systemd[1]: Starting LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon…****Apr 04 05:16:22 kan460 /etc/init.d/mysql[8283]: MySQL PID not found, pid\_file detected/guessed: /var/lib/mysql/kan460.pid****Apr 04 05:16:25 kan460 /etc/init.d/mysql[8396]: mysql ping failed****Apr 04 05:16:25 kan460 mysql[8240]: Starting MySQL (Percona XtraDB Cluster) database server: mysqld .Please take a look at the syslog. … failed!****Apr 04 05:16:25 kan460 mysql[8240]:&nbsp; failed!****Apr 04 05:16:25 kan460 systemd[1]: mysql.service: Control process exited, code=exited, status=1/FAILURE****Apr 04 05:16:25 kan460 systemd[1]: mysql.service: Failed with result ‘exit-code’.****Apr 04 05:16:25 kan460 systemd[1]: Failed to start LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon.**  
[https://paste.pics/8JC6Q](https://paste.pics/8JC6Q)&nbsp;  
I tried to create symlinks /var/lib/mysql/mysql.pid -\> /var/lib/mysql/kan460.pid but it didn’t resolve my installation problem.  
I checked free memory and free space disk but there are no problems there  
  
root@kan460:~# free&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total&nbsp; &nbsp; &nbsp; &nbsp; used&nbsp; &nbsp; &nbsp; &nbsp; free&nbsp; &nbsp; &nbsp; shared&nbsp; buff/cache&nbsp; &nbsp;availableMem:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;899408&nbsp; &nbsp; &nbsp; 326596&nbsp; &nbsp; &nbsp; 155420&nbsp; &nbsp; &nbsp; &nbsp; 2744&nbsp; &nbsp; &nbsp; 417392&nbsp; &nbsp; &nbsp; 422872Swap:&nbsp; &nbsp; &nbsp; &nbsp;1046524&nbsp; &nbsp; &nbsp; &nbsp; 5132&nbsp; &nbsp; &nbsp;1041392root@kan460:~# df -hFilesystem&nbsp; &nbsp; &nbsp; Size&nbsp; Used Avail Use% Mounted onudev&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 425M&nbsp; &nbsp; &nbsp;0&nbsp; 425M&nbsp; &nbsp;0% /devtmpfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 88M&nbsp; 3.7M&nbsp; &nbsp;85M&nbsp; &nbsp;5% /run/dev/sda2&nbsp; &nbsp; &nbsp; &nbsp;6.4G&nbsp; 3.1G&nbsp; 3.0G&nbsp; 52% /tmpfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;440M&nbsp; &nbsp; &nbsp;0&nbsp; 440M&nbsp; &nbsp;0% /dev/shmtmpfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5.0M&nbsp; &nbsp; &nbsp;0&nbsp; 5.0M&nbsp; &nbsp;0% /run/locktmpfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;440M&nbsp; &nbsp; &nbsp;0&nbsp; 440M&nbsp; &nbsp;0% /sys/fs/cgroup/dev/sda1&nbsp; &nbsp; &nbsp; &nbsp;511M&nbsp; 5.1M&nbsp; 506M&nbsp; &nbsp;1% /boot/efitmpfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 88M&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp;88M&nbsp; &nbsp;0% /run/user/0root@kan460:~# uname -aLinux kan460 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86\_64 GNU/Linuxroot@kan460:~# free -h&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total&nbsp; &nbsp; &nbsp; &nbsp; used&nbsp; &nbsp; &nbsp; &nbsp; free&nbsp; &nbsp; &nbsp; shared&nbsp; buff/cache&nbsp; &nbsp;availableMem:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 878Mi&nbsp; &nbsp; &nbsp; &nbsp;318Mi&nbsp; &nbsp; &nbsp; &nbsp;151Mi&nbsp; &nbsp; &nbsp; &nbsp;2.0Mi&nbsp; &nbsp; &nbsp; &nbsp;407Mi&nbsp; &nbsp; &nbsp; &nbsp;412MiSwap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1.0Gi&nbsp; &nbsp; &nbsp; &nbsp;5.0Mi&nbsp; &nbsp; &nbsp; &nbsp;1.0Gi

---

<div class="post-metadata">

**Author:** ![Sam\_Anikin](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@Sam\_Anikin](https://forums.percona.com/u/Sam_Anikin)\
**Post date:** [April 5, 2020, 10:45am UTC](https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505/2 "2020-04-05T10:45:53Z")

</div>

Something go wrong with formating, here correct command listing:  
_apt remove -y apparmor__apt update_  
_apt install -y wget gnupg2 lsb-release__wget [https://repo.percona.com/apt/percona-release\_latest.generic\_all.deb](https://repo.percona.com/apt/percona-release_latest.generic_all.deb)__dpkg -i percona-release\_latest.generic\_all.deb __percona-release enable original release__ apt update__apt install -y percona-xtradb-cluster-full-57_

---

<div class="post-metadata">

**Author:** ![vaibhav\_upadhyay40](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vaibhav_upadhyay40/32/9_2.png) [@vaibhav\_upadhyay40](https://forums.percona.com/u/vaibhav_upadhyay40)\
**Post date:** [June 19, 2020, 2:32pm UTC](https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505/3 "2020-06-19T14:32:34Z")

</div>

Hi&nbsp;Sam AnikinPlease share the error log file.

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [June 24, 2020, 5:15am UTC](https://forums.percona.com/t/mysql-pid-not-found-during-installation-xtradb-cluster/7505/4 "2020-06-24T05:15:35Z")

</div>

Hi.  
I tried to reproduce this issue.  
I assume you are talking about system message   
`debian-10 /etc/init.d/mysql[2465]: MySQL PID not found, pid_file detected/guessed: /var/run/mysqld/mysqld.pid`  
But pid file is in place and everything works well:  
“ls -la /var/run/mysqld/mysqld.pid &nbsp;  
-rw-r----- 1 mysql mysql 5 Jun 24 10:41 /var/run/mysqld/mysqld.pid  
”
