[luci] New user problem

Paweł Staszewski pstaszewski at itcare.pl
Fri Oct 2 18:54:05 CEST 2009


Hello

I download luci by:

svn co http://svn.luci.subsignal.org/luci/trunk

then i go do trunk dir and make:

make runhttpd

at the end - compile without errors i have:
build/hostenv.sh /root/LUA/trunk/host /usr/lib/lua /usr/lib/lua "lua build/lucid.lua"
lucid[23386]: Initializing daemon http
lucid[23386]: Preparing daemon http
lucid[23386]: Preparing TCP-Daemon http
lucid[23386]: Preparing socket for port 8080
lucid[23386]: Sockets bound for http
lucid[23386]: Preparing publishers for http
lucid[23386]: Preparing TLS for http
lucid[23386]: Invoking daemon factory for http
lucid[23386]: Prepared daemon http
lucid[23386]: Initializing daemon https
lucid[23386]: Preparing daemon https
lucid[23386]: Preparing TCP-Daemon https
lucid[23386]: Preparing socket for port 4443
lucid[23386]: Sockets bound for https
lucid[23386]: Preparing publishers for https
lucid[23386]: Preparing TLS for https
lucid[23386]: Failed to initialize daemon https: Encryption requested, but no TLS context given
lucid[23386]: Initializing daemon rpc
lucid[23386]: Preparing daemon rpc
lucid[23386]: Preparing TCP-Daemon rpc
lucid[23386]: Preparing socket for port 12900
lucid[23386]: Sockets bound for rpc
lucid[23386]: Preparing publishers for rpc
lucid[23386]: Preparing TLS for rpc
lucid[23386]: Invoking daemon factory for rpc
lucid[23386]: Prepared daemon rpc
lucid[23386]: Initializing daemon splashr
lucid[23386]: Preparing daemon splashr
lucid[23386]: Preparing TCP-Daemon splashr
lucid[23386]: Preparing socket for port 8082
lucid[23386]: Sockets bound for splashr
lucid[23386]: Preparing publishers for splashr
lucid[23386]: Preparing TLS for splashr
lucid[23386]: Invoking daemon factory for splashr
lucid[23386]: Prepared daemon splashr

and then i go to http://192.168.0.1:8080/
and i have info:
/root/LUA/trunk/host//usr/lib/lua/luci/template.lua:81: No such file or directory
stack traceback:
 [C]: in function 'error'
 /root/LUA/trunk/host//usr/lib/lua/luci/template.lua:81: in function '__init__'
 /root/LUA/trunk/host//usr/lib/lua/luci/util.lua:70: in function 'Template'
 /root/LUA/trunk/host//usr/lib/lua/luci/template.lua:50: in function 'render'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:649: in function 'target'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:365: in function 'dispatch'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:603: in function 'target'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:367: in function 'dispatch'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:603: in function 'target'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:367: in function 'dispatch'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:129: in function <...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:128>
...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:146: /etc/config/luci seems to be corrupt, unable to find section 'main'

and after one refresh:
 [C]: in function 'assert'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:146: in function 'dispatch'
 ...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:129: in function <...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:128>
...root/LUA/trunk/host//usr/lib/lua/luci/dispatcher.lua:146: /etc/config/luci seems to be corrupt, unable to find section 'main'


hmm ?? i miss something that need to be configured before ?


Regards
Pawel





More information about the luci mailing list