Hi Yevgeniy,
I have CC'ed Owen Synge, the author of YAIM's dCache and PNFS functions.
Inline comment below.
On Thu, 5 Apr 2007, Y.Lyublev wrote:
> Dear All,
> I have a problems of installation glite-SE_dcache_pool with YAIM tools.
> Necessary your advices.
>
> 1.
> [root@rrcdsk6 ORIG]# grep DCACHE_ site-info.def
> # Note: - SE_HOST --> Removed, see CLASSIC_HOST, DCACHE_ADMIN, DPM_HOST
> below
> DCACHE_ADMIN="se3.itep.ru"
> DCACHE_POOLS="se3.itep.ru:/pool1 se3.itep.ru:/pool2
> rrcdsk6.itep.ru:/pool_dsk6" # "my-pool-node1:/pool-path1
> my-pool-node2:/pool-path2"
> # DCACHE_PORT_RANGE="20000,25000"
> #DCACHE_DOOR_SRM="se3,itep.ru"
> #DCACHE_DOOR_GSIFTP="se3.itep.ru"
> #DCACHE_DOOR_GSIDCAP="se3.itep.ru"
> #DCACHE_DOOR_DCAP="se3.itep.ru"
> # DCACHE_PORT_RANGE="20000,25000"
> RESET_DCACHE_CONFIGURATION=yes
> #RESET_DCACHE_CONFIGURATION=no
> #RESET_DCACHE_PNFS=yes
> RESET_DCACHE_PNFS=no
^^^^^^^^^^^^^^^^^^^^
Why do you set that to "no" while the next parameter is set to "yes"?
(It does not seem to explain the problem, though.)
Beware that you must set all 3 parameters back to "no" after dCache got
configured successfully!
> RESET_DCACHE_RDBMS=yes
> #RESET_DCACHE_RDBMS=no
>
> 2. Run
> $ install_node site-info.def glite-SE_dcache_pool
> - sucessfull
>
> 3. Run
> $ configure_node site-info.def glite-SE_dcache_pool
> ...
> Configuring config_edgusers
> Configuring config_mkgridmap
> Cannot find VOMS role for prd user 'photonprd' - skipping
> users_getprduser: could not find prd user for OPS in
> /opt/glite/yaim/examples/ORIG/users.conf
> Now creating the grid-mapfile - this may take a few minutes...
> Configuring config_java
> Configuring config_pgsql
> id: postgres: No such user
> config_pgsql called but postgres users does not exist!
> Try creating user postgres and rerun Yaim
>
> 4. After add postgres user and group -
> $ configure_node site-info.def glite-SE_dcache_pool
> ...
> Now creating the grid-mapfile - this may take a few minutes...
> Configuring config_java
> Configuring config_pgsql
> Configuring config_sepnfs
> start yaim_query_conf_node_dcache_pnfs_root
> stop yaim_query_conf_node_dcache_pnfs_root
> could not find pnfs-install.sh
> Please install PNFS using apt-get
> Please use the following command to establish
> available versions.
> apt-cache search pnfs
>
> 5. after run of [root@rrcdsk6 ORIG]# apt-get install pnfs
> $ configure_node site-info.def glite-SE_dcache_pool
> ...
> Configuring config_pgsql
> Configuring config_sepnfs
> start yaim_query_conf_node_dcache_pnfs_root
> stop yaim_query_conf_node_dcache_pnfs_root
> could not find pnfs-install.sh
> Please install PNFS using apt-get
> Please use the following command to establish
> available versions.
> apt-cache search pnfs
>
> 6. after deinstall of pnfs-3.1.10-15
> and
> $ apt-get install pnfs-postgresql
> $ configure_node site-info.def glite-SE_dcache_pool
> ...
> stop yaim_query_conf_node_dcache_pnfs_root
> Configuring config_sedcache
> start config_pgsql_base_users
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> postgresql: unrecognized service
> config_pgsql_base_user postgres
> start config_pgsql_base_user postgres
> createuser: could not connect to database template1: could not connect to
> server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createuser: could not connect to database template1: could not connect to
> server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createuser -U postgres --no-adduser --createdb postgres
> Command failed
>
>
> Where my mistakes?
> What go further?
> Best regads, Yevgeniy.
>
|