setloginclass: Function not implemented.

Posted on 2014-08-20
Medium Priority
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 62

Accepted Solution

gheist earned 2000 total points
ID: 40284197
     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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

839 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