smallplatf (OP)
|
|
January 04, 2014, 01:32:13 AM |
|
I got this error message when using the modified cgminer: ./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
MZcXxY2SMKtaTaMbZ7JA2eFecLpcrYbQaH Thanks what flavor of linux are you using? in case, try to install libudev-dev. On Debian/Ubuntu: sudo aptitude install libudev-dev I am using Ubuntu, but after sudo apt-get install libudev-dev. I got: Reading package lists... Done Building dependency tree Reading state information... Done libudev-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ok, try running cgminer as root. What kind of ASIC do you have? From kolivas original manual ( https://github.com/ckolivas/cgminer): LINUX: On linux, the direct USB support requires no drivers at all. However due to permissions issues, you may not be able to mine directly on the devices as a regular user without giving the user access to the device or by mining as root (administrator). In order to give your regular user access, you can make him a member of the plugdev group with the following commands: sudo usermod -G plugdev -a `whoami` If your distribution does not have the plugdev group you can create it with: sudo groupadd plugdev In order for the BFL devices to instantly be owned by the plugdev group and accessible by anyone from the plugdev group you can copy the file "01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d directory with the following command: sudo cp 01-cgminer.rules /etc/udev/rules.d/ After this you can either manually restart udev and re-login, or more easily just reboot.
|
|
|
|
Kenshin
|
|
January 04, 2014, 01:37:36 AM |
|
Even running the modifed cgminer with sudo, I still got this error: ./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
I tried to compile the modified cgminer from git. And it was build, then when I tried to run it, it just exit. This is how I built it: ./auto-gen.sh ./configure make
I am running erupter and also bluefury.
|
|
|
|
smallplatf (OP)
|
|
January 04, 2014, 01:39:50 AM |
|
Even running the modifed cgminer with sudo, I still got this error: ./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
I tried to compile the modified cgminer from git. And it was build, then when I tried to run it, it just exit. This is how I built it: ./auto-gen.sh ./configure make
I am running erupter and also bluefury. ok here is an example tutorial for building cgminer on a fresh Ubuntu 12.04 64bit: sudo aptitude install pkg-config libtool autoconf sudo aptitude install libcurl4-openssl-dev libncurses5-dev libudev-dev git clone https://github.com/mrtexaznl/cgminercd cgminer ./autogen.sh CFLAGS="-O2 -Wall" ./configure --enable-avalon --enable-bflsc --enable-bitforce --enable-bitfury --enable-hashfast --enable-icarus --disable-knc --enable-bab --enable-klondike --enable-modminer make No installation is necessary. You may run cgminer from the build directory directly, but you may do make install if you wish to install cgminer to a system location or location you specified.
|
|
|
|
DFiLeR
|
|
January 04, 2014, 01:56:12 AM |
|
so mcproxy is meant to actually do something?
|
VRC VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka XPM AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3 BTC 15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP HYPER HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
|
|
|
Mrjitter
|
|
January 04, 2014, 02:00:58 AM |
|
{ "blocks" : 1821, "currentblocksize" : 1000, "currentblocktx" : 0, "difficulty" : 0.04134998, "errors" : "", "networkhashps" : 3742345, "pooledtx" : 0, "testnet" : false } Wowww difficult increasing by who ? i can not mine ... are you playing alone I´m go to the bed .. i´m tired of shift coin launchs bye
|
|
|
|
|
DFiLeR
|
|
January 04, 2014, 02:04:20 AM |
|
how can i tell if it is running? should it display anything? should the wallet be started first or anything? also wallet is not syncing
|
VRC VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka XPM AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3 BTC 15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP HYPER HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
|
|
|
subSTRATA
Legendary
Offline
Activity: 1288
Merit: 1043
:^)
|
|
January 04, 2014, 02:08:20 AM |
|
addnode=95.178.249.116
|
theres nothing here. message me if you want to put something here.
|
|
|
smallplatf (OP)
|
|
January 04, 2014, 02:11:40 AM |
|
how can i tell if it is running? should it display anything? should the wallet be started first or anything? also wallet is not syncing
for your wallet to sync, there are still a lot of new users who are syncing right now, so we have to wait for the whole network to stabilize itself. we suggest that you leave the wallet running for a couple of hours. for solo mining, the sequence is: - run the wallet (with -server option) - run mcproxy - run cgminer solo mining requires that the wallet has finished its sync with the network. if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
|
|
|
|
DFiLeR
|
|
January 04, 2014, 02:16:46 AM |
|
alrighty. syncing now, will let you know how the rest goes
|
VRC VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka XPM AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3 BTC 15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP HYPER HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
|
|
|
Kenshin
|
|
January 04, 2014, 02:17:45 AM |
|
solo mining requires that the wallet has finished its sync with the network.
if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
Could this be why I am getting the following error? Because I am still 5 days behind? After following your build instruction, I have managed to build cgminer, when running with sudo I got this error: [2014-01-04 02:15:14] Started cgminer 3.9.0 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in usbutils.c callback_wait():2431
Without sudo I got this, then cgminer exit: [2014-01-04 02:19:55] USB init, open device failed, err -3, you don't ha ve privilege to access - BF1 device 2:13-i1 [2014-01-04 02:19:55] See README file included for help [2014-01-04 02:19:55] bitfury detect (2:13) failed to initialise (incorr ect device?)ERROR: could not insert 'i2c_dev': Operation not permitted [2014-01-04 02:19:55] Probing for an alive pool [2014-01-04 02:20:05] Waiting for work to be available from pools.
|
|
|
|
smallplatf (OP)
|
|
January 04, 2014, 02:24:21 AM |
|
solo mining requires that the wallet has finished its sync with the network.
if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
Could this be why I am getting the following error? Because I am still 5 days behind? After following your build instruction, I have managed to build cgminer, when running I got this error: [2014-01-04 02:15:14] Started cgminer 3.9.0 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in usbutils.c callback_wait():2431
can you try to build and run the original cgminer and see if the same error occurs? you can get it here: git clone https://github.com/ckolivas/cgmineralso, can you provide more information about your system: uname -a cat /etc/debian_version ...
|
|
|
|
asba
|
|
January 04, 2014, 02:26:57 AM |
|
stuck at 5 days behind 500 of 1408 blocks
|
|
|
|
TimFChavez
Member
Offline
Activity: 98
Merit: 10
|
|
January 04, 2014, 02:27:32 AM |
|
How do you start the block erupter with cgminer? I've used bfgminer when using my block erupters.
thanks
|
|
|
|
guozhou
Member
Offline
Activity: 62
Merit: 10
|
|
January 04, 2014, 02:28:34 AM |
|
MrdzyL7n81QZFSo7xfXbtGZB93fWGuqKGb
|
|
|
|
pmm123
|
|
January 04, 2014, 02:29:11 AM |
|
how can i tell if it is running? should it display anything? should the wallet be started first or anything? also wallet is not syncing
for your wallet to sync, there are still a lot of new users who are syncing right now, so we have to wait for the whole network to stabilize itself. we suggest that you leave the wallet running for a couple of hours. for solo mining, the sequence is: - run the wallet (with -server option) - run mcproxy - run cgminer solo mining requires that the wallet has finished its sync with the network. if you want to use only the wallet (i.e. transactions), than you need to run only the wallet. Sorry smallplatf this coin like much for me but dosen't sync the wallet im waiting mor than 2 hours and wallet dosen't sync, im go out atm
|
|
|
|
smallplatf (OP)
|
|
January 04, 2014, 02:36:13 AM |
|
How do you start the block erupter with cgminer? I've used bfgminer when using my block erupters.
thanks
under debian/ubuntu linux, you will need to be root and run this command (also see here http://www.mediterraneancoin.org/#tutorial) from the directory of the modified cgminer: ./cgminer -o http://localhost:8080 -u mediterraneancoinrpc -p <your rpc password> in windows, the command is the same.
|
|
|
|
Kenshin
|
|
January 04, 2014, 02:37:31 AM |
|
solo mining requires that the wallet has finished its sync with the network.
if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
Could this be why I am getting the following error? Because I am still 5 days behind? After following your build instruction, I have managed to build cgminer, when running I got this error: [2014-01-04 02:15:14] Started cgminer 3.9.0 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in usbutils.c callback_wait():2431
can you try to build and run the original cgminer and see if the same error occurs? you can get it here: git clone https://github.com/ckolivas/cgmineralso, can you provide more information about your system: uname -a cat /etc/debian_version ... kenshin@blackbox:~$ uname -a Linux blackbox 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux kenshin@blackbox:~$ cat /etc/debian_version wheezy/sid When running the normal cgminer. It exit after a while.
|
|
|
|
TimFChavez
Member
Offline
Activity: 98
Merit: 10
|
|
January 04, 2014, 02:40:55 AM |
|
./cgminer -o http://localhost:8080 -u mediterraneancoinrpc -p <your rpc password> in windows, the command is the same. That is what I used but I get 'Waiting for USB hotplug devices or press q to quit' bfgminer detected them and ran. I was not was I needed to use a command to let them going. this is windows.
|
|
|
|
subSTRATA
Legendary
Offline
Activity: 1288
Merit: 1043
:^)
|
|
January 04, 2014, 02:43:38 AM |
|
on Win7 64-bit C:\Program Files (x86)\MEDcoin>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar mcproxy.jar MediterraneanCoin Proxy parameters: wallet hostname: localhost wallet port: 9372 bind to local address: local proxy port: 8080
RCPUtils: sending data: {"method":"getwork","params":[],"id":1} java.net.SocketTimeoutException: Read timed out at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unkno wn Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So urce) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at org.mediterraneancoin.proxy.net.RPCUtils.doJSONRPCCall(RPCUtils.java: 260) at org.mediterraneancoin.proxy.net.RPCUtils.doGetWorkMessage(RPCUtils.ja va:362) at org.mediterraneancoin.proxy.HttpServer.handle(HttpServer.java:116) at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121 ) at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So urce) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown So urce) at java.net.URLConnection.getContentEncoding(Unknown Source) at org.mediterraneancoin.proxy.net.RPCUtils.doJSONRPCCall(RPCUtils.java: 211) ... 7 more
|
theres nothing here. message me if you want to put something here.
|
|
|
|