472,952 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

Fwd: installing postgres7.3.4 problem II

Please, disregard my last message. I've discovered that in "password" file it
was mentioned a path '/var/lib/psql' where Mandrake distro installed postres
previously. I've solved it.

But I still have another problem:

A later step in Postgres installation instructions says:
"/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &"
and with this I obtain:
"bash: logfile: Dennied permission"

I don't know bash either, so I can't understand the problem.

Could you give me a hand?

Javier

------------------------------------------------------
---------- Mensaje reenviado ----------

Subject: installing postgres7.3.4 problem
Date: Tue, 26 Aug 2003 18:10:10 +0200
From: javier garcia - CEBAS <rn***@cebas.csic.es>
To: pg***********@postgresql.org

Hi all.
(I'm a newby. I recognize it)
At the moment I had postgres running on my Linux machine with no problem.
I had version 7.2 installed, and this version came along with my Mandrake
distribution.
Now, I want to install a contribution package (postgis extensions), and
previously I would like to install a newer postgres version.
So, I've downloaded the postgres-7.3.4 source code and compiled it. But,
following the guidelines in the documentation, after "make install", I've
typed:
# su - postgres
(I don't know the meaning of a "login shell", but this is not my problem)
And then appears the message (in spanish):
"su: atention: we can't change to the directory /var/lib/pgsql: the directory
or file doesn't exists"

Previously I had postgres databases in /var/lib/pgsql. But I've uninstalled
the previously the 7.2 version and I don't know why this happens.

Could anyone guide me with this?

thanks and regards

Javier

-------------------------------------------------------

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 11 '05 #1
2 1622
javier garcia - CEBAS wrote:
Please, disregard my last message. I've discovered that in "password" file it
was mentioned a path '/var/lib/psql' where Mandrake distro installed postres
previously. I've solved it.

But I still have another problem:

A later step in Postgres installation instructions says:
"/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &"
and with this I obtain:
"bash: logfile: Dennied permission"

I don't know bash either, so I can't understand the problem.

Could you give me a hand?

Javier


Javier,
What user are you when installing postgres?
You might try to do the following:
--
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data -l
/tmp/pgsql.log start

--

Basically, the problem you are having is that the user that you are
currently logged intot he shell as, doesn't have permission to
create/write to the 'logfile' in the current directory. My suggestion
would write your log to the /tmo directory. (which most users should
have access to write to)

-Robby

--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
rr******@commandprompt.com | Telephone: (503) 222.2783
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 11 '05 #2
On Tue, Aug 26, 2003 at 18:40:12 +0200,
javier garcia - CEBAS <rn***@cebas.csic.es> wrote:
Please, disregard my last message. I've discovered that in "password" file it
was mentioned a path '/var/lib/psql' where Mandrake distro installed postres
previously. I've solved it.

But I still have another problem:

A later step in Postgres installation instructions says:
"/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &"
and with this I obtain:
"bash: logfile: Dennied permission"

I don't know bash either, so I can't understand the problem.


You don't have access to create or write 'logfile' in the current directory.
You might want to use a full path to wherever you want the logfille to be.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 11 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ralph Freshour | last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP? Thanks...
3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
3
by: jaggi | last post by:
Hi all, I downloaded DB2 enterprise edition from partnerworld on ibm.com and unzipped and untarred it and copied it to CD and tried installing on AIX using SMIT. I am getting errors while...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
3
by: Alejandro D. Burne | last post by:
Sorry, but no reply on pgsql-ports@postgresql.org. ---------- Forwarded message ---------- From: Alejandro D. Burne <alejandro.dburne@gmail.com> Date: Mon, 15 Nov 2004 15:00:58 +0100 Subject:...
0
by: rrp83 | last post by:
Hi All Can anyone fwd me the code for converting a string to bytes similar to the GetBytes function in C# and viceversa?? Regards, RRP83
0
by: 2Barter.net | last post by:
Fwd: A Blessing found for Daytona Beach Florida Hello This is Craig Oral Somerford and I've been using Gmail and thought you might like to try it out. Here's an invitation to create an...
1
by: jake77.lucas | last post by:
I'm using 2005.Net C++ compiler. I have a base class in namespace A (call it Class1). I derive another class from it, (call it Class2) defined in namespace B. This derived class contains as a...
7
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.