473,656 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Odd permission denied message when starting client

I have just installed Postgresql 7.3.4 on my slackware 9.1 system.
The installation went fairly smoothly and the server process has
started normally:-

postgres 21027 20767 0 20:12 pts/5 00:00:00 -su
postgres 21246 1 0 20:17 pts/3 00:00:00 /usr/bin/postmaster -D /var/lib/postgresql/data
postgres 21248 21246 0 20:17 pts/3 00:00:00 postgres: stats buffer process
postgres 21251 21248 0 20:17 pts/3 00:00:00 postgres: stats collector process
However when I try and run a postgres client process as an ordinary
user I get the following:-

FATAL: could not open configuration file "postgresql.con f": Permission denied

As I understand it the permissions on the postgresql data directory
should be 0700 and owned by the postgresql user and this is how they
are set. So what permission(s) is this error complaining about?

--
Chris Green (ch***@areti.co .uk)

"Never ascribe to malice, that which can be explained by incompetence."

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
2 4199
On Thu, Nov 18, 2004 at 09:27:08PM +0000, Chris Green wrote:
I have just installed Postgresql 7.3.4 on my slackware 9.1 system.
The installation went fairly smoothly and the server process has
started normally:-

postgres 21027 20767 0 20:12 pts/5 00:00:00 -su
postgres 21246 1 0 20:17 pts/3 00:00:00 /usr/bin/postmaster -D /var/lib/postgresql/data
postgres 21248 21246 0 20:17 pts/3 00:00:00 postgres: stats buffer process
postgres 21251 21248 0 20:17 pts/3 00:00:00 postgres: stats collector process
However when I try and run a postgres client process as an ordinary
user I get the following:-

FATAL: could not open configuration file "postgresql.con f": Permission denied

As I understand it the permissions on the postgresql data directory
should be 0700 and owned by the postgresql user and this is how they
are set. So what permission(s) is this error complaining about?

Who is being stupid then! Me!!!! :-)

The 'postgres' command is trying to run the server, oops.
I'll go away again and shut up for the moment.

--
Chris Green (ch***@areti.co .uk)

"Never ascribe to malice, that which can be explained by incompetence."

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #2
Chris Green <ch***@areti.co .uk> writes:
However when I try and run a postgres client process as an ordinary
user I get the following:- FATAL: could not open configuration file "postgresql.con f": Permission denied


You don't run "postgres" as an ordinary user. You want a client
application, such as "psql".

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #3

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

Similar topics

12
2514
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the new XP machine I get a permission error when the service tries to open a text file on the Windows...
3
2756
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
0
1218
by: Jeremy | last post by:
I have an ASP.net application which needs to retreive images from multiple remote machines. It is reterieveing images generated by a web cam service on those machines. All of these machines, including the development machine are running on the same windows user account. On the development machine, the app works great. The other client machines run into directory permission problems when attemptiong to browse the directory the images are...
0
6849
by: phil469 | last post by:
I'm having an issue when trying to read a file in a user's homedir from a cgi script. I have a virtual host section in my httpd.conf file which I'll include. The cgi script is a very basic script written in Perl just for testing. I believe I need to find the correct <Directory> entry or some other Directive in Apache to make this work, but I've had no luck for a week now. I've tried many different things, but w/ no luck. I even tried adding...
0
3195
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
3397
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
1
3142
by: private.anders | last post by:
Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content). set WshShell = server.createobject("wscript.shell")
1
7159
by: wo3kie | last post by:
I had not any issues with Windows, but with Linux I failed It is going about an example from boost::asio library tutorial # Daytime.1 - A synchronous TCP daytime client # Daytime.2 - A synchronous TCP daytime server After compilation, I changed access settings for files # chmod a+x server.cpp # chmod a+x client.cpp
4
2662
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should repopulate with the new country's state/proviences. Running on the host, the dropdown does not repopulate and says 'Permission Denied', I take this to mean that at the host, a viewer does not have permission to put new items in the State dropdown.
0
8382
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8717
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8498
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8600
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7311
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1930
muto222
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.