setloginclass: Function not implemented.

Posted on 2014-08-20
Last Modified: 2016-02-11

When I start any process (for ex. daemon) I have got the following error:
cron[1561]:setloginclass(daemon); Function not implemented.
Such error appears when I start ssh etc.

output of
uname -a 

Open in new window

FreeBSD hostname 8,3-RELEASE FreeBSD 8.3-Release 0#: Sta Jul 7 12:30:55
user@ns1.<other_hostname>:/usr/obj/usr/src/sys/kernel amd64

Probably, I have faced with the problem of inconsistent kernel upgrade (was not done by me)
Also when I execute on the same machine
man man 

Open in new window

In the last line I have:
FreeBSD 9.1 June 3, 2011

when I
ls /usr/src/sys/amd64/conf/

Open in new window

Output is
GENERIC kernel mykernel

but when I
uname -i

Open in new window

Output is

Needless to say the sometime I have got kernel panic, stack backtrace (omitted addresses):
Question by:Nusrat Nuriyev
    1 Comment
    LVL 61

    Accepted Solution

         The getloginclass() and setloginclass() system calls first appeared in FreeBSD 9.0.

    You run v8 kernel and v9 userland. Your system is completely broken.
    Get fresh system as soon as you can because
    1) you cannot downgrade userland
    2) you cannot use it ti build working kernel

    Maybe you succeed extracting kernel from any v9 and booting it and get system to 9-releng or something like that. But dont expect everything to sun smoothly or easy.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now