Hello Andy I must of missed that the OS id was incorrect. Thank you
Any info about the time zone changes in VCL images? Or the other error? Thanks so much -Alex On Fri, Aug 27, 2010 at 9:39 AM, Andy Kurth <andy_ku...@ncsu.edu> wrote: > Hello, > What is the OS of the image? The log output seems to indicate that the > image is either XP or 2003 but the VCL OS module being used is for one of > the Windows 6.x versions: Visa, 7, or 2008. > > Windows 5.x uses 'netsh firewall' and Windows 6.x uses 'netsh advfirewall'. > If 'netsh advfirewall' is attempted on Windows 5.x, netsh.exe will return > "The following command was not found: ...". > > Check if your image has the correct OSid value in the VCL database > (image.OSid). This points to the OS table, which points to the module > table: > image.OSid --> OS.id > OS.moduleid --> module.id > > Hope this helps, > Andy > > Alexander Patterson wrote: >> >> Hello, >> >> >> I'm getting this error with my Office 2010 Image that was working >> before and now it's failing at resources ready. >> >> Anyways here is the error log. >> >> e operation completed successfully The following command was not >> found: advfirewall firewall delete rule name=all dir=in protocol=TCP >> localport=3389. The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes >> dir=in localip=10.10.10.148. >> >> >> >> >> Here is the log >> >> 31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 >> -x vmguest-68 'reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" >> /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal >> Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f >> ; netsh.exe advfirewall firewall delete rule name=all dir=in >> protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule >> name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows >> incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP >> localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' >> 2>&1 >> 2010-08-26 >> 15:46:46|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation >> remote IP is not defined >> 2010-08-26 15:46:48|5137|vcld:main(165)|lastcheckin time updated for >> management node 1: 2010-08-26 15:46:48 >> 2010-08-26 >> 15:46:51|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation >> remote IP is not defined >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6262)|run_ssh_command >> output: >> |31374|7892:7628|new| The operation completed successfully >> |31374|7892:7628|new| The operation completed successfully >> |31374|7892:7628|new| The following command was not found: advfirewall >> firewall delete rule name=all dir=in protocol=TCP localport=3389. >> |31374|7892:7628|new| The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes >> dir=in localip=10.10.10.148. >> 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6272)|SSH >> command executed on vmguest-68, command: >> |31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 >> -x vmguest-68 'reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" >> /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal >> Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f >> ; netsh.exe advfirewall firewall delete rule name=all dir=in >> protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule >> name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows >> incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP >> localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' >> 2>&1 >> |31374|7892:7628|new| returning (1, "The operation completed succes...") >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> >> 15:46:53|31374|7892:7628|new|Version_6.pm:firewall_enable_rdp_private(968)|failed >> to add firewall rule to enable RDP to: 10.10.10.148, exit status: 1, >> output: >> |31374|7892:7628|new| The operation completed successfully The >> operation completed successfully The following command was not found: >> advfirewall firewall delete rule name=all dir=in protocol=TCP >> localport=3389. The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes >> dir=in localip=10.10.10.148. >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) Version_6.pm, firewall_enable_rdp_private >> (line: 968) >> |31374|7892:7628|new| (-2) Windows.pm, post_load (line: 474) >> |31374|7892:7628|new| (-3) Version_6.pm, post_load (line: 206) >> |31374|7892:7628|new| (-4) new.pm, reload_image (line: 692) >> |31374|7892:7628|new| (-5) new.pm, process (line: 266) >> |31374|7892:7628|new| (-6) vcld, make_new_child (line: 594) >> >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:53|31374|7892:7628|new|Windows.pm:post_load(475)|unable to >> enable RDP on private network >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) Windows.pm, post_load (line: 475) >> |31374|7892:7628|new| (-2) Version_6.pm, post_load (line: 206) >> |31374|7892:7628|new| (-3) new.pm, reload_image (line: 692) >> |31374|7892:7628|new| (-4) new.pm, process (line: 266) >> |31374|7892:7628|new| (-5) vcld, make_new_child (line: 594) >> |31374|7892:7628|new| (-6) vcld, main (line: 341) >> >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:53|31374|7892:7628|new|Version_6.pm:post_load(210)|failed to >> execute parent class post_load() subroutine >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) Version_6.pm, post_load (line: 210) >> |31374|7892:7628|new| (-2) new.pm, reload_image (line: 692) >> |31374|7892:7628|new| (-3) new.pm, process (line: 266) >> |31374|7892:7628|new| (-4) vcld, make_new_child (line: 594) >> |31374|7892:7628|new| (-5) vcld, main (line: 341) >> >> No recipient addresses found in header >> 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:mail(1348)|SUCCESS -- >> Sending mail To: , PROBLEM -- new.pm >> >> |31374|7892:7628|new| ---- CRITICAL ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:53|31374|7892:7628|new|new.pm:reload_image(697)|failed to >> perform OS post-load tasks for vmwarewinxp-MicrosoftOffice201075-v0 on >> vmguest-68, returning >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) new.pm, reload_image (line: 697) >> |31374|7892:7628|new| (-2) new.pm, process (line: 266) >> |31374|7892:7628|new| (-3) vcld, make_new_child (line: 594) >> |31374|7892:7628|new| (-4) vcld, main (line: 341) >> >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|utils.pm:insertloadlog(4710)|inserted >> computer=72, loadimagefailed, failed to perform OS post-load tasks for >> vmwarewinxp-MicrosoftOffice201075-v0 on vmguest-68 >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:53|31374|7892:7628|new|new.pm:process(313)|failed to load >> vmguest-68 with vmwarewinxp-MicrosoftOffice201075-v0 >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) new.pm, process (line: 313) >> |31374|7892:7628|new| (-2) vcld, make_new_child (line: 594) >> |31374|7892:7628|new| (-3) vcld, main (line: 341) >> >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|DataStructure.pm:get_computer_state_name(1946)|attempting >> to retrieve current state of computer vmguest-68 from the database >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|DataStructure.pm:get_computer_state_name(1977)|retrieved >> current state of computer vmguest-68 from the database: reloading >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|DataStructure.pm:_automethod(697)|data >> structure updated: >> $self->request_data->{reservation}{7628}{computer}{state}{name} >> |31374|7892:7628|new| computer_state_name = reloading >> No recipient addresses found in header >> 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:mail(1348)|SUCCESS -- >> Sending mail To: , PROBLEM -- State.pm >> >> |31374|7892:7628|new| ---- CRITICAL ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:53|31374|7892:7628|new|State.pm:reservation_failed(290)|reservation >> failed on vmguest-68: process failed after trying to load or make >> available >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) State.pm, reservation_failed (line: 290) >> |31374|7892:7628|new| (-2) new.pm, process (line: 316) >> |31374|7892:7628|new| (-3) vcld, make_new_child (line: 594) >> |31374|7892:7628|new| (-4) vcld, main (line: 341) >> >> >> >> >> >> >> I also had a question about (We get this warning each time when an >> image is loading. I doesn't really effect anything, but is there a way >> to change this around so ti doesn't come up) >> >> Use of uninitialized value in pattern match (m//) at >> /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745 (#1) >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:07|31374|7892:7628|new|vcld:warning_handler(636)|Use of >> uninitialized value in pattern match (m//) at >> /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745. >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) vcld, warning_handler (line: 636) >> |31374|7892:7628|new| (-2) utils.pm, _sshd_status (line: 2745) >> |31374|7892:7628|new| (-3) vmware.pm, load (line: 859) >> |31374|7892:7628|new| (-4) new.pm, reload_image (line: 665) >> |31374|7892:7628|new| (-5) new.pm, process (line: 266) >> |31374|7892:7628|new| (-6) vcld, make_new_child (line: 594) >> >> >> |31374|7892:7628|new| ---- WARNING ---- >> |31374|7892:7628|new| 2010-08-26 >> 15:46:07|31374|7892:7628|new|vcld:warning_handler(636)|Use of >> uninitialized value in pattern match (m//) at >> /usr/local/vcl/bin/../lib/VCL/utils.pm line 2745. >> |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) >> |31374|7892:7628|new| (-1) vcld, warning_handler (line: 636) >> |31374|7892:7628|new| (-2) utils.pm, _sshd_status (line: 2745) >> |31374|7892:7628|new| (-3) vmware.pm, load (line: 859) >> |31374|7892:7628|new| (-4) new.pm, reload_image (line: 665) >> |31374|7892:7628|new| (-5) new.pm, process (line: 266) >> |31374|7892:7628|new| (-6) vcld, make_new_child (line: 594) >> >> >> >> And my very last question is >> >> I also wanted to know if I could change the TIME Zone to PST, where is >> that command stored at? >> >> I still have images coming up as CSUN time. I went into the sysprep >> ini file and changed the time zone there and that didn't fix the >> problem, the time on the page itself is fine, but when the images load >> up they are the incorrect time. >> >> Thanks, >> Alex Patterson >> User Support Services >> Operating System Analyst >> California State University, East Bay > > -- > Andy Kurth > Virtual Computing Lab > Office of Information Technology > North Carolina State University > andy_ku...@ncsu.edu > 919.513.4090 > -- Thanks, Alex Patterson User Support Services Operating System Analyst California State University, East Bay