2011-03-10 2 views
1

Compass susy 플러그인과 함께 Compass gem이 설치되어 있습니다 (compass-0.11.beta.2). "나침반 시계"를 실행할 때마다 다음과 같은 오류 메시지가 나타납니다.
"Errno :: ENOSYS가 /path/to/rb-inotify/notifier.rb의 줄에": inotify를 초기화합니다 "
이것은 오류가rb-inotify 오류 얻기 "Errno :: ENOSYS"with compass and susy

def initialize 
@fd = Native.inotify_init 
    @watchers = {} 
    return unless @fd < 0 

    raise SystemCallError.new(
    "Failed to initialize inotify" + 
    case FFI.errno 
    when Errno::EMFILE::Errno; ": the user limit on the total number of inotify instances has been reached." 
    when Errno::ENFILE::Errno; ": the system limit on the total number of file descriptors has been reached." 
    when Errno::ENOMEM::Errno; ": insufficient kernel memory is available." 
    else; "" 
    end, 
This is line ["60"] ===> FFI.errno) 
end 

나는, 각뿐만 아니라 3-4 다른 버전을 포함 보석을 모두 다시 설치하려고했지만, 난 여전히 때마다 같은 오류를 참조하는 notifier.rb 코드의 블록 . 누구든지 내게 손을 줄 수 있습니까?

답변

0

시스템을 업그레이드해야합니다.

inotify_init(2)에 대한 기본 호출은 ENOSYS를 반환합니다. 이는 해당 기능이 시스템의 libc에 구현되지 않았으며 커널에서 지원되지 않을 수도 있음을 의미합니다.

(페도라 리눅스의 일부 이전 버전은, 예를 들어, 커널에서 inotify 시설을 지원 한 것으로 나타나지만 기능을 노출의 glibc를 제공하지 않았다.) 난에 CentOS 5.5에서 실행 해요

+0

. 나는'yum update inotify'를 아무런 쓸모없이 실행하려고했습니다 ... – werm

+0

@werm, 명령 행 유틸리티를 통해'inotify'가 시스템에서 작동하는지 확인할 수 있습니까? – pilcrow

+0

서버의 다른 모든 Compass 설치에서는 문제가 없지만 제대로 작동합니다. 아직도 이유를 알지 못했습니다. – werm