hi guys, whenever i click the start websever button from the launcher, i get a web page is not available message, its getting an ip and dns from dhcp if that helps. i have proper root access too
hi guys, whenever i click the start websever button from the launcher, i get a web page is not available message, its getting an ip and dns from dhcp if that helps. i have proper root access too
Hard to know what is wrong without additional info, but it sounds like you have an incomplete installation. Verify sha1sums of the downloaded image, and try reflashing.
i have this problem on my nexus 7 2013. It seems that the server www is not started and it web console cannot be launch from the kali launcher
Please help, experience similar issue with web server(web-panel) not working.
Error = "could not reach indicated web server"
super user permission is granted
Regards
J4v3d
@Muts sha1sums of the downloaded image is verified and ITs OK.
Is there any way to troubleshoot this issue. or i need to re-flash it.
Regards
J4v3d
if you open a kali shell in terminal and run
do you see the process below runing?Code:ps axf
Code:lighttpd -f /system/etc/lighttpd/lighttpd.conf
Hi,
Yep as I reported there is no error log report output to be shown. The Web Server on port 8080 just stops working sometimes without any reason identified so far....
no, sorry. it doesn't appear. ps axf yields nothing but headings and when i run ps, the above listed process isn't visible, even when i scroll up. i ran the same check even after tapping "enable web server" from kali menu. same results
my apologies, ran regular shell before, in kali shell that service isn't running on my N7 2012 i can see the fcgiserver running with \_ php -b 127.0.0.1:9001 -c /system/etc/php/php.ini below so php is running, just not web server
Yes, its "lighttpd -f /system/etc/lighttpd/lighttpd.conf" there
Regards
J4v3d
so the process is running and you still cant connect to 127.0.0.1:8080?
any errors in /sdcard/lighttpd.log ?
netstat -puta | grep LISTEN shows port 8080 listening right?
started webserver again, 127.0.0.1:8080 shows connection refused. the above netstat command shows ports 9001, 2020 and 54108 being listened to, even after running the start webserver command. i did a full search using ES file explorer and lighttpd.log cannot be found, even on /sdcard, only fcgiserver.log and that just says killed in many lines. lighttpd.conf seems okay though so its quite an odd one
OK so your web server is not starting.. the 8080 one with lighttpd is the one we are after...
if you less /system/etc/lighttpd/lighttpd.conf the second line should define the file I told you about.. (/sdcard/lighttpd.log) through a kali terminal try running touch /sdcard/lighttpd.log (to confirm you can write on the filesystem)
and then /system/xbin/reload_lighttpd.sh and let us knwo how it goes
i ran server.errlog = "/sdcard/lighttpd.log" through a kali shell and it said command not found. maybe i typed it incorrectly. i also ran the reload_lighttpd script and the output was as follows
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 3: lighttpd: command not found
/system///xbin/reload_lighttpd.sh line 5: am: command not found
reinstalling busybox to that directory that it claimed busybox was not found in (/data/local/bin/busybox) didn't do anything either, so i reinstalled busybox back to its default location
this does not look good, I'd say re-image it... a new version was pushed today (1.0.2) it might fix what ales you!
apt-get update deals with the kali chroot, not what's outside of it...
thanks, ill get back to you when ive charged my nexus 7 2012, i love the thing but it takes forever to charge, almost 4 hours on a 2A charger (asus hardware issue), pays off though cos i get about 3-4 days battery life on the thing
reinstall - web server still cannot be started
ran the reload_lighttpd script and the output was as follows
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 2: /data/local/bin/busybox: no such file or directory
/system///xbin/reload_lighttpd.sh line 3: lighttpd: command not found
/system///xbin/reload_lighttpd.sh line 5: am: command not found
game as i got hellfire. just an update, installed the latest build and got the same results and outputs. the web server issue hasnt been resolved
I'm running on a N7 2012 WiFi installed today and not seeing a problem, everything launches correctly.
Did you install busybox as per the instructions? The error log above seemed to indicate it was missing.
OK I thought I'd chime in and I had mention I, initially, had the same problems. I hadn't followed the install instructions verbatim (i'm not sure how this impacts it but I used ClockworkMod instead of TWRP) and it seemed to install fine but no webserver. I was looking through what BusyBox Free did and I noticed some errors in the Applet manager about Applets not being symlinked. Eventually I followed the install instructions (no shortcuts or me thinking I know better eg using the TWRP not CM bootloader) and booya I have a fully working Nethunter install on a Nexus 7 (2013) LTE.
I know this seems bleeding obvious to follow instructions but this is one install where I didn't know better and it wasted many hours on why it didn't work.
Next stage is to get some OTG Y cables and a good USB WiFi stick so I can start testing the wifi tools (shame my Nexus doesn't have a native NIC with monitor mode)!
Good evening all, I just got Kali Linux Nethunter installed on a Nexus 7 2012 Wi-fi, and I am having this same issue. The only file I have in /system/xbin related to lighttpd is lighttpd-static. I click on the "Start Webserver" button from the menu, and it says starting with Kali Launcher has been granted superuser priviledges for an interactive shell" and proceeds to do nothing. I have verified image hash and it is all good. Thanks