pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedUnable to start PostgreSQL from user other than root
5+ messages / 4 participants
[nested] [flat]
* Unable to start PostgreSQL from user other than root
@ 2001-02-28 11:32 Silky Mittal <silky212001@yahoo.com>
0 siblings, 1 reply; 5+ messages in thread
From: Silky Mittal @ 2001-02-28 11:32 UTC (permalink / raw)
To: pgsql-admin
Dear Sir,
We are running Linux 6.2 on our machine.
We are able to start postgresql on the root
giving the command /etc/rc.d/init.d/postgresql start.
But if we login as our own created user we are unable
to start postgresql using the same command as above.It
says No such file or directory.Help will be
appreciated.
Thanking You,
Regards,
Silky.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Unable to start PostgreSQL from user other than root
@ 2001-03-02 14:35 Oliver Elphick <olly@lfix.co.uk>
parent: Silky Mittal <silky212001@yahoo.com>
0 siblings, 1 reply; 5+ messages in thread
From: Oliver Elphick @ 2001-03-02 14:35 UTC (permalink / raw)
To: Silky Mittal <silky212001@yahoo.com>; +Cc: pgsql-admin
Silky Mittal wrote:
>Dear Sir,
> We are running Linux 6.2 on our machine.
That is horribly old, full of bugs and sadly lacking in features.
> We are able to start postgresql on the root
>giving the command /etc/rc.d/init.d/postgresql start.
>But if we login as our own created user we are unable
>to start postgresql using the same command as above.It
>says No such file or directory.Help will be
>appreciated.
The postmaster should normally be started by the postgres administrator;
I suppose that the init.d script arranges this for you. It should not
be run by just any user. If you must do this, you probably need to add
something to the user's PATH or define some other environment variable.
If you want to find out more about what is happening, do
sh -x /etc/rc.d/init.d/postgresql start
which will trace each command in the script as it is executed.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"I will lift up mine eyes unto the hills, from whence
cometh my help. My help cometh from the LORD, which
made heaven and earth."
Psalms 121:1,2
^ permalink raw reply [nested|flat] 5+ messages in thread
* RE: Unable to start PostgreSQL from user other than root
@ 2001-03-02 16:11 Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
0 siblings, 1 reply; 5+ messages in thread
From: Michael Ansley @ 2001-03-02 16:11 UTC (permalink / raw)
To: 'Oliver Elphick' <olly@lfix.co.uk>; Silky Mittal <silky212001@yahoo.com>; +Cc: pgsql-admin
>> Silky Mittal wrote:
>> >Dear Sir,
>> > We are running Linux 6.2 on our machine.
>>
>> That is horribly old, full of bugs and sadly lacking in features.
I suspect that Silky meant RH 6.2, not PG 6.2.
>> > We are able to start postgresql on the root
>> >giving the command /etc/rc.d/init.d/postgresql start.
>> >But if we login as our own created user we are unable
>> >to start postgresql using the same command as above.It
>> >says No such file or directory.Help will be
>> >appreciated.
>>
>>
>> The postmaster should normally be started by the postgres
>> administrator;
>> I suppose that the init.d script arranges this for you. It
>> should not
>> be run by just any user. If you must do this, you probably
>> need to add
>> something to the user's PATH or define some other
>> environment variable.
>>
>> If you want to find out more about what is happening, do
>>
>> sh -x /etc/rc.d/init.d/postgresql start
>>
>> which will trace each command in the script as it is executed.
Although the postgres user should be used to start the postmaster, the RH
init script can only be called by root. The script su's to postgres to
start, though.
Unless Silky does not have access to root, or specifically requires dev
access to start and stop postgres, I would suggest leaving it as it is, and
getting postgres started on boot.
Cheers...
MikeA
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
Nick West - Global Infrastructure Manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Unable to start PostgreSQL from user other than root
@ 2001-03-02 16:52 Oliver Elphick <olly@lfix.co.uk>
parent: Oliver Elphick <olly@lfix.co.uk>
0 siblings, 0 replies; 5+ messages in thread
From: Oliver Elphick @ 2001-03-02 16:52 UTC (permalink / raw)
To: Silky Mittal <silky212001@yahoo.com>; +Cc: pgsql-admin
"Oliver Elphick" wrote:
>Silky Mittal wrote:
> >Dear Sir,
> > We are running Linux 6.2 on our machine.
>
>That is horribly old, full of bugs and sadly lacking in features.
Oh no; I read that as PostgreSQL 6.2.
But Linux 6.2 is a misnomer any way - I suppose you mean Red Hat.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"I will lift up mine eyes unto the hills, from whence
cometh my help. My help cometh from the LORD, which
made heaven and earth."
Psalms 121:1,2
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Unable to start PostgreSQL from user other than root
@ 2001-03-02 17:13 Samuel Tardieu <sam@inf.enst.fr>
parent: Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Tardieu @ 2001-03-02 17:13 UTC (permalink / raw)
To: Michael Ansley <Michael.Ansley@intec-telecom-systems.com>; +Cc: 'Oliver Elphick' <olly@lfix.co.uk>; Silky Mittal <silky212001@yahoo.com>; pgsql-admin
On 2/03, Michael Ansley wrote:
| >> Silky Mittal wrote:
| >> >Dear Sir,
| >> > We are running Linux 6.2 on our machine.
| >>
| >> That is horribly old, full of bugs and sadly lacking in features.
| I suspect that Silky meant RH 6.2, not PG 6.2.
Doesn't that apply to RH 6.2 as well? :)
Sam
PS/ sorry for the noise, couldn't help
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2001-03-02 17:13 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-28 11:32 Unable to start PostgreSQL from user other than root Silky Mittal <silky212001@yahoo.com>
2001-03-02 14:35 ` Oliver Elphick <olly@lfix.co.uk>
2001-03-02 16:52 ` Oliver Elphick <olly@lfix.co.uk>
2001-03-02 16:11 RE: Unable to start PostgreSQL from user other than root Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
2001-03-02 17:13 ` Samuel Tardieu <sam@inf.enst.fr>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox