使用screen 报错 Cannot open your terminal '/dev/pts/1'问题
来源:互联网 发布:linux samba服务器配置 编辑:程序博客网 时间:2024/05/16 12:47
想使用screen来执行oracleexpdump命令,但是却报错:screen Cannot open your terminal '/dev/pts/1'
真是有种蛋蛋的忧伤。先上解决方式:
执行:script /dev/null
再解释一下:
root下执行tty:
[root@HZ-VM-BI ~]# tty
/dev/pts/1
切换到oracle后 su - oracle 同样执行tty
[root@HZ-VM-BI ~]# su - oracle
[oracle@HZ-VM-BI ~]$ tty
/dev/pts/1
还是root下的tty 1 当然oracle是没有权限的
然后看一下script /dev/null的作用
[oracle@HZ-VM-BI ~]$ script /dev/null
Script started, file is /dev/null
[oracle@HZ-VM-BI ~]$ tty
/dev/pts/6
实际上是开启了一个新的tty 6
收工。
0 0
- 使用screen 报错 Cannot open your terminal '/dev/pts/1'问题
- 解决screen Cannot open your terminal '/dev/pts/1'问题
- 解决screen Cannot open your terminal '/dev/pts/1'问题
- 使用screen报错Cannot open your terminal '/dev/pts/0' - please check. 解决方法
- screen Cannot open your terminal '/dev/pts/0'
- 使用screen的时候出现了如下错误: Cannot open your terminal '/dev/pts/0' - please check.
- linux screen Cannot open your terminal '/dev/pts/5' - please check. 解决方法
- Clear! (clear your terminal screen)
- archlinux cannot open terminal
- minicom:cannot open /dev/ttyUSB0问题的解决
- nautilus-open-terminal使用
- minincom cannot open /dev/modem
- DNW报错Can not open /dev/secbulk0解决
- 解决myeclipse中egit插件push项目报错cannot open git-upload-pack问题
- 七巧板问题及 fatal error LNK1168: cannot open Debug/5.exe for writing报错
- Cannot open /dev/ttyS0: Permission denied
- minicom: cannot open /dev/ttyS0: Permission denied
- minicom: cannot open /dev/ttyS0: Permission denied
- 一个实例介绍——java中的参数传递(传值、传引用)
- FZU--2156 Climb Stairs
- Linux的uniq命令详解
- 多态——上课笔记
- ActivityManager--获得正在运行的activity与service.
- 使用screen 报错 Cannot open your terminal '/dev/pts/1'问题
- Linux下iptables的工作机制图解以及在NAT的应用
- week8作业
- python exec/eval/execfile
- 将一链表逆置
- Ubuntu下密码学开发环境搭建
- python数据结构与算法 29-1 哈希查找
- 会计分录
- python数据结构与算法30 冒泡排序