[oracle@test-test admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 07-JUL-2007 21:39:09
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/product/db_102/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.2.0 - Production
System parameter file is /opt/oracle/product/db_102/network/admin/listener.ora
Log messages written to /opt/oracle/product/db_102/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=ipc)(PARTIAL=yes)(QUEUESIZE=1))
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-test.*******.com)(PORT=1521)))
TNS-12549: TNS:operating system resource quota exceeded
TNS-12560: TNS:protocol adapter error
TNS-00519: Operating system resource quota exceeded
Linux Error: 28: No space left on device
Listener failed to start. See the error message(s) above...
[oracle@test-test admin]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb2 640000 115018 524982 18% /
/dev/sdb1 26104 40 26064 1% /boot
/dev/sdb7 131616 409 131207 1% /home
/dev/sdb8 8077312 168262 7909050 3% /opt
none 255900 1 255899 1% /dev/shm
/dev/sdb5 262144 180 261964 1% /tmp
/dev/sdb6 131616 131616 0 100% /var
/dev/sda1 4447744 75 4447669 1% /u01
[oracle@test-test admin]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 4.9G 1.9G 2.7G 42% /
/dev/sdb1 99M 15M 79M 16% /boot
/dev/sdb7 1012M 493M 468M 52% /home
/dev/sdb8 61G 41G 18G 71% /opt
none 1000M 0 1000M 0% /dev/shm
/dev/sdb5 2.0G 33M 1.9G 2% /tmp
/dev/sdb6 1012M 606M 355M 64% /var
/dev/sda1 34G 14G 19G 43% /u01
[oracle@test-test admin]$ cd /var/
[oracle@test-test var]$ ls
account crash empty gdm local log mail nis preserve spool www
cache db ftp lib lock lost+found named opt run tmp yp
[oracle@test-test var]$ ll -h
total 96K
drwxr-xr-x 2 root root 4.0K Jan 28 2005 account
drwxr-xr-x 8 root root 4.0K Jan 28 2005 cache
drwxr-xr-x 3 netdump netdump 4.0K Jan 28 2005 crash
drwxr-xr-x 2 root root 4.0K Jan 28 2005 db
drwxr-xr-x 3 root root 4.0K Jan 28 2005 empty
drwxr-xr-x 4 root root 4.0K Oct 4 2004 ftp
drwxr-x--- 2 gdm gdm 4.0K Apr 14 2004 gdm
drwxr-xr-x 18 root root 4.0K Jan 28 2005 lib
drwxr-xr-x 2 root root 4.0K Jan 25 2003 local
drwxrwxr-x 3 root lock 4.0K Jun 14 04:02 lock
drwxr-xr-x 10 root root 4.0K Jul 7 21:36 log
drwx------ 2 root root 16K Jan 28 2005 lost+found
lrwxr-xr-x 1 root root 10 Jan 28 2005 mail -> spool/mail
drwxr-x--- 3 root named 4.0K Jan 28 2005 named
drwxr-xr-x 2 root root 4.0K Jan 25 2003 nis
drwxr-xr-x 3 root root 4.0K Aug 18 2005 opt
drwxr-xr-x 2 root root 4.0K Jan 25 2003 preserve
drwxr-xr-x 10 root root 4.0K Jul 7 21:36 run
drwxr-xr-x 13 root root 4.0K Jan 28 2005 spool
drwxrwxrwt 3 root root 4.0K Jul 17 2006 tmp
drwxr-xr-x 6 root root 4.0K Jan 28 2005 www
drwxr-xr-x 3 root root 4.0K Jan 28 2005 yp
[oracle@test-test var]$ du -ch --max-depth=1
du: cannot change to directory `./lost+found': Permission denied
du: cannot change to directory `./lib/slocate': Permission denied
du: cannot change to directory `./lib/nfs/statd': Permission denied
du: cannot change to directory `./lib/xdm/authdir': Permission denied
du: cannot change to directory `./lib/dav': Permission denied
38M ./lib
8.0K ./tmp
du: cannot change to directory `./log/samba': Permission denied
du: cannot change to directory `./log/httpd': Permission denied
du: cannot change to directory `./log/audit.d': Permission denied
12M ./log
du: cannot change to directory `./cache/alchemist/printconf.rpm': Permission denied
du: cannot change to directory `./cache/alchemist/printconf.local': Permission denied
du: cannot change to directory `./cache/samba/winbindd_privileged': Permission denied
du: cannot change to directory `./cache/mod_proxy': Permission denied
2.0M ./cache
12K ./db
4.0K ./local
8.0K ./lock
4.0K ./nis
8.0K ./opt
4.0K ./preserve
du: cannot change to directory `./run/sudo': Permission denied
du: cannot change to directory `./run/mdmpd': Permission denied
du: cannot change to directory `./run/named': Permission denied
60K ./run
du: cannot change to directory `./spool/at': Permission denied
du: cannot change to directory `./spool/clientmqueue': Permission denied
du: cannot change to directory `./spool/mqueue': Permission denied
du: cannot change to directory `./spool/cron': Permission denied
du: cannot change to directory `./spool/cups': Permission denied
3.1M ./spool
12K ./yp
4.0K ./account
8.0K ./crash
du: `./empty/sshd': Permission denied
8.0K ./empty
du: cannot change to directory `./gdm': Permission denied
1.1M ./www
du: cannot change to directory `./named': Permission denied
du: cannot change to directory `./ftp/incoming': Permission denied
12K ./ftp
56M .
56M total
............................................
[root@test-test var]# cd spool/
[root@test-test spool]# ls
at clientmqueue cron cups lpd mail mqueue repackage samba up2date vbox
[root@test-test spool]# ll -h
total 3.1M
drwx------ 3 daemon daemon 4.0K Jan 28 2005 at
drwxrwx--- 2 smmsp smmsp 3.0M Jun 16 23:53 clientmqueue
drwx------ 2 root root 4.0K Jan 12 17:59 cron
drwx------ 3 lp sys 4.0K Jan 28 2005 cups
drwxr-xr-x 2 root root 4.0K Jan 25 2003 lpd
drwxrwxr-x 2 root mail 4.0K Mar 24 2006 mail
drwx------ 2 root mail 4.0K Mar 24 2006 mqueue
drwxr-xr-x 2 rpm rpm 4.0K Aug 26 2004 repackage
drwxrwxrwt 2 root root 4.0K Aug 24 2004 samba
drwxr-xr-x 2 root root 4.0K Aug 20 2004 up2date
drwxrwxrwt 2 root root 4.0K Aug 12 2003 vbox
[root@test-test spool]# du -ch
4.0K ./lpd
20K ./mail
4.0K ./repackage
4.0K ./at/spool
8.0K ./at
4.0K ./vbox
517M ./clientmqueue
4.0K ./mqueue
12K ./cron
4.0K ./cups/tmp
8.0K ./cups
4.0K ./up2date
4.0K ./samba
517M .
517M total
[root@test-test spool]# cd clientmqueue/
[root@test-test clientmqueue]# ls
dfk1F2U10I014849 dfk8N2o0BL011554 dfl1ENU0Om021193 qfk2G2e0GQ015310 qfk8N2U05u010817 qfl1ENU0rk021208
dfk2G2e0GQ015310 dfk8N2U05u010817 dfl1ENU0rk021208 qfk2G2o166015570 qfk8N300wG011918 qfl1F000Mv022336
dfk2G2o166015570 dfk8N300wG011918 dfl1F000Mv022336 qfk2G301ow015821 qfk8N3A0TL012290 qfl1F000NV022351
dfk2G301ow015821 dfk8N3A0TL012290 dfl1F000NV022351 qfk2G3A0KM016095 qfk8N3e08P013390 qfl1F0A0Hh022732
dfk2G3A0KM016095 dfk8N3e08P013390 dfl1F0A0Hh022732 qfk2G3K08W016348 qfk8N3K0LE012658 qfl1F0e0Sa023875
.....................................
[root@test-test clientmqueue]# find ./ -mtime +10 -exec rm {} \;
......................................
[1]+ Stopped find ./ -mtime +10 -exec rm {} \;
[root@test-test clientmqueue]# bg 1
[1]+ find ./ -mtime +10 -exec rm {} \; &
.............................
[1]+ Done find ./ -mtime +10 -exec rm {} \;
[root@test-test clientmqueue]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 4.9G 1.9G 2.7G 42% /
/dev/sdb1 99M 15M 79M 16% /boot
/dev/sdb7 1012M 493M 468M 52% /home
/dev/sdb8 61G 41G 18G 71% /opt
none 1000M 0 1000M 0% /dev/shm
/dev/sdb5 2.0G 33M 1.9G 2% /tmp
/dev/sdb6 1012M 93M 868M 10% /var
/dev/sda1 34G 14G 19G 43% /u01
[root@test-test clientmqueue]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb2 640000 115018 524982 18% /
/dev/sdb1 26104 40 26064 1% /boot
/dev/sdb7 131616 409 131207 1% /home
/dev/sdb8 8077312 168284 7909028 3% /opt
none 255900 1 255899 1% /dev/shm
/dev/sdb5 262144 180 261964 1% /tmp
/dev/sdb6 131616 1500 130116 2% /var
/dev/sda1 4447744 76 4447668 1% /u01
[root@test-test clientmqueue]# su - oracle
-bash: ulimit: max user processes: cannot modify limit: Operation not permitted
[oracle@test-test oracle]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 07-JUL-2007 22:02:10
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/product/db_102/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.2.0 - Production
System parameter file is /opt/oracle/product/db_102/network/admin/listener.ora
Log messages written to /opt/oracle/product/db_102/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-test.*******.com)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-test.*******.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.2.0 - Production
Start Date 07-JUL-2007 22:02:10
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/db_102/network/admin/listener.ora
Listener Log File /opt/oracle/product/db_102/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-test.*******.com)(PORT=1521)))
Services Summary...
Service "%%%%%" has 1 instance(s).
Instance "%%%%%", status UNKNOWN, has 1 handler(s) for this service...
Service "%%%%%" has 1 instance(s).
Instance "%%%%%", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully