Reply to topic  [ 5 posts ] 
Error: Unable to start HTTP server. namecoin-core on Manjaro 
Author Message

Posts: 2
os: linux
Reply with quote
Post Error: Unable to start HTTP server. namecoin-core on Manjaro
Hello,

I am just trying to start with namecoin and I want to do mining, so I installed namecoin-core via the AUR (Arch Linux User Repository), I'm running Linux Manjaro.

I followed the start guide and created a namecoin.conf file. However, I can't start namecoind.

When I type:
namecoind -printtoconsole -dbcache=400
I get the following:
Quote:
2017-10-22 13:31:34 Namecoin version v0.13.0.0-g6e7eb2678
2017-10-22 13:31:34 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-10-22 13:31:34 Default data directory /home/.../.namecoin
2017-10-22 13:31:34 Using data directory /home/.../.namecoin
2017-10-22 13:31:34 Using config file /home/.../.namecoin/namecoin.conf
2017-10-22 13:31:34 Using at most 125 connections (1024 file descriptors available)
2017-10-22 13:31:34 Using 4 threads for script verification
2017-10-22 13:31:34 scheduler thread start
2017-10-22 13:31:34 libevent: getaddrinfo: address family for nodename not supported
2017-10-22 13:31:34 Binding RPC on address ::1 port 8336 failed.
2017-10-22 13:31:34 Binding RPC on address 127.0.0.1 port 8336 failed.
2017-10-22 13:31:34 Unable to bind any endpoint for RPC server
2017-10-22 13:31:34 Error: Unable to start HTTP server. See debug log for details.
Error: Unable to start HTTP server. See debug log for details.
2017-10-22 13:31:34 Shutdown: In progress...
2017-10-22 13:31:34 StopNode()
2017-10-22 13:31:34 scheduler thread interrupt
2017-10-22 13:31:34 Shutdown: done


I tried without the options -printtoconsole and -dbcache=400, getting the same error. There's no further information in the debug log file.

Thank you for your help!


Sun Oct 22, 2017 1:40 pm
Profile

Posts: 69
Location: Moscow, Russia
os: bsd
Reply with quote
Post Re: Error: Unable to start HTTP server. namecoin-core on Man
Hi.

First, check yours namecoin.conf. Example:
Code:
rpcuser=root
rpcpassword=myStrongStrongPassword
rpcport=8336
rpcbind=127.0.0.1
rpcallowip=127.0.0.1

daemon=1

Second, are you sure that port 8336 is not used in your system ? What netstat show ?
Third, you can try to get and bulid namecoin from source. See gihub.

_________________
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github


Mon Oct 23, 2017 5:17 am
Profile WWW

Posts: 1927
os: linux
Reply with quote
Post Re: Error: Unable to start HTTP server. namecoin-core on Man
I agree with virus_net that the issue is most likely that the RPC port is already in use. If you determine that whatever is using the port can't be disabled or moved to another port, you can edit namecoin.conf to change the namecoind RPC port, which should fix the issue. (This procedure is identical to changing the RPC port in bitcoin.conf for Bitcoin Core.)

As an aside though, unless you want to do something nonstandard, usually it's not necessary to create a namecoin.conf file. The RPC port is turned on by default when running namecoind, and cookie authentication is used by default (so unless you're using an RPC client that doesn't know how to do cookie authentication, there's no need to set a username/password).

Cheers!

EDIT: It should also be noted that we don't offer official support for whatever AUR is distributing, and I believe I've heard reports in the past that AUR makes weird customizations to Bitcoin software that make no sense. I'm happy to do what I can to help though.

_________________
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5


Tue Oct 24, 2017 6:32 am
Profile

Posts: 2
os: linux
Reply with quote
Post Re: Error: Unable to start HTTP server. namecoin-core on Man
Thank you for your replies, and sorry for not getting back to you earlier (had a very busy couple of weeks...).

Anyway, as you suspected, the port was already in use. For some reason namecoind was set to autostart with the computer, something I do not quite understand how it happened... Anyway, I feel a bit stupid now ;)


Sun Oct 29, 2017 10:23 pm
Profile

Posts: 1927
os: linux
Reply with quote
Post Re: Error: Unable to start HTTP server. namecoin-core on Man
bjornebarn wrote:
Thank you for your replies, and sorry for not getting back to you earlier (had a very busy couple of weeks...).

Anyway, as you suspected, the port was already in use. For some reason namecoind was set to autostart with the computer, something I do not quite understand how it happened... Anyway, I feel a bit stupid now ;)


No worries, glad you got it working. :)

_________________
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5


Mon Oct 30, 2017 12:56 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.