What steps will reproduce the problem? 1. Compile the application for laguna board and run it on the board 2. Access the shellinabox web-page. Getting "Sessson closed" error 3. In terminal debug mode, I can see "Child terminated" message
What is the expected output? What do you see instead? Expected : Normal webased shell. Getting : "session closed"
What version of the product are you using? On what operating system? Version : 2.14 OS: OpenWrt laguna board
Please provide any additional information below.
./shellinaboxd -p8080 -d Command line: ./shellinaboxd -p8080 -d Listening on port 8080 Accepted connection from xxx.xxx.xxx.xxx:38918 Accepted connection from xxx.xxx.xxx.xxx:38968 Handling "POST" "/?" Creating a new session: v4A1QUXkRvGy8yzHvZWdUA Window size changed to 135x27 xxx.xxx.xxx.xxx - - [09/Dec/2013:03:52:57 +0000] "POST /? HTTP/1.1" 200 157 Child terminated Handling "POST" "/?" Failed to find session: v4A1QUXkRvGy8yzHvZWdUA xxx.xxx.xxx.xxx - - [09/Dec/2013:03:52:58 +0000] "POST /? HTTP/1.1" 400 458 Closing connection to xxx.xxx.xxx.xxx:38918 Closing connection to xxx.xxx.xxx.xxx:38968
I know that network configuration/DNS/hostanem settings-wise OpenWRT is quite different from other OSes. Is that a reason why shellinabox is not working on it?
Comment #1
Posted on Dec 9, 2013 by Swift PandaCan someone let me know what are the possible conditions in which "Child terminated" error can happen?
Comment #2
Posted on Dec 16, 2013 by Grumpy LionI compile and use shellinaboxd 2.14 in Arch Linux, I have the same problem.
When I used to run shellinaboxd under CentOS 6, the problem never occured.
Comment #3
Posted on Dec 16, 2013 by Grumpy LionHere is the strace when the error happens.
- strace_output 46.89KB
Comment #4
Posted on Jan 1, 2014 by Massive Oxhello kiran. I want to know How you compiled shellinabox in openwrt.
Best regards.
Comment #5
Posted on Jan 2, 2014 by Swift PandaUsing OpenWRT toolchain... I selected cnsxx as target and did "make".. Then I compiled shellinabox by pointing to the openwrt toolchain location I had to do some hacking though...in config.in file..
Status: New
Labels:
Type-Defect
Priority-Medium