Skip to content

Cannot find executable for identify: not found #184

@Kusoneko

Description

@Kusoneko

info

git revision / version: f92f68c <= this commit, which is currently the latest

OS: ubuntu 20.04

Architecture: x86_64

problem

I'm kinda trying stuff out and I figured I'd try this out as well.

I somehow managed to set everything up, as best as I can with the somewhat incomplete docs as of right now. I'm not using tor, though the frontend is currently being served behind a nginx reverse proxy. So far so good. I managed to set up postgres and the systemdicked thing. Works find, except for this. When using any of the following 3 things to do just about anything, I get the errors below eventually:

  1. ./srndv2 setup
  2. ./srndv2 run
  3. systemctl start nntpchan

backtrace / error messages

Error messages: yes

1:

2021/04/27 04:06:55 Setting up SRNd base...
2021/04/27 04:06:55 checking for configs...
2021/04/27 04:06:55 loading config...
2021/04/27 04:06:55 frontend configured in srnd.ini
2021/04/27 04:06:55 frontend enabled in srnd.ini
2021/04/27 04:06:55 validating configs...
2021/04/27 04:06:55 configs are valid
2021/04/27 04:06:55 Reading translation files
2021/04/27 04:06:55 get locale en
2021/04/27 04:06:55 connecting to database...
2021/04/27 04:06:55 Connecting to postgres...
2021/04/27 04:06:55 ensure that the database is created...
2021/04/27 04:06:55 we are up to date at version 9
2021/04/27 04:06:55 generating 4096 RSA private key...
2021/04/27 04:06:56 checking certs for certificates
2021/04/27 04:06:56 loading 2 trusted certificates
2021/04/27 04:06:56 set up article store...
2021/04/27 04:06:56 cannot find executable for identify: not found

2:

2021/04/27 04:23:56 Starting up srnd-3.1.0-f92f68c...
2021/04/27 04:23:56 checking for configs...
2021/04/27 04:23:56 loading config...
2021/04/27 04:23:56 frontend configured in srnd.ini
2021/04/27 04:23:56 frontend enabled in srnd.ini
2021/04/27 04:23:56 validating configs...
2021/04/27 04:23:56 configs are valid
2021/04/27 04:23:56 Reading translation files
2021/04/27 04:23:56 get locale en
2021/04/27 04:23:56 connecting to database...
2021/04/27 04:23:56 Connecting to postgres...
2021/04/27 04:23:56 ensure that the database is created...
2021/04/27 04:23:56 we are up to date at version 9
2021/04/27 04:23:56 checking certs for certificates
2021/04/27 04:23:56 loading 2 trusted certificates
2021/04/27 04:23:56 set up article store...
2021/04/27 04:23:56 cannot find executable for identify: not found

These two above are what really annoys me mainly, because there is indeed no identify executable, but none was built originally either, so I'm not sure how to fix this issue.

3:

Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: Started NNTPChan Server.
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 Starting up srnd-3.1.0-f92f68c...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 checking for configs...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 loading config...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 found SRND config at /home/nntpchan/nntpchan/srnd.ini...
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 frontend configured in srnd.ini
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 frontend enabled in srnd.ini
Apr 27 03:51:46 xxxxxxxxx.xxx srndv2[3866593]: 2021/04/27 03:51:46 failed to load feeds: open feeds.ini: no such file or directory
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: nntpchan.service: Main process exited, code=exited, status=1/FAILURE
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: nntpchan.service: Failed with result 'exit-code'.
Apr 27 03:51:46 xxxxxxxxx.xxx systemd[1]: Stopped NNTPChan Server.

This last one is systemd's which somehow just cannot find the very easily found empty feeds.ini file I set up at /home/nntpchan/nntpchan, which is the directory where srndv2 is located as well. I specifically added to the systemd service file the User option to make sure it used the right file from the right working directory as the right user. That's obviously not giving me the result I expected. Is there a point to having a feeds.ini file at all if you have no friends to "federate" with? This is also an issue that should be raised, considering how little activity this project got this past year, can it be safe to assume that all servers are dead already, and so I'd be the lone new server? Perhaps to prevent that assumption, a separate repo where people add their nodes and public key info the same way meshnet protocols do it as a mean to create virtual connections between nodes. Even better would be to also add some automatic check say weekly that the nntpchan server can be reached, and if not, automatically remove it from the repo as a dead server.

Backtrace: no

Anyways, any help would be appreciated.

Thanks,
Kusoneko.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions