send help! trying to install on slackware !!! (long post) #9151
Replies: 1 comment 1 reply
-
Looks like postgres wont start because of permissions. Sorry about the hostility you faced in #selfhosted:matrix.org, those folks are very impatient and elitist. You will get more help from smaller, more tight knit communities where empathy and treating people like people is part of the norms / rules. Ultimately it looks like either your postrgres installation is messed up, or the postgres package for slackware is messed up. Normally when software like this is installed, the installer ( slackware package in this case ) is supposed to set up all the permissions of various different folders correctly so that the software can run. However in this case it appears that this did not happen. If you wish to see the "smoking gun" you may be able to use syscall-level debugging tools like strace to instrument the filesystem related system calls that postgres application process(es) are making to the OS. Then you can see exactly which one fails. We already know a little bit about it: so it sounds like some start script (presumably running as the postgres user) is trying to open a file named logfile, however the postgres user does not have permission to open this file. Here is a result I found on google search when I searched for that error message: https://www.postgresql.org/message-id/44A82CC5.8030300%40gmail.com It sounds like perhaps this start script is writing a file into the current directory? That sounds bizzarre but it does sort of jive with what you are seeing. So maybe you can try making a directory thats owned by postgres, If that doesn't work, see if you can locate the start script itself and edit it. Try adding debug Might also be worth it to search the process list for postgres to see if any other processes named postgres are already running. Kill any postgres related processes before trying to start it again. |
Beta Was this translation helpful? Give feedback.
-
os info :
things done :
thing NOT done and trying to do:
why i cant do it?
error log:
bug from stackoverflow answer (you didnt mentioned it on page):
another stackoverflow thing which i got... from slackware matrix folks... o.O
your bug (idk where a bug, either in useradd/adduser or postgres itself, first try was my root password, second nothing, later left laptop with rage):
my try to reinterprete tutorial made this :
anyone ?
yes, i also would to have you official on matrix/irc/other place, not only on propertiary plataforms like here or discord (thank god i didnt yet shutted this github :/ )
Beta Was this translation helpful? Give feedback.
All reactions