LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-18-2010, 08:33 AM   #1
peuche
LQ Newbie
 
Registered: Mar 2009
Location: Buenos Aires
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 0
Failed while trying to enable a Resource.


Hi All,

I'm trying to get online this two resource: (Postgres_Services-rs-has and seros-postgres-rs) but when I execute this command to get online everything, I get this output:

root@sv50 # clresourcegroup online +
clresourcegroup: (C748634) Error en el grupo de recursos Postgres_Services-rg al iniciarse en el nodo elegido y puede que falle en los demas nodos.
clresourcegroup: (C135343) No se ha podido encontrar un nodo principal para el grupo de recursos Postgres_Services-rg; permanece fuera de linea

This is the config of the Resource Group.

root@sv50 # scrgadm -p -g Postgres_Services-rg

Grupo de recursos nombre: Postgres_Services-rg
Grupo de recursos RG_description: <NULL>
Grupo de recursos modalidad: Failover

Recurso nombre: Postgres_Services-rs-has
Recurso R_description:
Recurso tipo de recurso: SUNW.HAStoragePlus:8
Recurso versi�n de tipo: 8
Recurso nombre de grupo de recursos: Postgres_Services-rg
Recurso nombre de proyecto del recurso: default

Recurso nombre: seros-postgres-rs
Recurso R_description:
Recurso tipo de recurso: SUNW.gds:6
Recurso versi�n de tipo: 6
Recurso nombre de grupo de recursos: Postgres_Services-rg
Recurso nombre de proyecto del recurso: default


I don't know what else to do.


Please help me on this...

Thanks in advance!
Diego
 
Old 05-18-2010, 03:44 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Not that I don't understand the spanish sentences but you might have better luck googling the error messages returned while using an English locale.
Try:
Code:
# env LC_ALL=C clresourcegroup online +
 
Old 05-27-2010, 08:05 AM   #3
peuche
LQ Newbie
 
Registered: Mar 2009
Location: Buenos Aires
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Hi, I was wondering I have to execute that what i have to wait as a right output?

Quote:
Originally Posted by jlliagre View Post
Not that I don't understand the spanish sentences but you might have better luck googling the error messages returned while using an English locale.
Try:
Code:
# env LC_ALL=C clresourcegroup online +
 
Old 05-27-2010, 11:25 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
This will run the same command you initially posted with the messages appearing in English instead of Spanish.
 
Old 05-27-2010, 12:35 PM   #5
peuche
LQ Newbie
 
Registered: Mar 2009
Location: Buenos Aires
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Thks for the quick response, we didnt had lucky with that but I translated the output for you

clresourcegroup: (C748634) Error in the resource group Postgres_Services-rg to start on chosen node and may fail in the other nodes.
clresourcegroup: (C135343) Failed to find a primary node for the resource group Postgres_Services-rg; remains offline

Thanks in advance.
Diego
 
Old 05-27-2010, 03:23 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You mean the LC_ALL trick didn't affect the output ?
Sorry but as I already wrote, I have no problem understanding Spanish. What would have helped is finding people experiencing the same problem and chances are high that would have been reported with English error messages.
 
Old 06-01-2010, 07:33 AM   #7
peuche
LQ Newbie
 
Registered: Mar 2009
Location: Buenos Aires
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Well, this is my config file which i used to create the postgreSQL resource and here is:

RS=seros-postgres-rs
RG=postgresSQL-rg
HAS_RS=postgresSQL-HAS-rs
PFILE=/global/stor/lun0/parameters/RS-PGS-pfile
USER=postgres
PGROOT=/usr/postgres/8.4
PGDATA=/global/stor/lun0/postgres/data
PGPORT=5432
PGLOGFILE=/global/stor/lun0/postgres/data/pg_log
LD_LIBRARY_PATH=/usr/sfw/lib:/usr/lib
SCDB=monitor
SCUSER=postgres
SCTABLE=monitor
SCPASS=sqladmin01
NOCONRET=10
 
Old 06-03-2010, 04:31 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Does the LC_ALL trick, i.e. running the following command, affect the error message language or not ?

Code:
env LC_ALL=C clresourcegroup online +
 
Old 06-10-2010, 12:13 PM   #9
peuche
LQ Newbie
 
Registered: Mar 2009
Location: Buenos Aires
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Hi jlliagre

Thanks a lot for your help, I already was able to enable the resource that I wanted. How i did it?. Well I start from the beginning and I create the resource group again, and after that.. when I enabled the resource i haved this error when i tried to bring online the resource... and i enabled the debug mode and i was able yo fix it.

Thanks a lot!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI : failed to allocate mem resource... Alexvader Slackware 9 12-03-2009 05:34 PM
PCI: Failed to allocate mem resource wjdoss Linux - Server 5 09-13-2009 12:10 PM
PCI: Failed to allocate mem resource #6 johnsfine Linux - Hardware 0 02-10-2008 08:51 AM
PCI: Failed to allocate memory and I/O resource? chickenjoy Linux - Laptop and Netbook 3 04-25-2007 07:37 PM
cfork failed: Resource temporarily unavailable x2000koh Linux - Networking 0 05-11-2003 10:07 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration