Pages:
Author

Topic: CoiniumServ - open source & high performance pooled mining server software - page 15. (Read 105776 times)

full member
Activity: 158
Merit: 100
Quote
"website": {
                "enabled": true,
                "bind": "",
                "port": 80,
        "backend" : {
            "metrics": {
                "enabled": false
            }
        }
        },

I think you need to put the ip there after "bind".

In the develop version you can leave it blank, but I am not sure about the release version.

Try "bind":127.0.0.1, you should then be able to load from the local browser at 127.0.0.1

Art
hero member
Activity: 644
Merit: 500
it was working yesterday.but i could get other config working so i reinstalled everything now all stuff that wasnt working is and all the stuff that was working aint.
full member
Activity: 158
Merit: 100
Quote

02:15:06 [Debug] [Pool] [Xtracoin] Generated cryptographically random instance Id: 3007228616


I noticed you are running xtracoin. Isn't that a POS/POW hybrid coin?

Anyway, coinium does not work with POS coins yet. It looks like it does, but blocks never get submitted because the daemon  rejects them.

Art
hero member
Activity: 644
Merit: 500
    # -------------------------------
    # Stack Configuration
    # -------------------------------

    # name:  name of the pool stack.

    "stack": {
        "name": "CoiniumServ.com"
    },

    # -------------------------------
    # Statistics Configuration
    # -------------------------------

    # updateInterval: interval for recaching statistics.
    # hashrateWindow: how many seconds worth of shares should be gathered to generate hashrate.

    "statistics": {
        "updateInterval": 60,
        "hashrateWindow": 300
    },

    # -------------------------------
    # Website Configuration
    # -------------------------------

    # enabled: set this true to enable frontend.
    # bind: interface to bind webserver, leave empty to listen on all available interfaces.
    # port: port to listen for http connections.
    # backend:
    # enabled: set this true to enable admin backend.
    # password: password for enabling administrator

        "website": {
                "enabled": true,
                "bind": "",
                "port": 80,
        "backend" : {
            "metrics": {
                "enabled": false
            }
        }
        },

    # -------------------------------
    # Logging Configuration
    # -------------------------------

    # root: relative path of logs.
    # targets: log targets.

    # target:
    # enabled: is the log target enabled?
    # type: console, file or packet.
    # filename: filename of the log file.
    # rolling: set this true to get a seperate log file for every day.
    # level: minimum log level.

    # logging configuration
        "logging": {
                "root": "logs",
                "targets": [
                        {
                                "enabled": true,
                                "type": "console",
                                "level": "debug"
                        },
                        {
                                "enabled": true,
                                "type": "file",
                                "filename": "server.log",
                                "rolling": false,
                                "level": "information"
                        },
                        {
                                "enabled": true,
                                "type": "file",
                                "filename": "debug.log",
                                "rolling": false,
                                "level": "verbose"
                        },
                        {
                                "enabled": true,
                                "type": "packet",
                                "filename": "packet.log",
                                "rolling": false,
                                "level": "verbose"
                        }
        ]
        }
}

full member
Activity: 158
Merit: 100
Everything looks good.But cant open web page for pool
 
            .__       .__
  ____  ____ |__| ____ |__|__ __  _____   ______ ______________  __
_/ ___\/  _ \|  |/    \|  |  |  \/     \ /  ___// __ \_  __ \  \/ /
\  \__(  <_> )  |   |  \  |  |  /  Y Y  \\___ \\  ___/|  | \/\   /
 \___  >____/|__|___|  /__|____/|__|_|  /____  >\___  >__|    \_/
     \/              \/               \/     \/     \/

Copyright (C) 2013 - 2014, Coinium project - http://www.coinium.org

CoiniumServ comes with ABSOLUTELY NO WARRANTY.

You can contribute the development of the project by donating;
 BTC : 18qqrtR4xHujLKf9oqiCsjmwmH5vGpch4D
 LTC : LMXfRb3w8cMUBfqZb6RUkFTPaT6vbRozPa
 DOGE: DM8FW8REMHj3P4xtcMWDn33ccjikCWJnQr
 RDD : Rb9kcLs96VDHTmiXVjcWC2RBsfCJ73UQyr

02:15:06 [Information] [Program] [global] CoiniumServ Piri Reis 0.1.5.1767 warming-up..
02:15:06 [Information] [PlatformManager] [global] Running over Mono 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1), framework: 4.5 (v4.0.30319.17020).
02:15:06 [Debug] [ConfigManager] [global] Discovering enabled pool configs..
02:15:06 [Information] [PoolConfig] [Xtracoin] Disabled payments processor as it can not be enabled when MPOS mode is on
02:15:06 [Information] [ConfigManager] [global] Discovered a total of 1 enabled pool configurations: [Xtracoin]
02:15:06 [Debug] [Pool] [Xtracoin] Generated cryptographically random instance Id: 3007228616
02:15:07 [Information] [NetworkInfo] [Xtracoin] symbol: CX algorithm: sha256 version: v1.0.0.1-xtra protocol: 60006 wallet: 60000 network difficulty: 44868.96041621 block difficulty: 44868.96 network hashrate: 1.78 TH/s network: mainnet peers: 14 blocks: 100891 errors: none
02:15:07 [Information] [MySqlProvider] [Xtracoin] Mysql storage initialized: 127.0.0.1:3306, database: xtracoin.
02:15:07 [Information] [BanManager] [Xtracoin] No expired bans found to be cleared [remaining bans: 0].
02:15:07 [Information] [JobManager] [Xtracoin] Broadcasted new job 0x1 to 0 subscribers as no new blocks found for last 55 seconds
02:15:07 [Information] [StratumServer] [Xtracoin] Stratum server listening on 178.62.138.128:3333
02:15:07 [Debug] [StatisticsManager] [global] Recached statistics - took 0.236 seconds
02:15:08 [Information] [HttpServer] [global] Web-server listening on: http://178.62.138.128/
02:16:02 [Information] [JobManager] [Xtracoin] Broadcasted new job 0x2 to 0 subscribers as no new blocks found for last 55 seconds
02:16:07 [Debug] [StatisticsManager] [global] Recached statistics - took 0.011 seconds


If you are running the Alpha5, it's very picky about what interface it binds to. Try 127.0.0.1 and localhost.

The develop branch fixes that.

If it still does not work paste the config.json here.

Exactly what error do you get on the browser when you try to load up the page?

Art
hero member
Activity: 644
Merit: 500
Everything looks good.But cant open web page for pool
 
            .__       .__
  ____  ____ |__| ____ |__|__ __  _____   ______ ______________  __
_/ ___\/  _ \|  |/    \|  |  |  \/     \ /  ___// __ \_  __ \  \/ /
\  \__(  <_> )  |   |  \  |  |  /  Y Y  \\___ \\  ___/|  | \/\   /
 \___  >____/|__|___|  /__|____/|__|_|  /____  >\___  >__|    \_/
     \/              \/               \/     \/     \/

Copyright (C) 2013 - 2014, Coinium project - http://www.coinium.org

CoiniumServ comes with ABSOLUTELY NO WARRANTY.

You can contribute the development of the project by donating;
 BTC : 18qqrtR4xHujLKf9oqiCsjmwmH5vGpch4D
 LTC : LMXfRb3w8cMUBfqZb6RUkFTPaT6vbRozPa
 DOGE: DM8FW8REMHj3P4xtcMWDn33ccjikCWJnQr
 RDD : Rb9kcLs96VDHTmiXVjcWC2RBsfCJ73UQyr

02:15:06 [Information] [Program] [global] CoiniumServ Piri Reis 0.1.5.1767 warming-up..
02:15:06 [Information] [PlatformManager] [global] Running over Mono 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1), framework: 4.5 (v4.0.30319.17020).
02:15:06 [Debug] [ConfigManager] [global] Discovering enabled pool configs..
02:15:06 [Information] [PoolConfig] [Xtracoin] Disabled payments processor as it can not be enabled when MPOS mode is on
02:15:06 [Information] [ConfigManager] [global] Discovered a total of 1 enabled pool configurations: [Xtracoin]
02:15:06 [Debug] [Pool] [Xtracoin] Generated cryptographically random instance Id: 3007228616
02:15:07 [Information] [NetworkInfo] [Xtracoin] symbol: CX algorithm: sha256 version: v1.0.0.1-xtra protocol: 60006 wallet: 60000 network difficulty: 44868.96041621 block difficulty: 44868.96 network hashrate: 1.78 TH/s network: mainnet peers: 14 blocks: 100891 errors: none
02:15:07 [Information] [MySqlProvider] [Xtracoin] Mysql storage initialized: 127.0.0.1:3306, database: xtracoin.
02:15:07 [Information] [BanManager] [Xtracoin] No expired bans found to be cleared [remaining bans: 0].
02:15:07 [Information] [JobManager] [Xtracoin] Broadcasted new job 0x1 to 0 subscribers as no new blocks found for last 55 seconds
02:15:07 [Information] [StratumServer] [Xtracoin] Stratum server listening on 178.62.138.128:3333
02:15:07 [Debug] [StatisticsManager] [global] Recached statistics - took 0.236 seconds
02:15:08 [Information] [HttpServer] [global] Web-server listening on: http://178.62.138.128/
02:16:02 [Information] [JobManager] [Xtracoin] Broadcasted new job 0x2 to 0 subscribers as no new blocks found for last 55 seconds
02:16:07 [Debug] [StatisticsManager] [global] Recached statistics - took 0.011 seconds
hero member
Activity: 644
Merit: 500
ok i got it run in terminal window.everything looks good but i cant open web page
full member
Activity: 158
Merit: 100
checking now.also when it says "cp advanced-example.json your-pool.json" do you replace "your-pool" with your coin name or leave as is
yes, for each pool , you create a copy naming it, i.e. For bitcoin:

bitcoin.json

Then edit the file. It's very well commented.

Art


hero member
Activity: 644
Merit: 500
checking now.also when it says "cp advanced-example.json your-pool.json" do you replace "your-pool" with your coin name or leave as is
full member
Activity: 158
Merit: 100
i get this error when server starts-[Error] [HttpServer] [global] Need elevated privileges to listen on port 80, try running as root - Address already in use


If you already have a web server running, you either need to disable the server, or disable the coinium built in web server or change coinium port so they won't clash.

Art
yep it was apache i fixed that.i get web front up now but my pools arent showing up say i have zero configuted but i done all the cofig right i thought

Did the change the "enabled" line from "false" to "true" at the very top of the "coinname.json" file in the pools sub directory?


Code:
{
    # detailed sample config file for pool which explicility sets all settings.

    "enabled": true,    

    # -------------------------------
    # Coin configuration
    # -------------------------------
hero member
Activity: 644
Merit: 500
i get this error when server starts-[Error] [HttpServer] [global] Need elevated privileges to listen on port 80, try running as root - Address already in use


If you already have a web server running, you either need to disable the server, or disable the coinium built in web server or change coinium port so they won't clash.

Art
yep it was apache i fixed that.i get web front up now but my pools arent showing up say i have zero configuted but i done all the cofig right i thought
full member
Activity: 158
Merit: 100
i get this error when server starts-[Error] [HttpServer] [global] Need elevated privileges to listen on port 80, try running as root - Address already in use


If you already have a web server running, you either need to disable the server, or disable the coinium built in web server or change coinium port so they won't clash.

Art
hero member
Activity: 644
Merit: 500
i get this error when server starts-[Error] [HttpServer] [global] Need elevated privileges to listen on port 80, try running as root - Address already in use
hero member
Activity: 644
Merit: 500
i installed this on Ubuntu 14 but have no clue how to get CoiniumServ.exe running.

run with;
Code:
chmod +x CoiniumServ.exe
./CoiniumServ.exe

or
Code:
chmod +x CoiniumServ.exe
mono CoiniumServ.exe

art, will be checking the block display bug.
still didn't have time to fix the hashrate bug.
cheers mate. mono CoiniumSer.exe worked a treat
full member
Activity: 158
Merit: 100

In Ubuntu 14.04, even after I chmod +x, CoiniumServ.exe will not run, CoiniumServGUI.exe on the other hand, works right out the gate, no chmod needed. I just copied the entire bin + subdirectories to my home directory in ubuntu and clicked on CoiniumServGUI.exe to run.


do you get an error when you try to do so?

and art all issues are tracked on github - https://github.com/CoiniumServ/CoiniumServ/issues

and fixed both issues: https://github.com/CoiniumServ/CoiniumServ/pull/439

Will do
sr. member
Activity: 389
Merit: 250

In Ubuntu 14.04, even after I chmod +x, CoiniumServ.exe will not run, CoiniumServGUI.exe on the other hand, works right out the gate, no chmod needed. I just copied the entire bin + subdirectories to my home directory in ubuntu and clicked on CoiniumServGUI.exe to run.


do you get an error when you try to do so?

and art all issues are tracked on github - https://github.com/CoiniumServ/CoiniumServ/issues

and fixed both issues: https://github.com/CoiniumServ/CoiniumServ/pull/439
full member
Activity: 158
Merit: 100

art, will be checking the block display bug.
still didn't have time to fix the hashrate bug.


Write it all down, I am sure you'll get to them eventually.

 Grin


Art
full member
Activity: 158
Merit: 100
i installed this on Ubuntu 14 but have no clue how to get CoiniumServ.exe running.

run with;
Code:
chmod +x CoiniumServ.exe
./CoiniumServ.exe

or
Code:
chmod +x CoiniumServ.exe
mono CoiniumServ.exe

art, will be checking the block display bug.
still didn't have time to fix the hashrate bug.

In Ubuntu 14.04, even after I chmod +x, CoiniumServ.exe will not run, CoiniumServGUI.exe on the other hand, works right out the gate, no chmod needed. I just copied the entire bin + subdirectories to my home directory in ubuntu and clicked on CoiniumServGUI.exe to run.

And yes. I did verify they were both marked as executables.

One other thing, in the GUI versions, could you make the console view the default, instead of the web view? I have the web interface disabled now to use with MPOS, so it just a blank screen looking at me until I click on the console tab.


Art
sr. member
Activity: 389
Merit: 250
i installed this on Ubuntu 14 but have no clue how to get CoiniumServ.exe running.

run with;
Code:
chmod +x CoiniumServ.exe
./CoiniumServ.exe

or
Code:
chmod +x CoiniumServ.exe
mono CoiniumServ.exe

art, will be checking the block display bug.
still didn't have time to fix the hashrate bug.
full member
Activity: 158
Merit: 100
Small display bug.

Was watching the coinium interface when a new job was broadcasted because a block was just found, 32016

However the block that has just been found is 32015, 32016 is the next block that's being worked on.

Anyway, it's minor, but coinium should say that the block that was found was the previous block, not the next block.

Art
Pages:
Jump to: