Displaying 1 result from an estimated 1 matches for "reboot_error".
2010 Jan 16
0
Converting snmpset() and snmpget() functions of php in rails
...;']);
if($status == ''INTEGER: 2'' || $status == ''INTEGER: 3'') {
sleep(1);
$count++;
} else if($status == ''INTEGER: 1'') {
$toret = true;
} else {
$_SESSION[''reboot_error''] = ''The server could not be
rebooted because a proper reboot command could not be issued.'';
$count = 20;
}
}
if($count == 10) {
$_SESSION[''reboot_error''] = ''Timed out waiting for reboot
confirmati...