Closed Git-Rajkumar closed 7 years ago
nginx: [alert] could not open error log file: open() ".//logs/error.log" failed (2: No such file or directory) 2016/12/17 10:04:49 [emerg] 13615#0: open() ".//conf/nginx.conf" failed (2: No such file or directory) I don't know why you can't find logs dir. please ensure exists logs dir: mkdir logs; then execute ./bin/nginx
Build way Install Nginx_agent:
did you download exilib? If you don't have it, please ask to forgerock. thank you.
where to configure AgentUrl in nginx_agent like apache_agent?
Actualy, no need to set agent URL to agent side config.
After create a logs, directory, throw below error
2016/12/19 15:34:56 [emerg] 4229#0: open() ".//conf/nginx.conf" failed (2: No such file or directory)
i have installed nginx and run my web application,
nginx have one nginx.conf file and nginx_agent have one nginx.con file , which one i need to use.
my nginx webserver(web application) use /etc/nginx/conf/nginx.conf, But, nginx_agent have one nginx.conf file, which one i need to use?
please use nginx agen's nginx.conf
nginx_agent two Years old, this can Support openam 13.0?.
please test it
when i run ./nginx file in nginx_agent file, whats happend background?.
this should start nginx server?
you can avoid log dir issue by fix nginx.conf:
daemon off;
#error_log logs/error.log; #comment out
error_log /dev/stdout;
Apache Web_agent Setup:
While Installing apache Webagent its asking couple of Configurations:
After installing apache_webagent add redirect configuration to apache httpd.conf and agent Configuration.
After that, try to load Agent Url its Redirect to OpenAm, Aftet Authenticate only show our Site.
But, My web application run nginx Server, so try to follow your Document to install nginx agent.
Nginx Web_agent Setup: (what I did)
install nginx webserver in ubuntu16.04 and setup webapplication, now run webapplication fine,
nginx web_server conf file: /etc/nginx/conf/nginx.conf
Next, Try to install Ngnix_ web agent.
it,s asking couple of question:
Then, I run nginx
its throw, error
nginx: [alert] could not open error log file: open() ".//logs/error.log" failed (2: No such file or directory) 2016/12/17 10:04:49 [emerg] 13615#0: open() ".//conf/nginx.conf" failed (2: No such file or directory)
Build way Install Nginx_agent:
i try to install nginx _agent using build instuction way,
I download your git-hub code and extract it,
Then make to install:
while make install throw below error:
my question is:
Why? This Error Occur and explain me Following questions: