unable to access webadmin

2,074 views
Skip to first unread message

Abdul Azeez Shaik

unread,
May 17, 2012, 5:04:08 AM5/17/12
to ne...@googlegroups.com
Hi, 

Am unable to access Neo4j webadmin at following link, http://localhost:7474/webadmin/
I am using mac OS X and got the latest 1.8M02 release.

I did 'neo4j status", it returns Neo4j Server is running at pid 2921
but i dont see any output for following command, launchctl list | grep neo.

I started it using 'neo4j start' command in my terminal. Here, is the output for the same,
Starting Neo4j Server...14:22:00.061 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /Azeez/Softwares/neo4j-community-1.8.M02/conf, name is neo4j-server.properties
14:22:00.076 [main] DEBUG o.a.c.c.ConfigurationUtils - Loading configuration from the path /Azeez/Softwares/neo4j-community-1.8.M02/conf/neo4j-server.properties
WARNING: not changing user
process [2921]... waiting for server to be ready........ OK.

Am i missing something here?
Everything looks fine and am unable to access the webadmin.

Thanks,
 Abdul

Michael Hunger

unread,
May 17, 2012, 5:10:10 AM5/17/12
to ne...@googlegroups.com
What is the http response?

Sent from mobile device

Abdul Azeez Shaik

unread,
May 17, 2012, 5:13:07 AM5/17/12
to ne...@googlegroups.com
It just gives following error,

Oops! Google Chrome could not connect to localhost:7474

Suggestions:

Abdul Azeez Shaik

unread,
May 17, 2012, 5:13:59 AM5/17/12
to ne...@googlegroups.com
And Safari gave me following error,

Safari can’t connect to the server.

Safari can’t open the page “http://localhost:7474/webadmin/” because Safari can’t connect to the server “localhost”.

Abdul Azeez Shaik

unread,
May 17, 2012, 5:48:10 AM5/17/12
to ne...@googlegroups.com
Even the curl command gave following error,

curl -H Accept:application/json http://localhost:7474/db/data/
curl: (7) couldn't connect to host

Any guess where did i go wrong? Struggling with this since last 2hours.

Thanks,
Abdul

Andrey Cherkashin

unread,
May 17, 2012, 5:50:22 AM5/17/12
to ne...@googlegroups.com
did you tried to user netstat to see that neo4j actually listens in that port? AFAIK this error means that server isn't responding at all.

Michael Hunger

unread,
May 17, 2012, 5:53:53 AM5/17/12
to ne...@googlegroups.com
Did you try to restart the server?

And bin/neo4 console 

to see the live output?

netstat -P -i -n | grep LISTEN

should show you the actively listening services.

did you install it as a service or just start it directly?

Michael

Abdul Azeez Shaik

unread,
May 17, 2012, 6:20:19 AM5/17/12
to ne...@googlegroups.com
I installed it directly using neo4j start command.
This time i used 'neo4j console' command and got the following logs. I still couldn't access the webadmin.

