The only circumstances under which i can reproduce a *similar* failure
involve a linux client, specifically an Ubuntu 11.04 installation. In
more detail:

I have a neo4j shell server running remotely (on a windows machine,
fwiw). Then, from a recently unpacked installation of neo4j (1.4.1) i
run

bin/neo4j-shell -host 192.168.0.8

I manage to connect (meaning i get back a prompt) but for every
entered command i get (in this case for pwd)

neo4j-sh (0)$ pwd
Connection refused to host: 127.0.1.1; nested exception is:
        java.net.ConnectException: Connection refused: connect

This is tracked back to an entry in /etc/hosts file:

127.0.1.1       <my_host_name>

After removing that line everything works.

If after trying the above you still face problems, would you mind
sharing some more details about your setup?

- Client/server details (at least OS versions, , java -version), the
more the merrier.
- Network topology
- A sample console session with the error

thanks,
CG

On Fri, Aug 26, 2011 at 7:19 PM, Francesco Ruffino <[email protected]> wrote:
> Thank you Chris!
>
> I'm playing with the neo4j-shell.
> I'm using the one I have found in the tar.gz
>
> I have tried to run this command:
> [myclient]$ ./neo4j-community-1.4.1/bin/neo4j-shell -host myserver -port 1337
>
> but nothing happens: the shell remains hanging...
>
> I have checked on the server-side
> [myserver] netstat -an | grep 1337
>
> I can see the port in LISTEN and then in ESTABLISHED:
> tcp        0      0 :::1337                     :::*
>     LISTEN
> tcp        0      0 ::ffff:10.226.222.155:1337
> ::ffff:10.48.14.57:58329    ESTABLISHED
>  but nothing happens on the client side...
>
> If I use the neo4j-shell directly on the server it works perfectly.
>
> what is wrong?
>
> thank you,
> franz
>
>
>
>
> 2011/8/26 Chris Gioran <[email protected]>:
>> Hi,
>>
>> this is a known issue. Please follow the documentation and run from
>> the installation root (/home/ec2-user/neo4j-community-1.4.1/ in your
>> example) as
>>
>> bin/neo4j <command>
>>
>> cheers,
>> CG
>>
>> On Fri, Aug 26, 2011 at 1:41 PM, Francesco Ruffino <[email protected]> 
>> wrote:
>>> [ec2-user@xxx bin]$ pwd
>>> /home/ec2-user/neo4j-community-1.4.1/bin
>>>
>>> [ec2-user@xxxx bin]$ sudo ./neo4j start
>>> Starting Neo4j Server...Error: missing Neo4j Library, expected at
>>> /home/ec2-user/lib
>>>
>>>
>>> doesn't resolve correctly the "$NEO4J_HOME" variable
>>> _______________________________________________
>>> Neo4j mailing list
>>> [email protected]
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to