jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
June 28, 2012, 03:05:38 AM |
|
Yup, that fixed her.
Still need to figure out the Riglist and Gpulist stuff, but that's tomorrow.
basically. riglist: machines you want the change to affect gpulist: number of gpus on those machines. (helps if riglist has all same number of gpus) for instance, my 5970's are all 8gpus, my 5870 rigs are mostly 5 gpus, but some have 6
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
nanook7
Newbie
Offline
Activity: 48
Merit: 0
|
|
July 05, 2012, 09:45:47 PM |
|
I have been attempting to figure this out but am having a bit of trouble. here is the output. from what i can tell with little understanding of php is that its not getting a connection to the box. i checked the pc to be sure the when cgminer starts the its says api is listening. Before i dig deep into learning php i am hoping its something stupid that i did or missed.
Warning: socket_connect(): unable to connect [10013]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\includes\apiSocket.php on line 127 Warning: socket_send(): unable to write to socket [10057]: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. in C:\Inetpub\includes\apiSocket.php on line 130 Warning: socket_read(): unable to read from socket [10022]: An invalid argument was supplied. in C:\Inetpub\includes\apiSocket.php on line 131 Warning: socket_connect(): unable to connect [10013]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\includes\apiSocket.php on line 127 Warning: socket_send(): unable to write to socket [10057]: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. in C:\Inetpub\includes\apiSocket.php on line 130 Warning: socket_read(): unable to read from socket [10022]: An invalid argument was supplied. in C:\Inetpub\includes\apiSocket.php on line 131 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496 Notice: Undefined offset: -1 in C:\Inetpub\miners.php on line 483 Notice: Undefined offset: 0 in C:\Inetpub\miners.php on line 484 Warning: Division by zero in C:\Inetpub\miners.php on line 496
windows doesnt do the raw sockets ping. open apisocket.php and replace the ping function with this function ping($ip=NULL) { if(empty($ip)) {$ip = $host;} if(getenv("OS")=="Windows_NT") { $exec = exec("ping -n 1 -l 64 ".$ip); return end(explode(" ", $exec )); } else { $exec = exec("ping -c 1 -s 64 -t 64 ".$ip); $array = explode("/", end(explode("=", $exec )) ); return ceil($array[1]) . 'ms'; } }
?> enjoy. I am trying to run webmon on an extra Windows server 2003 machine in my network I tried the suggestion above about changing the ping function but ... I get the following error Warning: exec() [function.exec]: Unable to fork [ping -n 1 -l 64 miner1] in D:\shares\Users\John\webmon\includes\apiSocket.php on line 125 Anyone have any ideas? thanks
|
|
|
|
Aseras
|
|
July 06, 2012, 04:36:32 PM |
|
Give your web user i_usr whatever permissions to ping.
|
|
|
|
tnkflx
|
|
July 06, 2012, 07:42:32 PM |
|
When I run this, I get the following error: Warning: socket_create(): Unable to create socket [1]: Operation not permitted in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 125 Warning: socket_set_option() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 126 Warning: socket_connect() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 127 Warning: socket_send() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 130 Warning: socket_read() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 131 Warning: socket_close() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 134 Warning: socket_create(): Unable to create socket [1]: Operation not permitted in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 125 Warning: socket_set_option() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 126 Warning: socket_connect() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 127 Warning: socket_send() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 130 Warning: socket_read() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 131 Warning: socket_close() expects parameter 1 to be resource, boolean given in /var/www/localhost/htdocs/cgminerweb/includes/apiSocket.php on line 134 Notice: Undefined variable: highTempCard in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 574 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined variable: highHeatIndexRig in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 575 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined variable: heatIndexAvg in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 575 Notice: Undefined variable: highHeatPerCardIndexRig in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 576 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 Notice: Undefined offset: -1 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 726 Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cgminerweb/webmon.php on line 727 number of gpu0 Any idea what might be wrong? PHP is compiled with sockets enabled...
|
| Operating electrum.be & us.electrum.be |
|
|
|
AmDD
Legendary
Offline
Activity: 1027
Merit: 1005
|
|
October 22, 2012, 08:46:28 PM |
|
So I assume this only works on a local network? Is it possible to send this to an online web host somewhere and access it via the internet?
|
BTC tip jar: 18EKpbrcXxbpzAZv3T58ccGcVis7W7JR9w LTC tip jar: Lgp8ERykAgx6Q8NdMqpi5vnVoUMD2hYn2a
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
October 22, 2012, 08:53:37 PM |
|
So I assume this only works on a local network? Is it possible to send this to an online web host somewhere and access it via the internet?
It is possible, but not advisable because of security. You would have to run each cgminer with a specific port, then port forward that port to the rig with your router.. I am just speculating, i have not actually tried this.
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
AmDD
Legendary
Offline
Activity: 1027
Merit: 1005
|
|
October 22, 2012, 09:00:17 PM |
|
Well I'll try setting this up as-is first and then play with it. I know a very small amount of PHP but next to nothing as to how the mining software communicates to anything.
|
BTC tip jar: 18EKpbrcXxbpzAZv3T58ccGcVis7W7JR9w LTC tip jar: Lgp8ERykAgx6Q8NdMqpi5vnVoUMD2hYn2a
|
|
|
baggyp
Member
Offline
Activity: 95
Merit: 10
|
|
March 11, 2013, 01:03:43 AM |
|
so then this is not something I can control multiple location's rigs with? that is what I am looking for primarily. LTC mining with cgminer.
|
|
|
|
Fallon
Newbie
Offline
Activity: 13
Merit: 0
|
|
March 17, 2013, 03:25:22 PM |
|
I'm getting a similar error as tnkflx running this on my little ReadyNAS (Linux).... Warning: socket_create() [function.socket-create]: Unable to create socket [1]: Operation not permitted in /c/webroot/cgminerweb/includes/apiSocket.php on line 125
Warning: socket_set_option() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 126
Warning: socket_connect() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 127
Warning: socket_send() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 130
Warning: socket_read() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 131
Warning: socket_close() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 134
Warning: socket_create() [function.socket-create]: Unable to create socket [1]: Operation not permitted in /c/webroot/cgminerweb/includes/apiSocket.php on line 125
Sockets Support enabled
|
|
|
|
mackminer
|
|
April 22, 2013, 08:14:27 PM |
|
Looks perfect - I don't like fancy graphics with no real use. I will give it a go.
Hope you are still working on it. What web server do you use - I'm going to try nginx.
|
1BFf3Whvj118A5akc5fHhfLLwxYduMmq1d
|
|
|
FanDjangoBTC
Newbie
Offline
Activity: 46
Merit: 0
|
|
May 09, 2013, 11:31:12 PM |
|
I'm getting a similar error as tnkflx running this on my little ReadyNAS (Linux).... Warning: socket_create() [function.socket-create]: Unable to create socket [1]: Operation not permitted in /c/webroot/cgminerweb/includes/apiSocket.php on line 125
Warning: socket_set_option() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 126
Warning: socket_connect() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 127
Warning: socket_send() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 130
Warning: socket_read() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 131
Warning: socket_close() expects parameter 1 to be resource, boolean given in /c/webroot/cgminerweb/includes/apiSocket.php on line 134
Warning: socket_create() [function.socket-create]: Unable to create socket [1]: Operation not permitted in /c/webroot/cgminerweb/includes/apiSocket.php on line 125
Sockets Support enabled For Linux: !! RAW Sockets in ../includes/apiSocket.php ping function (right at the bottom of the file) require either root priviledges OR capability CAP_NET_RAW to be set. Using Apache2/PHP5, I was not able to do either of these succesfully. root for Apache2 is a nogo. setcap CAP_NET_RAW to which binary? I tried everyone I could think of and then gave up. Actually, there are many example (use Google) for replacing the RAW socket ping with one that doesn't need RAW. But sadly, after I got this thing running I am getting incomplete data as cgminer 3.1.0 has changed a number of things that are not reflected in the current code of this php. Will check out some other stuff before I continue on this one.
|
|
|
|
dan7733
Newbie
Offline
Activity: 21
Merit: 0
|
|
July 12, 2013, 10:00:48 PM |
|
Hi guys!
Just a quick question. How do you set this up? And what do I do with the php file?
Thanks!
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
July 19, 2013, 05:45:21 AM |
|
Hi guys!
Just a quick question. How do you set this up? And what do I do with the php file?
Thanks!
have php installed.. put webmon.php and include folder in path of apache. edit webmon.php with your list of rigs and run webmon.php in browser.
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
wknight
Legendary
Offline
Activity: 889
Merit: 1000
Bitcoin calls me an Orphan
|
|
January 07, 2014, 09:37:00 PM |
|
I guess this died?
|
Mining Both Bitcoin and Litecoin.
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
January 07, 2014, 09:38:26 PM |
|
I guess this died?
Im still using it.. .but had to delete the directory for the download with hacking attempts and such.... .. and with cgminer not supporting gpus anymore...well
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
hmblm1245
|
|
January 07, 2014, 10:36:10 PM |
|
I also have been using it for nearly a year now. Its a great tool to quickly check what systems are up with temps...etc.
|
|
|
|
phreakk
|
|
January 18, 2014, 02:10:16 PM |
|
Is this still downloadable anywhere? I would like to test it!
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀█▄ █▀ ▀█▄ █ ▀█▄ ▄█ ▀█▄ █ ▀█▄ █▀ ▀▄ █ █▄ ▄█ ▀█▄ █ ▀▄█▀ ▀█▄ █ ███▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▄ █ ██▌ █▄ ▄█▀ █ █▌█▌ █▄ ▄▀ █ ▐▌ █ ▀█▄ ▄█▀ █ ▐█ █ ▀█▄ ▄█▀ █ █ ▐█ ▀█▄▀ █ █ ▐▌ ▀▄ █ █ ▄▀ ▀█▄▄ ▀▄ █ █▀ ▄█ ▀█▄▄ ▀▄ █ █▌ █▀ ▀█▄▄ █▄ █ ▐▌▄█ ▀█▄▄ ▀█▄ █▐██▀ ▀█▄ ▀█▄ ██▀ ▀▀███ █ | . RATEONIUM | |
|
|
|
bayo
|
|
January 20, 2014, 05:51:54 PM |
|
hey Anyone can give a miror for download or maybe other stuff like this ? Thanks !!
|
|
|
|
jjiimm_64 (OP)
Legendary
Offline
Activity: 1876
Merit: 1000
|
|
January 20, 2014, 06:08:53 PM |
|
I will try and get this back up within a day or two..
|
1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
|
|
|
Pustul
|
|
January 27, 2014, 12:03:13 AM |
|
Could someone take a screenshot? Thanks
|
|
|
|
|