Server :: Mke2fs Says - Bad Blocks Count ?

Aug 17, 2011

I attached a virtual hard disk to one of my Linux boxes.

And after running creating partition on the new disk, I ran the following command:

Code:

While executing that command, it says as below and quits:

Code:

FYI,the output of fdisk is as below:

Code:

Why is this mke2fs reporting such and is not able to create file system ?

View 1 Replies


ADVERTISEMENT

Programming :: DBD::mysql::st Execute Failed: Column Count Doesn't Match Value Count At Row 1

Feb 24, 2010

I have the following perl/DBI script:

Quote:

#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr

[code].....

The error message is

[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr

View 2 Replies View Related

General :: Mke2fs Command Not Working On Mandriva 2010?

Mar 3, 2010

i have mandriva 2010 but i want to create ext3 file system. so i am using mke2fs command in terminal. but "command not found" such message is coming. how to solve this problem

View 2 Replies View Related

General :: NTFS File Sytem Recovery After Mke2fs?

Sep 17, 2010

By mistake I did mke2fs to my Windows NTFS ParticionTo my understanding It has Modified the inodes only,Can I recover somehow the NTFS inodes?, I lost everything and I know the things are there.I've tryed particion recover, but that's not the problem, the particion is there, and it's NTFS, but the filesystem isnt

View 11 Replies View Related

Server :: Mail Server Blocks: Warning: Numeric Domain Name In Resource Data Of MX Record

Feb 4, 2010

My test messages from one mail server to another are getting sent to my spambucket and the only error in the logs is: warning: numeric domain name in resource data of MX record for [URL]: 74.63.64.42

View 1 Replies View Related

Server :: FSCK Multiply-claimed Blocks?

Mar 31, 2010

Fsck has been runningfor days. The problem seems to be multiply-claimed blocks. Example:

<filesystem metadata>
... (inode #365429022, mod time Wed Mar 24 08:48:23 2010)
Clone multiply-claimed blocks? yes

[code]....

View 1 Replies View Related

Server :: Wait For I/O Blocks Everything (Debian Stable)?

Apr 11, 2010

I'm running home server on Debian stable with DHCP, DNS, Mail, VDR, Filesharing and my Weatherstation as main services. The filesharing is used to mount homes at clients.
The machine features an Athlon BE-2300, 3GB RAM, GB-LAN, 1TB and 1.5TB SATA HDD plus HDDs for backups. Mainboard has an NVIDIA chipset with

Code:
nVidia Corporation MCP65 SATA Controller (rev a3)
The primary disks are running in RAID1 + LVM.

[code]...

View 2 Replies View Related

Server :: Way To Show / Count How Many CPU Instruction Particular Process Using -or Uses?

Feb 5, 2010

Is there a way to show or count how many CPU instructions a particular process is using or uses?
In my work we develop a web application and I'm responsible of maintaining the web server.
The app lets you handle data online so each client that uses the web application has a folder associated to it, where his data is stored. (/var/www/html/test) for example.
The idea is to get how many CPU instructions the httpd process for that particular folder is having. Is there a way to do this?

View 10 Replies View Related

Server :: Command To Count Inodes With In A Directory ?

Jul 16, 2010

Is there a command to count inodes with in a directory?

I know I can see total inode usage with:
df -i

And I know I can find total number of files with:
find ./ |wc -l

But how can I find inodes? As files over 8kb (if using the default partitioning of 1 node over 2 4kb blocks) would take up more than 1 inode.

View 2 Replies View Related

Ubuntu :: Firewall - Blocks All Internet Access (even From Apt) To Server

Apr 20, 2011

I'm getting my first web server configured, and as per a tutorial I found, I used shorewall. However, it blocks all internet access (even from apt) to my server! Does anyone know a decent firewall program or a good guide on configuring shorewall?

View 1 Replies View Related

Server :: Telnet : Configure The Login Retry Count?

Jan 6, 2011

I have two servers running Linux 2.6.9 kernel.When i telnet to server1 , the telnet will be disconnected only after 3 login failures. While, when i telnet to server2, telnet will be disconnected after the first login failure.expect server2 to behave the same way as server1 when telnet is executed.Kindly tell me where i should tweak my servers so that i could achieve what i expect.

View 1 Replies View Related

Server :: FreeRadius - PQexec Blocks Forever Due To Connection Timeout

Jan 5, 2010

I've configured the RADIUS to use a PostgreSQL DB for accounting. Everything works fine if the connection from the RAD to the SQL is OK. If the PostgreSQL service dead, the RAD will skip the failed connection and continue to work. That's OK, too. But if I shutdown the network interface of the SQL (simulating a connection lost - timeout problem), the RAD thread which processes accounting request will be hung up, remains as active and unresponsive forever. So the RAD will not return anything to accounting client (my NAS).

As more accounting requests come, spare threads for processing the requests will reduce and be used up eventually. I've debugged for a while and found it's the problem of PQexec() function. The function blocks the thread eternally till if the connection lost. I know the RAD version is a little outdated, but I cannot replace it right now. I wonder if there's a way to make the RAD reply to the NAS even when the connection between the RAD and the SQL lost.

View 1 Replies View Related

Server :: A Script To Shutdown A Service When A Sybase Table Reads Over A Certain Count?

Aug 3, 2009

Someone at work has requested if i can find out anything on the above.Been googling around as well as i have only been using Linux for 2 months now.

basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.

I know i have to do a count statement on the sybase table from ISQL.But how can i create the action "service website stop" once the count value reaches 4000 ?

View 2 Replies View Related

Server :: Running Cron Every 7 Minutes But To Cary Over 7 Minute Count To Next Hour?

Dec 14, 2010

Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..

View 4 Replies View Related

General :: Parse File From Remote Server To Caculate Count Of String Existence In That File?

Aug 30, 2010

I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.

View 2 Replies View Related

Ubuntu :: Blocks Appear Instead Of Letters

Jan 31, 2011

When I started the PC like always, it started normal been having issues actually, every time I start up the PC it freezes when I put the password in and its going to the desktop and stuff, then I have to re-start it or it re-starts itself, or just go to where I have to type in the password again, and then it does it again after a while, after 3 or 4 times of that it goes to the desktop normally and works fine, but today it took some time, and after it finally loaded the panel was all odd, everything appeared in block letters, like when Mozilla can't recognize certain language it just shows you blocks, that appears, but I check the system, where images and all that, everything appears normal, it only seems to be the panel.
wondering if its that I need to re-install the panel, or something else, also this odd file appeared too, it says (invalid coding) next to it, when I go to upload an image or something the files there, I wonder if that has something to do, or maybe its just been there who knows (and the freezing part too), anyways, I'm new here so I don't really know if this place was the right place to post this up OTL theres a screenshot in an attachemnt thing (if I put it up, it would appear to big)

View 5 Replies View Related

Fedora :: Certain Characters Show As Blocks

Feb 20, 2011

I am having some text rendering issues.I am using F14 and having blocky (dark black blob) covering certain letters and/or numbers when rendering to my Monitor. I am using 'mesa' drivers and was wondering if this has anything to do with it.I wish to use only non-proprietary drivers.I have several friends whose machine I manage and they have been experiencing a similar phenomena.I use 19 and 22 inch LCD monitors and my friends have similar LCD monitors.I have attached a copy of some output with the problem. I have tried different fonts but have not been able to resolve the issue. Could someone help me in getting a possible solution to this problem?

View 12 Replies View Related

Ubuntu Networking :: Firestarter Blocks 192.168.1.1 And 100?

Jul 23, 2010

I have wireless connection between my router and PC. It is the only computer connected. Sometimes Firestarter blocks ports 1900 and 6771 from 192.168.1.100 IP address and sometimes port 68 from 192.168.1.1 IP. I'm a bit confused because 192.168.1.100 is the IP addres i use to open ports in router and 192.168.1.1 is used to access the router settings..

View 7 Replies View Related

Ubuntu :: Wine Blocks Programs?

Nov 5, 2010

I have just started using ubuntu 10.10 and have installed wine, however when I try to run windows programs located in the program file folder of my windows partition they get blockedI have tried changing the permissions to allow then to run as executables but the check box in the permissions tab won't stay checked

View 3 Replies View Related

Ubuntu :: Run A Program In Code : Blocks

Apr 3, 2011

i have installed ubuntu 10.10 marverick, and on it i have installed code: blocks 10.05 and i want to run a program using opencv 2.1.0 in code: blocks.. when i build the program it builds properly without any warning but when i run it it does not show any output....

View 1 Replies View Related

Hardware :: Should Use Disk With Report Of Bad Blocks

Feb 4, 2010

I'm setting up a mysql replication system. I usually maximize what's left on my stock before I buy. I do badblocks first to all 2nd hand hard drive to make sure it is in good condition before I install an Operating System.

I pick up a 200GB sata hard disk in the stock room and test it using badblocks. I left it in the office doing the test and just check it tomorrow. When I return to check, the report says it found 30 bad blocks.

View 2 Replies View Related

General :: Can't Find Bad Blocks List

Jan 6, 2010

I've got a new hard drive, formatted it to ext3, and made a check for bad blocks using e2fsck.

It gave me this:

Quote:

I just would like to know where i can find how many bad blocks were found (perhaps one if it is using singular in sentence "Updating bad block inode."?), and what is/are the number(s) of located bad block(s).

View 3 Replies View Related

Software :: Install Code - Blocks ?

Jan 24, 2010

I'm using ubuntu 9.10 and I would like to install code::blocks.

Here is what I did so far :

View 14 Replies View Related

Software :: Find Blocks Of An Inode?

Jan 28, 2011

I cant see the inode number of a file by running
ls -i <file>

How can i see the blocks where this inode points to? I'm talking about a yaffs2 partition.

View 3 Replies View Related

Programming :: Why Malloc() Blocks/sleeps

Jun 2, 2010

I have encountered this scenario wherein malloc does not return.

Code:
char * tmp;
rs = 100 to 40000 bytes

[code]...

View 8 Replies View Related

Ubuntu :: Character Count On Openoffice.org?

Jan 13, 2010

I need a way to count characters without taking into account spaces, on OpenOffice Writer, and a way to do same, plus counting words on OpenOffice Calc. On Calc, it seems impossible to count words, just cels. I need that to help a friend who is a translator and receives per characters like that (without spaces).

She wants to migrate to free software, but she (and I too) couldn't find this tool on OpenOffice. She tells me it's possible to do that on MS Office.

View 5 Replies View Related

Ubuntu :: 10.4 - Loading Grub And Gives Count Down Only

Aug 8, 2010

Recently I have had some problems starting linux, It gets to a part where it says it's loading grub and gives a countdown. I am using 10.4 ubuntu and it shows next a white ubuntu symbol. It then starts doing a system scan and gives a percentage when it gets to 33% it stops and says it can't mountall and that there is something wrong with the file system I can't get past this unless I don't even let the scan start. I think something is a file is messed up but I have no idea what to do.

View 3 Replies View Related

Programming :: Count The Files For Each Sub Folder?

Jan 11, 2011

I want to count the number of files in each sub folder of a directory structure. At the moment I can do:

ls -1R /Folder | wc -l

Which lists the item count for all the folders as one. I can do:

ls -1R /Folder wc l

Which lists all the folders in the top level and all the items. Is there any way to get the list of folders and then item count for each folder?

View 1 Replies View Related

General :: Count Lines And Words?

Feb 15, 2010

How can I display the no. of lines, words and characters for each file in current directory and in sub directory.

wc . * shows errornous result as there are some executable files in that directory.

View 2 Replies View Related

General :: How To Count How Many Of Processes Are Running

Nov 3, 2010

I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?

View 2 Replies View Related







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