Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux exec命令被冻结_Linux_Unix_Tcl_Expect - Fatal编程技术网

Linux exec命令被冻结

Linux exec命令被冻结,linux,unix,tcl,expect,Linux,Unix,Tcl,Expect,试图通过TCL脚本执行远程命令。 对于其中一台远程机器,在发出命令后没有响应 Not working : expect1.7> exec ssh -x -l root asr-bng-ubuntu "/usr/local/sbin/radiusd" root@asr-bng-ubuntu's password: -->hangs here , but process is getting started in asr-bng-ubuntu Same is working for

试图通过TCL脚本执行远程命令。 对于其中一台远程机器,在发出命令后没有响应

Not working :
expect1.7> exec ssh -x -l root asr-bng-ubuntu "/usr/local/sbin/radiusd"
root@asr-bng-ubuntu's password:   -->hangs here , but process is getting started in asr-bng-ubuntu

Same is working for diff server 
expect1.8> exec ssh -x -l root bng-sql-1 "/usr/local/sbin/radiusd"
root@bng-sql-1's password:
expect1.9>

尝试检查远程主机上的.bashrc或.bash_配置文件,其中可能有一些错误,可能有一些长时间运行的调用。

我对这两台远程计算机都有完全相同的bash配置文件