Pages:
Author

Topic: Antminer R4: full working, but no web-access: Error connection refused! - page 2. (Read 1656 times)

newbie
Activity: 11
Merit: 0
No comment. Probably everything lost Huh
Heh, don't panic )
run these two commands
stat /usr/sbin/lighttpd
and
which lighttpd

There is external repository opkg and we can try to update lighttpd.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
root@Natasha:~# /usr/sbin/lighttpd -v
Segmentation fault
******
No comment. Probably everything lost Huh
To reduce text walls, please use the 'code' post function, (the '#' in formatting area above)
eg.
Code:
2016-12-12 14:15:39: (log.c.166) server started
2016-12-12 16:28:46: (log.c.166) server started
2016-12-12 17:48:11: (log.c.166) server started
2016-12-12 19:18:03: (log.c.166) server started
2016-12-12 20:13:35: (log.c.166) server started
2016-12-12 20:48:24: (log.c.166) server started
2016-12-12 21:26:47: (log.c.166) server started
2016-12-12 22:06:32: (log.c.166) server started
2016-12-13 03:48:50: (log.c.166) server started
2017-01-21 05:35:00: (log.c.166) server started
2017-01-21 05:36:38: (log.c.166) server started
2017-02-06 11:26:04: (log.c.166) server started
2017-02-06 15:23:21: (log.c.166) server started
2017-02-06 23:26:37: (log.c.166) server started
2017-02-07 04:01:30: (log.c.166) server started
2017-03-09 15:06:29: (log.c.166) server started
2017-03-09 15:09:25: (log.c.166) server started
2017-03-09 15:13:34: (log.c.166) server started
2017-03-23 06:39:14: (log.c.166) server started
2017-03-23 06:39:46: (http_auth.c.1148) digest: auth failed for  root : wrong password, IP: 192.168.92.166
2017-03-23 06:44:18: (server.c.1546) server stopped by UID = 0 PID = 1997
2017-03-23 06:44:58: (log.c.166) server started
2017-03-27 11:26:54: (server.c.1546) server stopped by UID = 0 PID = 6895
2017-03-27 11:27:29: (log.c.166) server started
2017-03-27 11:33:32: (log.c.166) server started
2017-03-28 08:09:30: (log.c.166) server started
2017-03-28 08:11:10: (log.c.166) server started
2017-03-27 11:27:00: (log.c.166) server started
2017-03-27 12:23:54: (server.c.1546) server stopped by UID = 0 PID = 4065
2017-03-27 12:23:00: (log.c.166) server started
2017-03-27 12:23:00: (log.c.166) server started
2017-04-11 21:06:39: (server.c.1546) server stopped by UID = 0 PID = 7777

Diskspace is
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               147456     22904    124552  16% /
devtmpfs                442264         0    442264   0% /dev
newbie
Activity: 54
Merit: 0
root@Natasha:~# /usr/sbin/lighttpd -v
Segmentation fault

******

No comment. Probably everything lost Huh
newbie
Activity: 11
Merit: 0
So far so good.
Run this please
/usr/sbin/lighttpd -v
and
/usr/sbin/lighttpd -tf /etc/lighttpd.conf

newbie
Activity: 54
Merit: 0
2016-12-12 14:15:39: (log.c.166) server started
2016-12-12 16:28:46: (log.c.166) server started
2016-12-12 17:48:11: (log.c.166) server started
2016-12-12 19:18:03: (log.c.166) server started
2016-12-12 20:13:35: (log.c.166) server started
2016-12-12 20:48:24: (log.c.166) server started
2016-12-12 21:26:47: (log.c.166) server started
2016-12-12 22:06:32: (log.c.166) server started
2016-12-13 03:48:50: (log.c.166) server started
2017-01-21 05:35:00: (log.c.166) server started
2017-01-21 05:36:38: (log.c.166) server started
2017-02-06 11:26:04: (log.c.166) server started
2017-02-06 15:23:21: (log.c.166) server started
2017-02-06 23:26:37: (log.c.166) server started
2017-02-07 04:01:30: (log.c.166) server started
2017-03-09 15:06:29: (log.c.166) server started
2017-03-09 15:09:25: (log.c.166) server started
2017-03-09 15:13:34: (log.c.166) server started
2017-03-23 06:39:14: (log.c.166) server started
2017-03-23 06:39:46: (http_auth.c.1148) digest: auth failed for  root : wrong password, IP: 192.168.92.166
2017-03-23 06:44:18: (server.c.1546) server stopped by UID = 0 PID = 1997
2017-03-23 06:44:58: (log.c.166) server started
2017-03-27 11:26:54: (server.c.1546) server stopped by UID = 0 PID = 6895
2017-03-27 11:27:29: (log.c.166) server started
2017-03-27 11:33:32: (log.c.166) server started
2017-03-28 08:09:30: (log.c.166) server started
2017-03-28 08:11:10: (log.c.166) server started
2017-03-27 11:27:00: (log.c.166) server started
2017-03-27 12:23:54: (server.c.1546) server stopped by UID = 0 PID = 4065
2017-03-27 12:23:00: (log.c.166) server started
2017-03-27 12:23:00: (log.c.166) server started
2017-04-11 21:06:39: (server.c.1546) server stopped by UID = 0 PID = 7777

Diskspace is
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               147456     22904    124552  16% /
devtmpfs                442264         0    442264   0% /dev

as far as i see there are no entrys from may...
newbie
Activity: 11
Merit: 0
Hmm.. are you sure that your miner is mining?
I can't see process like this
{screen} SCREEN -S cgminer -t cgminer
but I have no Natasha here, just beaglebone.
edt. Ah bmminer here, ok.

Ok, look at log file: /www/logs/lighttpd.error.log
cat /www/logs/lighttpd.error.log

Can you show me disc space, it could be the reason:
df -k
newbie
Activity: 54
Merit: 0
the lighttpd command gives the following:

root@Natasha:~# /usr/sbin/lighttpd -f /etc/lighttpd.conf
Segmentation fault

What tf is "segmentation fault" and how can it be fixed ?
newbie
Activity: 54
Merit: 0
Neonox great help.

I can report that i could connect to my miner.

But entering the command

ps | grep [h]tt

does nothing, while

Ps

gives a list of processes:

PID   USER     TIME   COMMAND
    1 root       0:10 init [5]
    2 root       0:00 [kthreadd]
    3 root       3:22 [ksoftirqd/0]
    5 root       0:00 [kworker/0:0H]
    6 root       0:02 [kworker/u4:0]
    7 root       9:25 [rcu_preempt]
    8 root       0:00 [rcu_sched]
    9 root       0:00 [rcu_bh]
   10 root       0:06 [migration/0]
   11 root       0:01 [watchdog/0]
   12 root       0:01 [watchdog/1]
   13 root       0:05 [migration/1]
   14 root       3:13 [ksoftirqd/1]
   16 root       0:00 [kworker/1:0H]
   17 root       0:00 [khelper]
   18 root       0:00 [kdevtmpfs]
   19 root       0:00 [kworker/u4:1]
  216 root       0:00 [writeback]
  218 root       0:00 [bioset]
  220 root       0:00 [kblockd]
  236 root       0:00 [khubd]
  251 root       0:00 [edac-poller]
  342 root       0:00 [rpciod]
  343 root       0:24 [kworker/1:1]
  353 root       0:00 [khungtaskd]
  358 root       0:00 [kswapd0]
  359 root       0:00 [fsnotify_mark]
  360 root       0:00 [nfsiod]
  957 root       2:17 [kworker/0:1]
  998 root       0:00 [xemacps]
 1013 root       0:00 [kpsmoused]
 1073 root       0:00 [deferwq]
 1095 root       1:40 [jffs2_gcd_mtd1]
 1103 root       9:12 /usr/bin/monitor-ipsig
 1188 root       0:00 [kworker/1:2]
 1222 root       0:00 /usr/sbin/dropbear -r /config/dropbear_rsa_host_key -p 22
 1234 avahi      0:00 avahi-daemon: running [Natasha.local]
 1235 avahi      0:00 avahi-daemon: chroot helper
 1265 root       0:01 single-board-test
 1270 root       0:32 /usr/bin/monitor-recobtn /usr/bin/factory_config_reset.sh
 1280 root       0:00 /sbin/getty 115200 ttyPS0
 1281 root       0:00 /sbin/getty 38400 tty1
 1282 root       0:00 {monitorcg} /bin/sh /sbin/monitorcg
 1292 root       0:00 [kworker/0:2]
 1340 root       0:00 udhcpc -b -t 10 -A 10 -x hostname Natasha -i eth0
 1346 root       0:22 /usr/bin/ntpd -p /var/run/ntp.pid -g
 1363 root       0:00 sh -c /usr/bin/bmminer --version-file /usr/bin/compile_ti
 1364 root     495:43 /usr/bin/bmminer --version-file /usr/bin/compile_time --a
 5563 root       0:00 /usr/sbin/dropbear -r /config/dropbear_rsa_host_key -p 22
10242 root       0:00 -sh
12365 root       0:00 ps
27585 root       0:00 sleep 20m
root@Natasha:~#

Can somebody interprete this ?(


newbie
Activity: 11
Merit: 0
No prob, I can help you.
If you use Windows, download http://www.putty.org/ and connect to antminer ip, it will open command line session.
ps | grep [h]tt will show you processes with name *htt*
maybe it'll be a help to show full process list:
ps
lighttpd is a web server that show you pages when you open ip port 80 in browser.
Hope it helps.
newbie
Activity: 54
Merit: 0
Hi neonox,

thanks for your reply.

I am not firm with unix systems. What do these commands do ?
newbie
Activity: 11
Merit: 0
Try to ssh inside this box at least it pinged.
root/admin
Run `ps | grep [h]tt`
start it like
/usr/sbin/lighttpd -f /etc/lighttpd.conf
from command line.
newbie
Activity: 54
Merit: 0
Gentlemen,
I need your help.

on friday last week, my R4 showed up 0 Ghs hashrate w/o any influence from outside.

I decided to reboot and look what happens.

As i see in my pool's statistics is, the R4 is full working.
But when I try to connect via IP, I get a Error connection refused. So, everything is working, but I do not have any access to the miner.
I can ping its IP successfully. IP is definitly correct.

I tried then some reboots (plug out cord off the wall). Tried some different browsers. From inside network. From outside.
Always the same result.


Does anyone have a hint on that ? Any way to fix this ? Seems like only the webaccess does not work.

Any help appreciated!
Pages:
Jump to: