启动监听 在oracle用户下执行
lsnrctl start
>192.168.1.242
现在好了。
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 31-1月 -2007 15:12:34
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /opt/oracle/9.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.4.0 - Production
System parameter file is /opt/oracle/9.2.0/network/admin/listener.ora
Log messages written to /opt/oracle/9.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 9.2.0.4.0 - Production
Start Date 31-1月 -2007 15:12:35
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /opt/oracle/9.2.0/network/admin/listener.ora
Listener Log File /opt/oracle/9.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "futuredb" has 1 instance(s).
Instance "futuredb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
查看linux正在使用的端口命令 netstat -an
动态查看日志文件 tail -f 文件名
解压tar文件 tar -xvf 文件名.tar
打包tar文件 tar -cvf 文件名.tar
解压gz文件 gunzip 文件名.gz
解压缩gz文件 gzip 文件名
解压cpio文件 cpio -idmv < *.cpio