Hi,
Alberto Furtado wrote:
Hi,
Changed the permissions on the /siremis/files/cache/metadata and now
I am able to login and the interface seems to be working perfectly.
ok, thanks for
update. Pretty weird it complained about not finding
DataSource in first place, rather than directory access restrictions...
Regards,
Ramona
Thanks very much for your help,
Alberto
----- Original Message ----- From: "Elena-Ramona Modroiu"
<ramona(a)asipto.com>
To: "Alberto Furtado" <alberto(a)b2br.net>
Cc: <users(a)lists.kamailio.org>
Sent: Monday, February 16, 2009 6:43 AM
Subject: Re: [Kamailio-Users] Problem login Siremis
> Hi,
>
> Alberto Furtado wrote:
>> Ramona,
>>
>> In the installation I had a bit of trouble with the
>>
>> => Following directories must have write permission for web server:
>> siremis/log, siremis/session, siremis/files and siremis/templates/cpl.
>>
>> And I ended giving "chmod 777" on all the siremis directory.
>>
>> So now I reinstalled the software, did the "chmod 777" only in these
>> directories, changed the DBName to "openser" and now when
>> I login with admin/admin I get this error:
>>
>> [2009-02-15 21:31:23 (GMT)] An exception occurred while executing this
>> script:
>> Error message: #2,
>>
fopen(/var/www/siremis-0.9.1/siremis/files/cache/metadata/A4F23650_profileService.cmp)
>>
>> [function.fopen]: failed to open stream: Permission denied
>> Script name and line number of error:
>> /var/www/siremis-0.9.1/openbiz/bin/BizSystem.php:539
>>
>> I noticed this file does not exist. Show I have changed the owner of
>> the directories?
>
> that file is created by the siremis, that directory must allow the web
> server to write in. It is better to change the owner of all folders and
> their subfolders mentioned in the installation guide to the user that is
> running the web server.
>
> Regards,
> Ramona
>
>>
>> Thanks,
>>
>> Alberto
>>
>> ----- Original Message ----- From: "Elena-Ramona Modroiu"
>> <ramona(a)asipto.com>
>> To: "Alberto Furtado" <alberto(a)b2br.net>
>> Cc: <users(a)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(a)asipto.com>
>>>> To: "Alberto Furtado" <alberto(a)b2br.net>
>>>> Cc: <users(a)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
>>>>>>
------------------------------------------------------------------------
>>>>>>