Open jdamhost opened 6 years ago
which port you configured it?
hi thank you for commenting it is appreciated . it is configured for port 80 , stratum 3333 and http 9332, I also unable to connect with minerd via either of the ports
try sudo service httpd stop. and restart CoiniumServ
Hi thank you for you response, I have tried as requested now it does not load the website at all I restarted httpd and still will not load to the frontend
pls show log
where would I find the log?
/home/user/CoiniumServ/build/bin/Release/logs/server.log
there is no logs folder?
show console after start CoiniumServ
no it doesn't show any console, I use mono-service CoiniumServ.exe then I just loads another command line
i am use mono 2
I ran mono --version and got : Mono JIT compiler version 5.10.0.160, is there a way to downgrade?
I am just installing wine now to see if it will let me run the exe via GUI
I have now tried with wine but still having no luck in getting it to show the server
i dont use wine. i am use Ubuntu. U stoped httpd? httpd must be stopped
Yes I have read Ubuntu is easier, I have tried with httpd stop and started with no luck .. this is for a client of mine so I cant keep httpd stopped as I have other sites hosted on the server with other clients and with httpd stopped I am unable to access any of the sites hosted
i think problem is a httpd. becouse if i start CoiniumServ and httpd start. i have error to!
yes but it makes no difference with httpd started or stopped? whenever I try to start Coinium I just get a new command line
if I try to ./CoiniumServ.exe I get permission denied
httpd use port 80. after u started CoiniumServ him try use 80 to. at console atm i see error about port is used and CoiniumServ not cant get him
try sudo mono ./CoiniumServ.exe
:) that got the server started but with some errors:
Information] [PlatformManager] [global] Running over Mono 5.10.0.160 (tarball Wed Mar 7 09:17:50 UTC 2018), framework: 4.5 (v4.0.30319.42000). 14:37:05 [Error] [n/a] [global] Json validation failed for: config/pools/default.json - After parsing a value an unexpected character was encountered: ". Path 'stratum.vardiff.enabled', line 47, position 12. 14:37:05 [Error] [n/a] [global] Json validation failed for: config/pools/default-example.json - After parsing a value an unexpected character was encountered: ". Path 'stratum.vardiff.enabled', line 47, position 12. 14:37:05 [Error] [n/a] [global] Json validation failed for: config/pools/litecoin.json - After parsing a value an unexpected character was encountered: ". Path 'stratum.vardiff.enabled', line 47, position 12. 14:37:06 [Information] [MySqlProvider] [Litecoin] Mysql storage initialized: 127.0.0.1:3306, database: litecoin1. 14:37:11 [Error] [RedisProvider] [Litecoin] Redis storage initialization failed: 127.0.0.1:6379 StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl (System.Func`1[TResult] multiplexerFactory, System.IO.TextWriter log) [0x0008f] in <3c6615c26745427097f34fa88a9ec796>:0 at StackExchange.Redis.ConnectionMultiplexer.Connect (System.String configuration, System.IO.TextWriter log) [0x0000d] in <3c6615c26745427097f34fa88a9ec796>:0 at CoiniumServ.Persistance.Providers.Redis.RedisClient..ctor (System.String host, System.Int32 port, System.String password, System.String extraOptions) [0x0007a] in <750972795ca34711ba6e04fcbde66a50>:0 at CoiniumServ.Persistance.Providers.Redis.RedisProvider.Initialize () [0x00022] in <750972795ca34711ba6e04fcbde66a50>:0 14:37:13 [Information] [BanManager] [Litecoin] No expired bans found to be cleared [remaining bans: 0]. 14:37:14 [Information] [JobManager] [Litecoin] Broadcasted new job 0x1 to 0 subscribers as no new blocks found for last 180 seconds 14:37:14 [Information] [NetworkInfo] [Litecoin] symbol: LTC algorithm: scrypt version: 150100 protocol: 70015 wallet: 139900 network difficulty: 5721231.62151755 block difficulty: 374946635547.77 network hashrate: 135.48 TH/s network: mainnet peers: 5 blocks: 1389138 errors: none 14:37:14 [Information] [StratumServer] [Litecoin] Stratum server listening on 127.0.0.1:3333 14:37:14 [Error] [HybridStorage] [Litecoin] An exception occured while deleting expired hashrate data: Object reference not set to an instance of an object 14:37:14 [Error] [HybridStorage] [Litecoin] An exception occured while getting hashrate data: Object reference not set to an instance of an object 14:37:14 [Error] [HybridStorage] [Litecoin] An exception occurred while getting shares for current round: Object reference not set to an instance of an object 14:37:15 [Information] [WebServer] [global] Web-server listening on: http://127.0.0.1/
config/pools/default.json - After parsing a value an unexpected character was encountered: ". Path 'stratum.vardiff.enabled', line 47, position 12. problem and etc in config files
is there a way I can have the server running and my other clients sites still online?
vmware?
I think so yes
line 47 is "validateUsername": true,
14:37:05 [Error] [n/a] [global] Json validation failed for: config/pools/default.json - After parsing a value an unexpected character was encountered: ". Path 'stratum.vardiff.enabled', line 47, position 12.
i think u need configure config files. u have more errors after start
I created a litecoin.json in the same directory
line 47 is "minDiff": 8,
set up like this :
"stratum": { "enabled": true, "bind": "127.0.0.1", "port": 3333, "diff": 16, "vardiff": { "enabled": true, "minDiff": 8, "maxDiff": 512, "targetTime": 15, "retargetTime": 90, "variancePercent": 30
would it be config in the root directory or build/bin/Release/Config?
~/CoiniumServ/build/bin/Release/config/pools user dir
heres my default.json
{
# if a per-pool config file doesn't override a setting, default value from this file will be applied
# -------------------------------
# Coin Daemon RPC Connection
# -------------------------------
# host: ip/hostname of coin-daemon.
"daemon": {
"host": "127.0.0.1"
},
# -------------------------------
# Meta Configuration
# -------------------------------
# motd: message of the day.
# txMessage: message to be included used within generation transactions.
"meta": {
"motd": "Welcome to Mining pools, enjoy your stay! - http://www.site.co.uk",
"txMessage": "http://www.site.co.uk/"
},
# -------------------------------
# Payment Processing Configuration
# -------------------------------
# interval: interval in seconds that payment-processor will be running.
# minimum: minimum amount of coins before a miner is eligable for getting a payment.
"payments": {
"interval": 60,
"minimum": 0.01
},
# -------------------------------
# Miner Configuration
# -------------------------------
# validateUsername: set true to validate miner usernames as an addresses against the coin daemon.
# timeout: timeout in seconds to disconnect miners that did not submit any shares for the period.
"miner": {
"validateUsername": true,
"timeout": 300
},
# -------------------------------
# Job Manager Configuration
# -------------------------------
# blockRefresh: timeout in miliseconds to poll coin daemon for a new block.
# rebroadcast: if now new blocks are found in this many seconds, a new job will be created and broadcasted.
"job": {
"blockRefreshInterval": 1000,
"rebroadcastTimeout": 55
},
# -------------------------------
# Stratum Server Configuration
# -------------------------------
# stratum:
# bind: interface to bind stratum server.
# diff: default difficulty assigned to newly connected miners.
# vardiff:
# minDiff: minimum difficulty that can be assigned to miners.
# maxDiff: maximum difficulty that can be assigned to miners.
# targetTime: try to get a single share per this many seconds from miner.
# retargetTime: retarget a miners difficulty ever this many seconds.
# variancePercent: allow difficulty for a miner to vary this percent without retargeting.
"stratum": {
"enabled": true,
"port": 3333,
"bind": "127.0.0.1",
"diff": 16,
"vardiff": {
"enabled": true
"minDiff": 8,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
},
# -------------------------------
# Ban Configuration
# -------------------------------
# you can ban miners which submits invalid work / data to reduce system/network load.
# duration: duration of ban when a miner gets flagged for so.
# invalidPercent: percentage of invalid shares to trigger a ban.
# checkThreshold: number of shares required before a miner's shares are considered for a ban.
# purgeInterval: purge interval in seconds that bans are checked to see if they are expired.
"banning": {
"duration": 600,
"invalidPercent": 50,
"checkThreshold": 100,
"purgeInterval": 300
},
# -------------------------------
# Per-pool Storage Configuration
# -------------------------------
# hybrid storage layer
# enabled: set this true to enable hybrid storage mode where redis and mysql is used together.
# mpos layer
# enabled: set this true to enable mpos compatibility mode - make sure to internal disable payment-processor!
# redis
# host: redis host.
# port: redis port.
# password: set the password if your redis installation requires one.
# databaseId: redis database instance id (optional)
# mysql
# host: database host.
# port: database port.
# username: username for connecting the database.
# password: password for connecting the database.
"storage": {
"hybrid": {
"redis": {
"host": "127.0.0.1",
"port": 6379,
"password": "",
"databaseId": 0
},
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "user",
"password": "userpass"
}
},
"mpos": {
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "username",
"password": "password"
}
}
},
# -------------------------------
# Getwork Server Configuration
# -------------------------------
# EXPERIMENTAL!; This feature is still in development and not complete yet.
# bind: interface to bind getwork server.
"vanilla": {
"bind": "localhost"
}
}
line 47 falls under "miner": , stratum starts on 78 :/
"stratum": { "enabled": true, "port": 3333, "bind": "127.0.0.1", "diff": 16, "vardiff": { "enabled": true, "minDiff": 8, "maxDiff": 512, "targetTime": 15, "retargetTime": 90, "variancePercent": 30
Path 'stratum.vardiff.enabled', line 47, position 12.
I have overwritten what was inputted with how you have written it but still no luck
At you and without this error at start a heap of errors, even one of important at you is not installed or not accessible redis-server
I have StackExhange.Redis is that not the same?
StackExhange.Redis is a client
no problem so what should I search for to install redis server?
the litecoind is working and updated as should be output is :
"version": 150100, "protocolversion": 70015, "walletversion": 139900, "balance": 0.00000000, "blocks": 1389152, "timeoffset": 0, "connections": 5, "proxy": "", "difficulty": 5721231.621517551, "testnet": false, "keypoololdest": 1521472817, "keypoolsize": 2000, "paytxfee": 0.01000000, "relayfee": 0.00001000, "errors": ""
sudo yum install redis-server)))
I get no package redis-server available
Package redis-3.2.10-2.el7.x86_64 already installed and latest version
sudo service redis-server status?
Unit redis-server.service could not be found
sudo systemctl status redis sudo systemctl start redis
tried as root and its now running : redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: active (running) since Wed 2018-03-21 15:11:14 GMT; 3min 26s ago Main PID: 11937 (redis-server) CGroup: /system.slice/redis.service └─11937 /usr/bin/redis-server 127.0.0.1:6379
getting somewhere :) now it shows errors on the default-examples
Hi all after much time setting CoiniumServ up on Centos7 I managed to install with succeeded message, however when trying to access the front end it is not loading onto the the website, by any chance would anyone know the reason for this?