Welcome! Log In Create A New Profile

Advanced

Re: get alert : sem_init() failed (78: Function not implemented

Sergey Kandaurov
March 05, 2013 02:50AM
On Mar 4, 2013, at 7:30 PM, Meteor <meteor8488@163.com> wrote:

> Hi All,
>
> I just upgrade freebsd from 8.1 to 9.1. And after that, every time I start Nginx, I'l get below error message:
>
> 2013/03/04 09:21:27 [alert] 43757#0: sem_init() failed (78: Function not implemented)
> 2013/03/04 09:21:27 [alert] 43757#0: sem_init() failed (78: Function not implemented)
>
> This is the only error message I got, does anyone know how can I fix this problem?

You are likely running old binary built against FreeBSD 8.x.
The latter uses in-kernel implementation of semaphores.
FreeBSD 9.x switched to the new semaphore implementation based on umtx.
Here the kernel module is only used to support old binaries for pre-9.x.
So that's why you seem "Function not implemented" error message:
since in 9.x sem isn't present in the default GENERIC kernel.
I could try to kldload the module sem.ko, or better upgrade your system
canonically which means rebuilding nginx, as said in another mail.
See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for the canonical way to update your system.

--
Sergey Kandaurov
pluknet@nginx.com



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

get alert : sem_init() failed (78: Function not implemented

Meteor March 04, 2013 10:32AM

Re: get alert : sem_init() failed (78: Function not implemented

Igor Sysoev March 04, 2013 10:40AM

Re: get alert : sem_init() failed (78: Function not implemented

Sergey Kandaurov March 05, 2013 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready