[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: initial database setup on 1.4
- Subject: Re: initial database setup on 1.4
- From: Grant <..hidden..>
- Date: Mon, 21 Jan 2013 00:23:13 -0800
>> 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?
- 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