Author

Topic: Crowdcoin masternode setup issue - SENTINEL test fails (Read 273 times)

brand new
Activity: 0
Merit: 0

no worry i got this  Grin





brand new
Activity: 0
Merit: 0
hi
have same problem
can you explain me how did you fix it
newbie
Activity: 8
Merit: 0
hey jki123, thanks a lot for taking time to help me out. i figure out the issue...
it was a port mismatch.. my rpc was defaulting to 11998 and sentinel was looking for it at 9998
i added the 'rpcport' parameter to crowdcoin.conf and volla!! sentinel tests passed !!

waiting on the wallet reindex and hopefully will get out of the watchdog_expired status finally!
newbie
Activity: 8
Merit: 0
yes. i do. the basic firewall..

i have the following ports allowed - 12875, 9998, 11998

Here's the ports listening -

xxxx:~/.crowdcoincore/sentinelLinux# lsof -i -P -n | grep LISTEN
sshd        810 root    3u  IPv4  17480      0t0  TCP *:22 (LISTEN)
sshd        810 root    4u  IPv6  17482      0t0  TCP *:22 (LISTEN)
crowdcoin 23416 root    9u  IPv6  50085      0t0  TCP [::1]:11998 (LISTEN)
crowdcoin 23416 root   10u  IPv4  50087      0t0  TCP 127.0.0.1:11998 (LISTEN)
crowdcoin 23416 root   12u  IPv6  50088      0t0  TCP *:12875 (LISTEN)
crowdcoin 23416 root   13u  IPv4  50089      0t0  TCP *:12875 (LISTEN)
newbie
Activity: 9
Merit: 0
that looks all good - But as far as I understand the error-message it means that the sentinel can not connect via rpc-call to your crowdcoin-daemon. Do you have a firewall on your server?
newbie
Activity: 8
Merit: 0
yes. I have the crowdcoin.conf updated with the parameters and sentinel.conf is pointing to the crowdcoin.conf.. 
when i tried to check the ports being used here's what i found..

.... :~/.crowdcoincore/sentinelLinux# lsof -i -P -n | grep LISTEN
sshd      1079 root    3u  IPv4  14355      0t0  TCP *:22 (LISTEN)
sshd      1079 root    4u  IPv6  14364      0t0  TCP *:22 (LISTEN)
crowdcoin 1599 root    9u  IPv6  16319      0t0  TCP *:11998 (LISTEN)
crowdcoin 1599 root   11u  IPv6  16322      0t0  TCP *:12875 (LISTEN)
crowdcoin 1599 root   12u  IPv4  16323      0t0  TCP *:12875 (LISTEN)

it seems like sentinel is trying to get the listener at 9998 but the server is listening at 11998. Not sure if my understanding is correct.. does that make sense ?
newbie
Activity: 9
Merit: 0
so your daemon is up and running...
have you checked your crowdcoin.conf file? Is there a line determining all rpc-parameters (port, username, password, allowed IP address)? And: is in your sentinel.conf file a line pointing to your crowdcoin.conf file?
newbie
Activity: 8
Merit: 0
Here's what i get from crowdcoin-cli getinfo

...# ./crowdcoin-cli getinfo
{
  "version": 120106,
  "protocolversion": 70206,
  "walletversion": 61000,
  "balance": 0.00000000,
  "privatesend_balance": 0.00000000,
  "blocks": 47837,
  "timeoffset": 0,
  "connections": 14,
  "proxy": "",
  "difficulty": 305.9925585467279,
  "testnet": false,
  "keypoololdest": 1517892591,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}

Thanks for looking into it.
newbie
Activity: 9
Merit: 0
Hi new2mn,
there is probably something wrong with your rpc-configuration - or your crowdcoin-daemon is not running. Do you get an output from
Code:
crowdcoin-cli getinfo
?
newbie
Activity: 8
Merit: 0
hi guys, i am new to the masternode setup. trying to setup a Crowdcoin masternode. Followed all install steps as per the guide.. all succeeded except the Sentinel Test at the end..
Not sure if this means the core server is not up or not able to communicate.. below is the error message when i run the Sentinel test -

Please help..

command executed from the Sentinel folder -
./venv/bin/py.test ./test


error message -

address = ('127.0.0.1', 9998), timeout = 30, source_address = None

    def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                          source_address=None):
        """Connect to *address* and return the socket object.

        Convenience function.  Connect to *address* (a 2-tuple ``(host,
        port)``) and return the socket object.  Passing the optional
        *timeout* parameter will set the timeout on the socket instance
        before attempting to connect.  If no *timeout* is supplied, the
        global default timeout setting returned by :func:`getdefaulttimeout`
        is used.  If *source_address* is set it must be a tuple of (host, port)
        for the socket to bind as a source address before making the connection.
        A host of '' or port 0 tells the OS to use the default.
        """

        host, port = address
        err = None
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
                sock.connect(sa)
                return sock

            except error as _:
                err = _
                if sock is not None:
                    sock.close()

        if err is not None:
>           raise err
E           error: [Errno 111] Connection refused

/usr/lib/python2.7/socket.py:575: error
================================= 1 failed, 22 passed in 0.78 seconds =================================
Jump to: