構成エラーが発生し、オンラインで調査しましたが、何が問題なのかよくわかりません。OS x 10.7.5 オペレーティング システムに PHP と Nginx をインストールしたいと考えています。サーバーを起動または停止しようとすると、次のエラーが表示されます。
tone$ nginx
nginx: [warn] 1024 worker_connections exceed open file resource limit: 256
alcfwl128:~ tolbert$ nginx: [emerg] open() "/usr/local/Cellar/nginx/1.4.3/logs/nginx.pid" failed (2: No such file or directory)
nginx -s stop
nginx: [error] open() "/usr/local/Cellar/nginx/1.4.3/logs/nginx.pid" failed (2: No such file or directory)
最初のエラーについては、次のコマンドを試しました。tone$ ulimit -n 65536
しかし、次のエラーが表示されます: -bash: ulimit: open files: cannot modify limit: Invalid argument
nginx.pid ファイルと一緒にディレクトリにログ フォルダーを作成するのか、それとも別の場所にあるのかわかりません。あなたの助けに感謝します。