On Mon, 21 Apr 2008, Thomas Schmidt wrote:
> Hi, I am trying to setup a smoon server on openSUSE 10.3 from the 1.1.1.1
> release.
> I changed the dev.cfg to use a mysql backend.
>
> When running: smoltSendProfile -as
http://localhost:8080
> I get: "An error has occured while contacting the server: [Errno 14] HTTP
> Error 500: Internal error"
> the server log is attached.
>
> Checking the HTTP traffic shows that the /tokens/token_json?uuid=... call
> returns successful.
> Also the POST to /client/add_json returns with a HTML page containing a pub
> uuid,
> but there is nothing stored to the database, I cannot see an UPDATE or INSERT
> statement in the log.
> The third call /tokens/admin_token_json?uuid=... then fails because it can not
> lookup the uuid from db.
>
> Has somebody an idea what could go wrong here?
> Greetings
>
A bug got introduced somewhere around 1.1.1 where if the database had no
entries in it already, it wouldn't allow new ones and I'd bet money thats
what you're seeing there. Would you mind putting some fake stuff into the
db and see if that fixes your problem? If it does we'll make sure to get
a patch in and available asap.
I added a fake entry to each table with correct relations of the foreign keys.
But I still get the same error. Can you reproduce the problem with a fresh setup?
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Don't Panic", Douglas Adams (1952 - 11.05.2001)