Gossamer Forum
Home : Products : DBMan : Installation :

Cobalt RaQ - Cannot Log In

Quote Reply
Cobalt RaQ - Cannot Log In
Hi!

I recently moved my database to a Cobalt RaQ. Now, nothing seems to work. I cannot log in, but as the default user. Although the permissions are properly set in default.cnf "(1,1,1,1,1)", I am completely unable to add records of any kind - no new users and no database entries. When authentification is turned on, no-one can log in.

It thought it might be a problem with the file permissions, but I have double checked them.

Also there is one post on this board, which talks about a problem that sounds similar. However, it doesn't say whether it has ever been resolved...


This is the link to the other post:

http://www.gossamer-threads.com/perl/forum/showthreaded.pl?Board=DBInst&Number=146810

Any help on this would be greatly appreciated.

Felixi

Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
This reference taken from the FAQ noted below (under section "Admin") may help to solve your problem.

Password file corrupted after server change.

Thread reference:
http://gossamer-threads.com/scripts/forum/resources/Forum5/HTML/000425.html

Problem:
Someone had changed servers and was then unable to login using their password file.

Solution provided by Alex:

It's different crypt() functions. Do this:

1. Erase all entries in the password file.
2. Set $auth_allow_default = 1;
3. Set @auth_default_permissions = (1,1,1,1,1);
4. Go to db.cgi?uid=default
5. Go to admin and add your own users.

That should be it! Reset the authentication back to what you want when you are done.


Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
Hi LoisC,

thanks for your reply. Of course, having read the FAQ I did that already. To no avail.

It appears as if something is preventing DBMAN to write to its files. Strangely enough, this does not result in any error messages.

I wonder if it has something to do with the infamous CGIwrap of the Cobalt RaQs...?

Has anyone ever experienced the same problem? Any hints?
Is DBMAN accessing its files in any special way?

Help would really be appreciated.

Thanks in advance.
Felixi

Yours
Felix.

Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
Have you by any chance searched the forum in all the DBMan forums to see if there are other posts related to "Cobalt RaQ"?

Others may have already posted information regarding this.



Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
Yeah, well... There was one post with a similar problem. A solutions wasn't posted on the board. Instead the script was moveed to a non-Cobalt server. Sadly, that is not an option for me.

:-(

Felixi

Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
I'm running it on Cobalt RaQ server with no problems. I'm also using CGIWrap as well so it shouldn't be that problem. I know you checked you file permissions but check it again. I know that that usually causes problems. If possible, delete all your database files (backing them up) on your server and ftp them back up in ascii mod with the appropriate permissions. I'm using 755 for .cgi files.

Hope this helps.

Julian
Quote Reply
Re: Cobalt RaQ - Cannot Log In In reply to
I found the solution. It can be seen at:

http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=DBInst&Number=156278

The script has to be called like that "/cgi-bin/dbman/db.cgi" instead of "http://foo.bar/cgi-bin/dbman/db.cgi". The HTML autogenerated by DBMAN is incompatible with the RaQs cgiwrapper which prevents external calls with the method "POST".