Messaggio in avvio
Inviato: ven 13 giu 2003, 11:03
Non vorrei approfittare troppo di Lorys, ma visto che sei cosi´ gentile :
<BR>
<BR>per installare correttamente l´SQL ho dovuto creare le dir init.d, rc0.d[...]rc6.d altrimenti lo script falliva. Mi ha creato degli script di partenza in queste directory, e alla partenza del sistema mi da´ questo messaggio :
<BR>
<BR>/dev/console : Operation not permitted
<BR>
<BR>La parte dello script che fa partire l´engine SQL è
<BR>
<BR>start_psql(){
<BR> echo "Starting Pervasive services: "
<BR> SQLID=`/bin/ps ax | grep -v grep | grep sqlmgr | awk ´{print $1}´`
<BR> BTRID=`/bin/ps ax | grep -v grep | grep mkded | awk ´{print $1}´`
<BR> if [ "X$BTRID" != "X" -o "X$SQLID" != "X" ] ; then
<BR> echo Warning: the following service is running
<BR> if [ "X$BTRID" != "X" ] ; then
<BR> echo mkded
<BR> fi
<BR> if [ "X$SQLID" != "X" ] ; then
<BR> echo sqlmgr
<BR> fi
<BR> echo
<BR> fi
<BR> echo mkded
<BR> echo "cd $PVSW_ROOT/bin; . $PVSW_ROOT/bin/.bash_profile ; ./mkded -start" | /bin/su - psql || exit 1
<BR> echo sqlmgr
<BR> echo "cd $PVSW_ROOT/bin; . $PVSW_ROOT/bin/.bash_profile ; ./sqlmgr -start" | /bin/su - psql || exit 1
<BR> touch /var/lock/subsys/psql
<BR> echo ""
<BR>}
<BR>
<BR>Dove puo´ essere il problema?
<BR>
<BR>per installare correttamente l´SQL ho dovuto creare le dir init.d, rc0.d[...]rc6.d altrimenti lo script falliva. Mi ha creato degli script di partenza in queste directory, e alla partenza del sistema mi da´ questo messaggio :
<BR>
<BR>/dev/console : Operation not permitted
<BR>
<BR>La parte dello script che fa partire l´engine SQL è
<BR>
<BR>start_psql(){
<BR> echo "Starting Pervasive services: "
<BR> SQLID=`/bin/ps ax | grep -v grep | grep sqlmgr | awk ´{print $1}´`
<BR> BTRID=`/bin/ps ax | grep -v grep | grep mkded | awk ´{print $1}´`
<BR> if [ "X$BTRID" != "X" -o "X$SQLID" != "X" ] ; then
<BR> echo Warning: the following service is running
<BR> if [ "X$BTRID" != "X" ] ; then
<BR> echo mkded
<BR> fi
<BR> if [ "X$SQLID" != "X" ] ; then
<BR> echo sqlmgr
<BR> fi
<BR> echo
<BR> fi
<BR> echo mkded
<BR> echo "cd $PVSW_ROOT/bin; . $PVSW_ROOT/bin/.bash_profile ; ./mkded -start" | /bin/su - psql || exit 1
<BR> echo sqlmgr
<BR> echo "cd $PVSW_ROOT/bin; . $PVSW_ROOT/bin/.bash_profile ; ./sqlmgr -start" | /bin/su - psql || exit 1
<BR> touch /var/lock/subsys/psql
<BR> echo ""
<BR>}
<BR>
<BR>Dove puo´ essere il problema?