Hi, 

I am trying to follow pvfs2 Quick Start Instruction --3.2.1 Automatic
server startup and shutdown part on a openSuse10.2, 386.

I have problems in running 
# /etc/init.d/pvfs2-server start
I guess the script doesn't match my machine, so I made some change to
the pvfs2-server script and now I can get through 
 # /etc/init.d/pvfs2-server start
 # /etc/init.d/pvfs2-server stop
 # /usr/local/bin/pvfs2-ping
 # /usr/local/bin/pvfs2-ls
 # /usr/local/bin/pvfs2-cp
Does this mean that everything run correctly ? Thanks.

The following is what I changed to pvfs2-server script.

diff pvfs2-server-mine pvfs2-server
{
8,10c8
< #./etc/init.d/functions
< /usr/local/src/pvfs-2.7.0/test/automated/mpiio-tests.d/functions
< # Didn't find functions under /etc/init.d, so use above one
---
> ./etc/rc.d/init.d/functions

55,57c53
<       PVFS2_SERVER_CONF=${PVFS2_CONF_PATH}/pvfs2-fs.conf
<         #-${THIS_HOSTNAME}
<       #pvfs2-fs.conf-hostname doesn't exist.so delete "this-hostname" 
---
>      PVFS2_SERVER_CONF=
{PVFS2_CONF_PATH}/pvfs2-server.conf-${THIS_HOSTNAME}

68,70c64
<       #daemon ${PVFS2SERVER} --pidfile ${PVFS2_PIDFILE}
${PVFS2_FS_CONF} ${PVFS2_SERVER_CONF}
<       ${PVFS2SERVER} --pidfile ${PVFS2_PIDFILE} ${PVFS2_FS_CONF}
<       # not support two configure files any more. Delete server.conf. 
---
>       daemon ${PVFS2SERVER} --pidfile ${PVFS2_PIDFILE}
${PVFS2_FS_CONF} ${PVFS2_SERVER_CONF}
}



_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to