Debian :: System Becomes Read-only After Some Time Running
Dec 2, 2010
It's the second time I've noticed this
~# /etc/init.d/sabnzbdplus restart
mktemp: failed to create file via template `/tmp/sabnzbdplus.XXXXXXXXXX': Read-only file system
/etc/init.d/sabnzbdplus: line 94: $TMPFILE: ambiguous redirect
Stopping SABnzbd+ binary newsgrabber:No process in pidfile '--retry' found running; none killed.
failed!
I have a question about the atime attribute. I wonder why the atime is not updated when the file is read. It is update only the first time the file is read.
For example: antec:~# touch test antec:~# stat test
For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.
When I try to install Debian 8 on my laptop I get this rather odd error. The install fails every time. I've managed to get as far as choosing which Desktop Environment I want and the shortly after it shuts off. It shows 4 messages
The machine I'm trying to install on is a Gateway NV53, 4gb of RAM, AMD Athlon II x64.
At first I thought it might be my disc so I burnt another DVD using the 4.3GB DVD image I had downloaded. I checked the disc and it verified with the image and so I tried again with the same results as above. Any clue what might be causing this? I'm sure it isn't my hardware, Arch has been running fine for almost 6 months and never seemed to care.
i have a debian 5 vps system.. it reports the time as beeing one hour behind, i have tried to change this by setting the time to GMT+1 and setting the time to my local region (Europe-Brittian) using the tzselect command but none get the time to the correct time, one hour ahead of the current time.
I seem to have run into the bug where my system was suspended when the DST change occurred (Not off so it didn't do it on reboot, not on so it couldn't do it then). I can't seem to find any way to do it manually. Is there any?
I changed to the kde desktop environment. I logged in as a normal user, and left the computer running for a few hours. when I came back the screen was turned off and the system does not respond to mouse movement, pressing the keyboard, or any combination thereof. I tried
Code: Select allCtr+Alt+F1, CapsLock
First time i touched keyboard the led of numlock turned off, and never back. Blanking the screen itself does not cause a system crash, this occurs after several hours of inactivity.
.xsession-errors Code: Select all/etc/gdm3/Xsession: Beginning session setup... localuser:bartek being added to access control list openConnection: connect: Nie ma takiego pliku ani katalogu cannot connect to brltty at :0 Failed to connect to the VirtualBox kernel service
I'm running testing and over the last week or two my system is getting slow. Any disk access slows everything to a crawl. Even the cli can take several seconds to display characters as I type them.
I use Debian Lenny in a dual boot system on a desktop computer with a 40 GB hard drive. There are two partitions used by my Lenny installation, one containing /home and one containing the rest of the directory tree, including /tmp. I guess that I could soon encounter problems using kpackage to obtain security upgrades to already installed packages or backing up files to CD; is that correct? I have plenty of space left in the partition containing /home but have under 500 MB left in the other partition (4.1GB), which is 93% full. A year ago I was fine, but the various package upgrades seem to usually add stuff, so I've gradually filled up the partition.
I have looked at the directories in the filling up partition, and there are not really any huge space hogs, just a lot of packages adding up to filling up 93% of the partition. The fattest directories in the almost full partition are /usr/lib 1.1GB /usr/share 1.6GB
Installing another Lenny on another desktop (no more dual boot for me!) is now a high priority, and I hope to accomplish that over the next month or two, but until then I am concerned that my current desktop computer may soon become unusable. I guess that if I tried to simply use the linux mv command, as root, to try to move say the entire /usr/share directory to /home/usr/share, I would not only not free up any space, I'd only move the directory itself, which I guess would possibly render various packages I have installed unusuable. Is there any reasonably simple/safe way to do something like this: 1. cp /usr/share to /home/usr/share 2. replace /usr/share files with symbolic links to new locations.
I'll often run iceweasel for watching videos via flash (hulu, ....., et cetera) while working, in fedora I never noticed any performance problems, watching the video while using chrome for browsing, gedit for editing, et cetera, everything was responsive. Though, now on debian running iceweasel for the same purpose hogs memory and processor time, which slows down the responsiveness of the system as a whole, making it difficult to use other programs.I'm curious how I should go about troubleshooting this issue, and what diagnostics might help me find the solution.
So i just finally installed Debian Jessie OS, replacing Ubuntu. But now it is running extremely slow. It's not internet connection. The internet speed is running fine (Videos load quickly), but it's like the system freezes every 30 seconds or so. A video can be fully loaded but still stops and starts constantly. Just browsing the internet, or non-internet things do the same also. I switched back to Ubuntu to see if it was different on there, but Ubuntu is running fine.
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code: hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
I am trying to install debian 6.0.1a in an old COMPAQ 1255 (amd-k6, 160 MB ram, 4.3 Gbyte AT33.33 MB/s Cyl 6568 Heads 6 bytes per sector 512 HardDisk). I am using the netinstall CD_ROM , I just want the base system (the last option in the list you are presented) I got installed debian 5.0.8 , base package plus fluxbox plus a light browser plus a light pdfviewer, and I got really surprised what an useful system I got from such and old hardware.
With 6.0.1a everything goes well during the install process, the net is recognized, also the disk, formatting an partitions are created, apt-get configured, repositories contacted, etc. I only select base system (may be I am confused with the name, it is the last option in the list), and I select the install using the whole hard disk (i also tryed the install using a separated home partition but I had the same problem). I am installing the system in spanish, using latinamerican keyboard layout.
the installer then asks to take away the CD-ROM, I do, I reboot and then I got "GRUB Read Error Operating System not found". Just before the message, the machine search the floppy. If I press a key, I got the same behaviour, noise in the floppy, error message.
I can boot the CD_ROM in rescue mode, and I can select /dev/hda1 and get a console. i can do ls and cd and navigate the tree. It looks like everything is there, the /etc, the /home, all of the directories. if I do fdisk /dev/hda i got a warning because dos compatible mode is deprecated with option p of fdisk i got:
15 heads, 63 sectors/track 8944 cylinders. (different of the specifications?) device boot Id system /dev/hda1 * 83 Linux
[code].....
i can do less grub.cfg, and I got lot of information. I think this part could be relevant to the problem
insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid
I installed Ubuntu inside windows(Win 7).Both works good.I found that system time is wrong in both OS.Every time i Change it manually but it changes again on reboot!
I have a log file that I would like to examine during some changes under process that writes to this log. Is there some way to open this file and read in real time changes written to it ?
i am trying to read in a file 1 line at a time and for some reason it stops printing out at about line 62,000.
i am doing this: Code: while(fgets(c0, 1085, fstream0) != NULL)
but after about 62,0000 lines it stops printing. no seg-fault, no core dump. it just stops printing to the terminal then returns me to the command line after a couple of minutes. as a hack i am doing split -l 50000 on the input and calling my program 5 times.is there some limitation on fgets that i am not understanding ?
I am trying to read the /proc/net/tcp6 file of a huge server (chat server) for monitoring the tcp6 connection states.
My server's tcp6 file has more than 26000 lines. For monitoring the server connections, my monitoring tool has to read the /proc/net/tcp6 file quickly in a regular interval (5 secs) and process. Presently it takes minimum 6-7 seconds for reading the whole file.
My tool can able to read the normal file (26,000 lines) less than 1 second, but it is not possible to read the same size of proc file.
I have 2 questions:
1) Why proc file takes more read time than normal file?
2) Is there any way to read the /proc/net/tcp6 file more quickly?
I am writing a C program which reads data over serial port. While reading data, if I send my data(which is a 13 byte structure) periodic with a period of 1 second for 10 times I read it without problem and I read the data 10 times as I sent and as I expectBut if I send data continuousuly(without any time interval between each sending) 10 times I can only read 1 of them(I can only read it once).
Since the upgrade from Lenny to Squeeze on my Notebook Toshiba Satellite Pro U200 with Intel Pro/Wireless 3945 ABG I have wireless connection problems.The connection breaks time to time and sometimes cannot connect automaticaly after restart. BTW I didn't change anything on the wireless or network configurations on the notebook and on the wiereless router.
I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
I wanted to know how can I set a period of time to a tcp connection to wait for request or respond for tcp block read. which system call or function I can use? Does any body know a very simple quick and easy reference on web for socket programing that has lots of socket programing examples in it?
We have 2 applications set as S96 and S98 at rc3.d and rc5.d simultaneously. Both applications create a system V shared memory segment by calling shmget.If the system boot at runlevel 5, both applications can obtain their shared memory segment id correctly, i.e. 98305 and 131074 individually. While there is a root owned segment id 32768 takes first seat on the list. This is the id list: