Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14-Jul-2009, 07:39 AM
Senior Member
 
Join Date: Nov 2007
Posts: 2,576
kjhurni 1-9 reputation points
Default Need help restarting NetStorage via cron

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

???
Reply With Quote
 

Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:28 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.2