Rights for pgadmin3

Поиск
Список
Период
Сортировка
Искать

Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Hy all of you,

I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the enterprisedb website.
I've installed all the stuff under the root user.
And now when I want to launch the sql panel on a database in the pgadmin panel, pgadmin3 crached.
If I do the same with the root user, everything work fine.
How can I do for preventing pgadmin3 from crashing under a current user?

regards

Re: Rights for pgadmin3

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Sun, 2011-09-04 at 15:24 +0200, Florent THOMAS wrote:
> Hy all of you,
> 
> I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the 
> enterprisedb website.
> I've installed all the stuff under the root user.
> And now when I want to launch the sql panel on a database in the pgadmin 
> panel, pgadmin3 crached.
> If I do the same with the root user, everything work fine.
> How can I do for preventing pgadmin3 from crashing under a current user?
> 

pgAdmin works for me with an unprivileged user. You'll have to tell us
more about your issue for us to help you. Right now, all I can say is
that it should work.


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com


Re: Rights for pgadmin3

От:
Peter Geoghegan <peter@2ndquadrant.com>
Дата:
On 4 September 2011 14:24, Florent THOMAS  wrote:
> Hy all of you,
>
> I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the
> enterprisedb website.
> I've installed all the stuff under the root user.
> And now when I want to launch the sql panel on a database in the pgadmin
> panel, pgadmin3 crached.
> If I do the same with the root user, everything work fine.
> How can I do for preventing pgadmin3 from crashing under a current user?

I suggest that you open PgAdmin3 from an xterm, and see if there are
any useful error messages.

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

Re: Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Hy Guillaume,

Thanks for answering.
Here is the log of my console as I lanch under the current user :

/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available (required by /usr/lib64/libSM.so.6)
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de segmentation  LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3

On the other side, let's have a look of the log under the root user for the same actions (except the fact that it's working under root user):
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available (required by /usr/lib64/libSM.so.6)

According to me the problem is not coming from pgAdmin but from the users rights of my system.
I'll appreciate that the community give me advice  on the better way to manage the user/groups on the 9.0 folder tree.

Regards




Le 04/09/2011 16:01, Guillaume Lelarge a écrit :
On Sun, 2011-09-04 at 15:24 +0200, Florent THOMAS wrote:
Hy all of you,

I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the 
enterprisedb website.
I've installed all the stuff under the root user.
And now when I want to launch the sql panel on a database in the pgadmin 
panel, pgadmin3 crached.
If I do the same with the root user, everything work fine.
How can I do for preventing pgadmin3 from crashing under a current user?

pgAdmin works for me with an unprivileged user. You'll have to tell us
more about your issue for us to help you. Right now, all I can say is
that it should work.


Re: Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Correction under

Le 04/09/2011 16:19, Florent THOMAS a écrit :
Hy Guillaume,

Thanks for answering.
Here is the log of my console as I lanch under the current user :

/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available (required by /usr/lib64/libSM.so.6)
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de segmentation  LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3

On the other side, let's have a look of the log under the root user for the same actions (except the fact that it's working CURRENT under  user):
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available (required by /usr/lib64/libSM.so.6)

According to me the problem is not coming from pgAdmin but from the users rights of my system.
I'll appreciate that the community give me advice  on the better way to manage the user/groups on the 9.0 folder tree.

Regards




Le 04/09/2011 16:01, Guillaume Lelarge a écrit :
On Sun, 2011-09-04 at 15:24 +0200, Florent THOMAS wrote:
Hy all of you,

I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the 
enterprisedb website.
I've installed all the stuff under the root user.
And now when I want to launch the sql panel on a database in the pgadmin 
panel, pgadmin3 crached.
If I do the same with the root user, everything work fine.
How can I do for preventing pgadmin3 from crashing under a current user?

pgAdmin works for me with an unprivileged user. You'll have to tell us
more about your issue for us to help you. Right now, all I can say is
that it should work.


Re: Rights for pgadmin3

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Sun, 2011-09-04 at 16:19 +0200, Florent THOMAS wrote:
> Hy Guillaume,
> 
> Thanks for answering.
> Here is the log of my console as I lanch under the current user :
> 
> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: 
> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available 
> (required by /usr/lib64/libSM.so.6)
> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> 16:05:40: Error: Failed to execute: 
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> 16:05:40: Error: Failed to execute: 
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> 16:05:40: Error: Failed to execute: 
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> /opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de 
> segmentation  
> LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH 
> G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
> /
> On the other side, let's have a look of the log under the root user for 
> the same actions (except the fact that it's working under root user):
> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: 
> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available 
> (required by /usr/lib64/libSM.so.6)
> /
> According to me the problem is not coming from pgAdmin but from the 
> users rights of my system.
> I'll appreciate that the community give me advice  on the better way to 
> manage the user/groups on the 9.0 folder tree.
> 

Seems more an issue with the installer. If you try to launch
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3", what happens?


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com


Re: Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Hy Guillaume,

The result is the same under current user or root user :

/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: error while loading shared libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such file or directory

regards

Le 04/09/2011 16:42, Guillaume Lelarge a écrit :
On Sun, 2011-09-04 at 16:19 +0200, Florent THOMAS wrote:
Hy Guillaume,

Thanks for answering.
Here is the log of my console as I lanch under the current user :

//opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: 
/opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available 
(required by /usr/lib64/libSM.so.6)
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: 
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: 
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute: 
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de 
segmentation  
LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH 
G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
/
On the other side, let's have a look of the log under the root user for 
the same actions (except the fact that it's working under root user):
//opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: 
/opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available 
(required by /usr/lib64/libSM.so.6)
/
According to me the problem is not coming from pgAdmin but from the 
users rights of my system.
I'll appreciate that the community give me advice  on the better way to 
manage the user/groups on the 9.0 folder tree.

Seems more an issue with the installer. If you try to launch
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3", what happens?


Re: Rights for pgadmin3

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Sun, 2011-09-04 at 16:45 +0200, Florent THOMAS wrote:
> Hy Guillaume,
> 
> The result is the same under current user or root user :
> 
> //opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: error while loading shared 
> libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No 
> such file or directory
> /
> regards
> 
> Le 04/09/2011 16:42, Guillaume Lelarge a écrit :
> > On Sun, 2011-09-04 at 16:19 +0200, Florent THOMAS wrote:
> >> Hy Guillaume,
> >>
> >> Thanks for answering.
> >> Here is the log of my console as I lanch under the current user :
> >>
> >> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
> >> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
> >> (required by /usr/lib64/libSM.so.6)
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> /opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de
> >> segmentation
> >> LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH
> >> G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
> >> /
> >> On the other side, let's have a look of the log under the root user for
> >> the same actions (except the fact that it's working under root user):
> >> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
> >> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
> >> (required by /usr/lib64/libSM.so.6)
> >> /
> >> According to me the problem is not coming from pgAdmin but from the
> >> users rights of my system.
> >> I'll appreciate that the community give me advice  on the better way to
> >> manage the user/groups on the 9.0 folder tree.
> >>
> > Seems more an issue with the installer. If you try to launch
> > "/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3", what happens?
> >
> >

You need the LD_LIBRARY_PATH variable. Try "export
LD_LIBRARY_PATH="/opt/PostgreSQL/9.0/pgAdmin3/lib", and then
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3".


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com


Re: Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Hy Guillaume,

Same result as root or current user with the export command before.

Regards

Le 04/09/2011 18:02, Guillaume Lelarge a écrit :
On Sun, 2011-09-04 at 16:45 +0200, Florent THOMAS wrote:
Hy Guillaume,

The result is the same under current user or root user :

//opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: error while loading shared 
libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No 
such file or directory
/
regards

Le 04/09/2011 16:42, Guillaume Lelarge a écrit :
On Sun, 2011-09-04 at 16:19 +0200, Florent THOMAS wrote:
Hy Guillaume,

Thanks for answering.
Here is the log of my console as I lanch under the current user :

//opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
/opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
(required by /usr/lib64/libSM.so.6)
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute:
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute:
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
16:05:40: Error: Failed to execute:
/opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
/opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de
segmentation
LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH
G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
/
On the other side, let's have a look of the log under the root user for
the same actions (except the fact that it's working under root user):
//opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
/opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
(required by /usr/lib64/libSM.so.6)
/
According to me the problem is not coming from pgAdmin but from the
users rights of my system.
I'll appreciate that the community give me advice  on the better way to
manage the user/groups on the 9.0 folder tree.

Seems more an issue with the installer. If you try to launch
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3", what happens?


You need the LD_LIBRARY_PATH variable. Try "export
LD_LIBRARY_PATH="/opt/PostgreSQL/9.0/pgAdmin3/lib", and then
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3".


Re: Rights for pgadmin3

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Sun, 2011-09-04 at 18:07 +0200, Florent THOMAS wrote:
> Hy Guillaume,
> 
> Same result as root or current user with the export command before.
> 

I guess they put the libraries elsewhere. Well, better ask them than me.
EnterpriseDB has forums to ask questions about their installers. You
should them.


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com


Re: Rights for pgadmin3

От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Finally,

I uninstall all the stuff, then use the YaST to add the following repo : http://download.opensuse.org/repositories/server:/database:/postgresql/openSUSE_11.4/
And in the end reinstall all the postgresql.

Everything work fine now.

Regards

Le 04/09/2011 16:12, Peter Geoghegan a écrit :
On 4 September 2011 14:24, Florent THOMAS <mailinglist@tdeo.fr> wrote:
Hy all of you,

I'm running under OpenSuse 11.4 and postgreSQL 9 installed from the
enterprisedb website.
I've installed all the stuff under the root user.
And now when I want to launch the sql panel on a database in the pgadmin
panel, pgadmin3 crached.
If I do the same with the root user, everything work fine.
How can I do for preventing pgadmin3 from crashing under a current user?
I suggest that you open PgAdmin3 from an xterm, and see if there are
any useful error messages.

Re: Rights for pgadmin3

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Mon, 2011-09-05 at 11:38 +0200, Florent THOMAS wrote:
> Finally,
> 
> I uninstall all the stuff, then use the YaST to add the following repo : 
> http://download.opensuse.org/repositories/server:/database:/postgresql/openSUSE_11.4/
> And in the end reinstall all the postgresql.
> 
> Everything work fine now.
> 

Well, it's always better to use the  distribution package (or the
Windows installer on Windows).


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com


FAQ