Re: Cygwin 1069 logon error

2011-04-06 Thread Andy Kurth
The password should be the actual password of the root account on the 
Windows computer.  The quotes around the password are only necessary if 
it contains special characters.


It looks like your cygwin-sshd-config.sh contains Windows line breaks. 
You'll see the 'unexpected token {\r' error when this is the case.  This 
will happen in some circumstances if you save it under Windows.  The 
file must only contain Unix line breaks in order to work.  Run this 
command on the Windows computer in the Cygwin shell then try to run the 
script again:

dos2unix /home/root/cygwin-sshd-config.sh

-Andy

On 4/5/2011 3:25 PM, Frento Burton wrote:

I'm installing VCL on my fedora 13 desktop and I have created a Windows
XP virtual machine. I am trying to run the cygwin-sshd-config.sh script.
I set the file as an executable then proceed to run the command
/home/root/cygwin-sshd-config.sh 'PASSWORD'. Everything goes smooth
until the last step in which I receive a Win32 1069 logon failure. I
wasn't sure if PASSWORD was suppose to be the actual root password I
use to logon to my Windows XP virtual machine or a new password
specifically for cygwin-sshd-confg.sh. I read around on a couple of
forms that the password to run sshd should be at least 5 - 8 characters
and alphanumeric. If this is so than my Windows XP root password does
not meet that criteria.

Also, when I try to simply run the command again i get this error message;

/home/root/cygwin-sshd-config.sh: line 46: syntax error near unexpected
token ' {\r' '
'home/root/cygwin-sshd-config.sh: line 46: 'function set_config {

Has anyone encountered this problem before? Your input is greatly
appreciated...


Re: Windows 7 and Windows XP give same error when trying to capture

2011-04-06 Thread Tyler Hardesty
Thanks Andy, you have been sooo helpful!! My image seemed to capture
successfully, but it wasn't the Data Store Path I had to clear, it was the
Image repository path, then I ran setup again and it said image capture
successful... however now I can't seem to successfully reserve the image...
I still think it has something to do with the ip, do I need to change to a
static setup since I don't have a DHCP server handing out IPs (i.e. this is
a single machine running everything (vmware, Apache VCL, management node,
etc) that is located inside the network closet at my school and is
statically assigned an ip of 144.38.205.200 and I am allowed to use IPs up
til about 205.215 but they aren't handed out by a DHCP server). Well you
will probably know better, this is my log output:

2011-04-06 12:39:59|1614|42:42|new|Module.pm:code_loop_timeout(724)|attempt
107: code returned false, seconds el\
apsed/remaining: 898/2, sleeping for 8 seconds
2011-04-06 12:40:03|30717|vcld:main(167)|lastcheckin time updated for
management node 1: 2011-04-06 12:40:03
2011-04-06 12:40:07|1614|42:42|new|Module.pm:code_loop_timeout(728)|attempt
108: waiting for vm4 to respond to S\
SH
2011-04-06 12:40:07|1614|42:42|new|OS.pm:is_ssh_responding(386)|vm4 is NOT
responding to SSH, ports 22 or 24 are\
 both closed
2011-04-06 12:40:07|1614|42:42|new|Module.pm:code_loop_timeout(736)|waiting
for vm4 to respond to SSH, code did \
not return true after waiting 900 seconds

|1614|42:42|new|  WARNING 
|1614|42:42|new| 2011-04-06
12:40:07|1614|42:42|new|OS.pm:wait_for_response(465)|failed to connect to
vm4 via SS\
H after 900 seconds
|1614|42:42|new| ( 0) OS.pm, wait_for_response (line: 465)
|1614|42:42|new| (-1) Windows.pm, post_load (line: 591)
|1614|42:42|new| (-2) VMware.pm, load (line: 415)
|1614|42:42|new| (-3) new.pm, reload_image (line: 687)
|1614|42:42|new| (-4) new.pm, process (line: 282)
|1614|42:42|new| (-5) vcld, make_new_child (line: 568)


|1614|42:42|new|  WARNING 
|1614|42:42|new| 2011-04-06
12:40:07|1614|42:42|new|Windows.pm:post_load(592)|vm4 never responded to SSH
|1614|42:42|new| ( 0) Windows.pm, post_load (line: 592)
|1614|42:42|new| (-1) VMware.pm, load (line: 415)
|1614|42:42|new| (-2) new.pm, reload_image (line: 687)
|1614|42:42|new| (-3) new.pm, process (line: 282)
|1614|42:42|new| (-4) vcld, make_new_child (line: 568)
|1614|42:42|new| (-5) vcld, main (line: 346)


|1614|42:42|new|  WARNING 
|1614|42:42|new| 2011-04-06
12:40:07|1614|42:42|new|VMware.pm:load(419)|failed to perform OS post-load
tasks on \
VM vm4 on VM host: localvmhost
|1614|42:42|new| ( 0) VMware.pm, load (line: 419)
|1614|42:42|new| (-1) new.pm, reload_image (line: 687)
|1614|42:42|new| (-2) new.pm, process (line: 282)
|1614|42:42|new| (-3) vcld, make_new_child (line: 568)
|1614|42:42|new| (-4) vcld, main (line: 346)


|1614|42:42|new|  WARNING 
|1614|42:42|new| 2011-04-06
12:40:07|1614|42:42|new|new.pm:reload_image(692)|vmwarewinxp-xp231-v0
failed to load\
 on vm4, returning
|1614|42:42|new| ( 0) new.pm, reload_image (line: 692)
|1614|42:42|new| (-1) new.pm, process (line: 282)
|1614|42:42|new| (-2) vcld, make_new_child (line: 568)
|1614|42:42|new| (-3) vcld, main (line: 346)

2011-04-06 12:40:07|1614|42:42|new|utils.pm:insertloadlog(3875)|inserted
computer=5, loadimagefailed, vmwarewinx\
p-xp231-v0 failed to load on vm4

|1614|42:42|new|  WARNING 
|1614|42:42|new| 2011-04-06 12:40:07|1614|42:42|new|new.pm:process(329)|failed
to load vm4 with vmwarewinxp-xp23\
1-v0
|1614|42:42|new| ( 0) new.pm, process (line: 329)
|1614|42:42|new| (-1) vcld, make_new_child (line: 568)
|1614|42:42|new| (-2) vcld, main (line: 346)

2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_computer_state_name(2299)|attempting
to retrieve current\
 state of computer vm4 from the database
2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_computer_state_name(2330)|retrieved
current state of com\
puter vm4 from the database: reloading
2011-04-06 12:40:07|1614|42:42|new|DataStructure.pm:_automethod(835)|data
structure updated: $self-request_data\
-{reservation}{42}{computer}{state}{name}
|1614|42:42|new| computer_state_name = reloading
2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_computer_private_ip_address(1582)|attempting
to retrieve\
 private IP address for computer: vm4
2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_computer_private_ip_address(1586)|retrieved
contents of \
/etc/hosts on this management node, contains 8 lines
2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_computer_private_ip_address(1639)|returning
IP address f\
rom /etc/hosts file: 192.168.128.3
2011-04-06 12:40:07|1614|42:42|new|utils.pm:is_inblockrequest(6147)|zero
rows were returned from database select
2011-04-06
12:40:07|1614|42:42|new|DataStructure.pm:get_image_affiliation_name(2029)|image
owner id: 1
2011-04-06 12:40:07|1614|42:42|new|utils.pm:getnewdbh(2709)|database
requested (information_schema) does not mat\
ch handle stored in 

Re: Cygwin 1069 logon error

2011-04-06 Thread Frento Burton
Ok, the command dos2unix /home/root/cygwin-sshd-config.sh allows me to run
the script without the 'unexpected token {\r' error. However I still get the
error message 'System error 1069 has occurred. The service did not start due
to a logon failure. I have changed my Windows root password to an
alphanumeric password but I get the same message...


Re: Cygwin 1069 logon error

2011-04-06 Thread Frento Burton
Actually guys, I have found the problem. For some strange reason, when
trying to start the script from cywgin, the root password is altered. If I
start the service from the windows control panel under 'services' and change
the log-in properties of the cygwin sshd service, I see that the password is
incorrect. After correcting the password, I am able to successfully start
the service ONLY from the 'service' control panel. I was also able to ssh
into the Windows image from my management node so that indicates the cygwin
sshd service is working correctly.

Thanks again for all your help guys, I will probably be back before you know
it with more questions :)