WARNING: Detected a limit of 256 for maximum open files, while a minimum value of 40000 is recommended.
WARNING: Problems with the operation of the server may occur. Please refer to the Neo4j manual regarding lifting this limitation.
Starting Neo4j Server console-mode...
15:43:52.102 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /Azeez/Softwares/neo4j-community-1.8.M02/conf, name is neo4j-server.properties
15:43:52.109 [main] DEBUG o.a.c.c.ConfigurationUtils - Loading configuration from the path /Azeez/Softwares/neo4j-community-1.8.M02/conf/neo4j-server.properties
5/17/12 3:43:52 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: Starting Neo Server on port [7474] with [20] threads available
5/17/12 3:43:52 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: Enabling HTTPS on port [7473]
15:43:52.499 [main] INFO  org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
15:43:52.500 [main] DEBUG org.mortbay.log - Container Server@811978b + SelectChannelConnector@localhost:7474 as connector
15:43:52.509 [main] DEBUG org.mortbay.log - Container Server@811978b + SslSocketConnector@localhost:7473 as connector
15:43:52.512 [main] DEBUG org.mortbay.log - Container Server@811978b + org.mortbay.thread.QueuedThreadPool@11a06e38 as threadpool
5/17/12 3:43:52 PM org.neo4j.server.database.Database INFO: Using database at /Azeez/Softwares/neo4j-community-1.8.M02/data/graph.db
15:43:52.788 [main] DEBUG neo4j.xafactory - Opened [/Azeez/Softwares/neo4j-community-1.8.M02/data/graph.db/nioneo_logical.log.1] clean empty log, version=2, lastTxId=1
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.rest.discovery] at [/]
5/17/12 3:43:53 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted discovery module at [/]
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.rest.web] at [/db/data]
5/17/12 3:43:53 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server plugin "CypherPlugin"
5/17/12 3:43:53 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server plugin "GremlinPlugin"
5/17/12 3:43:53 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST API at [/db/data/]
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.webadmin.rest] at [/db/manage]
5/17/12 3:43:53 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted management API at [/db/manage/]
5/17/12 3:43:53 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted webadmin at [/webadmin]
5/17/12 3:43:53 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static content at [/webadmin] from [webadmin-html]
Logger not configured, logging to std out instead: [FINE] Found [jar:file:/Azeez/Softwares/neo4j-community-1.8.M02/system/lib/neo4j-server-1.8.M02-static-web.jar!/webadmin-html]
Logger not configured, logging to std out instead: [FINE] Mounting static content from [jar:file:/Azeez/Softwares/neo4j-community-1.8.M02/system/lib/neo4j-server-1.8.M02-static-web.jar!/webadmin-html] at [/webadmin]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/db/manage]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/db/data]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/]
15:43:53.907 [main] INFO  org.mortbay.log - jetty-6.1.25
15:43:54.010 [main] INFO  org.mortbay.log - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
15:43:56.003 [main] INFO  org.mortbay.log - Started SelectChannelConnector@localhost:7474
15:43:56.227 [main] INFO  org.mortbay.log - Started SslSocketConnector@localhost:7473
5/17/12 3:43:56 PM org.neo4j.server.statistic.StatisticStartupListener INFO: adding statistic-filter to /webadmin
5/17/12 3:43:56 PM org.neo4j.server.statistic.StatisticStartupListener INFO: adding statistic-filter to /db/manage
5/17/12 3:43:56 PM org.neo4j.server.statistic.StatisticStartupListener INFO: adding statistic-filter to /db/data
5/17/12 3:43:56 PM org.neo4j.server.statistic.StatisticStartupListener INFO: adding statistic-filter to /
5/17/12 3:43:56 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: Server started on [http://localhost:7474/]

Abdul Azeez Shaik

unread,
May 17, 2012, 6:21:32 AM5/17/12
to ne...@googlegroups.com
Could this one be the reason,

15:43:53.907 [main] INFO  org.mortbay.log - jetty-6.1.25
15:43:54.010 [main] INFO  org.mortbay.log - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet


Axel Morgner

unread,
May 17, 2012, 6:22:29 AM5/17/12
to ne...@googlegroups.com

> Could this one be the reason,
>
> 15:43:53.907 [main] INFO org.mortbay.log - jetty-6.1.25
> 15:43:54.010 [main] INFO org.mortbay.log - NO JSP Support for
> /webadmin, did not find org.apache.jasper.servlet.JspServlet
>
>
No, that's a standard message of the JEE container.

Perhaps a local firewall or anti-virus tool which is blocking the port?

Abdul Azeez Shaik

unread,
May 17, 2012, 6:26:39 AM5/17/12
to ne...@googlegroups.com
output of 'lsof -i | grep LISTEN' command. It shows that Neo4j is running at port 7474

Dropbox   107 ankesh   15u  IPv4 0x4c4366c      0t0  TCP *:17500 (LISTEN)
Dropbox   107 ankesh   21u  IPv4 0x4c43270      0t0  TCP localhost:26165 (LISTEN)
GoogleTal 641 ankesh   21u  IPv4 0x68d8a68      0t0  TCP localhost:49237 (LISTEN)
java      794 ankesh  116u  IPv6 0x4934ff4      0t0  TCP *:49318 (LISTEN)
java      794 ankesh  118u  IPv6 0x4934b2c      0t0  TCP *:menandmice-dns (LISTEN)
java      794 ankesh  127u  IPv6 0x4935258      0t0  TCP [::192.168.0.104]:7474 (LISTEN)
java      794 ankesh  130u  IPv6 0x4934664      0t0  TCP [::192.168.0.104]:7473 (LISTEN)

Julian Simpson

unread,
May 17, 2012, 6:28:13 AM5/17/12
to ne...@googlegroups.com
On Thu, May 17, 2012 at 10:26 AM, Abdul Azeez Shaik <azeezte...@gmail.com> wrote:
output of 'lsof -i | grep LISTEN' command. It shows that Neo4j is running at port 7474

Dropbox   107 ankesh   15u  IPv4 0x4c4366c      0t0  TCP *:17500 (LISTEN)
Dropbox   107 ankesh   21u  IPv4 0x4c43270      0t0  TCP localhost:26165 (LISTEN)
GoogleTal 641 ankesh   21u  IPv4 0x68d8a68      0t0  TCP localhost:49237 (LISTEN)
java      794 ankesh  116u  IPv6 0x4934ff4      0t0  TCP *:49318 (LISTEN)
java      794 ankesh  118u  IPv6 0x4934b2c      0t0  TCP *:menandmice-dns (LISTEN)
java      794 ankesh  127u  IPv6 0x4935258      0t0  TCP [::192.168.0.104]:7474 (LISTEN)
java      794 ankesh  130u  IPv6 0x4934664      0t0  TCP [::192.168.0.104]:7473 (LISTEN)


What happens when you connect to http://192.168.0.104:7474/webadmin ?

J.

Abdul Azeez Shaik

unread,
May 17, 2012, 6:31:10 AM5/17/12
to ne...@googlegroups.com
I tried and I could connect to webadmin successfully. Thanks a lot Julian for pointing out.

What could be the reason for not able to connect through 'localhost'

Julian Simpson

unread,
May 17, 2012, 6:44:14 AM5/17/12
to ne...@googlegroups.com
On Thu, May 17, 2012 at 10:31 AM, Abdul Azeez Shaik <azeezte...@gmail.com> wrote:
I tried and I could connect to webadmin successfully. Thanks a lot Julian for pointing out.

What could be the reason for not able to connect through 'localhost'

NP.  There's a configuration entry called 'org.neo4j.server.webserver.address' that controls what network interfaces Neo4j will listen on.  IIRC it is commented out by default.  This means that neo4j then listens on only on localhost.
Reply all
Reply to author
Forward
0 new messages