From: Roger B. <rbu...@bl...> - 2004-03-24 19:13:04
|
Hi, Updated my site with version 0.8.1 (www.modwest.com, running Redhat Linux 2.4 series kernel) OneShot.cgi works with occasional session key errors. Host ModWest will not install mod_webkit and does not allow compilation, so I cannot use wkcgi either (no access to linux, is it possible to get a compatible pre-compile binary?). Seems that WebKit.cgi is the only alternative, but it will not start: rburnham@modwest:/$ ./AppServer WebKit AppServer 0.8.1 part of Webware for Python Copyright 1999-2001 by Chuck Esterbrook. All Rights Reserved. WebKit and Webware are open source. Please visit: http://webware.sourceforge.net Process id is 14488 Date/time is Wed Mar 24 11:16:15 2004 AutoReload =3D 0 AutoReloadPollInterval =3D 1 CheckInterval =3D 100 Host =3D 127.0.0.1 MaxServerThreads =3D 10 MinServerThreads =3D 5 PlugInDirs =3D ['/htdocs/www/Webware'] PlugIns =3D [] Port =3D 8086 PrintConfigAtStartUp =3D 1 StartServerThreads =3D 5 Verbose =3D 1 ActivityLogColumns =3D ['request.remoteAddress', 'request.method', 'request.uri', 'response.size', 'servlet.name', 'request.timeStamp', 'transaction.duration', 'transaction.errorOccurred'] ActivityLogFilename =3D /htdocs/www/Webware/WebKit/Logs/Activity.csv AdminPassword =3D ... CacheServletClasses =3D 1 CacheServletInstances =3D 1 ClearPSPCacheOnStart =3D 1 Contexts =3D {'Admin': '/htdocs/www/Blennylips/Admin', 'default': '/htdocs/www/Blennylips', 'Blennylips': '/htdocs/www/Blennylips'} Debug =3D {'Sessions': 0} DirectoryFile =3D ['index', 'Index', 'main', 'Main'] DynamicSessionTimeout =3D 15 EmailErrorReportAsAttachment =3D 0 EmailErrors =3D 1 ErrorEmailHeaders =3D {'To': ['rbu...@bl...'], 'Reply-to': 'rbu...@bl...', 'From': 'rbu...@bl...', 'Content-type': 'text/html', 'Subject': '[Blennylips Error]'} ErrorEmailServer =3D mail.modwest.com ErrorLogFilename =3D /htdocs/www/Webware/WebKit/Logs/Error= s.csv ErrorMessagesDir =3D /htdocs/www/Webware/WebKit/ErrorMsgs ExtensionCascadeOrder =3D ['.py', '.psp', '.html'] ExtensionsToIgnore =3D ['.pyc', '.pyo', '.py~', '.psp~', '.html~', '.bak', '.tmpl'] ExtensionsToServe =3D [] ExtraPathInfo =3D 0 FancyTracebackContext =3D 5 FilesToHide =3D ['.*', '*~', '*.bak', '*.tmpl', '*.config', '__init__.*', '*.pyc', '*.pyo'] FilesToServe =3D [] IgnoreInvalidSession =3D 1 IncludeFancyTraceback =3D 0 LogActivity =3D 0 MaxDynamicMemorySessions =3D 10000 MaxValueLengthInExceptionReport =3D 500 OldStyleActions =3D 0 PrintConfigAtStartUp =3D 1 RPCExceptionReturn =3D traceback ReportRPCExceptionsInWebKit =3D 1 SaveErrorMessages =3D 1 SessionPrefix =3D None SessionStore =3D Dynamic SessionTimeout =3D 60 ShowDebugInfoOnErrors =3D 1 UnknownFileTypes =3D {'CheckDate': 1, 'Technique': 'serveContent', 'CacheContent': 1, 'ReuseServlets': 1} UseAutomaticPathSessions =3D 0 UseCascadingExtensions =3D 1 UserErrorMessage =3D The site is having technical difficulties with this page. An error has been logged, and the problem will be fixed as soon as possible. Sorry! Traceback (most recent call last): File "WebKit/ThreadedAppServer.py", line 592, in run server =3D ThreadedAppServer(workDir) File "WebKit/ThreadedAppServer.py", line 66, in __init__ AppServer.__init__(self, path) File "WebKit/AutoReloadingAppServer.py", line 43, in __init__ AppServer.__init__(self,path) File "/htdocs/www/Webware/WebKit/AppServer.py", line 67, in __init__ self._app =3D self.createApplication() File "/htdocs/www/Webware/WebKit/AppServer.py", line 171, in createApplication return Application(server=3Dself) File "/htdocs/www/Webware/WebKit/Application.py", line 127, in __init__ self._taskManager.start() File "/var/tmp/python2-2.2.3-root/usr/lib/python2.2/threading.py", line 396, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread Exiting AppServer rburnham@modwest:/$ cat AppServer #!/bin/sh # as long as the appserver returns a 3, it wants to be restarted cd /htdocs/www/Webware/WebKit retcode=3D3 while test $retcode -eq 3; do /usr/bin/python2.2 Launch.py ThreadedAppServer $* retcode=3D$? done Anyone have any suggestions? Thanks! --=20 Roger Burnham www.blennylips.com |