You are not logged in.
This weekend I got hit by the dcop server "problem".
I don't know how, when or why it started, but suddenly I had files corrupting on a 'unsupported' sd card and program crashes.
Then I got the DCOP server error messages. The disk full one is the more aggravating one, the one that makes the eee unusable.
Of course I scoured the forum, but only found 'F9' as a solution, so decided to dig a bit before doing a restore.
I found a 400mb xsession-errors file which I deleted along with both DCOPserver* files in /home/user.
Pulled out the battery and the power then rebooted on ac only. but I still had the out of disk space problem.
After some digging I found /var/tmp with a (larger than) 4gb size, I thought 'this is not good, neither can it be true' so I deleted the /var/tmp and rebooted (ac/battery out). I am assuming that it being a tmp folder it will get recreated when needed (or I will recreate it if the eee starts begging for it)
The curious thing is that the 4gb size was not reported with du, but visible with 'midnight commander'.
As of now, everything seems back to normal without restoring, reinstalling or any loss of data.
Hope this info helps.
Offline
Ah, well, I rekindled some of the fun of setting up my eee after an F9 solution following a DCOPserver error...
But, well done! This may save people losing data or settings.
Offline
I can't delete that /var/tmp folder because of the DCOPserver error saying there is no disk space left to delete...
This DCOP thing is really starting to irritate me...it happens once every 4-5 weeks...
Offline
bobby_1290 wrote:
After some digging I found /var/tmp with a (larger than) 4gb size, I thought 'this is not good, neither can it be true' so I deleted the /var/tmp and rebooted (ac/battery out). I am assuming that it being a tmp folder it will get recreated when needed (or I will recreate it if the eee starts begging for it)
The curious thing is that the 4gb size was not reported with du, but visible with 'midnight commander'.
Ok I managed to save my system as well. Wanted to share some details in the above quoted point with others...I deleted the DCOP files and the xsession ones, but didn't have the feeling that had any effect whatsoever.
I had the feeling that the key to the success was the start-ups without power (neither battery nor AC) I did in between to purge any residual stuff flying around.
There was a problem with deleting above mentioned /var/tmp folder though.
The big issue with DCOPserver problems is that it claims you don't have any free space on your devices, not allowing you to do anything. Midnight Commander nor manually deleting the files in the tmp folder worked because of that...
I think what made it in my case was
sudo rm -r tmp
while in the /var folder.
My eee started working like crazy. I left it running for 30 mins or something and nothing really happened. It was just working the SSD like crazy. Then I thought nothing is actually happening and that it crashed.
So I forced a shutdown by holding the power button.
then I did the powerless startup again a couple of times just for the hell of it.
After the next restart everything was good again.
Offline
I'm getting a similar problem, except I don't have midnight commander, so i just attempted the code in the folder, and it says "rm: cannot remove directory `/tmp/': Device or resource busy"
Is there something I'm missing or do I have to do F9? I'm also not able to copy my data over to my SD card or flash drive. The devices show up, but not the contents of them.
edit- Solved the problem. Initially when I removed the folder, I didn't have root access, so it didn't do a clean job, did it a second time under root, and worked like a charm.
Last edited by danucleus (2008-03-10 7:59:59 pm)
Offline
Just wanted say thanks and share my experiences with this problem.
I started to get error messages after Opera crashed. I deleted the files above using midnight commander for the files in /home/user and sudo rm -r tmp for the other files,
rebooted on ac power and everything seems fine.
The only thing i noticed was that the files mentioned were very small.
Thanks again
Offline
@ bobby_1290
Following your instruction re the DCOP issue saved my day.
Just wanted to say thank you.
Offline
You can prevent this error from occurring (because of the large error log file) again by using TweakEEE, or following my How To Guide.. Part 2.
Offline
*nods* Thanks everyone!
cd /var
sudo rm -rf tmp
seemed to solve this for me. First time this error has happened on my system (since November!). This is a great forum ![]()
Offline
Hi, three days ago, in this thread, I told you how happy I was as I thought I'd got rid of the dcop server error messages for good. Today they started coming back. I deleted xsession-errors and DCOPserver* files, changed to exec >"$ERRFILE" 2>&1, did cd /var sudo rm -rf tmp and rebooted on ac. I think (just think) I followed all the advice. May I add I have a 16gb Panasonic SDHC and the Huawei E220. Both were not plugged in while I performed the above activities. My standard procedure is to have the SD in permanently and to plug in the modem either before or after booting. Also, I have an ad-hoc WLAN connection with my WinPC, which is set to start on boot-up, so whenever the WinPC is running, the Eee will automatically connect to it. Conversely, when the PC isn't running, the Eee naturally "fails" to connect to it. Should I change this? May I say that everything works fine with no exception (WLAN, UMTS, SDHC), it's just the error messages that annoy me.
PS Maybe I should also add I run AnalogX Proxy on the WinPC for shared use of the Huawei as it is plugged into it.
Last edited by Leopold Bloom (2008-04-28 8:41:43 am)
Offline
Hi, Last try before I just accept it as part of the big inevitable in life (cf. Murphy's Law and its corollaries). As the dcopserver error messages have started to come back again although I F9ed recently (remember: everything's fine except for the annoying messages) and as, furthermore, they can, for some time, be prevented from popping up by deleting xsession-errors and DCOPserver* files, I would like to submit the following humble idea to you Linuxites out there: Why not write a script whereby those files are deleted automatically?
Offline
Hi guys, I have a feeling that there's a "you'll need to F9" response coming but I thought I'd ask anyway...
I started getting the DCOPserver error this evening as I was following the A2DP wiki guide. I tried a reboot to resolve it (I was trying to Google this site to find out what it was all about but the errors were coming too thick and fast to even use Firefox!) so I rebooted... damn.
First it wouldn't accept my password.
Then it would freeze after I hit enter when entering the password.
Now I just get stuck in a boot cycle and that's that.
Is it time for an F9 or is there a way to get to the file system to remove the files mentioned above?
Thanks in advance.
Offline
MakaniMike wrote:
I had the feeling that the key to the success was the start-ups without power (neither battery nor AC) I did in between to purge any residual stuff flying around.
Sorry, forgot to ask. How is a start-up possible without battery or AC? Have I missed something?
Offline
After a little more plugging away I've resolved (well the excellent people of the forum resolved) the issue.
Thank you to everyone on this post for the info.
Offline
Question: Do I have to be running eeepc in advanced mode in order to remove files under root? This is my first experience owning a linux-based os, and I haven't the first clue on how to do so. . .I attempted to "delete" the latter specified files on this topic (dcops server and x whatever ) only to see the option "delete" not highlighted (grayed out) when I right clicked. Hence, I can't delete "****."
My eeepc is a 4 gig 701, and as I have no idea how linux functions, I haven't tweaked one thing on the computer. It is at factory settings--exactly the way it came out of the box, and yet, this frustrating dcops error has rendered the entire computer virtually useless; I can't connect to the internet (main problem), and basically just can't open ANYTHING without having that stupid dcops server flash on me and then having the computer crash . . .
PLEASE HELP!
Offline
Easty wrote:
MakaniMike wrote:
I had the feeling that the key to the success was the start-ups without power (neither battery nor AC) I did in between to purge any residual stuff flying around.
Sorry, forgot to ask. How is a start-up possible without battery or AC? Have I missed something?
Sorry. I phrased it slightly confusingly it seems. "start up" in the sense of pushing the power button/INTENDING to start up the computer. Doing this apparently "cleans up the computer/memory/whatever" (in layman terms).
Offline
Actually, you shouldn't use sudo rm -rf tmp in /var/, as at least on my EEE it killed xkeyboard so I lost my keyboard settings and I'm unable to restart the service.
I guess I'll back up the system as it is now, do a system restore, enable adv. mode and reload my settings.
Offline
I've had the DCOPserver error box appear every second or so while I'm running File Manager. Do not Want.
So my understanding from this thread is that error messages are piling up in a logfile and causing more errors. And the solution is to delete the logfile? and/or set the log to overwrite instead of append.
I've used computers before, and that just seems crazy. What are the errors? How can I address their cause?
btw. I did
sudo rm -r tmp
and now I can't boot, so its reset to factory time anyway.
I'm slowly loosing the love for the eeepc - I could have bought a HP or macbook and it'd work, and working is pretty high on my desired features list.
Offline
The removal of the directory /var/tmp as described in this post fixed the problem I was having (similar or the same as described by MakaniMike and bobby_1290).
But I subsequently had problems with WindowsNetwork access using FileManager.
This was resolved by recreating an empty directory ( see http://forum.eeeuser.com/viewtopic.php?id=32642 ):
sudo mkdir /var/tmp
sudo chmod a+wrxt /var/tmp
From what I have found the initial problem is related to the resource limits placed on inodes (?? like pointers to files?). This can be checked using the following command at the terminal:
df -i
As some other users have reported problems in using:
cd /var
sudo rm -rf tmp
a more controlled method to delete the offending files might be to use the root file manager to selectively delete files:
sudo XandrosFileManager
Hope this helps and thanks to everyone who are contributing to this forum!!!
Last edited by rdreeves (2008-06-14 6:48:02 pm)
Offline
I was having the DCOPserver problem once every couple weeks and the EEE wouldn't start, forcing me to F9 reinstall the OS (and frustratingly lose all my customizations). So I deleted /var/tmp and the problem seems to be fixed. Now, like Anqquri above, I've got problems with my keyboard. Specifically, nothing happens when I push the "home" button on the left of the ALT, and the "right-click" on the right of the ALT.
I remember there was a file in var/tmp that had 'keyboard' in the name. (Should have backed up... oops.) I was wondering if someone could upload that file, so I could try to make my buttons work again. I'm relatively new to Linux, so if anyone knows an easier way to regain those buttons, please tell me.
Thanks for any help you can provide.
Offline
Most likely you need to do the factory reinstall shuffle like I did. The problem lies in two hidden folders in /tmp/ -- kdecache-root and kdecache-user. They, or files under them, shouldn't be deleted.
I learned from that mistake and now I have a backup on a usb stick when I start to get adventurous again.
Offline
No solution, but I'd had a series of DCOP errors last night, left the Eee in standby mode because I thought I'd discovered something a bit suspicious, and it started up fine this morning.
I wonder if there's a cron event which deletes some of the crud?
I would advise, though, against the use of rm -r on any *nix system (on many distros it must be explicitly re-selected, to save the chaos which eventually follows).
Offline
I also got the DCOPServer death earlier today, and it seemed very much to be related to the "No space left on device" error, however df -h was showing plenty of space... Nevertheless, I deleted some stuff and that seemed to fix things for a bit, but about two hours later, it was back to the same error.
So I googled up a few answers from this forum, most notably this thread which suggested lack of inodes might be a problem. Lo and behold, df -i was showing zero free inodes, and deleting stuff had just freed a few inodes (I'd deleted few big files, not many small ones).
For background, an inode is semi-equivalent to a FAT entry, in that it's a part of a chain, and it holds directory entries (filename, permissions, owner and group, and possibly other stuff, too). So every file on an ext2 or similar filesystem has an inode, and there is a limited number of inodes.
The other problem was that the unionfs used in stock Xandros automatically creates some very hidden files, named ".wh[something]", apparently creating them whenever a file is deleted, so that the free inode count will always go down, and never up (with the exception of deleting directories (thus explaining why 'rm -r /var/tmp' works -- because you're deleting the hidden files inside it, and /var/tmp gathers many of them) -- and also why it's only a short-term solution.
Thanks to this other thread, I found a way to delete the .wh* files all at once, which should be a much longer-term solution (but, obviously, never a permanent one -- this will have to be repeated). I've posted this solution here (see the CODE box), and can verify the solution not only works, but spares you from having to F9 your Eee incessantly.
The commands can probably be gathered into a script and put into cron, if someone wants to automate the process, however CAUTION: I've not yet verified a system thus "cleaned up" will still function after a reboot. I will return and edit after I test that.
EDIT: Yeah, it worked. To show the difference, this is my inode count now:
/home/user> df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs 185088 26533 158555 15% / [remainder snipped, since unimportant]
So this is the solve: 158 thousand (!) free inodes, compared to about 1000-ish that I'd managed to clear up before I came across the idea mentioned (and linked) above. I won't need to do this again anytime soon... ![]()
Last edited by Narc (2008-06-30 3:04:22 pm)
Offline
Narc: thanks for all the research and advice. Without intelligent and generous Linux users like you, my Eee would have become a cute doorstop long ago. Hopefully I'll only have to F9 once more (to regain my lost keyboard settings) and then periodically delete the .wh* files, and everything will be fine.
Since this is such a huge problem on the Eee, I wonder what Asus has to say about it?
Offline
This page saved me and I want to thank the people who have posted and the folks who run this site. Thank you.
One thing I noticed that might be of use to people. This began when I plugged in an SD card from a friend's computer and it executed some program that I imagine is supposed to get at the pictures in some way. Had I thought to check this BEFORE inserting it into my Eee 701, I might never have had the problem.
Deleting the xsession-errors file and removing /var/tmp did the trick though I got nervous throughout all of this.
Thank you again for the help. You saved my day.
Offline