The shared mem shmid will be different every time. They are found by key. Seems like shell environment is somewhat different/isolated from the CGI environment.
What's your login id?
What user id is the CGI running texis as?
What user id owns the license segment?
What are the shared mem and setuid rules for your shared server (ask your web host)?
The key is that texis always run as the same user, whether from shell or CGI.
What's your login id?
What user id is the CGI running texis as?
What user id owns the license segment?
What are the shared mem and setuid rules for your shared server (ask your web host)?
The key is that texis always run as the same user, whether from shell or CGI.