Error: Error starting master database on storagenode: database: pieceinfo opening file "config/storage/pieceinfo.db" failed: unable to open database file: operation not permitted

Hello,
one of my node stop working today, looking the log I find this error:

Error: Error starting master database on storagenode: database: pieceinfo opening file “config/storage/pieceinfo.db” failed: unable to open database file: operation not permitted
storj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:347
storj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:324
storj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:299
storj.io/storj/storagenode/storagenodedb.OpenExisting:266
main.cmdRun:62
main.newRunCmd.func1:32
storj.io/private/process.cleanup.func1.4:399
storj.io/private/process.cleanup.func1:417
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomOptions:113
main.main:30
runtime.main:250

What I can do to solve it ?

thx

I have solved the issue, it was an hard disk error, after the check disk the problem has been solved.

2 Likes