Why do I get the message "still waiting for 1 of 1 MATLAB sessions" when I try to start the MATLAB Web Server?

1 view (last 30 days)
I get the following errors when I try to start the MATLAB Web Server on my LINUX or UNIX machine:
[matweb@madmax webserver]$ ./webstart
[webstart]: Calling webdown to take down MATLAB Web Server . . .
No server to take down . . .
[webstart]: Calling webboot to start MATLAB Web Server . . .
Waiting for MATLAB Web Server to come up . . .
Type your interrupt character (usually CTRL-C) to quit.
Time = 10 secs : still waiting for 1 of 1 MATLAB sessions . . .
Time = 20 secs : still waiting for 1 of 1 MATLAB sessions . . .
Time = 30 secs : still waiting for 1 of 1 MATLAB sessions . . .
Time = 40 secs : still waiting for 1 of 1 MATLAB sessions . . .
Time = 50 secs : still waiting for 1 of 1 MATLAB sessions . . .
Time = 60 secs : MATLAB session monitoring time limit reached . . .
And when I run WEBSTAT I get the following response:
[matweb@madmax webserver]$ ./webstat
MATLAB Web Server has started, but is not completely up . . .
Waiting for 1 of 1 MATLAB sessions . . .
SERVER =
process table entries . . .

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The MATLAB Web Server requires use of the 'C-Shell' (CSH) in order to start a MATLAB session. There is no user configuration to change this setting.
You should first make sure that CSH is available on your system. You can use the UNIX 'which' command to do this:
[madmax:/home/iboyd]1 % which csh
/usr/bin/csh
If this is not installed on the system it will need to be added. If you only have tcsh, it may be possible to use a symbolic link to from csh to tcsh.
You should then make sure that the account from which the MATLAB Web Server is starting has priveleges to run CSH. You can do this with a command similar to the following. (you will need to specify the path to csh on your system)
[madmax:/home/iboyd]4 % ls -l /usr/bin/csh
-r-xr-xr-x 1 root bin 158372 Jul 16 1997 /usr/bin/csh*

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!