Expand my Community achievements bar.

SOLVED

Attempt to serve directory in apache error.log

Avatar

Level 6

Hi,

 

I have setup dispatcher in my local system and when i started the apache 2.2 server and if i hit the localhost:8080

i  am getting error like  below in error.log 

[Wed May 19 16:30:12 2021] [notice] Child 6724: Acquired the start mutex.
[Wed May 19 16:30:12 2021] [notice] Child 6724: Starting 64 worker threads.
[Wed May 19 16:30:12 2021] [notice] Child 6724: Starting thread to listen on port 8080.
[Wed May 19 16:30:51 2021] [error] [client 127.0.0.1] Attempt to serve directory: C:/AEM 6.5/software/apache-2.2/htdocs/

 

can any one suggest what could be the root cause for this 

 

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

manikanthar1295_0-1621432097588.png

 

dispatcher.log is below

 

[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24l..."
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms

 

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @manikanthar1295 ,

 

I do not see any issue in the error logs, do you see any error in dispatcher logs.

Avatar

Level 6

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

manikanthar1295_0-1621431125615.png

 

Avatar

Correct answer by
Level 6

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

manikanthar1295_0-1621432097588.png

 

dispatcher.log is below

 

[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24l..."
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms

 

Avatar

Level 6

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

manikanthar1295_0-1621436290572.png

 

 

dispatcher.log is below

 

Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24l..."
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms