Long story, but basically I need to restart netstorage daily on Linux.

I made a cron job to stop tomcat, then stop apache2, then stop xsrvd, and then start them again in the above order.

But it looks like I maybe did something wrong, or there's something peculiar about netstorage.

my /var/log/messages shows:

Jul 14 05:00:01 co-oes-sp1 /usr/sbin/cron[15696]: (root) CMD (/root/restart-netstorage.sh)
Jul 14 05:00:02 co-oes-sp1 su: (to wwwrun) root on none
Jul 14 05:00:04 co-oes-sp1 su: (to wwwrun) root on none
Jul 14 05:00:36 co-oes-sp1 su: (to wwwrun) root on none
Jul 14 05:00:39 co-oes-sp1 httpd2-worker: XSrvCChannel::connectSocket- Connection creation failed, error = 111
Jul 14 05:00:39 co-oes-sp1 httpd2-worker: XSrvCChannel::init- Connection creation failed, error = 111
Jul 14 05:00:39 co-oes-sp1 httpd2-worker: IPCCLNT -getCChannel- Channel Initialization failed for socket /var/opt/novell/xtier/xsrvd/srv-socket-0
Jul 14 05:00:39 co-oes-sp1 httpd2-worker: IPCCLNT -SubmitReq- Channel unavailable
Jul 14 05:00:39 co-oes-sp1 httpd2-worker: IPCCLNT -SubmitReq- Will attempt to retry RPC, count = 1

???