Ubuntu :: Fsck Is Called On Every Startup?

May 9, 2010

I am using bootchart to investigate the slow booting of ubuntu 10.04 and I found that fsck process is called every time in the booting for around 5 seconds even the screen does not show any hard disk checking, is that normal ?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Startup Script Not Being Called?

Jun 25, 2010

I'm setting up an Ubuntu 10.04 machine with the sole purpose being to function as a vpn server.I got openvpn set up but the startup script doesn't appear to be called on bootup even though it is does appear in the rcX.d directories and the openvpn script is in /etc/init.d and is executable and belongs to root:root.I tried running "update-rc.d -f openvpn remove" and "update-rc.d openvpn defaults" on the offchance something went wrong when it was first added to the startup links.

View 2 Replies View Related

General :: Ubuntu Init.d Script Not Being Called On Startup

Oct 29, 2010

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct

-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test

[code]....

The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:

#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script

[code]....

When the machine starts, I don't see "script called" or "start called" in the test.log at all.

View 1 Replies View Related

Programming :: Destructor Called On Objects In Deque Without It Being Called Explicitly

Jul 13, 2011

I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.

Code:

This prints:

Code:

Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:

Code:

However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).

So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.

View 4 Replies View Related

CentOS 5 :: FSCK: Generate Log File For A Forced Fsck?

Sep 25, 2009

When I do a forced fsck, I would like to have a log file to look at after boot.

When I check /var/log/ there are no files there with fsck output

I've run force fsck in these ways:

shutdown -rF now

-and-

touch /forcefsck

View 1 Replies View Related

General :: Types Of Fsck Errors - Fsck Errors Are Found On A System?

Jul 22, 2010

Can anybody tell me what kind of fsck errors are found on a system?

View 5 Replies View Related

Ubuntu :: How To Run Fsck

Jun 12, 2010

its not a good idea to run fsck on a mounted file system.But.. if I want to check the file system between the default checks on boot up how should I safely do it? How do I safely run fsck?

View 8 Replies View Related

Ubuntu :: Remove - Grub Or Whatever It's Called?

Jan 9, 2011

I'm having alot of trouble trying to remove linux ubuntu from my computer, so that i will only have windows vista. What's the easiest way, to totally remove anything on my harddisk with ubuntu, grub or whatever it's called?

View 1 Replies View Related

Ubuntu Multimedia :: What Are Speakers Called In / Dev?

Jun 22, 2011

depend on my sound card (which is Realtek, I think), but which file/folder in /dev is my speakers? In fact, a page with the meaning of all the /dev folders would be nice if that exists, but if not, just the speakers.

View 3 Replies View Related

Ubuntu :: Where Are Fsck Results?

Mar 3, 2010

I forced a fsck on the next boot by.Code: sudo touch /forcefsck.Where did the results go?/var/log/fsck/checkfs and /var/log/fsck/checkroot both read "(Nothing has been logged yet.)" Am I to assume that if there are no errors nothing is written to the log files?

View 9 Replies View Related

Ubuntu :: Run Fsck At Shutdown?

Jun 29, 2010

Every 32 boot ups, the fsck runs automaticall on my drives.Iould like it to run at shutdown and was looking for a solution.I saw an app call autofsck but not find it in synaptic.Can someone help me find a solution to this. I am running a laptop with 9.10 and a desktop with 8.10.

View 3 Replies View Related

Ubuntu Installation :: Boot From Grub2 Or Whatever Is Called

Nov 1, 2010

Every Time I Try Too Boot Ubuntu, Instead Of Starting Up It Takes Me To This Menu Type Thing And It Says To Press Tab To See The Command List Or Something Like That. And I Dont Know What Commands To Use.

View 9 Replies View Related

Ubuntu :: Unable To Update Something Called Seahorse?

Feb 13, 2011

I went to update my software and I saw the system wants to remove three programs. I googled them and they seem important but I can't update without removing them so I'm stuck. I've included a screen shot of the items the system wants to remove.

Also for the past month I haven't been able to update something called seahorse, the system says it's a broken package but I don't know how to fix it. Is this an essential program or can I un-install it?I want to upgrade to 10.10 but I am reading how all updates must be done before and these issues are holding me back.

View 3 Replies View Related

Ubuntu :: Fsck Terminated With Status 8?

Aug 24, 2010

I booted up my laptop and the boot sequence got stuck at the boot splash screen (plymouth). I did an esc and I saw a failure message, the error I remember in my panic mode is: fsck terminated with status 8

I rebooted, got the same message. Rebooted again and this time, to my relief, it worked.

1) What happened, should I be concerned? Not sure why it worked after 2 reboots.

2) Is there a possibility this could happen again?

3) Are there any boot log files I could look at?

4) Is there anything I can do to fix this? Or a check of some sort?

I'm using Ubuntu 10.04 on a Dell Studio 1535 laptop. No dual boot. The disk is partitioned and I've got my /home folder on the other partition for situations like this.

View 2 Replies View Related

Ubuntu :: Server Dies After A Fsck?

Sep 3, 2010

i have a ubuntu 10 server (as server LAMP) , i was trying to repair a couple of unix files with fsck command on directory, thinking it would apply only that directory, but it affected all system, in th end it says: "file system has changes, restart ubuntu", then services go down, after some directories fail, restart funtion do anything... i switched on again, but at start show error.

I got another ubuntu and installed damaged hard disc, but, i can see file sytem, i has been trying to repaired with TestDisk but i can't...

i want to recover mysql database at least, but a don't know what to do.... how a fsck get damaged SO

View 2 Replies View Related

Ubuntu :: Force A Fsck Run At Next Reboot?

Nov 28, 2010

I know I can force a fsck run at next reboot using

Code:
shutdown -rF now

or

Code:
touch /forcefsck

can I force the fsck to more indepth checks such as doing directory optimisations, bad blocks checks, etc. maybe by passing parameters to the fsck call during startup?

View 7 Replies View Related

Ubuntu :: Run Fsck On Keypress During Boot?

Jan 4, 2011

I am wondering if there is a way to manually trigger a file system check during boot by pressing/holding a key. Maybe there is already a keyboard shortcut built in to do this?I know that using tune2fs you can modify the number of boots (mounts) between file system checks, or even use "shutdown -rF" to reboot the system and force a file system checkAlso, I do not want to force the user to choose to run/skip the file system check during boot. For example, prompting the user with, "Do you want to run a file system check [y/n]?" each boot (or even each time the system thinks it should run a file system check),s not desirable

View 1 Replies View Related

Ubuntu :: Unable To Fsck Ext4?

Jan 24, 2011

Seems like I misplaced this topic. Should have been in general help. Sorry! Any moderator feel free to move this topic. As I was creating a swap partition, something went wrong and I ended creating a much bigger file which consumed all my empty space. Ubuntu stopped working and now I can't seem to fsck / mount my disk. Currently I'm on a live cd. fsck will give:

Code:
e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sda2
Filesystem mounted or opened exclusively by another program?
However, the file system is not mounted.

[Code]...

View 3 Replies View Related

Ubuntu :: Any Way To Repair WXP Boot Using FSCK?

Feb 25, 2011

I need to boot in WXP just because the guys at the company don't want to update for Linux drivers in the TS so I can't connect from home unless I do it in Windows XP. But today WXP refuses to boot, when the progress bar appears, the system boots automatically. The WXP CD doesn't help, the repair console doesn't let me run chkdsk or anything (dir C: gives an error about listing addresses or something like that). Is there any way to use fsck or anything in Linux to repair the WXP NTFS partition?

View 1 Replies View Related

Ubuntu :: Fsck Repair With Encrypted Fs

Feb 28, 2011

I have errors on my encrypted ext3 root partition. If I try to repair it there is a warning:

fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/mapper/nb181-root is mounted.

[Code].....

View 1 Replies View Related

Ubuntu :: Fsck Runs With Every Boot

Apr 20, 2011

i have the same issue but with a real install, not a vmware.every reboot fsck says that my main partition was not cleanly unmounted and check is forced.during shutdown the ubuntu does not show messages in a clear way but in random places. however, i am able to see the "/ is busy" message 1 second before reboot/off.my distribution is 10.10 upgraded from 9.10, 10.04

View 2 Replies View Related

Ubuntu :: No Init Found, Cannot Fsck?

May 21, 2011

I have a Dell Mini 12 running what I think is Ubuntu 10.10 Netbook Remix. It won't boot all of a sudden, saying 'No init found'. I've been through [URL].. which is VERY close to my problem but I cannot get Disk Utility to work when running off my Live USB. Asking it to check the hard drive results in it telling me the filesystem is 'not clean'.

View 2 Replies View Related

Ubuntu :: Automatically Run Fsck Every Few Months?

Sep 5, 2010

I just recently switched from Windows to Ubuntu 10.04, and I remember that Windows had a disk check. I have no problems with my computer, but is it a good idea to run fsck every few months? Does Ubuntu automatically do this for me? Or this unnecessary unless I have a serious problem?

View 2 Replies View Related

Ubuntu :: Print To PDF - Application For Windows Called CutePDF

Feb 24, 2010

There is an application for Windows called CutePDF that is a printer driver that converts any document, website, etc. into PDF when I print to it. Is there a universal application like this for Ubuntu?

View 2 Replies View Related

Ubuntu Networking :: Use A Small Application Called Toonel?

Mar 8, 2010

i am trying to use a small application called toonel. its in jar format and it helps to compress traffic. i can run it succesfully but i cant seem to be able to get my applications e.g firefox to communicate with it!

normally in windows i just start the app, then set my browser proxy to 127.0.0.1:8080 which is where it listens for connections but so far in ubuntu i cant seem to be able to get it to work.

View 2 Replies View Related

Ubuntu :: Adding To Repository - Program Called VariCAD ?

May 13, 2010

I would like to install a program called VariCAD. I downloaded the install file (full file name: varicad2010-en_2.06_amd64.deb) but was wondering if one couldn't somehow do this via the repository, kind of like I did for my nvidia drivers? Is it possible?

View 6 Replies View Related

Ubuntu :: Called 'backit' - To Back Up Files To A Tarball?

Jul 23, 2010

I have a script - called 'backit' - to back up files to a tarball - listed below (<backup.lst> contains files I want backed up)

#!/bin/bash
# 22/7/2010
# Backup important files
cd ~
tar cvfz .backup/backup.tar.gz -T .backup/backup.lst
cp .backup/backup.tar.gz /media/Archive/.backup

Typing 'Backit' in the shell works very well producing a backup file, <backup.tar.gz>, of 2 298 953 bytes and contains all the correct files. So far, so good! I put a line in crontab - /home/alan/bin/backit

The program runs every hour on the hour and produces the <backup.tar.gz> file. However, this file contains only some of the files and has a size of 76 762 bytes. Using "tar tvf backup.tar.gz" lists some of the files and ends with an error indicating an EOF encountered before the end of file. If the script executes correctly when typed into the shell, why does it not run to completion correctly when run by cron?

View 4 Replies View Related

Ubuntu :: Adjust The Journal Program Called Lifeograph?

Nov 15, 2010

I would like to adjust the journal program called lifeograph. First I would like to build it, clean without any adjustments.

I'm using this version: [URL]

Readme file says:

Requirements
-----------
Lifeograph requires the following modules to be built:
* gtkmm,
* gconfmm,
* gtkspell, and
* gcrypt.
Installation
------------

Type "make" to build and "make install" to install (all without quotes). No configuration atm.

I tried make, but it doenst really work. So i think i dont have good requirements.

-> how do I install the required modules? -> I've found some in packet manager, but some appear to be librarys.

View 1 Replies View Related

Ubuntu :: Set Up A Script Called Myvpn To Run Openvpn Doesn't Work

May 5, 2010

Just had to re-install after I did some very silly things. Running 9.10 Ubuntu with XBMC-live Have gnome desktop, Firefox with adobe flash plugin. I set up a script called myvpn to run openvpn and this used to work and now it doesn't I did

[Code]...

If I manually type in each command it works, but the script doesn't?

View 2 Replies View Related

Ubuntu Servers :: Prevent A BASH Script From Being Called To Run Again Until It Exits

Sep 1, 2011

I'm planning on writing a BASH script for my website's server that will process data from user input via HTML forms, and then write data to the website's HTML documents. My question regards how to deal with the possibility that two users send form information very close to the same time, thus having the BASH script being called again while the first instance of the script has not yet finished.

I don't even know what happens in general when a BASH script is called while it is still running. Even if that is ok, and a new, separate script process is started (or whatever really happens), how am I supposed to prevent issues that could come from two different instances of the script trying to write to the same file at the same time? Is there a way to force the BASH script to finish its work before launching again, in the event of multiple requests?

View 6 Replies View Related







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