I'm trying to install tmda-cgi on a RHEL4 system running postfix. I
have the basic stuff working, but when I log in to tmda-cgi as a
non-tmda enabled user and click on the "Yes, sign me up" link, I get the
following error:
Traceback (most recent call last):
File "tmda-cgi.py", line 125, in ?
Call(Install)
File "tmda-cgi.py", line 88, in Call
Library.Show()
File "/var/www/html/tmda/Install.py", line 676, in Show
Install() # Does not return.
File "/var/www/html/tmda/Install.py", line 373, in Install
CreateTgz(Backup, FilesClobbered)
File "/var/www/html/tmda/Install.py", line 106, in CreateTgz
os.rename(SrcFn, DstFn)
OSError: [Errno 2] No such file or directory
At the same time, /var/log/httpd/error.log records the following:
[error] mod_mime_magic: can't read `/var/www/html/tmda/tmda.cgi', referer:
http://www.[snip].[snip]/tmda/tmda.cgi
My tmda-cgi/skel/install/ directory looks like this:
[skel]# pwd
/var/www/html/tmda/skel
[install]# ls -la
total 32
drwxr-xr-x 5 root root 4096 Mar 28 15:53 .
drwxr-xr-x 5 root root 4096 Mar 2 09:07 ..
-rw-r--r-- 1 root root 1497 Mar 28 15:53 anomalies
-rw-r--r-- 1 root root 23 Mar 28 15:50 .forward
drwxr-xr-x 3 root root 4096 Mar 2 09:07 %(Parent)s
drwxr-xr-x 6 root root 4096 Mar 2 09:07 .svn
drwxr-xr-x 6 root root 4096 Mar 2 09:07 .tmda
-rw-r--r-- 1 root root 84 Mar 28 15:51 .tmdarc
[skel]# cd install/
[install]# pwd
/var/www/html/tmda/skel/install
[install]# ls -l .tmda
total 20
-rw-r--r-- 1 root root 719 Mar 2 09:07 config
-rw-r--r-- 1 root root 13 Mar 2 09:07 crypt_key
drwxr-xr-x 3 root root 4096 Mar 2 09:07 filters
drwxr-xr-x 3 root root 4096 Mar 2 09:07 lists
drwxr-xr-x 3 root root 4096 Mar 2 09:07 templates
-rw-r--r-- 1 root root 0 Mar 2 09:07 tmda-cgi.ini
Does anybody have any ideas what might be causing this?
TIA,
Paul
--
Paul W. Smith
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users