Programming :: E2fsck Reports - But Mount Warns Of Errors

Nov 25, 2010

In this case what is the return value of mount. I want to run e2fsck only when either mount fails or mount succeeded but with errors . Is there some way to detect this situatin "mounting fs with errors" in code/script .

View 6 Replies


ADVERTISEMENT

Ubuntu :: Can Running E2fsck On Live System Cause Errors ?

Jun 29, 2011

We have an old server running, and I decided to run fsck.ext3 -n on the disk to check it (while it was running). Turns out it reports lots of errors - not a good thing.

The weird thing is that when booting up a rescue cd and running fsck.ext3 on it, it says there are no problems with it. The filesystem is marked clean. Forcing a check with -f turns up nothing.

Now, when booting it from disk, fsck complains about an unclean file system that has not been checked for like 50000 days (obviously an error). Running e2fsck -n /dev/sda2 turns up errors again - not necessarily the same ones as the last time.

This makes me wonder: Can running e2fsck on a mounted file system cause errors? I ran with -n which is not supposed to do anything, just doing a read-only check. On the other hand, I heard checking a live file system might throw erros since the files being checked might change while bign checked, thus causing false positives.

Can the old version of e2fstools (1.38, approx 2005) mean non-existing errors are shown? Both the rescue cd and the system use this version.

In any case - why would the file system report errors on boot-up when the rescue cd just said it was ok? It should have been marked clean by now.

For laughs, I shut down the system and booted Knoppix which has a quite recent version (1.41.12, May 2010) of e2fstools. It showed no errors on the file system.

What do you think - are there errors or not on the file system?

The system is actually running Suse, but this is not about Suse specific things - just general Linux tools. And I use Ubuntu personally.

View 4 Replies View Related

Networking :: Iwconfig Reports Many Errors

Apr 16, 2010

I have one laptop running under Windows and another under Linux. I can access and surf the internet on both computers. But the Linux laptop is painfully slow.

If I ping my gateway the Windows lappy does in in 1 ms but the Linux in 20ms. iwconfig reports errors under Rx invalid crypt, tx excessive retries and huge numbers under invalid misc, and nothing on the rest.

The router is encrypted with WEP and iwconfig reports the correct key.

View 8 Replies View Related

CentOS 5 Networking :: NIC Drops Packets / But Reports No Errors

Jul 24, 2009

I've got an odd one, running the CentOS 5.3 kernel, I'm experiencing lost packets on one of the two NICs when tested with ping. In this particular case, it's the internal NIC that causes the problem, pings from the CentOS machine to the public network over the external NIC never loses packets.(internet)<-->CentOS<--> (LAN) <--> desktop

- CentOS can ping the internet with no packet loss
- CentOS loses packets when pinging the desktop(s)
- Desktops lose packets when pinging the CentOS box
- Taking the LAN switch out of the equation still results in lost packets
- When the LAN NIC on the CentOS box "acts up", all desktops start losing packets

I've swapped out the NIC a few times for different makes/models, and I'm still getting lost packets to/from the internal network. So, I'm thinking that there's something squirrely going on higher up in the network stack. But evidently, not enough to log anything to the console or into the log files.At the moment, I'm leaning towards it being an issue with the nForce 750a SLI chipset. But it's odd that it only affects the LAN card and not the WAN card. I've even swapped the positions of the two NICs, and the problem persists on the LAN card.The other possibility is that iptables is eating packets silently, but in a random fashion.

View 1 Replies View Related

Red Hat :: Maximal Mount Count Reached - Running E2fsck Is Recommended

Dec 7, 2010

I have centos 5.2.....i get this error while booting...the total hard disk is about 1160 GB....This server is used for file share....it has lots of datas........is it recommended to run fsck.....i am afraid that i will lose datas....is there any way to sort this issue....logs and fstab details are as follows

error on boot

FSTAB

View 7 Replies View Related

Programming :: Valgrind Output Showing Addresses Not Code Against Errors - 2 Errors From 2 Contexts (suppressed: 0 From 0)

Feb 26, 2010

I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.

The output is

==23002== Memcheck, a memory error detector.
==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23002== Using LibVEX rev 1575, a library for dynamic binary translation.

[code]....

View 1 Replies View Related

Debian :: Tool For Squid Reports (not SARG) - Generate Less Amount Of Files - Optimal Is To Save Reports To The Database

May 9, 2011

I got the following task from my boss. I have to find out if there is some alternative tool for create reports from Squid except SARG. Now, we use SARG, but my boss told to me, that the main problem of SARG is, that SARG generate huge amount files, which cause problems during migration our servers. He told to me the following condition for change of current tool (SARG):

* standard package of Debian
* generate less amount of files, optimal is to save reports to the database

So I would like to ask you if you know about some tool (I can not find some by google)... and the best would be if you told to me some practical experiences.

View 1 Replies View Related

OpenSUSE Multimedia :: K3b Warns About Missing MAD (KDE 4)?

Dec 29, 2009

I have installed codecs but I still can't write audio cd's out of my mp3's. When I start k3b it warns about missing MAD, but after searching for MAD I could only install libmad0 and there is no luck with that. In suse community site it says something about installing from packman. But this only adds kde3-k3b and I dont want that. Is there anything I can do to use mp3 with my kde4-k3b?

View 9 Replies View Related

Security :: X Freezing, Rkhunter Warns About Adore Rootkit?

Mar 8, 2010

Something really nasty happened to my Arch Linux just now and I don't know why. I was switching through Xfwm4 themes when suddenly Kate crashed and brought down X with it. I started X back up, and Xfwm got hung up, I had to switch to another VT and run "killall X". I tried replacing xfwm4 with pekwm (but still with xfce4-panel) in .xinitrc, same thing. I deleted all my Xfce config files and tried again. The mouse didn't even move. The keyboard didn't work, not even the keyboard light would come on and I couldn't switch to another VT. I was forced to use the Reset button and hope it wouldn't ruin my hard drive.

It booted up fine, I purged all xfce4-related packages just in case while still in CLI mode, and I ran "xinit /usr/bin/pekwm" and I got into a working GUI. I closed a window and X froze again! The window's close button just stayed presses after I let go of it! I killed X from another VT. So I installed and ran "rkhunter" form AUR (I wonder why they don't have it in the arch repos, it's so much better that chkrootkit) and it warned that I might have Adore Rootkit. What should I do? If it helps, I recently installed a few packages from the Arch Linux AUR, including "ooc-git", "ooc-gtksourceview-git", "libpng12", and "virtualbox_bin".

View 3 Replies View Related

Programming :: Gdb Reports - Cannot Access Memory At Address 0x8049088

Jul 11, 2011

Kernel 2.6.21.5, slackware 12.0
nasm 2.03.01
ld 2.17
GNU gdb 6.6

This GDB was configured as "i486-slackware-linux".

Code:

What could the cause of the message output by gdb possibly be? Reading some tutorials, I've learn the flat memory model is used in linux. So, in particular, I needn't care about the DS segment register.

Also, line 7 in the listing above, suggests nasm is assuming 32-bit addressing and so, I think it is using the flat memory model.

View 3 Replies View Related

Programming :: Write A Bash Script That Will Make Some Web Stats Reports

Jun 23, 2010

I'm planing to write a bash script that will make some web stats reports and I'm stuck on beginning because I don't know how can I read a directory content, put everything in a variable, compare the variable value with current date and go further.More specific ...

I have /var/apache/log/. Here I have access logs on date ( like access.log.24.06.2010.gz and so on ).

How can I do to automatically zgrep (in a bash script) last day .gz ??

View 3 Replies View Related

Server :: SAN Mount Going To Read Only - FS Errors

Mar 28, 2011

I have a server that has a Fibre Channel mount that is having issues. When I can in this morning I found that it had switched to read only. Now looking through /var/log/messages I see that there are errors reported on the disk. I know that i will need to run fsck on it, but I do see lines about the device mapper failing for mpath0 first, which is the device which is mounted. I am wondering if someone can take a look and see if this is just a drive issue, or an issue with the fibre channel connection.

uname -a
Linux server 2.6.27.25-78.2.56.fc9.x86_64 #1 SMP Thu Jun 18 12:24:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Mar 28 00:12:36 server kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY driverbyte=DRIVER_OK,SUGGEST_OK
Mar 28 00:12:36 server kernel: end_request: I/O error, dev sdb, sector 314570452
Mar 28 00:12:36 server kernel: device-mapper: multipath: Failing path 8:16.
Mar 28 00:12:36 server multipathd: 8:16: mark as failed
[Code].....

View 1 Replies View Related

General :: Where To Find Logged Mount Errors?

May 3, 2011

Where's the log where I can read mounting errors?

View 1 Replies View Related

Ubuntu :: Gtkpod Errors & Ipod Will Not Mount?

Jan 22, 2010

I am using 9.10 Karmic Koala Oct 2009 release. Gtkpod does not show my ipod touch, and I can not mount the ipod. I realise there were problems with the ipod touch syncing/mounting but gtkpod has the touch option, and I have all the files from synaptic for using an ipod touch. When I run gtkpod its just blank, no music files show up. If I click load ipod I get the error:

[Code]...

View 4 Replies View Related

Fedora Servers :: Mount Errors From Fstab - Used To Work?

Aug 19, 2011

I have two mount points that used to work. I have them defined as cifs shares in fstab, and they map to a Windows machine, which I am able to ping from my Fedora machine, but for some reason I get a mount error 2, and the destination is not accessible. The man page doesn't really give any troubleshooting steps. Since I am mounting by IP address (which as I said has worked before), nothing has changed, although the IP address did change, which I updated in the fstab file to the new IP address (and since I have reserved this new IP address so it can't change again!)

I ran a test and shared a folder from another one of my computers, and added a line in fstab to auto-mount that, and I get a "permission denied" error 13, which is different than the error 2 I get on the other 2 shares. What should I be looking for as far as actual connectivity between the machines? I have verified that the windows machine is on and I can access the same shares from another computer.

Update: Added the host and IP address to my hosts file, and replaced the IP address with the name, and still get the same error. Also, the share name has a space in it, so I replace that with a "�40" space character (which worked in the past). I tried replacing that with an actual space, and putting quotes around the URL, but then I get a "bad URL" error.

[Code]..

View 5 Replies View Related

Ubuntu Networking :: Mount Cifs With Charset Errors

Nov 18, 2010

I've been mounting our windows network by opening nautilus and typing in the address bar:

smb://<servername>/share

and I am prompted to log in, all is fine.

however, I need to use some apps where I need to pick the folder from a file list, which I can't get to work with the above connection.

I then created the following line in my fstab file:

Code:
//<servername>/<share> /mnt/fileserver cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

This appears to mount correctly, however there are some filenames on the server with the bullet character() in their name, and by mounting via fstab, the bullet shows as a question mark, but mounting from nautilus shows the bullet.

Anyway I can mount with fstab, and have all characters show properly in the filename?

View 1 Replies View Related

Ubuntu :: Errors After Mem Test - Run The LiveCD It Halts Because Its Unable To Mount Root ?

Mar 25, 2010

I am having problems with an old laptop I have. It had windows xp on it, and after loaning it to a friend it wouldn't boot up. I decided to try linux, but I'm having problems loading it. If I try to run the liveCD it halts because its unable to mount root. If I try to install it just doesnt work well (will stop at different points).

So I figured a mem test would help. I am running the test, currently its on test #6, but it is coming up with a ton of errors. Does this mean I need to replace the RAM?

If so, this is the computer I have. Will this RAM work? I've been out of the tech game for awhile so not really following hardware anymore, and just want to double check.

View 5 Replies View Related

Ubuntu :: Errors:Unable To MountError Mounting: Mount: /dev/sdb1: Can't Read Superblock?

Jun 4, 2010

I'm trying to get some data off of an external harddrive. I get a few errors:Unable to mountError mounting: mount: /dev/sdb1: can't read superblock.I then tried to run a read disk benchmark on disk utility and that seemed okay.I then tried

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes

[code]....

View 4 Replies View Related

Programming :: Regarding Memory Errors In G++?

Jul 22, 2011

I have a general question regarding memory errors. I frequently ran into memory errors such as seg fault, double free, etc. Sometimes I got the following traces for example.

*** glibc detected *** /mnt/click: free(): invalid pointer: 0xb7ed8450 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7dff905]
/lib/libc.so.6[0xb7e011a3]

[code]....

Then, I just run gdb, valgrind things and suddenly I started ask questions myself that what are those traces and how can I analyze?

View 1 Replies View Related

Programming :: Compilation Errors In C?

Sep 7, 2010

When compiling a C program i get the following errors.How do i modify the code to remove these warning messages?

1) "test.c", line 614: warning #4212-D: mismatch between character pointer
types "unsigned char *" and "char *"
p_data = m_lines[p_text_idx];

[code]....

View 2 Replies View Related

Programming :: Errors Using Curses.h?

Feb 28, 2010

I am trying to compile a program for my assignment at school that uses curses.I have installed libncurses5-dev, and curses.h is now in /usr/include, but I am getting all these errors(it compiles fine at school).

Code:
grcunning@grcunning-desktop:~/school/cs474/assign7$ gcc -o proj7 proj7.c
/tmp/cc2ZFXrs.o: In function `main':

[code]....

View 2 Replies View Related

Debian Programming :: Correcting SRT File OCR Errors

Mar 2, 2012

I've generated some srt subtitle files using gocr from pgm files used in DVD's. The ocr program gets confused between lower case L and upper case i and sees them as the same thing. This results in words with capital i's in them instead of lower case L.

What is the best way to automate the correction without a spell checker? I tried sed, but it's difficult to tell between the i's that you want and those that need changing. I figured that any word that consists solely of capital i's is ok, e.g. Roman Numerals, but any capital i not at the beginning of a word needs changing.

View 13 Replies View Related

Programming :: Java AT Command Writing Errors?

Nov 11, 2010

I am running a java application on centos. For now I have a gsm modem connected via the the usb cable. Below is the message I get when I type the command dmesg | grep tty

serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
usb 2-2: pl2303 converter now attached to ttyUSB0

[code]....

View 9 Replies View Related

Programming :: C Program That Displays Shapes - Keep Getting Errors

Oct 10, 2010

Here is my program. It asks the user for input and then prints a shape of a certain length. The errors I get when I compile are:

shape.c: In function "main":
shape.c:22: error: expected identifier or "(" before "int"
shape.c:58: error: expected expression before "return"
shape.c:59: error: expected expression before "}" token
shape.c:59: error: expected expression before "}" token
#include<stdio.h> .....

View 14 Replies View Related

Programming :: Make Gcc To Report Prototype Errors

Sep 6, 2010

I have one simple question: how to tell gcc compiler to check for external functions to be matched by its prototype?

Consider this example:

Code:
master tests # cat file1.c
#include <stdio.h>
#include "file1.h"

[Code]....

what warnings or flag will prevent these examples from sucessful compilation? GCC version: gcc version 4.4.3 (Gentoo 4.4.3-r2 p1.2)

View 6 Replies View Related

Programming :: MySQL Syntax And Code Errors

Feb 10, 2010

I am reading Sams Teach Yourself SQL in one hour a day. In this book they work with both Oracle and MySQL to teach you SQL. So I installed mysql on my box and I am creating the empty database they use in this book so I can follow along as I read. I have noticed a few typos in the book and now I have noticed some code errors too. I just don't know enough to fix em. I am working on creating the empty database and I am getting syntax errors when I create certain tables. I have checked both the printed version of the book and the electronic version (which differ slightly) and both give me the same synatax errors. First is Creating the first table of the database. Here is the code given to me to enter. The Electronic version

[code]...

how I can correct this error and create these tables?

View 5 Replies View Related

General :: How To E2fsck While Server Is Up

Jul 27, 2010

I have a volume on my server that according to tune2fs is "clean with errors", so i'm assuming I either need to unmount the volume and e2fsck it, or reboot and drop into maintenance mode and do itThere aren't any live samba shares off that volume, so i'm thinking I could do it without taking the server down, as this server is only for samba shares, which are on a different volume.Could someone tell me if I'm taking the right approach? I've never done unmounting and mounting before, but I've read it can be done manually without affecting how the volumes are mounted when a server starts. i'll have to look up the commands.

View 6 Replies View Related

General :: When To E2fsck A Drive?

Jun 14, 2010

Other than when there are errors in the messages log or when you have file system problems, when should you e2fsck volumes? I have a lot of volumes that have 500GB to 1TB of data on them, and it takes quite a while to e2fsck them, so wondering if its something that should be done regularly, or only when there are actually problems.

View 11 Replies View Related

General :: Why Does An E2fsck Restart Itself

Mar 10, 2011

Why does an e2fsck restart itself after a while, does it get to a certain number of errors than has to start over from the beginning? are there any tweaks or switches you can use to make it run more efficiently?

View 4 Replies View Related

Programming :: Bash Script Cannot Run Functions - No Syntax Errors

Apr 23, 2011

I have this project which I've been working on essentially nonstop for the past three days and due to work I am running low on time. I'm new to Linux/Unix and my Teacher has assigned us a scripting project, due for Monday. I have All the functions for the project in a separate file which run as a daemon process when I log in. It has no syntax errors but my Script can not run the functions (I'm not sure where they go before or after the body) and I have one function I'd like you guys to take a look at. It has a Second menu leading to a case statement but it does not run after the Search. I'm Kinda tired of looking at the CLI but I have to finish this.

phoneEdi() {
directory=~/phonepro/directory
loop="y"
clear
tput cup 4 4; echo "Record Editor" .....

View 1 Replies View Related







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