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)
감사
답변
OS X Server 업데이트 3.0.1이이 문제를 해결해 준 것 같습니다.
답변
가장 좋은 방법은 다음과 같습니다.
sudo launchctl unload -w com.apple.devicemanager
…에서 /System/Library/LaunchDaemons
경고 이것은 프로파일 매니저를 죽일 것이다. 그러나 그러한 서비스는 대개 시간 낭비이다.