[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initial database setup on 1.4





On Mon, Jan 21, 2013 at 12:23 AM, Grant <..hidden..> wrote:
>> I followed the instructions for setting up ledgersmb here:
>>
>>
>> http://www.howtoforge.com/installing-ledgersmb-1.3-series-open-source-accounting-erp-application-on-ubuntu-11.10-oneiric-ocelot-p2
>>
>> but I'm getting the following in my apache error log after submitting
>> the setup.pl form:
>>
>> DBI connect('dbname=template1','',...) failed: FATAL:  role "apache"
>> does not exist at LedgerSMB.pm line 868
>>
>> Does anyone know what went wrong?
>
>
> Your web server is running as the "apache" user, right?  This will then
> happen when mod_rewrite is not working right. Is mod_rewrite installed and
> available?

I have the following in /etc/apache2/httpd.conf:

LoadModule rewrite_module modules/mod_rewrite.so

Do I need any additional mod_rewrite config?


Quite possibly.  I don't know Gentoo that well, but this might be of interest:
 http://forums.gentoo.org/viewtopic-t-465435.html

- Grant


>> postgres=# \l
>>                                 List of databases
>>    Name    |   Owner   | Encoding | Collate |    Ctype    |   Access
>> privileges
>>
>> -----------+-----------+----------+---------+-------------+-----------------------
>>  ledgersmb | ledgersmb | UTF8     | C       | en_US.UTF-8 |
>>  postgres  | postgres  | UTF8     | C       | en_US.UTF-8 |
>>  template0 | postgres  | UTF8     | C       | en_US.UTF-8 |
>> =c/postgres          +
>>            |           |          |         |             |
>> postgres=CTc/postgres
>>  template1 | postgres  | UTF8     | C       | en_US.UTF-8 |
>> =c/postgres          +
>>            |           |          |         |             |
>> postgres=CTc/postgres
>> (4 rows)
>>
>> - Grant

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users