- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/dt/Xerrors file keeps growing and fillin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:16 AM
08-05-2005 02:16 AM
/var/dt/Xerrors file keeps growing and filling up /var
/var keeps filling up and it appears to be with errors being written to a file /var/dt/Xerrors
How can I disable the Xwindows service or prevent /var from filling up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:22 AM
08-05-2005 02:22 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
In /usr/contrib/bin/X11/dr_dt run this file and see what it reports. Maybe a quick fix.
Are you running X windows on your laptop? If so you will need to have the process.
To stop the X windows do /sbin/init.d/dtlogin.rc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:28 AM
08-05-2005 02:28 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
I just changed the /etc/rc.config.d/desktop file to read Desktop=0
and rebooted.
I want to disable the Xwindows server on the workstation we are just using it for a test environment and we don't run X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:38 AM
08-05-2005 02:38 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:41 AM
08-05-2005 02:41 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
Move this file to s990dtlogin.rc.bak and break the link.
X will not start on reboot.
To stop now, /sbin/init.d/dtlogin.rc stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:42 AM
08-05-2005 02:42 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
# cd /var
# du . -ka | sort -nr | more
Will tell you what is the biggest offender in /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:43 AM
08-05-2005 02:43 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:47 AM
08-05-2005 02:47 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
I stopped Xwindows server I think by running
/sbin/init.d/dtlogin.rc stop
and prior to that I rewrote the file /etc/desktop so that the variable
DESKTOP=CDE was changed to DESKTOP=0
that appearred to stop the console from trying to login to X and then I cleared the file /var/dt/Xerrors but, my /var filesystem is still full
This is a workstation that I have tried to setup as a test environment for my DBA to work in.
We are trying to clean it up and make it ready for her. Nobody here really knows much about Unix.
I was having problems with sendmail but I managed to stop that service as well. I am just trying to figure out what is filling up /var
I already trimmed the /var/tmp/wtmp file as well. Any other suggestions???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:49 AM
08-05-2005 02:49 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
run these commands:
du -k /var|sort -n +0
it will order the files in your /var in incremental-spaceused-order.
See the files that are too big.
ls -ltr /var
it will give you the files in /var ordered by last access, so check the last of the list and it will probably be the guilty files.
Then post the result in the form so we can give you a better solution to stop the fulfilling of your directory.
Rgds,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 02:55 AM
08-05-2005 02:55 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
The output from du -k /var|sort -n +0 is too great for me to copy and paste it
can append | > /var/dump/tmp/sort_var.txt
and have it write to a file?
sorry I am more comfortable in windoze environment...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:01 AM
08-05-2005 03:01 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
These are the files that have been identified as the largest.
You mentioned trouble with sendmail earlier. How is the /var/spool/mqueue directory? Mail that cannot be sent out will spool in this directory.
Also look at /var/adm/syslog/mail.log.
The sendmail activity will be logged in this directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:08 AM
08-05-2005 03:08 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
esetest1# du -k /var|sort -n +0 |pg
and got this output:
0 /var/adm/acct
0 /var/adm/acct/fiscal
0 /var/adm/acct/nite
0 /var/adm/acct/sum
0 /var/adm/crash/crash.0
0 /var/adm/crash/crash.1
0 /var/adm/crash/crash.2
0 /var/adm/diag
0 /var/adm/eisa
0 /var/adm/streams
0 /var/adm/sw/queue/active
0 /var/adm/sw/queue/agent
0 /var/adm/sw/queue/complete
0 /var/adm/sw/queue/lckfiles
0 /var/adm/sw/queue/logfiles
0 /var/adm/sw/save/PHCO_16489
0 /var/adm/sw/save/PHCO_16489/NLS-AUX
0 /var/adm/sw/save/PHCO_16489/NLS-AUX/usr
0 /var/adm/sw/save/PHCO_16489/NLS-AUX/usr/lib
0 /var/adm/sw/save/PHCO_16489/NLS-AUX/usr/lib/nls
0 /var/adm/sw/save/PHCO_16489/NLS-AUX/usr/lib/nls/loc
0 /var/adm/sw/save/PHCO_16489/NLS-AUX/usr/lib/nls/loc/src
0 /var/adm/sw/save/PHCO_16490
Would the tail of the output be more important?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:09 AM
08-05-2005 03:09 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
The '-r' switch is the change from ascending /decending output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:10 AM
08-05-2005 03:10 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
esetest1# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 33398 103122 24% /
/dev/vg00/lvol1 83733 29223 46136 39% /stand
/dev/vg00/lvol8 663552 663221 331 100% /var
/dev/vgdb/prodb 12288000 3656 11900466 0% /var/progress/db
/dev/vgbi/probi 8192000 1244816 6512992 16% /var/progress/bi
/dev/vgai/proailog 8192000 6243094 1827106 77% /var/progress/ailog
/dev/vgai/proai 8192000 428444 7278341 6% /var/progress/ai
/dev/vgdb/dump 2048000 414464 1531947 21% /var/dump
/dev/vg00/lvol7 581632 463132 111156 81% /usr
/dev/vgapp/sps 1024000 1357 958735 0% /usr/sps
/dev/vgapp/dlc 1024000 414599 571419 42% /usr/local/progress
/dev/vg00/archive 819200 333642 455217 42% /usr/local/archive
/dev/vg00/lvol4 65536 2243 59402 4% /tmp
/dev/vgapp/trend 1228800 1435 1150662 0% /rd
/dev/vg00/lvol6 405504 147674 241943 38% /opt
/dev/vg00/lvol5 20480 1109 18168 6% /home
esetest1# pwd
/var
esetest1# ll
total 26
drwxr-xr-x 3 bin bin 96 May 22 2003 X11
drwxr-xr-x 11 adm adm 1024 Aug 5 10:29 adm
drwxr-xr-x 4 root sys 3072 Aug 5 10:25 dt
drwxr-xr-x 6 root root 1024 Aug 5 10:57 dump
drwxrwxrwt 2 bin bin 96 May 22 2003 home
drwxr-xr-x 2 root root 96 May 22 2003 lost+found
drwxrwxr-x 2 bin mail 96 Aug 5 08:41 mail
drwxrwxrwx 2 bin bin 96 May 22 2003 news
dr-xr-xr-x 11 bin bin 1024 May 22 2003 opt
drwxrwxrwx 2 bin bin 96 May 22 2003 preserve
drwxrwxrwx 7 root sys 1024 Aug 5 10:03 progress
drwxrwxrwx 2 bin bin 96 May 22 2003 rbootd
dr-xr-xr-x 2 bin bin 96 Aug 5 10:29 run
dr-xr-xr-x 10 bin bin 1024 Aug 5 10:30 sam
dr-xr-xr-x 13 bin bin 1024 May 22 2003 spool
drwxr-xr-x 4 root sys 96 May 22 2003 statmon
drwxrwxrwx 5 root other 96 May 22 2003 stm
drwxrwxrwx 3 bin bin 2048 Aug 5 11:06 tmp
drwxr-xr-x 2 root root 1024 Aug 5 10:29 tombstones
dr-xr-xr-x 6 bin bin 96 May 22 2003 uucp
drwxr-xr-x 3 root sys 1024 May 22 2003 yp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:15 AM
08-05-2005 03:15 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
esetest1# du -k /var|sort -rn +0 |pg
8653705 /var
7941898 /var/progress
6239986 /var/progress/ailog
1241708 /var/progress/bi
425336 /var/progress/ai
411818 /var/dump
261093 /var/adm
255489 /var/adm/sw
233880 /var/adm/sw/save
209500 /var/dump/patch
201260 /var/dump/dlc91b
66104 /var/dump/dlc91b/bin
27945 /var/dump/dlc91b/lib
23863 /var/spool
23785 /var/spool/mqueue
20575 /var/adm/sw/products
20341 /var/adm/sw/save/PHSS_22514
20213 /var/adm/sw/save/PHCO_23876
18972 /var/dump/dlc91b/tty
16924 /var/adm/sw/save/PHSS_23800
16519 /var/adm/sw/save/PHSS_22514/C-KRN/usr
16519 /var/adm/sw/save/PHSS_22514/C-KRN
15564 /var/adm/sw/save/PHSS_24627
Please note /var/dump and /var/progress are seperate filesystems and they are okay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:18 AM
08-05-2005 03:18 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
/var/adm
the syslog.log and the mail.log files are here
could be other log files as well
/var/spool
the mail and lp spool files are here
/var/tmp
could be lots of temporary files here
What does the '# du /var -ka | sort -nr | more' say? What are the biggest files? This list will sort in ascending order so largest files will be on top of list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:23 AM
08-05-2005 03:23 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
cleanup -c 1
Then run your du -sk command again.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:26 AM
08-05-2005 03:26 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
there are lots of files in /var/spool/mqueue
that is probably the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:27 AM
08-05-2005 03:27 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
The /var/spool/mqueue looks big. Is mail being sent out of the system? Does the output from mailq command get smaller? It would appear that there a lots of mail files to be processes or mail files with big attachments waiting to be processed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:30 AM
08-05-2005 03:30 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
Something could be generating mail to be sent out but the mail is not going out. Are the number of files in /var/spool/mqueue increasing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:32 AM
08-05-2005 03:32 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
mail is the problem. I disabled sendmail, and there are lots of mail files that are clogging up /var/spool/mqueue
It looks like that is the likely culprit. I am sure it is because the sendmail server is not properly configured and EMS messages and such were builing up and then the undeliverable messages after 5 days compounded that problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 03:39 AM
08-05-2005 03:39 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
Remember, the sendmail daemon does not need to be running for the HPUX system to send mail out. This will in turn create these /var/spool/mqueue files.
If the HPUX system is unable to send mail out then the /var/spool/mqueue will increase with each new mail message to be sent out from the system.
The sendmail daemon needs to be running if you want the system to accept mail incoming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 07:12 AM
08-05-2005 07:12 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
Sendmail is messed up, /var is still 90% full and I can't figure out where it is, I have tried what you all suggested, thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2005 10:38 AM
08-05-2005 10:38 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
cd /var/progress/ailog
ll | sort -rnk5 | head
You'll see the largest file(s) sorted by size. For the biggest file(s), do this:
cat /dev/null > biglogfile.1
cat /dev/null > notsobiglog.2
and so on. I would also disable Progress from running if no one is using the database at this time.
The directory /var/dump looks suspicious too. That is not a standard HP-UX directory so someone has created it. Taking over someone else's machine is always difficult without some guidance from the previous owner. Windoze is the same way. A lot may be in a user's profile (My Documents) but a lot of important stuff may be in special C:\ directroies too.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 02:04 AM
08-15-2005 02:04 AM
Re: /var/dt/Xerrors file keeps growing and filling up /var
/usr/dt/bin/dtconfig -d
to disable the CDE desktop login and use character mode.