?
Solved

setloginclass: Function not implemented.

Posted on 2014-08-20
1
Medium Priority
?
501 Views
Last Modified: 2016-02-11
Hello,

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
kernel

Needless to say the sometime I have got kernel panic, stack backtrace (omitted addresses):
kdb_backtrace
panic
ffs_blkfree_cg
ffs_blkfree
indor_trunc
handle_workitem_freeblocks
process_worklist_ite,
softdep_process_worklist
softdep_flush
fork_exit
fork_trampoline
0
Comment
Question by:Nusrat Nuriyev
1 Comment
 
LVL 62

Accepted Solution

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

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