Ramona,
I should have mentioned before, I am running on CentOS 5.2.
I assume your fist line in Config.xml is:
<?xml version="1.0" standalone="no"?>
Yes, it is.
The rest seems ok. Do you get any error message in /var/log/apache2/error.log?
This is the /var/log/httpd/error_log
[Sun Feb 15 17:48:02 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun Feb 15 17:48:02 2009] [notice] Digest: generating secret for digest authentication ... [Sun Feb 15 17:48:02 2009] [notice] Digest: done [Sun Feb 15 17:48:02 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Sun Feb 15 17:48:03 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Sun Feb 15 17:48:21 2009] [error] [client 127.0.0.1] File does not exist: /var/www/siremis-0.9.1/siremis-web/js/sound.js, referer: http://127.0.0.1/siremis/bin/ [Sun Feb 15 17:48:21 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico [Sun Feb 15 17:48:24 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
You need both of them, first, the default is for openbiz core (auth), the second is for siremis. Set both to same db/username/password.
If I understood correctly I don't have a Database called "openser_siremis" so the config.xml should be like this for the default installation: <Database Name="Default" Driver="Pdo_Mysql" Server="127.0.0.1" DBName="openser" User="openser" Password="openserrw" /> <Database Name="Siremis" Driver="Pdo_Mysql" Server="127.0.0.1" DBName="openser" User="openser" Password="openserrw" /> And I should login in the Siremis interface with UserId= admin Password = admin Correct?
Thanks,
Alberto
----- Original Message ----- From: "Elena-Ramona Modroiu" ramona@asipto.com To: "Alberto Furtado" alberto@b2br.net Cc: users@lists.kamailio.org Sent: Saturday, February 14, 2009 6:26 AM Subject: Re: [Kamailio-Users] Problem login Siremis
Alberto Furtado wrote:
Ramona,
I did not know what to change in the Config.xml so I started with this default:
<Config> <DataSource> <Database Name="Default" Driver="Pdo_Mysql" Server="127.0.0.1" DBName="openser_siremis" User="openser" Password="openserrw" /> <Database Name="Siremis" Driver="Pdo_Mysql" Server="127.0.0.1" DBName="openser_siremis" User="openser" Password="openserrw" /> </DataSource> </Config>
I assume your fist line in Config.xml is:
<?xml version="1.0" standalone="no"?>
The rest seems ok. Do you get any error message in /var/log/apache2/error.log?
Then I changed the DBName to "openser" because I saw that's the Database in MySQL. I didn't change the default user or password since this is a test system on a private IP. Only users root and openser are defined in MySQL. I created USERID "admin" PASSWORD "admin" in ob_users.
I don't think I understood how these users/passwords relate to each other.
You need both of them, first, the default is for openbiz core (auth), the second is for siremis. Set both to same db/username/password.
Regards, Ramona
Thanks,
Alberto
----- Original Message ----- From: "Elena-Ramona Modroiu" ramona@asipto.com To: "Alberto Furtado" alberto@b2br.net Cc: users@lists.kamailio.org Sent: Friday, February 13, 2009 7:31 PM Subject: Re: [Kamailio-Users] Problem login Siremis
Hi,
can you please paste your Config.xml here? Replace username and password for database. Seems that DataSource node is missing.
Regards, Ramona
Alberto Furtado wrote:
Hi,
I am a new user, just installed Kamailio 1.4.3. The Siremis interface will be of great help but I am getting this error when I try to login.
[2009-02-13 18:22:53 (GMT)] An exception occurred while executing this script: Error message: #256, No Database information found in the config file. Script name and line number of error: /var/www/siremis-0.9.1/openbiz/bin/Configuration.php:42
I created the ob_users Table, inserted a user (admin,admin), but I can't seem to figure out what I did wrong. Maybe its not finding the Config.xml ???
Thanks in advance for any help,
Alberto Furtado
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--------------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.23/1951 - Release Date: 13/2/2009 06:51
No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.23/1953 - Release Date: 14/2/2009 18:01