Похожие чаты

Hi all i tried to start my server with: #service liran start For

some reason, it doesn’t start. The process name
is "liran" i saw in the /var/log/access.log
that :
fatal Could not create repo: open /var/lib/liran/data/liran.db: permission denied (source: /usr/local/go/src/runtime/proc.go:185)(error: open /var/lib/liran/data/liran.db: permission denied)

so i checked
#stat -c "%a %n" /var/lib/liran/data/liran.db
600 /var/lib/liran/data/liran.db

so i did:
#sudo chmod 777 /var/lib/liran/data/liran.db

now in the /var/log/access.log
i see a new error when trying to start the service:
error Failed on ensure function for evidences (source: /usr/local/go/src/runtime/asm_amd64.s:2337)(error: cannot open index, metadata missing)
error Failed on ensure function for jobsIdx (source: /usr/local/go/src/runtime/asm_amd64.s:2337)(error: cannot open index, metadata missing)
error Failed on ensure function for classifiersIdx (source: /usr/local/go/src/runtime/asm_amd64.s:2337)(error: cannot open index, metadata missing)
error Failed on ensure function for accounts (source: /usr/local/go/src/runtime/asm_amd64.s:2337)(error: cannot open index, metadata missing)
Error Counts : 18 (source: /home/ubuntu/.go_workspace/src/github.com/liran/server/repo/complexRepo/repo.go:2279)
fatal Error during ensure repo (10040) (source: /home/ubuntu/.go_workspace/src/github.com/liran/server/server.go:135)

can someone advise please?
Of course the 777 not a solution...

2 ответов

7 просмотров

Maybe go back to 600 and make the user running the service the owner of the file.

Could try starting the service with sudo? You said you ran the command ' service liran start', so unless you were running as root your privileges are limited.

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта