could not connect to Database

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

could not connect to Database

Post by Thunderstone »



Hi!

I would like to thank you for your extremely fast reply
to my earlier question regarding Webinator 2.1.

After successfully indexing my site I tried to search through
the new database on Netscape. I receive the following error message,
and apparently the path to the database is incorrect because
of the extra "/" at "//webinator/db".

ERROR: Could not connect to
/webadmin/home/web1/musalman/public_html//webinator/db

How can this be remedied, or should I reinstall?

Thanks once again for your help.



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

could not connect to Database

Post by Thunderstone »




You probably entered an extra slash during installation. You could reinstall
or simply edit the search script and remove the extra slash.
Actually though, the extra slash in the path will not cause that error.
Unix will just ignore the extra slash in the path.

Your real problem is probably permissions. It looks like you installed
into a personal subdirectory, so I'll assume you don't have control over
the web server and can't make your programs setuid to the web server
user. You need to make the texis cgi program setuid to yourself (the
owner of the database directory and files). e.g.:
chmod u+s cgi-bin/texis


Post Reply