473,473 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1644
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: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.