From: Kapil A. <ka...@cc...> - 2011-03-08 00:23:24
|
Thanks Elliott for the information. I expect to try your setup in a couple of days and write you back my findings. Thanks, -Kapil On Mon, Mar 7, 2011 at 6:36 PM, Elliott Slaughter < ell...@gm...> wrote: > Minor correction: I was testing Ubuntu 10.04, not Fedora. Everything else > in my last email is correct to my knowledge. > > > On Mon, Mar 7, 2011 at 3:32 PM, Elliott Slaughter < > ell...@gm...> wrote: > >> I know on the supported apps page ssh sessions are listed as not >> supported, but I wanted to try checkpointing sshd and ssh at the same time >> to see if that would work. >> >> I go into more details below, but the result is that I'm getting the >> following pty error. I don't really know DMTCP internals very well, but I >> would have expected this aspect of ssh to work properly, since screen works >> fine. Thoughts? >> >> [17968] ERROR at connectionmanager.cpp:197 in fdToDevice; >> REASON='JASSERT(i != _table.end()) failed' >> fd = 9 >> device = /dev/ptmx >> deviceName = ptmx[/dev/pts/3]:/dev/ptmx >> ptsNameStr = /dev/pts/3 >> Message: Device not found in connection list >> mysshd (17968): Terminating... >> >> Here is more information about my setup and what I'm doing, in case any of >> this is relevant: >> >> My setup is as follows: >> >> $ ls ~/sshd >> myssh ssh_host_rsa_key sshd_config start_sshd.sh >> mysshd ssh_host_rsa_key.pub start_ssh.sh >> $ cat start_sshd.sh >> dmtcp_checkpoint /home/elliott/sshd/mysshd -f >> /home/elliott/sshd/sshd_config >> $ cat start_ssh.sh >> dmtcp_checkpoint /home/elliott/sshd/myssh -p 2222 elliott@localhost >> >> The files myssh and mysshd were copied from /usr/bin/ssh and >> /usr/sbin/sshd (installed via Fedora's package manager). ssh_host_rsa_key is >> a new key pair I generated for my experiments. sshd_config is a copy of >> /etc/ssh/sshd_config, modified to change the port number and key location. >> >> My process is to run dmtcp_coordinator, then run ./start_sshd.sh, and >> finally run ./start_ssh.sh. Once I run that final command, I see the crash >> (in the window where I ran ./start_sshd.sh). These commands work properly >> when run without DMTCP. >> >> I am running Fedora 14 with DMTCP 1.2.0. >> >> Let me know if I can provide you with any other information. >> >> -- >> Elliott Slaughter >> >> "Don't worry about what anybody else is going to do. The best way to >> predict the future is to invent it." - Alan Kay >> > > > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to > predict the future is to invent it." - Alan Kay > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Dmtcp-forum mailing list > Dmt...@li... > https://lists.sourceforge.net/lists/listinfo/dmtcp-forum > > |