This forum is no longer active. Please post your questions to our new community site

Forums LAPPStack

unable to start PostgreSQL

Subscribe to unable to start PostgreSQL 5 post(s), 2 voice(s)

 
Avatar masteraldo 3 post(s)

Hi,

I recently installed the LAPP stack 1.2-1 on Debian 5.0

The install process worked fine and Apache starts regularly when typing:
/home/user/lappstack-1.2-1/ctlscript.sh start apache

The problem is that when i try to start PostgreSQL i recive this error:

postgres cannot access the server configuration file “/home/user/lappstack-1.2-1/postgresql/data/postgresql.conf”: Permission denied
/home/user/lappstack-1.2-1/postgresql/scripts/ctl.sh : postgresql could not be started

I also tried to start it as root, check the file permissions (and they are ok), search in different forums but i had no luck

If someone could help me, he would give me a really great favor.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Did you install the application as a regular user or as a root user? Could you post the result of “ls -l /home/user/lappstack-1.2-1/postgresql” ?

 
Avatar masteraldo 3 post(s)

Thx for the response,

I installed it as a regular user and this is that ls -l /home… prints:

totale 8
drwxr-xr-x 2 user-server user 1264 18 mar 23:23 bin
drwx——— 11 user-server user 496 21 mar 21:17 data
drwxr-xr-x 6 user-server user 744 18 mar 23:22 include
drwxr-xr-x 3 user-server user 1552 18 mar 23:23 lib
drwxr-xr-x 2 user-server user 104 18 mar 23:22 php-extensions
rw——— 1 user-server user 566 18 mar 23:47 postgresql.log
drwxr-xr-x 2 user-server user 72 18 mar 23:22 scripts
drwxr-xr-x 7 user-server user 712 18 mar 23:22 share

 
Avatar masteraldo 3 post(s)

EDIT: I solved the problem simply reinstalling the stack, now it starts correctly without any problem fortunatly :) many thanks anyway for your help

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

I’m glad to hear this.

Forums LAPPStack