Hello,

it does not return the values, even when logged in as root:
curl -v http://localhost:5984/test/

* About to connect() to localhost port 5984 (#0)
*   Trying ::1... Verbindungsaufbau abgelehnt
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 5984 (#0)
> GET /test/ HTTP/1.1
> User-Agent: curl/7.21.7 (i486-pc-linux-gnu) libcurl/7.21.7 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 libssh2/1.2.8 librtmp/2.3
> Host: localhost:5984
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: CouchDB/1.1.0 (Erlang OTP/R14B03)
< Date: Thu, 06 Oct 2011 23:04:26 GMT
< Content-Type: text/plain;charset=utf-8
< Content-Length: 211
< Cache-Control: must-revalidate
<
{"db_name":"test","doc_count":1,"doc_del_count":0,"update_seq":1,"purge_seq":0,"compact_running":false,"disk_size":4179,"instance_start_time":"1317940733095606","disk_format_version":5,"committed_update_seq":1}
* Connection #0 to host localhost left intact
* Closing connection #0

curl -v -k -H "Content-Type: application/json" -X POST -d \{\"map\":\"function\(doc\)\{emit\(doc._id\,doc\)\;\}\"\} http://localhost:5984/test/_temp_view

* About to connect() to localhost port 5984 (#0)
*   Trying ::1... Verbindungsaufbau abgelehnt
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 5984 (#0)
> POST /test/_temp_view HTTP/1.1
> User-Agent: curl/7.21.7 (i486-pc-linux-gnu) libcurl/7.21.7 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 libssh2/1.2.8 librtmp/2.3
> Host: localhost:5984
> Accept: */*
> Content-Type: application/json
> Content-Length: 43
>
< HTTP/1.1 200 OK
< Server: CouchDB/1.1.0 (Erlang OTP/R14B03)
< Date: Thu, 06 Oct 2011 23:06:26 GMT
< Content-Type: text/plain;charset=utf-8
< Content-Length: 38
< Cache-Control: must-revalidate
<
{"total_rows":0,"offset":0,"rows":[]}
* Connection #0 to host localhost left intact
* Closing connection #0

Best regards,
Thomas
--
"We left all that stuff out. If there's an error, we have this
routine called panic, and when it is called, the machine crashes,
and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
http://www.residuum.org/



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to