# Killed a dvc process and now can't run any dvc commands

**URL:** <https://discuss.dvc.org/t/killed-a-dvc-process-and-now-cant-run-any-dvc-commands/2565>\
**Category:** Questions\
**Created:** [July 18, 2025, 8:22pm UTC](https://discuss.dvc.org/t/killed-a-dvc-process-and-now-cant-run-any-dvc-commands/2565 "2025-07-18T20:22:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://discuss.dvc.org/u/Mac)\
**Post date:** [July 18, 2025, 8:22pm UTC](https://discuss.dvc.org/t/killed-a-dvc-process-and-now-cant-run-any-dvc-commands/2565/1 "2025-07-18T20:22:43Z")

</div>

I brazenly spammed ctrl-c during a dvc pull and I think I killed things that were handling a safe exit. Now almost every dvc command gives me the following:  
ERROR: unexpected error - unable to open database file

## Here is the result of dvc doctor: DVC version: 3.51.2 (pip)

Platform: Python 3.9.21 on Linux-5.14.0-427.28.1.0.1.el9\_4.x86\_64-x86\_64-with-glibc2.34  
Subprojects:  
dvc\_data = 3.15.2  
dvc\_objects = 5.1.1  
dvc\_render = 1.0.2  
dvc\_task = 0.40.2  
scmrepo = 3.3.11  
Supports:  
http (aiohttp = 3.12.13, aiohttp-retry = 2.9.1),  
https (aiohttp = 3.12.13, aiohttp-retry = 2.9.1),  
s3 (s3fs = 2024.9.0, boto3 = 1.38.27)  
Config:  
Global: /data/mvx/usr/mac/.config/dvc  
System: /etc/xdg/dvc

I have all of my data on s3 so I’m willing to remove the cache and whatnot.

Please help. Thanks

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://discuss.dvc.org/u/Mac)\
**Post date:** [July 18, 2025, 8:45pm UTC](https://discuss.dvc.org/t/killed-a-dvc-process-and-now-cant-run-any-dvc-commands/2565/2 "2025-07-18T20:45:05Z")

</div>

I removed my /var/tmp/dvc/repos and it worked. huzzah
