[plug] DebNewbie Q?
sol
solhanna at dingoblue.net.au
Wed Nov 7 09:25:55 WST 2001
Anthony J. Breeds-Taurima wrote:
> On Tue, 6 Nov 2001, sol wrote:
>
>
>> Looks like the same problem. Here's the log:
>>
>> sol at debian:~$ su -
>> Password:
>> debian:~# su - postgres
>> postgres at debian:~$ createuser -P sol
>> Connection to database 'template1' failed.
>> ERROR:mdopen: couldn't open /var/lib/postgres/data/pg_shadow: Permission
>> denied
>>
>> (Is the above what you meant by capturing the command?) Permissions for
>> this file are set to 600. This is all very strange.
>
> Perfect.
> Can you do a dpkg --get-selections | grep postgres
>
> So we can see what [postgres] packages are on the box.
> You did install it from .debs right ??
> You may have said before, what version of debian and postgres are we looking
> at ???
>
> The perms on the file look right.
> Can you try:
> cd /var/lib/postgres/ && ls -laR
>
> Yours Tony.
>
> /*
> * "The significant problems we face cannot be solved at the
> * same level of thinking we were at when we created them."
> * --Albert Einstein
> */
>
>
>
Okay. This is what I got (as root):
debian:home/sol# dpkg --get-selections | grep postgress
postgresql install
postgresql-client install
postgresql-contrib install
postgresql-dev install
postgresql-doc install
postgresql-pl install
postgresql-slink install
dselect tells me that postgresql-d is version 6.5.3-26. I installed the
postgresql packages from the UWA ftp mirror whatever is current and stable.
With regard the ls on /var/lib/postgres I did it, and it's a lot of
output. I don't know how to pipe the output into my Mozilla mail new
message. How do you usually pipe output from a console to an outgoing
email? (I'm still not that familiar with the CLI; I'm just weaning
myself of the click and drag mentality this last few weeks having moved
over to Debian without GNOME to hold my hand.)
Thanks,
Sol
More information about the plug
mailing list