Servname not supported for ai_socktype

143 views
Skip to first unread message

Дмитрий Н. Медведев

unread,
May 26, 2015, 5:02:44 AM5/26/15
to 4store-...@googlegroups.com
Hi.

Yesterday I have come accross 4store being unable to start up. Could you please have a look at the log below.

Any help is appreciated.

4store.service - LSB: Start and stop the 4store database server daemon
   
Loaded: loaded (/etc/init.d/4store)
   
Active: failed (Result: exit-code) since Mon 2015-05-25 10:59:29 UTC; 10s ago
 
Process: 2863 ExecStart=/etc/init.d/4store start (code=exited, status=2)


May 25 10:59:29 wikizrlib 4store[2914]: 4s-server.c:472 kb=wiki runtime information file created
May 25 10:59:29 wikizrlib 4store[2914]: 4s-server.c:582 4store backend v1.1.6 for kb wiki on port 6734 (1 fds)
May 25 10:59:29 wikizrlib 4store[2863]: Starting 4s-backend: 4s-backend.
May 25 10:59:29 wikizrlib 4store[2915]: httpd.c:1841 getaddrinfo failed: Servname not supported for ai_socktype
May 25 10:59:29 wikizrlib 4store[2863]: Starting 4s-httpd: 4s-httpd4store[2915]: httpd.c:1841 getaddrinfo failed: Servname not supported for ai_socktype
May 25 10:59:29 wikizrlib systemd[1]: 4store.service: control process exited, code=exited status=2
May 25 10:59:29 wikizrlib systemd[1]: Failed to start LSB: Start and stop the 4store database server daemon.
May 25 10:59:29 wikizrlib systemd[1]: Unit 4store.service entered failed state.


The command that lead to the aforementioned result is taken from /etc/init.d/4store file:
start-stop-daemon --start --chuid fourstore --quiet --oknodo --name 4s-httpd --startas /usr/bin/4s-httpd -- -p 9000 wiki

----
4store v1.1.6
OS: Debian Jessie AMD64

swh

unread,
May 27, 2015, 10:53:01 AM5/27/15
to 4store-...@googlegroups.com, dmitry....@gmail.com
The -- in the 4s-httpd command line looks suspicious, normally that's used to signal the end of the options.

What error do you get from the 4s-httpd? It will log to /var/log/messages, unless it's been configured not to.
Reply all
Reply to author
Forward
0 new messages