タイトルのとおりですが、
hoge@server /service $svstat *
を実行したら、以下のようにdnscacheが問題みたいです。
dnscache: unable to open supervise/ok: file does not exist haproxy: up (pid 97228) 20073 seconds nginx: up (pid 750) 78581 seconds php-redis-server: up (pid 710) 78581 seconds php-system: up (pid 124719) 1 seconds php-user-5.6: up (pid 749) 78581 seconds ~省略~ .....
/serviceの中を見たら
hoge@server /service $ls -la total 16 drwxr-xr-x 2 root root 4096 9月 14 11:34 . drwxr-xr-x 120 root root 12288 9月 14 15:16 .. lrwxrwxrwx 1 root root 16 9月 12 15:56 dnscache -> /etc/sv/dnscache lrwxrwxrwx 1 root root 22 9月 13 15:04 haproxy -> /etc/supervise/haproxy lrwxrwxrwx 1 root root 16 9月 12 17:15 nginx -> /usr/local/nginx lrwxrwxrwx 1 root root 31 9月 12 17:16 php-redis-server -> /etc/supervise/php-redis-server ~省略~ .....
そこでまた /etc/sv/dnscacheに確認しに行きました
hoge@server /etc/sv/dnscache $ ls -la total 28 drwxr-sr-t 5 root root 4096 9月 12 15:56 . drwxr-xr-x 3 root root 4096 9月 12 15:56 .. drwxr-sr-x 2 root root 4096 9月 12 15:56 env drwxr-sr-x 2 root root 4096 9月 12 15:56 log drwxr-sr-x 4 root root 4096 9月 12 15:56 root -rwxr-xr-x 1 root root 136 8月 4 2011 run -rw------- 1 root root 128 9月 12 15:56 seed lrwxrwxrwx 1 root root 27 9月 12 15:56 supervise -> /var/lib/supervise/dnscache
さらに、/var/lib/supervise/dnscache を確認
hoge@server /var/lib/supervise $ ls -la total 8 drwxr-xr-x 2 root root 4096 9月 14 16:49 . drwxr-xr-x 51 root root 4096 9月 13 14:59 ..
なにもなかったです。
ということで、全てのサービスを起動したいんですが、dnscacheで失敗したらしいです。
ちなみにサービスを起動した際のエラーは以下のとおりです。
hoge@server /service $ sudo svc -u * [sudo] password for hoge: svc: warning: unable to control dnscache: file does not exist
解決方法をご存知の方ぜひお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。