Results 1 to 25 of 25

Thread: nexus 7 2012 web server issue

  1. #1
    Join Date
    2014-Sep
    Posts
    7

    Exclamation nexus 7 2012 web server issue

    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

  2. #2
    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.

  3. #3
    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

  4. #4
    Join Date
    2014-Sep
    Posts
    3
    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

  5. #5
    Join Date
    2014-Sep
    Posts
    3
    @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

  6. #6
    Join Date
    2014-Sep
    Location
    UK
    Posts
    12
    if you open a kali shell in terminal and run

    Code:
    ps axf
    do you see the process below runing?

    Code:
    lighttpd -f /system/etc/lighttpd/lighttpd.conf

  7. #7
    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....

  8. #8
    Join Date
    2014-Sep
    Posts
    7
    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

  9. #9
    Join Date
    2014-Sep
    Posts
    7
    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

  10. #10
    Join Date
    2014-Sep
    Posts
    3
    Yes, its "lighttpd -f /system/etc/lighttpd/lighttpd.conf" there
    Regards
    J4v3d

  11. #11
    Join Date
    2014-Sep
    Location
    UK
    Posts
    12
    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?

  12. #12
    Join Date
    2014-Sep
    Posts
    7
    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

  13. #13
    Join Date
    2014-Sep
    Location
    UK
    Posts
    12
    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

  14. #14
    Join Date
    2014-Sep
    Posts
    7
    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

  15. #15
    Join Date
    2014-Sep
    Location
    UK
    Posts
    12
    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!

  16. #16
    Quote Originally Posted by secjunkie View Post
    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!
    Where you see the version no? It would be nice for an apt upgrade not to re-image..... (((((

  17. #17
    apt-get update deals with the kali chroot, not what's outside of it...

  18. #18
    Quote Originally Posted by muts View Post
    apt-get update deals with the kali chroot, not what's outside of it...
    Yep I know. Maybe we can implement an update service for not essential files same like the Google has because it is annoying to re-image the Nethunter every time

  19. #19
    Join Date
    2014-Sep
    Posts
    7
    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

  20. #20
    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

  21. #21
    Join Date
    2014-Sep
    Posts
    7
    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

  22. #22
    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.

  23. #23
    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)!

  24. #24
    Quote Originally Posted by winniechurchill View Post
    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)!
    thanks..it is all sorted now

  25. #25
    Join Date
    2014-Oct
    Posts
    1
    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

Similar Threads

  1. Nethunter 1.21 Nexus 4 and Nexus 7 2012 not complete
    By Boeli in forum NetHunter Development
    Replies: 8
    Last Post: 2020-12-31, 00:11
  2. Nexus 7(2012) Installing issue
    By Exmix in forum Installing NetHunter
    Replies: 0
    Last Post: 2017-08-20, 03:03
  3. Replies: 0
    Last Post: 2014-12-20, 22:58
  4. Kali on Server 2012 Hyper-V
    By damonbrinkley in forum Installing Archive
    Replies: 10
    Last Post: 2013-12-10, 11:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •