Post Go back to editing

Can not open stream on bf537

Hello!

I'm trying to start lighttpd on bf537 (distr 2011RC3). I compiled it and uploaded to my development board? but when I trying to run bin file it returns error for me:

root:/mnt/station/lighttpd> sbin/bfin-linux-uclibc-lighttpd -D -f /mnt/station/lighttpd/conf/lighttpd.conf

19m0-01-25 23:45:53: (configfile.c.901) opening configfile  /mnt/station/lighttpd/conf/lighttpd.conf failed: No such device unmap of memory not mmapped by process 199 (bfin-linux-ucli): 0xffffffff-0x1ffe

As printed above the error was occurred in configfile.c file on 901 line. It's a error log of stream_open function:

if (0 != stream_open(&s, filename)) {

                    if (s.size == 0) {

                              /* the file was empty, nothing to parse */

                              ret = 0;

                    } else {

                              log_error_write(srv, __FILE__, __LINE__, "sbss", // line 901

                                                  "opening configfile ", filename, "failed:", strerror(errno));

                              ret = -1;

                    }

}

And strerror says that error is: No such device unmap of memory not mmapped by process 199 (bfin-linux-ucli): 0xffffffff-0x1ffe

But the meaning of such error is not clear. What is it about? And does anybody have any ideas how to workaround it or fix?

Thanks.

Parents Reply Children
No Data