I have a simple perl script that does stopping and starting Open Deployservices. However, I encountered error message ie ie. NET HELPMSG 3521 and this message indicate that "The *** service is not started) while starting the OD service using net start iwod60 command. Open Deploy is running on version 6.0.2Below is my perl script:
#!C:\iw-home/iw-perl/bin/iwperluse strict;use warnings;[color=red]# get used to putting the above two lines into your scripts - best practice[/color]my $output;#my $od_cmd = "net stop iwod60";# this is a trivial command, no need to define it and then redefine it# Stop OD serviceswarn "Stopping OD Service ...\n"; $output =qx(net stop iwod60 2>&1);warn("$output\nWaiting 5 seconds... \n\n"); sleep(5);# Start OD serviceswarn "Starting OD Service ...\n";#$odcmd = "net start iwod60"; $output =qx(net start iwod60 2>&1);warn "$output\nDONE (though you may still have to wait a bit ...)\n";[/QUOTE]The above changes should help to make it clear where/when the error is occurring.
The enhanced perl script having problem while stopping OD service. How do i verify further? I'm running on window 2003 server Ent EditionThe following is the output message:Stopping OD Service ...The Interwoven OpenDeploy 60 Service service is stopping........The Interwoven OpenDeploy 60 Service service could not be stopped.Waiting 5 seconds...Starting OD Service ...The Interwoven OpenDeploy 60 Service service is starting.The Interwoven OpenDeploy 60 Service service was started successfully.DONE (though you may still have to wait a bit ...)