This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM437X: Lighttpd issue

Part Number: PROCESSOR-SDK-AM437X

Version 06.00.00.07 lightppd does not start missing /usr/lib/mod_openssl.so? I thought this was working in sdk 5.3 and seems to be broken after port to 06.00 (yocto) sdk.  Any ideas?

  • Hi James,

    I don't have access to a AM437x setup at the moment (due to moving my office now) but I will check in detail text week.

    An known issue which might be related to this is that the yocto version used in Proc SDK v6.x is in transition from openssl v1.0 to v1.1 and causes some applications failed to compile or run.

  • Hi James,

    I just tested the rootfs tisdk-rootfs-image-am437x-evm.tar.xz from Processor SDK Linux v6.0.0.7 and it seems lighttpd runs fine. I can see the Matrix GUI on the host web browser by opening page '192.168.88.12'.

    root@am437x-evm:~# ps ax|grep httpd
      773 ?        Ss     0:00 /usr/sbin/lighttpd -D -f /etc/lighttpd.conf
     1020 ttyS0    S+     0:00 grep httpd
    root@am437x-evm:~# uname -a
    Linux am437x-evm 4.19.38-g4dae378bbe #1 PREEMPT Sun Jul 7 04:49:10 UTC 2019 armv7l GNU/Linux
    root@am437x-evm:~# cat /etc/version
    20190708033613
    root@am437x-evm:~# ip -br addr
    lo               UNKNOWN        127.0.0.1/8 ::1/128
    eth0             UP             192.168.88.12/24 fe80::36b1:f7ff:fe3d:c12b/64



  • I had tested lighttpd awhile ago with the ssl for  https turned on:

    lighttpd.conf

    server.port  = 443
    ssl.engine = "enable"
    ssl.pemfile = "/etc/lighttpd/certs/lighttpd.pem"

    This has stopped working and when I start the server it complains about missing: mod_opensssl.so.

    any ideas?

  • Hi James,

    Thanks for the additional information, I can reproduce the issue with ssl enabled for lighttpd. I will report it to our development team to understand why mod_openssl.so is not included in the Processor SDK package.

    Meanwhile, you might have to rebuild the lighttpd package by yourself to have the .so module included.

  • Hi James,

    Please connect your board to internet, and run the following command to install the extra package.

    # opkg install lighttpd-module-openssl
  • Just to be clear it runs fine if i disable https also.

  • I understood it runs fine without ssl.

    Can you please confirm if the 'opkg install' command I mentioned above solves the ssl issue for you?