Pages:
Author

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

newbie
Activity: 23
Merit: 0
I have manage to setup the server on a windows environment (w7), everything is working ok except that I can't connect to the web server from another computer on the same local network (same thing from outside the lan, obviously).

I have tried every combination of ip address on the "address" and "bind" parameters of the config.json file with no luck.

I would appreciate any help.

Thanks

Here is the stanza we used

    "website": {
        "enabled": true,
        "bind": "",
        "port": 80,
        "template": "default",
        "feed": "",
        "backend": {
            "metrics": {
                "enabled": true
            }
        }
    },


Note - you can also bind to a web address - eg pool.bert.com

Still not working. I can access the web server from the local machine but not from the local network. Any ideas?
full member
Activity: 155
Merit: 100
I have manage to setup the server on a windows environment (w7), everything is working ok except that I can't connect to the web server from another computer on the same local network (same thing from outside the lan, obviously).

I have tried every combination of ip address on the "address" and "bind" parameters of the config.json file with no luck.

I would appreciate any help.

Thanks

Here is the stanza we used

    "website": {
        "enabled": true,
        "bind": "",
        "port": 80,
        "template": "default",
        "feed": "",
        "backend": {
            "metrics": {
                "enabled": true
            }
        }
    },


Note - you can also bind to a web address - eg pool.bert.com
newbie
Activity: 23
Merit: 0
I have manage to setup the server on a windows environment (w7), everything is working ok except that I can't connect to the web server from another computer on the same local network (same thing from outside the lan, obviously).

I have tried every combination of ip address on the "address" and "bind" parameters of the config.json file with no luck.

I would appreciate any help.

Thanks
newbie
Activity: 23
Merit: 0
You have to create new config file for every coin.

Works great ! Thank you !



Great Software...

I can run litecoin by itself and dogecoin by itself, but I haven´t been able to run both of them at the same time. I have a pool.json very similar to the one above, but I can´t get it to work. What do you mean by "create new config file for every coin"?

Please help, thanks
Create files .json with coin name and copy these separate config structures to every file - each coin must have separate config in separate file.

On the /config/coins folder I have a separate file for each one (litecoin.json and dogecoin.json). I guess you are not taking about them.
These config files you have to create them where? In the /config/pools folder? or in the /config one?

Edit: Ok, just got it to work, you have to create the files in the /config/pools/ folder.

Thanks
newbie
Activity: 1
Merit: 0
You have to create new config file for every coin.

Works great ! Thank you !

sr. member
Activity: 486
Merit: 250
Technician
You have to create new config file for every coin.

Works great ! Thank you !



Great Software...

I can run litecoin by itself and dogecoin by itself, but I haven´t been able to run both of them at the same time. I have a pool.json very similar to the one above, but I can´t get it to work. What do you mean by "create new config file for every coin"?

Please help, thanks
Create files .json with coin name and copy these separate config structures to every file - each coin must have separate config in separate file.
newbie
Activity: 23
Merit: 0
You have to create new config file for every coin.

Works great ! Thank you !



Great Software...

I can run litecoin by itself and dogecoin by itself, but I haven´t been able to run both of them at the same time. I have a pool.json very similar to the one above, but I can´t get it to work. What do you mean by "create new config file for every coin"?

Please help, thanks
sr. member
Activity: 486
Merit: 250
Technician
You have to create new config file for every coin.
newbie
Activity: 1
Merit: 0
Hello !

I start CoiniumServ with mining Mazacoin and it works great.
Now i want so add a second Coin and add it to pool.json.
But i think the JSON Syntax is wrong. CoiniumServ finds zero pools.

May someone help ?

Thank you !

[
{
    "enabled": true,
    "coin": "mazacoin.json",
    "daemon": {
        "port": 9333,
        "username": "maza",
        "password": "removed"
    },
    "wallet": {
        "address": "MVvB8WSvCdTPVSYFAGOAuy7pcKE5hDJCJK"
    },
    "rewards": [
        {
            "M9XmMMogR49btJKqrixAGOwcPzcjYZy76": 1
        }
    ],
    "stratum": {
        "port": 3333
    },
    "storage": {
        "hybrid": {
            "mysql": {
                "database": "MAZACOIN"
            }
        }
    }
},
{
    "enabled": true,
    "coin": "digibyte.json",
    "daemon": {
        "port": 9334,
        "username": "digi",
        "password": "removed"
    },
    "wallet": {
        "address": "DKGP7R5EzbSRAGOqoieXp4C7L1Jf2AY9Wy"
    },
    "rewards": [
        {
            "D8gfTV8euZLmKazHMbhAGOn5ggu7cJiMgj": 1
        }
    ],
    "stratum": {
        "port": 3334
    },
    "storage": {
        "hybrid": {
            "mysql": {
                "database": "DGB"
            }
        }
    }
}
]
sr. member
Activity: 486
Merit: 250
Technician
CoiniumServ is incompatible with current MPOS structure. Use it's own storage.
member
Activity: 210
Merit: 10
anyone know why i keep getting this error? also the hashrate won't show
full member
Activity: 155
Merit: 100
*bump*

This project is looking sorta abandoned - true or no?  Disappointing.  I was pretty excited at the prospect of a pool written in .Net

Yeah they appear to be working on their new pool software Sad
hero member
Activity: 532
Merit: 500
*bump*

This project is looking sorta abandoned - true or no?  Disappointing.  I was pretty excited at the prospect of a pool written in .Net
hero member
Activity: 532
Merit: 500
OK, nevermind, figured out the strong-naming thing with C#.

Started getting the same error as someone above (HINCRBYFLOAT) when someone started mining - got newer redis version and that fixed the problem there.  Clearly redis 2.4.6.1 from choco doesn't work.

Installed redis-64 (v2.8.17) and that made the HINCRBYFLOAT error go away, but still getting alot of errors from redis when a miner connects and starts submitting shares (I added some additional debug info in HybridStorage.Shares.cs):

Code:
02/04/2015 01:59:22 -06:00 [Debug] [ShareManager] [10kCoin] Share accepted at 28.64/16 by miner TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB
02/04/2015 01:59:22 -06:00 [Debug] [ShareManager] [10kCoin] Share accepted at 28.74/16 by miner TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB
02/04/2015 01:59:22 -06:00 [Debug] [ShareManager] [10kCoin] Share accepted at 46.78/16 by miner TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB
02/04/2015 01:59:23 -06:00 [Error] [HybridStorage] [10kCoin] An exception of type CSRedis.RedisProtocolException occured while comitting share at step Add to hashrate...(hashrateKey=10kcoin:hashrate, entry=22.4976134631946:TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB: Unexpected response type: Int (expecting Bulk) Stack trace:   at CSRedis.Internal.IO.RedisReader.ExpectType(RedisMessage expectedType) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\IO\RedisReader.cs:line 112
   at CSRedis.Internal.IO.RedisReader.ReadBulkBytes(Boolean checkType) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\IO\RedisReader.cs:line 53
   at CSRedis.Internal.IO.RedisReader.ReadBulkString(Boolean checkType) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\IO\RedisReader.cs:line 99
   at CSRedis.Internal.Commands.RedisFloat.Parse(RedisReader reader) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\Commands\RedisFloat.cs:line 15
   at CSRedis.Internal.RedisPipeline.<>c__DisplayClass1`1.b__0() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\RedisPipeline.cs:line 32
   at CSRedis.Internal.RedisPipeline.Flush() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\RedisPipeline.cs:line 48
   at CSRedis.Internal.RedisConnector.EndPipe() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\RedisConnector.cs:line 168
   at CSRedis.RedisClient.EndPipe() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\RedisClient.cs:line 251
   at CoiniumServ.Persistance.Layers.Hybrid.HybridStorage.AddShare(IShare share) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Persistance\Layers\Hybrid\HybridStorage.Shares.cs:line 65
02/04/2015 01:59:23 -06:00 [Debug] [ShareManager] [10kCoin] Share accepted at 22.50/16 by miner TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB
02/04/2015 01:59:23 -06:00 [Error] [HybridStorage] [10kCoin] An exception of type System.NotSupportedException occured while comitting share at step Add to hashrate...(hashrateKey=10kcoin:hashrate, entry=17.5717197743845:TXCtfkmUu3VfGEhze2oLxfwYccoCn4kbsB: Cannot write to a BufferedStream while the read buffer is not empty if the underlying stream is not seekable. Ensure that the stream underlying this BufferedStream can seek or avoid interleaving read and write operations on this BufferedStream. Stack trace:   at System.IO.BufferedStream.ClearReadBufferBeforeWrite()
   at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
   at CSRedis.Internal.RedisPipeline.Flush() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\RedisPipeline.cs:line 44
   at CSRedis.Internal.RedisConnector.EndPipe() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\Internal\RedisConnector.cs:line 168
   at CSRedis.RedisClient.EndPipe() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\deps\csredis\CSRedis\RedisClient.cs:line 251
   at CoiniumServ.Persistance.Layers.Hybrid.HybridStorage.AddShare(IShare share) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Persistance\Layers\Hybrid\HybridStorage.Shares.cs:line 65



Sometimes it happens on the first share, sometimes on the 20th, but then it starts repeating this error over and over.  First, the "unexpected response type" happens once then the "Cannot write to a BufferedStream..." repeats forever on every share submitted

Just to make sure this wasn't an issue with the MS distro of Redis for Windows, I setup an Ubuntu box running the latest stable release from redis.io, same thing.

Not sure if this is a problem with Coinium, or csredis?
hero member
Activity: 532
Merit: 500
I'm trying to get Coinium server running under .Net on Windows x64.  Compile in VStudio 2013 worked fine after I added the redis project into the /deps folder from here https://github.com/CoiniumServ/csredis

When I run CoiniumServ using the Hybrid storage option I'm getting this .Net error:

Code:
02/02/2015 23:58:46 -06:00 [Error] [Pool] [10kCoin] Error initializing pool; Nancy.TinyIoc.TinyIoCResolutionException: Unable to resolve type: CoiniumServ.Persistance.Providers.IStorageProvider ---> Nancy.TinyIoc.TinyIoCResolutionException: Unable to resolve type: CoiniumServ.Persistance.Providers.Redis.RedisProvider ---> System.IO.FileLoadException: Could not load file or assembly 'csredis, Version=3.1.0.0, Culture=neutral, PublicKeyToken=1afd0264bbe4a44a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
   --- End of inner exception stack trace ---
   at CoiniumServ.Persistance.Providers.Redis.RedisProvider.Initialize()
   at CoiniumServ.Persistance.Providers.Redis.RedisProvider..ctor(IPoolConfig poolConfig, IRedisProviderConfig config) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Persistance\Providers\Redis\RedisProvider.cs:line 48
   at lambda_method(Closure , Object[] )
   at Nancy.TinyIoc.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options)
   --- End of inner exception stack trace ---
   at Nancy.TinyIoc.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options)
   at Nancy.TinyIoc.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
   --- End of inner exception stack trace ---
   at Nancy.TinyIoc.TinyIoCContainer.MultiInstanceFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
   at Nancy.TinyIoc.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options)
   at Nancy.TinyIoc.TinyIoCContainer.Resolve[ResolveType](String name, NamedParameterOverloads parameters)
   at CoiniumServ.Container.ObjectFactory.GetStorageProvider(String type, IPoolConfig poolConfig, IStorageProviderConfig config) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Container\ObjectFactory.cs:line 383
   at CoiniumServ.Pools.Pool.b__2(IStorageProviderConfig providerConfig) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Pools\Pool.cs:line 164
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at CoiniumServ.Pools.Pool.InitStorage() in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Pools\Pool.cs:line 161
   at CoiniumServ.Pools.Pool..ctor(IPoolConfig poolConfig, IConfigManager configManager, IObjectFactory objectFactory) in c:\Users\Derp\Desktop\CoiniumServ-0.2.4-beta\src\CoiniumServ\Pools\Pool.cs:line 131

csredis.dll did build fine and it's in the bin/debug folder, shows version 3.1.0.0

Not sure what to check next?
newbie
Activity: 34
Merit: 0
Probably old version of redis.

Yes, you are right. Newest version of redis works :-)  Thank you!
sr. member
Activity: 486
Merit: 250
Technician
Probably old version of redis.
newbie
Activity: 34
Merit: 0
Hello,

I have installed everything necessary and setup a low difficulty sha256 altcoin (digibyte) to test solo mining. Unfortunately I get more rejects than acceppted shares. The server reports the following error
when inserting a share to redis:

01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'
01/26/2015 18:50:25 +01:00 [Error] [HybridStorage] [Digibyte] An exception occured while comitting share: ERR unknown command 'HINCRBYFLOAT'

The web frontend shows 0 speed though I did connect one S5 to the pool. I assume the problem has to do with redis, right?
 
newbie
Activity: 4
Merit: 0
Hello everyone.

I use CoiniumServ and have a question.
Can I use CoiniumServ solo minig? (With a antminer s1 or s2)?

Thank you ever answer for heure. . . . .

You can, I do.  However, it does not play nice with every altcoin.  If you are soloing bitcoin should not be a problem.


Thank you for the quick response.

What must I do to solo to mines?
Is there a tutorial or instructions?
hero member
Activity: 650
Merit: 500
Pick and place? I need more coffee.
Hello everyone.

I use CoiniumServ and have a question.
Can I use CoiniumServ solo minig? (With a antminer s1 or s2)?

Thank you ever answer for heure. . . . .

You can, I do.  However, it does not play nice with every altcoin.  If you are soloing bitcoin should not be a problem.
Pages:
Jump to: