Ubuntu :: Permissions Error With PostgreSQL Psql Process?

Aug 13, 2011

I have installed PostgreSQL 9.0 in Ubuntu 11.04.The following is a bit long-winded and cross-relates to PostgreSQL,I ran the PostgreSQL installation thus:

Code:
sudo su
./postgresql-9.0.4-1-linux.bin[code]....

The problem, obviously, is the "Permission denied" error. What/where am I going wrong? From my directory listing I can see that the permissions for gjd_sentinel_data are drwxrwxrwx with owner/group of postgres. On that basis I can't see why there is the problem.I am wondering if it has something to do with the psql process running as, or owned by, user postgres? Or that I am running as the wrong user? Or something else beyond my experience?

---
Ubuntu 11.04 with GNOME2 classic desktop
Single user.
Dual boot with Windows XP Home

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Postgresql Not Starting - Error "psql: Could Not Connect To Server: No Such File Or Directory"

Feb 1, 2010

I'm trying to install postgresql 8.3 on Ubuntu 8.04 LTS server and I'm running into problems starting it. Commands I've done # apt-get install postgresql postgresql-common Things I've tried Starting it manually

# /etc/init.d/postgrsql-8.3 start

Nothing appears in my /var/run/postgresql When I try and start psql as the postgres user I get the following error psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I've been following the docs at: https://help.ubuntu.com/community/PostgreSQL

View 2 Replies View Related

Ubuntu :: How To Catch / Supress Errors From Psql

Jun 23, 2010

How can I catch/supress errors from psql? I've got a simple program that will query psql, if a table is there it returns a 1 else returns a 0. The problem is I get the error message as well. How can I trap the error and just get the 1 or 0 to return?

View 1 Replies View Related

Debian :: Cannot Upgrade - Postgresql Common Error

Jul 6, 2011

I upgraded to testing to 2-6-39-2-amd64 successfully (from 2-6-38...), but when I start to upgrade software packages, there is an error E: postgresql-common: subprocess installed post-installation script returned error exit status 1 I tried to pkill -9 postgresql-common and restart the package upgrade, but got the same error message. Here is the dpkg.log

[Code]...

View 1 Replies View Related

Server :: Encode Mismatch Error In Postgresql

Jul 12, 2010

we have postgresql database in our server. when i tried to install our application it throws some error like "org.postgresql.util.PSQLException: ERROR: encoding UTF8 does not match locale en_US Detail: The chosen LC_CTYPE setting requires encoding LATIN1". the locale which is set in our server is

[code]...

I don't know how to approach to solve this error.

View 1 Replies View Related

Ubuntu Installation :: Postgresql Works From Cli - Error Call To Undefined Function

Aug 4, 2011

I have weird problem with postgresql + nginx + php5 0 ubuntu 11.04. Postgresql works just fine, when I run "php test.php" from shell. I assume php runs from shell are called cgi runs? When I open page from browser [URL]... I get following error. I assume php runs from browser are called cgi runs? Fatal error: Call to undefined function pg_connect() in /var/www/mydomain/htdocs/test.php on line 7 When you print php info, only reference to postgresql is pgsql.ini and pdo_pgsql.ini files that are parsed.

[code]....

I did install postgresql by running following commands:

sudo -s
aptitude install postgresql
aptitude install php5-pgsql

View 2 Replies View Related

Ubuntu Servers :: Server Process Created Files Permissions

Nov 20, 2010

Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.

View 4 Replies View Related

Ubuntu :: Install A Copy Of Postgres Using The .bin - Error "bash: ./postgresql-9.0.4-1-linux.bin: No Such File Or Directory"

May 26, 2011

I'm trying to install a copy of Postgres using the .bin(I want pg Admin III as well which is why I'm not using apt-get). It's sitting in downloads so I did the following:

$ cd /home/ryan/Downloads
$ sudo chmod +x postgresql-9.0.4-1-linux.bin
$ ./postgresql-9.0.4-1-linux.bin

but I keep getting: -bash: ./postgresql-9.0.4-1-linux.bin: No such file or directory I did -ls and the file is there and I can't figure out how to get this installed.

View 9 Replies View Related

General :: PostgreSql Error "database Disk Image Is Malformed" After Db Dump

Dec 9, 2010

i created a db_dump from PostgreSql-8.2 and trying to dump it into PostgreSql-8.4 new install. 2 of the 3 databases are fine, except for minor issues, but the 3rd database is giving me the following error message when i start a service calling on it, assist: "database disk image is malformed"

View 1 Replies View Related

Ubuntu :: Error - E - Sub-process /usr/bin/dpkg Returned An Error Code - 1

May 9, 2011

I have just upgraded my ubuntu to 11.04 .After it is done ,I could install any software ,the error is as follows:

E: Sub-process /usr/bin/dpkg returned an error code (1)

I wonder what is the meaning of the error.

View 3 Replies View Related

General :: Error : There Was An Error Setting Up Inter-process Communications For KDE

Mar 5, 2010

I've been using Kate for a while without any problems.

However, today I tried to install Kedit.

Then I got this message:

"There was an error setting up inter-process communications for KDE. The message returned by the system was:

Could not read network connection list. /home/mikeb/.DCOPserver_XXX__0

Please check that the "dcopserver" program is running!"

Then I uninstalled Kedit, hoping that the damage would be undone.

However, Kate still shows the same message upon startup.

So I reinstalled Kate, and got the same thing.

What did the Kedit installation mess up, and how I can I fix it so I can use Kate again?

View 9 Replies View Related

Debian Configuration :: Error Starting Domain: Internal Error Process Exited While Reading Console Log Output

Sep 9, 2010

I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied

The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?

View 1 Replies View Related

Ubuntu :: Permissions Error Under Wine?

Feb 19, 2011

I am trying to run ucertify under wine, but when I try to run I receive the error: unable to create copy of userdatatemplate.ucp to userdata.ucp. make sure you have enough permission to create file in C:program filesucertifyprepengine to create a new file.

I believe I have provided full access to the ".wine>dosdevices>c" so I don't know if I'm missing something obvious?

Has anybody faced this error and overcome it?

View 1 Replies View Related

Server :: Permissions Error With NFS ?

Jan 2, 2010

I am having a bit of an issue with a NFS configuration. Initially I had no issues when both the server and client were both running Ubuntu Karmic. The client is now running Fedora Core 12 and when I mount the share I get "You do not have the permissions necessary to view the contents of Mnt". I came across this troubleshooting guide and it suggests that the issue may be the UIDs are not in sync on the server and client. If this is the issue, which usernames do I need to sync and how would I do that?

View 2 Replies View Related

Ubuntu :: Apache & Group Permissions - 403 Forbidden Error

Nov 12, 2010

this costed me a whole day of trying and retrying. I set up a small home server with apache, php, and mysql.

System infos:
Linux 2.6.31-22-generic-pae
Ubuntu 9.10 Karmic Server edition
Apache/2.2.12 (Ubuntu)

Until now, it served happily a couple of sites, with no problems. But now, I wanted to set up my ftp server to point to the same directory as one of the sites, for me to be able to upload and manage files via ftp. As a server I normally use proftpd. With my usual config, proftpd runs with its own user and simulates the user ftpuser:ftpgroup when creating files. So I just changed all the files to be owned by this user and group. Permissions set to 770.

Everything works fine, and I'm able to access the data via ftp. BUT, when I try to browse my site the usual way (i.e. point firefox to its address) a 403 forbidden error is issued. Of course, you will say: you didn't allow access to apache. Well, I remembered that right away, and added the user www-data to the ftpgroup user. Now I espect apache to be able to read and serve the files.

Still same problem. 403. The apache error log is full with "permission denied" errors. After many attempts, I logged in as the user www-data, and tested access to the files. This way I'm able to cd into the directory, and read-write the files with nano. As a test, I tryed the other way around. Setting www-data:www-data as the owner of the files, and adding the ftpuser to the www-data group. This way apache works, but proftpd does not. Most probably it has something to do with a misunderstanding of groups permissions or the way this two deamons access the files.

View 9 Replies View Related

Ubuntu :: Torrents Will Not Start Due To 'Permissions Denied' Error

Jul 27, 2011

My Torrents will not start due to a "Permissions denied" error.The folders with the files being download have it set 777, so I'm thinking it's something else.When I look at the auth log, It does appear that it is that folder causing the issue.I can keep guessing the cause of permissions, but I do not know how to trace the problem.

View 1 Replies View Related

Server :: SELinux Permissions \ Getting The Error Described In This Bug?

May 20, 2011

I'm getting the error described in this bug. The fix is described in the bug:Code:The following additional SELinux permissions were found to resolve the situation:

samba_domtrans_winbind_helper(httpd_t)
allow httpd_t winbind_helper_t:process signal;
apache_append_log(winbind_helper_t)

[code].....

View 2 Replies View Related

Programming :: Getting Permissions Denied Error In Every IDE

Jun 8, 2010

I have three partitions. One for each: Windows, Debian and my files. I wanted a partition available in all systems, so I created FAT32 and mounted it as /data and drive D. In linux I created symlinks in my /home folder to /data/documents/xxx/xxx. I wanted to save my projects on that partition, but in every IDE I tried I get the permission denied error.
Screenshot
What should I do to make /data writable for IDEs? As normal user I have full access to it.

View 9 Replies View Related

Ubuntu Installation :: Cannot Install Package - Permissions Error While Using Sudo

Mar 17, 2010

tl;dr - sudo make -> operation not permitted, sudo chown -R 777
* -> operation not permitted on some of the files

I am trying to install a library. Sudo make is getting permission denied on file 1, while using regular make I am getting permission denied on file 2. I have noticed some of the directories in the library are under nobody:nogroup. I tried chown and sudo chown, both didn't work. Sudo chown got permission errors, while chown didn't change ALL the files. (operation not permitted once again) Tried sudo su, and working from there, that also did not work. (permission once again). Using lsattr returned "lsattr: Inappropriate ioctl for device While reading flags on".

Code:
sudo chmod -R 777 *
chmod: changing permissions of `Makefile': Operation not permitted
chmod: changing permissions of `Makefile.am': Operation not permitted
chmod: changing permissions of `Makefile.in': Operation not permitted
chmod: changing permissions of `queue.c': Operation not permitted
chmod: changing permissions of `queue.h': Operation not permitted
chmod: changing permissions of `ucutil.h': Operation not permitted
Note the .libs folder not having write permission....

Code:
chmod -R 777 *
constantin@Nadfadfo:~/network_home/constantin/libraries/unicap/libunicap-0.9.8/common$ ls -la
total 68
drwxrwxrwx 4 constantin constantin 4096 2010-03-17 11:31 .
drwxrwxrwx 8 constantin constantin 4096 2010-03-17 11:31 ..
drwxrwxrwx 2 constantin constantin 4096 2010-03-17 11:31 .deps
drwxr-xr-x 2 nobody nogroup 4096 2010-03-17 11:31 .libs
-rwxrwxrwx 1 constantin constantin 15295 2010-03-17 11:31 Makefile
-rwxrwxrwx 1 constantin constantin 130 2010-01-17 08:17 Makefile.am
-rwxrwxrwx 1 constantin constantin 15262 2010-01-17 08:17 Makefile.in
-rwxrwxrwx 1 constantin constantin 6101 2010-01-17 02:49 queue.c
-rwxrwxrwx 1 constantin constantin 1667 2010-01-17 02:49 queue.h
-rwxrwxrwx 1 constantin constantin 125 2010-01-17 02:49 ucutil.h
System: Karmic Koala 64-bit

View 1 Replies View Related

Ubuntu :: Matlab Permissions Error - Cannot Write To Preference File

Jul 9, 2010

I recently Installed Matlab and it keeps giving me this permission error, even after running the following command.

sudo chown -R ${USER}:${USER} ~/.matlab
Cannot write to preference file "matlab.prf" in "/home/"username"/.matlab/R2010a".
Check file permissions.
Cannot write to preference file "matlab.prf" in "/home/"username"/.matlab/R2010a".
Check file permissions.
The desktop configuration was not saved successfully

View 1 Replies View Related

Ubuntu Networking :: Sharing Options - Sub Folders Permissions Error

Oct 30, 2010

I'm on Ubuntu 10.10. I installed Samba and went Administration > Samba. Added a folder [Videos] to share (this folder is on an ext partition). I then went to the folder [Videos] Right+Click > Sharing Options. I selected 'Share this folder', I put in a name and comment, checked Allow others to create and delete files in this folder and checked Guest Access.

When I view this shared folder [Videos] from my Windows PC I can access it with no problems but when I try drill down into sub folders I get a permissions error. [Attached a screenshot of the error]. If I share each folder separately then I can access them but obviously I'd like to share a folder and all it's contents.

View 9 Replies View Related

Ubuntu One :: Error - The Process Did Not Finish Successfully

Apr 25, 2011

When I try to connect UbuntuOne, it gives an error -"The process did not finish successfully."

View 6 Replies View Related

Ubuntu :: 11.04 Error When Updating - Failed To Process

May 4, 2011

ran ubuntu tweak clean up on kernals and it failed to remove one. following this tried to search for updates and getting this error

[code]...

View 3 Replies View Related

Ubuntu :: Permissions - Save A File Into The Partition And Get An Access Denied Error

Oct 10, 2010

I mount a partition to a directory and ls -liah tells me that everyone has read/write/execute permissions on the whole thing, but I try to save a file into the partition and I get an access denied error. First of all this doesn't make sense because ls is telling me I do have access.

Then it gets weirder. I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem. This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.

View 1 Replies View Related

Ubuntu Servers :: Permissions Error For Phpmyadmin After Change To Fast CGI (mod Fcgid)?

Nov 22, 2010

I'm still getting my head around setting things up on my web server, I've configured php to run off of Fast CGI, rather than mod_php, due to better memory consumption. I've managed to get my virtual hosts configured to work with fastcgi, ensuring the following options are set:

AddHandler fcgid-script .php
FCGIWrapper /usr/lib/cgi-bin/php5 .php
Options +ExecCGI FollowSymLinks

I tried adding those settings to /etc/phpmyadmin/apache.conf, but this doesn't seem to work. Whenever I go to www.mydomain.com/phpmyadmin , I just get a 403 Forbidden Error. This used to work no problems on mod_php.

[URL].. because the alias is set so that my virtual hosts can access it through /phpmyadmin. There is probably something basic I am missing here.

View 1 Replies View Related

Ubuntu :: 11.04 Update Error Message About File Permissions And To Check Connection?

May 3, 2011

I had to register with a new username, because I could not remember my logon details and have since changed ISP so could not get details sent, anyway that aside to the problem.

I upgraded to 11.04 and all went well (hence posting here and not in the Upgrade section) and it is running fine, well until yesterday.

I ran the update manager as I usually do when first entering Ubuntu and it did an update but then gave me an error message about file permissions and to check my connection (which was connected OK).It has also affected the Software Installer, and now I can not install any new software.

Is this a generic problem with the latest update or is it just my Dell Inspiron 1545 please?

View 1 Replies View Related

Ubuntu :: Sub-process /usr/bin/dpkg Returned An Error Code (1)

Jan 14, 2010

I think that my computer crashed one time, while I was in middle of installing some new software, and it seems like it have made "dpkg" confused with itself - it thinks, that I still need to install "Wine", but it is allready installed, so everything is allright. But everytime, when I am upgrading or installing any kind of software, it give me this error (just an error, everything still works and installs fine):

Code:
Setting up wine (1.0.1-0ubuntu8) ...
kernel.printk = 4 4 1 7
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1

[Code]....

Errors were encountered while processing: wine E: Sub-process /usr/bin/dpkg returned an error code (1)

View 6 Replies View Related

Ubuntu :: There Was An Error Creating The Child Process Of This Terminal

Feb 13, 2010

I get the error

Code:
there was an error creating the child process of this terminal

When I run this code:

Code:
gnome-terminal --window-with-profile=Scripts

View 2 Replies View Related

Ubuntu :: Error Creating Child Process R-commander - On LTS 10.4

May 8, 2010

I work with social sciences and I really need to use "R". R is a program used for statistics and it has a module called R-commander, which let things easier to deal and comes with several options as opening SPSS files (another statistical package commonly used by Windows users) and other things. THe problem is, as Rcmdr is a module for R, when I run it, it opens a terminal window and then he runs the module, which opens a friendly gui.

It worked okay and clean in Ubuntu 9.10, but for LTS 10.4 I keep getting an error, no matter I reinstall the modules or the entire program. I even installed Ubuntu again without upgrading it from karmic Koala. But there is the same error msg.

The error message says: "Error while creating a child process for this terminal". The strange part is there is no other msgs in the terminal or errorlogs. I really need to use this software for work.

View 3 Replies View Related

General :: Changing Permissions To Allow Virtual Box To Start Without Error?

Jan 15, 2010

I installed Sun's virtual box 3.1 under Ubuntu 9.04. It worked flawlessly. I upgraded to to 9.10 and know I get a kernel error. rc=-1908 Now I cannot get Windows to load.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved