Ubuntu Servers :: Grep Gzip Segfault - Not Boot Apart From In Read-only Mode

Mar 28, 2010

I have an interesting issue Ubuntu Server 8.04, The server has been running for quite a while (not designed or put together by me) but recently it has started segfualting and now will not boot apart from in read-only mode. I see the following errors in dmesg.

[Code]....

View 3 Replies


ADVERTISEMENT

Fedora Servers :: Raid 0 Went Into Read Only Mode

Apr 16, 2011

I am using Fedora 14 64 bit with two 1T drives. There is a Raid 1 for the important information and I use a Raid 0 for cached files that can be generated on the fly. Yesterday my Raid 0 went into read only mode.

Here are a couple of tests:

What caused the Raid 0 drive from /dev/md1 to get removed? Is there a way to get it back to active sync?

I have tried:

But it can not open /dev/sda2: Device or resource busy.

View 9 Replies View Related

Ubuntu Servers :: Switch To Read-only Mode When Folder Lost+found Is Accessed

Jan 19, 2010

I have a weird problem here with a 9.04 server. We have a raid 5 disk formatted in EXT4 which remounted automatically when we accessed to the lost+found folder which is in the root of that disk.

I tried to delete it but I can't. It's a bit annoying because I have to prevent all users and backups to access to that folder.

View 2 Replies View Related

Server :: Gzip Log Files In Remote Servers?

Jun 7, 2011

I have limited access to several servers (key based auth) but cron facility is not available for me. Those servers getting filled up by large apache logs and I have to login to each node manually and clean them each and every day.

I tried to write a script to run from login box but when i try that it looks like it is looking for logs in the local server (login box).

So current situation is:

How can i modify this so that the script in server1 will look for files in that server and zip them?

Google showed another command called rsh but in my env it is also not avil.

View 5 Replies View Related

Ubuntu Servers :: Gzip And Tar Hang Around And Don't Die Locks Up Backup Drive?

Apr 20, 2011

so this is really the result of another problem. There seems to be an issue with CPU spiking to 99% forever (until reboot) if I run apt-get or synaptic or update manager while an external USB drive is plugged in. Note, other USB peripherals are no problem, just an external HD.

So my work around was to eject the drive when doing apt-get or other installation work, then reattaching it to remount. Now, on to the present problem. I'm using the basic backup script (the rotating one) found in the Ubuntu Server manual. It uses tar and gzip to store a compressed version of the desired directories on my external USB. (which sits in a fire proof safe - this is for a business)

However, it seems tar and gzip which run nightly 6 days a week via cron as root, don't ever want to die, and they don't release the drive. I have to reboot the system (I can't logoff) to release the drive, unplug it, the I can do update/install work.

Of course, if apt etc. would work fine without conflicts with the external device, I'd not care about the tar/gzip problem other than it generally isn't a proper way for them to function and it chews up some CPU cycles. (they run about 0.6 and 1.7 percent respectively) I also can't kill them via kill or killall. They seem undead.

View 6 Replies View Related

Ubuntu Servers :: Gzip Slowing Down Apache - Force Lower Priority?

May 12, 2011

I'm trying to dump a mysql database on a small web server without killing performance. I tried using the nice command to give the mysqldump and gzip a low priority, but gzip is still taking up 100% CPU. Pages on the web server are loading incredibly slow. Here's my command:

Code:
nice -n 19 mysqldump -u USER -pPASSWORD DATABASE | nice -n 19 gzip -9 > OUTFILE.sql.gz How do I get gzip to run without taking up 100% CPU? I've attached a screenshot of top about 8 seconds into the dump.

View 2 Replies View Related

Ubuntu Servers :: Can't Read The Boot Log In 10.10

Nov 2, 2010

I can't read the boot log In Ubuntu Server 10.10. I did this:

Code:
BOOTLOGD_ENABLE=yes in /etc/default/bootlogd

But the file /var/log/boot is empty:

Code:
cat /var/log/boot
(Nothing has been logged yet.)

View 4 Replies View Related

Ubuntu Servers :: 8.04 - Kernel Panic On Boot Even In Recovery Mode

Feb 18, 2010

I have a 8.04 x64 server installation that is receiving a kernel panic on boot no matter which kernel I choose even recovery mode.

[ 27.738620] raid1: raid set md0 active with 1 out of 2 mirrors
Done.
Begin: Running /scripts/local-premount ...
kinit: name_to_dev_t(/dev/disk/by-uuid/c224854e-37bd-491a-b895-48e8bf07fe00) = md1(9,1)
kinit: trying to resume from /dev/disk/bby-uuid/c224854e-37bd-491a-b895-48e8bf07fe00
[ 31.665733] Attempting maual resume
kinit: No resume image, doing normal boot...
Done.
[ 31.717461] kjournald starting. Commit interval 5 seconds
[ 31.717471] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
init: Error parsing configuration: No such file or directory
[ 32.064009] Kernel panic - not syncing: Attempted to kill init!

I have built a new server, now I am trying to restore my db from mysql. I have a backup that is out dated, I was hoping there was a way to copy the files over and have them work on the new installation. I can boot the server with the installation cd using recovery mode, I can get to the hdd and mount a smbfs share from the new server. I have tried to cp the files retaining the permissions and get a permission denied error, but if I copy without retaining the perms they copy just fine and do not work.

I have setup the new server with very close to the same version of all software. I have built a new instance of my service using all of the same users and passwords. I then backed up the new db and moved it over and attempted to copy the old db over. I did not copy it straight to the mysql folder as I did not share that folder out. Any other ideas to get this db recovered? What about getting my old server to run again just long enough to get a mysql dump?

View 5 Replies View Related

General :: Read File And Pipe To Grep

May 26, 2011

I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.

View 2 Replies View Related

Ubuntu Servers :: Entering Correct Password For Sudo Results In Segfault After 2 Attempts

Feb 2, 2011

I cannot sudo nor log into a second ssh session on my Ubuntu 10.10 server edition headless setup. Entering an incorrect password works as expected but the correct password gives errors, and on the second attempt a segfault. I recently changed my password as the old one was about to expire, that was 3 days ago, I can't find evidence that I have sudo'ed or logged in a second session since, I have been logged into it via ssh throughout all of it and I am still currently logged in. What should I do to correct this problem? I'm worried that by turning it off I will lose all access. Is the only option using a live cd to change the password?

[Code]...

View 1 Replies View Related

Debian :: Colord-sane Segfault During Boot

Sep 6, 2015

I just saw this message in the syslog and wondered if it could have anything to do with my previous problems with LXDE crashing:

Code: Select allSepĀ  6 08:03:34 MyComputer kernel: [ 1003.788502] colord-sane[3381]: segfault at 21 ip b4de95ba sp b5609fb8 error 6 in libdbus-1.so.3.7.2[b4dbe000+4a000]

I have read a number of bug reports regarding this issue and it appears to go back about two years. It was supposedly fixed but that does not appear to be the case unless there is something peculiar with my Wheezy 7.8 installation.I just found this on a Ubuntu bug report. It is related to a colord-sane but not necessarily exactly the same as what I am experiencing.This is a libsane bug, not a colord bug. If you want to to work around it, change /etc/colord.conf to have UseSANE=false

View 2 Replies View Related

Software :: Segfault On Boot - Attempting To Enable Nvidia Driver

Apr 5, 2010

Segfault during boot of nvidia drivers, anyone know what's causing it? Boot log is here: [URL] It cites a segfault in my /etc/rc.d/init.d/functions at ine 513.

View 2 Replies View Related

Ubuntu :: Make Grub Boot To Allow Me To Choose Like Safe Mode And Normal Mode And All

Apr 23, 2010

how do I make grub boot to allow me to choose, like safe mode and normal mode and all that second, how do I do automated back ups (preferably using file copy) for something like every sunday at 11:00 am using the command line, i use to know but forgot.

View 1 Replies View Related

Ubuntu :: System Won't Boot, Can't Find Safe Mode, Can't Launch Recovery Mode

Nov 18, 2010

I attempted to install Catalyst 10.11 for my ATI HD 2600XT and the system now only displays lines and a large block of pixels where the mouse would go. CTRL-ALT-F1 kills the system and does not provide a command prompt. This is a single installation, not dual-boot, but there is no Press Esc to access the Grub menu during startup so I cannot choose safe mode. I attempted to get into Recovery mode using the flash drive that I used to install the system and it tells me there is no Recovery kernel (I used the 64-bit Desktop installer, not alternative). Does anyone know an alternative to get into the Grub menu other than ESC during bootup? Alternatively, do I need to download the 64-bit Alternative ISO and create a new boot disk with it so I can access Recovery mode? Is there something else I'm not thinking of?

View 5 Replies View Related

Ubuntu :: File Open In Read-Only Mode?

Jan 29, 2010

I have Ubuntu9.10 installed in my desktop and the version of thunderbird is 2.0.0.23 and I am facing a problem that if I open any attached document from my mail, it open in Read-Only mode. To make changes I have to save the file or click on edit button but if I click on edit button then file get renamed as Untitled document.

View 4 Replies View Related

Ubuntu :: 8.04 - Error Read Only System Mode

Jul 12, 2010

I've rebooted my system like 30 minutes ago...and all the sudden I get the error related the that program in ubuntu 8.04 that checks the disk after reboot for bugs an stuff like that. The error is caused by "read only system" mode. It can't write anything onto the HDD. I can't even change /etc/fstab file with nano or anything else. Btw is server edition. I mean when I want to save the file (fstab) same damn thing read-only system how can I change that?

View 2 Replies View Related

Ubuntu :: Why Does Usb Drive Mount Read Only Mode?

Nov 29, 2010

I use to be able to mount a usb and stick and copy over files to it. Now when I plug it in it mounts as read only and I cannot change it. I did not change anything on the system. I have su access and really nothing is new on this laptop. Any thoughts one what i can look at? I need to write data to usb all the time. I rebooted too. same issues.

View 3 Replies View Related

Ubuntu :: Spreadsheet Document Open In Read Only Mode?

Oct 3, 2010

I created a spreadsheet which I had edited repeatedly. Today I ran out of disk space and needed to resize some partitions. After that proceedure I opened the spreadsheet and when I click on a cell to see the formula I get the message "document opened in read only mode". Other documents open fine.

View 1 Replies View Related

General :: USB Stick In Read Only Mode After Using It To Install Ubuntu

Jun 8, 2010

I used my usb to install ubuntu on my netbook and now it says it's read only. Checked all over for a switch, even pulled the plastic case off but I can't find one.

View 13 Replies View Related

Red Hat :: Boot In Emergency Mode (not Single User Mode)

Mar 10, 2011

I need boot in emergency mode (not single user mode), from docs:

[URL]

in red hat enterprise 5 it's ok, not in red hat 6.

View 1 Replies View Related

Ubuntu Servers :: Using TShark And Grep - Output Empty File?

Jul 13, 2011

I am not sure why this does not work..
tshark |grep 'string'
Gives me what I want but
tshark |grep 'string' >/tmp/outputfile
Gives me an empty file.

View 3 Replies View Related

Ubuntu :: Link Opens File In Read-only Mode Change?

Apr 18, 2010

I create a link to a file in order to open the file from the desktop. When I move the link from the file location to the desktop, the file is opended in read-only mode. How can I change this so that the file opens in regular mode so that I am able to edit contents? The file in question is an open office spreadsheet.

View 5 Replies View Related

Ubuntu :: External Hard Drive Now Stuck In Read-only Mode?

Jan 22, 2011

so here's my issue and what I think is causing it right now. I have a 1TB external usb hard drive that has worked perfectly, but recently I set it up a mount point for it in fstab so that I could create a SMB share on the drive so I could stream videos and pictures to my TV through my Wii using WiiMC. This now works perfectly, but now the hard drive has been set into read-only mode. When I use sudo to try to chmod the drive or the folders on it, it does nothing. When I right-click on the drive and check the permissions tab, it says the owner is root and all the options are greyed out.

I've read through several posts on similar topics to this, but none of them have been very helpful as they suggest using command line tools that I don't know how to use, so I'm hoping someone here can give me concise, step by step instructions of what to type in, or what settings to change in fstab to solve my little problem so I can start copying stuff back onto my drive. I'm running Ubuntu 10.10 and the filesystem on the external drive is FAT32. Here's some more info you might need:

sudo fdisk -l:

Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]...

View 5 Replies View Related

General :: File System Is In Read-only Mode

Jan 19, 2011

i have used debugfs command and "open -w /dev/sda1" command, but i did not close it. the file system is in read-only mode now.

View 2 Replies View Related

Debian :: Mount HFS+ Partition In Read/write Mode

Aug 25, 2010

I have installed Debian on My Macbook Pro.

I want to be able to write to the HFS+ partition. I have disabled journaling on the HFS+ partion.

I have the following in my fstab:

But it still mounts as read-only.

View 4 Replies View Related

General :: Server Filesystem Enters Read Only Mode Automatically?

Nov 28, 2010

I am running a dedicated server with linux cent os 5.5 32 bit with lighttpd, php 5.2.14 and mysql

I am getting problem in my server. The filesystem enters read only mode automatically and then I can't edit any file in my server. This happens by itself. I tried to run fsck command and it gives the following output:

Code:
[root@server]# fsck -A -y
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/: recovering journal
Clearing orphaned inode 11108656 (uid=0, gid=0, mode=0140777, size=0)
Clearing orphaned inode 13631499 (uid=27, gid=27, mode=0100600, size=0)

[Code]....

View 2 Replies View Related

General :: Mobile Micro Sd Card Gets Mounted In Read Only Mode?

Aug 23, 2010

I am using ubuntu 10.04.My samsung e2120 has external micro sd card of 2GB.When i connect mobile to computer via cable in windows , it works normal as USB mass storage as configured by me in mobile settings.But in case of ubuntu 10.04

Code:
$cp /data/to send/khatarnak shayri.txt /media/E0FD-1813/
cp: cannot create regular file `/media/E0FD-1813/khatarnak shayri.txt': Read-only file system

[code].....

View 3 Replies View Related

Networking :: MS Office Files Open In Read Only Mode From Samba Share?

May 17, 2011

I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.

Code:
libsmbclient0-3.5.6-43.el5
pam_smb-1.1.7-7.2.1
pam_smb-1.1.7-7.2.1
I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.

View 7 Replies View Related

General :: Mount NTFS In Read/write Mode In SuSE Enterprise 11

Dec 17, 2009

I can mount the NTFS in read only mode, but i need write access too. how can i mount NTFS partition in read/write mode..?

View 12 Replies View Related

General :: Grep String From Logs Of Last 1 Hour On Files Of 2 Different Servers+calculate Count?

Sep 3, 2010

I am trying to grep a particular string from the files of 2 different servers without copying and calculate the total count of its occurence on both files. File structure is same on both servers and for reference as follows:

Code:

27-Aug-2010 10:04:30,601|919122874903|phtunes_app|1282243292627|NotifySmsReception|DMGenerateLogInterceptor - ExternalTransactionID:SDP-DM-26713018, TransactionStatus:Requested
27-Aug-2010

[code]....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved