장치 관리자 및 Postgresql 오류 메시지 루프


1

MBP 7,1, 2.4GHz Intel Core 2 Duo, 4GB DDR3 RAM, 500GB 하드 드라이브 (Lion 포함)를 사용 중입니다. v10.7.3 업데이트 후 콘솔은 장치 관리자 및 PostGre SQL (아래)에 관한 반복 오류 메시지를 표시합니다. 누구든지 도와 줄 수 있습니까?

23/02/12 12:47:07.662 PM com.apple.launchd: (org.postgresql.postgres[1110]) Exited with code: 2
23/02/12 12:47:07.662 PM com.apple.launchd: (org.postgresql.postgres) Throttling respawn: Will start in 10 seconds
23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Initializing DeviceManagerDaemon with ports 3320,3321,3322,3323 (physmem = 4GB)
23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Making sure Rails is configured properly
23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Running rake command: /usr/bin/rake db:migrate
23/02/12 12:47:15.044 PM ruby: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
23/02/12 12:47:15.044 PM ProfileManager: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
23/02/12 12:47:15.045 PM com.apple.devicemanager: Feb 23 12:47:15 Computer.local ProfileManager[1116] <Error>: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
23/02/12 12:47:16.449 PM com.apple.devicemanager: rake aborted!
23/02/12 12:47:16.449 PM com.apple.devicemanager: could not connect to server: No such file or directory
23/02/12 12:47:16.449 PM com.apple.devicemanager:           Is the server running locally and accepting
23/02/12 12:47:16.449 PM com.apple.devicemanager:           connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
23/02/12 12:47:16.450 PM com.apple.devicemanager: (See full trace by running task with --trace)
23/02/12 12:47:16.461 PM com.apple.devicemanager: (in /usr/share/devicemgr/backend)
23/02/12 12:47:16.470 PM com.apple.devicemanager: /usr/share/devicemgr/backend/devicemgrd:109:in `rake': Rake command failed with 256 (RuntimeError)
23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:103:in `setupRails'
23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:33:in `run'
23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:131
23/02/12 12:47:16.470 PM com.apple.launchd: (com.apple.devicemanager[1114]) Exited with code: 1
23/02/12 12:47:16.470 PM com.apple.launchd: (com.apple.devicemanager) Throttling respawn: Will start in 8 seconds
23/02/12 12:47:17.682 PM org.postgresql.postgres: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
23/02/12 12:47:17.682 PM com.apple.launchd: (org.postgresql.postgres[1117]) Exited with code: 2
23/02/12 12:47:17.682 PM com.apple.launchd: (org.postgresql.postgres) Throttling respawn: Will start in 10 seconds
23/02/12 12:47:24.482 PM com.apple.devicemanager: DEBUG: Initializing DeviceManagerDaemon with ports 3320,3321,3322,3323 (physmem = 4GB)
23/02/12 12:47:24.483 PM com.apple.devicemanager: DEBUG: Making sure Rails is configured properly
23/02/12 12:47:24.483 PM com.apple.devicemanager: DEBUG: Running rake command: /usr/bin/rake db:migrate
23/02/12 12:47:25.718 PM ruby: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
23/02/12 12:47:25.718 PM ProfileManager: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
23/02/12 12:47:25.718 PM com.apple.devicemanager: Feb 23 12:47:25 Computer.local ProfileManager[1121] <Error>: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)

감사


Lion Server를 설치하여 실행 했습니까? 그렇다면 서버 응용 프로그램 또는 서버 관리자 응용 프로그램을 실행하고 더 높은 수준의 문제가 있는지 확인하십시오. 당신이 사용할 수있는 serveradmin status devicemgr 뿐만 아니라 물건을 확인합니다.
bmike

답변:



-1

가장 좋은 방법은 다음과 같습니다.

sudo launchctl unload -w com.apple.devicemanager

...에서 /System/Library/LaunchDaemons

경고 이것은 프로파일 매니저를 죽일 것이다. 그러나 그러한 서비스는 대개 시간 낭비이다.


답장을 보내 주셔서 감사합니다. 그러나 유감스럽게도 터미널은 "언로드 된 파일이나 방향은 없습니다"
Tony

3
"시간 낭비"는 다소 강할 수 있습니다. 그들이 사용되지 않는다면 어쨌든 중요한 자원을 필요로하지 않으므로 실행 시키십시오.
nohillside
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.