[Cppcms-users] Running cppcms-0.99.5 examples
Brought to you by:
artyom-beilis
From: hce <web...@gm...> - 2011-01-07 01:20:48
|
Hi, I compied cppcms 0.99.5 on a linux box (CentOS 5). Following documentation, I could run hello_world by "./hello -c config.js" and get hello world from http://localhost:8080/hello. But I failed to run session and forms, the error was "2011-01-07 01:08:45 GMT; cppcms, error: Caught exception [There is no such skin:]". What was I missing? Also, I tried to configure lighttpd following cppcms online document, but it failed to following errors in lighttpd log file: 2011-01-07 11:44:42: (log.c.75) server started 2011-01-07 11:44:42: (mod_fastcgi.c.1251) either host/port or socket have to be set in: fastcgi.server = ( /hello => ( 0 ( ... 2011-01-07 11:44:42: (server.c.908) Configuration of plugins failed. Going down. The fastcgi.server has already been set up in lighttpd config file according to the document: fastcgi.server = ( ## The script name of the application "/hello" => (( ## Command line to run "bin-path" => "/opt/app/bin/hello -c /opt/app/etc/config.js", "socket" => "127.0.0.1", "port" => 8081, # "socket" => "/tmp/hello-fcgi-socket", ## Important - only one process should start "max-procs" => 1, "check-local" => "disable" ))) The config.js is set up: { "service" : { "api" : "fastcgi", "socket" : "ip" : "127.0.0.1", "port" : 8081 } } Appreciate any advice. Thank you. Kind Regards, hce |