Pcar-local server is not starting

54 views
Skip to first unread message

Prasoon

unread,
May 26, 2011, 6:21:25 PM5/26/11
to pcapr...@googlegroups.com
pcapr server is not starting.


[root@localhost ~]# startpcapr
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:50: warning: parenthesize argument(s) for future version
Starting server at 192.168.8.254:8080
Log is at /root/pcapr.Local/log/server.log
Moving server process to the background. Run 'stoppcapr' to stop the server.


[root@localhost ~]# cat /root/pcapr.Local/log/server.log

I, [2011-05-26T10:12:05.203534 #6717]  INFO -- : Starting server at 192.168.8.254:8080
I, [2011-05-26T10:12:05.216020 #6721]  INFO -- : Shutting down.

Thanks,
Prasoon

nbaggott

unread,
May 26, 2011, 7:24:39 PM5/26/11
to pcapr-forum
Hi Prasoon,

Feels like there's an exception very early in startup that isn't being
logged. Could you try starting it in debug mode and posting the
output?
$ startpcapr -d


Thanks,
The Pcapr Team
http://www.pcapr.net
http://twitter.com/pcapr
http://labs.mudynamics.com



On May 26, 3:21 pm, Prasoon <prasoonpa...@gmail.com> wrote:
> pcapr server is not starting.
>
> [root@localhost ~]# startpcapr
> /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_respo nse.rb:50:

Prasoon

unread,
May 26, 2011, 8:04:21 PM5/26/11
to pcapr...@googlegroups.com
Hi,

Here is the output:

------------------------------------------------------------------------

[root@localhost ~]# sudo startpcapr -d
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:43: warning: parenthesize argument(s) for future version
I, [2011-05-27T05:02:33.463305 #7669]  INFO -- : Starting server at 192.168.8.254:8080

Starting server at 192.168.8.254:8080
Log is at /server.log
I, [2011-05-27T05:02:33.477594 #7669]  INFO -- : Shutting down.
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
    from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
    from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
    from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
    from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
    from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
    from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
    from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
    from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'
     ... 7 levels...
    from /usr/lib/ruby/gems/1.8/gems/pcapr-local-0.1.13/lib/pcapr_local.rb:98:in `start'
    from /usr/lib/ruby/gems/1.8/gems/pcapr-local-0.1.13/bin/startpcapr:39
    from /usr/bin/startpcapr:19:in `load'
    from /usr/bin/startpcapr:19

------------------------------------------------------------------------

Thanks,
Prasoon

--
To post to this group, send email to pcapr...@googlegroups.com
To unsubscribe from this group, send email to
pcapr-forum...@googlegroups.com

http://www.pcapr.net/

nbaggott

unread,
May 26, 2011, 8:34:43 PM5/26/11
to pcapr-forum
Hi Prasoon,

Looks like the couchdb server on your machine died at some point after
you installed pcapr.Local. You should double check that couchdb is
running with "/etc/init.d/couchdb status" and run /etc/init.d/couchdb
start" if it isn't.

Also what version of couchdb are you using? We recommend using the
latest version. If you're using a version before 1.0.0, I would
strongly recommend upgrading. You should be able to get the version by
running "couchdb -V".
On May 26, 5:04 pm, Prasoon <prasoonpa...@gmail.com> wrote:
> Hi,
>
> Here is the output:
>
> ------------------------------------------------------------------------
>
> [root@localhost ~]# sudo startpcapr -d
> /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_respo nse.rb:43:

Prasoon

unread,
May 26, 2011, 8:57:25 PM5/26/11
to pcapr...@googlegroups.com
Hi

you was right couchdb was stopped, I started but still for some reason pcapr is not working..  still I am getting the same error.

[root@localhost net]# /etc/init.d/couchdb status
couchdb (pid  7739) is running...

[root@localhost net]# startpcapr
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:43: warning: parenthesize argument(s) for future version

Starting server at 192.168.8.254:8080
Log is at /root/pcapr.Local/log/server.log
Moving server process to the background. Run 'stoppcapr' to stop the server.


[root@localhost net]# yum install couchdb
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package couchdb-0.11.2-2.fc13.x86_64 already installed and latest version
Nothing to do


Thanks,
Prasoon

nbaggott

unread,
May 27, 2011, 12:16:04 AM5/27/11
to pcapr-forum
Hi Prasoon,

I think it's likely that updating couchdb would resolve your problem.
Here's a link that might get you off to a good start
http://wiki.apache.org/couchdb/Installing_on_Fedora10. I've been using
couchdb (1.0.1/1.0.0) on ubuntu and never had the need to build it
from source. pcapr.Local can be configured with a remote couchdb
instance so if you happen to have access to a more current version of
couchdb on a different machine, you should be able to use it.
On May 26, 5:57 pm, Prasoon <prasoonpa...@gmail.com> wrote:
> Hi
>
> you was right couchdb was stopped, I started but still for some reason pcapr
> is not working..  still I am getting the same error.
>
> [root@localhost net]# /etc/init.d/couchdb status
> couchdb (pid  7739) is running...
>
> [root@localhost net]# startpcapr
> /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_respo nse.rb:43:
> warning: parenthesize argument(s) for future version

Prasoon

unread,
May 27, 2011, 1:47:16 PM5/27/11
to pcapr...@googlegroups.com
Hi,

The link you specified is for Fedora10, I am using Fc13 and this link is compiling couchdb 0.8.1 version while I am already having 0.11. I searched for latest version but couldn't able to find.

You stated that pcapr.local can also be configured with a remote couchdb instances, can you please provide the step or any link that can be useful to me?

Thanks,
Prasoon

nbaggott

unread,
May 27, 2011, 2:13:53 PM5/27/11
to pcapr-forum
To use a remote couchdb instance I would recommend running the
installation script with a clean slate:
1.) rm ~/.pcapr_local/config
2.) startpcapr
You'll be asked where your couchdb server is and you'll enter
something like
http://couchserver:5984

kowsik

unread,
May 27, 2011, 3:32:19 PM5/27/11
to pcapr...@googlegroups.com
If you are looking for a quick remote CouchDB, check out cloudant or
iriscouch, both have free plans for hosting your Couches up on the
cloud.

Prasoon

unread,
May 27, 2011, 11:33:11 PM5/27/11
to pcapr...@googlegroups.com
Thanks Guys.

kcul...@gmail.com

unread,
May 28, 2011, 10:44:30 PM5/28/11
to pcapr...@googlegroups.com


Sent from my Verizon Wireless 4GLTE smartphone
Reply all
Reply to author
Forward
0 new messages