Beiträge von ManuMow

    ManuMow : Check if the webserver is running

    Code
    pi@PiMowBot:~ $ ps -ef | grep Webserver
    
    pi         984     1  0 13:05 ?        00:00:00 /bin/sh -c cd /home/pi/pimowbot && ./bin/r3 Webserver.r >> nohup.out
    pi         986   984  2 13:05 ?        00:00:00 ./bin/r3 Webserver.r

    Then check if the LISTEN socket is established at port 8080

    Code
    pi@PiMowBot:~ $ netstat -a | grep LIST
    
    tcp        0      0 0.0.0.0:http-alt        0.0.0.0:*               LISTEN    <- PiMowBot Webserver     
    tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN     
    tcp        0      0 localhost:smtp          0.0.0.0:*               LISTEN     

    Also take a look here.

    TGD,

    The solution of this problem founded.

    I'm using the 64-bit version of the Raspberry Pi OS.

    Solution is here in FAQ 2.19: PiMowBot-It! FAQ (Frequently Asked Questions) (tgd-consulting.de)

    the software start now.

    thank you

    Check if the webserver is running

    TGD

    I think that the Webserver is not running...

    Code
    ManuMowBot@Pimowbot:~ $ ps -ef | grep Webserver
    ManuMow+    2364    1997  0 22:07 pts/0    00:00:00 grep --color=auto Webserver
    ManuMowBot@Pimowbot:~ $ netstat -a | grep LIST
    tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN

    I was also unable to open nohup.out

    note that the user login used is not pi. the WebserverPiMowBot.service was adapted using the correct user.

    Could this be a problem?

    update:
    I make a new installation (pi as user) and follow the second part tutorial...
    but I receive the same error at the end.
    "Impossible to connect with web interface."

    Code
    pi@PiMowBot:~ $ dir
    install.sh  pimowbot  PiMowBotIt.tar  uwi  wittypi
    pi@PiMowBot:~ $ ps -ef | grep Webserver
    pi          2641    2068  0 17:25 pts/0    00:00:00 grep --color=auto Webserver
    
    pi@PiMowBot:~ $ netstat -a | grep LIST
    tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
    unix  2      [ ACC ]     STREAM     LISTENING     15973    /run/user/1000/system  d/private

    the nohup.out log is empty.

    Do you have an idea for this issue?

    thank you