Skip to content
This repository has been archived by the owner. It is now read-only.

API not Running #247

Closed
jeddah-liu opened this issue Apr 14, 2017 · 2 comments
Closed

API not Running #247

jeddah-liu opened this issue Apr 14, 2017 · 2 comments

Comments

@jeddah-liu
Copy link

jeddah-liu commented Apr 14, 2017

When I run the ipfs in windows Command line console with the ipfs cat peers command, an api is not running echo to me;
Then I try to use the command ipfs daemon to start a long run daemon process, Error comes again, showing that can't acquire lock: file "C'\Users\MyPC\.ipfs\repo.lock" already locked.
What happened in this process?
I check the root dirctory of the .ifps, and find that there are a repo file and a repo.lock file there. I open both file with notepad++, which shows me someting like that"{OwnerPID:11xxx}".
PS: What I installed on my PC is the go-ipfs v0.4.8. My PC OS is win7 Ultimate x64.

@mateon1
Copy link

mateon1 commented Apr 14, 2017

When you see the message repo.lock is already locked, you should run ipfs repo fsck after making sure the repo is not in use.
On Windows there seems to be an issue, where sometimes the lock is not released after an IPFS command finishes, but this will not happen if the ipfs daemon is running.

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

This issue was moved to https://discuss.ipfs.io/t/api-not-running/253

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants