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


ADVERTISEMENT

Ubuntu Servers :: Automatically Delete Files Older Than 6 Months In Folder

Mar 27, 2010

I have server running ubuntu. There is folder /var/netflow and I have there files, which creates every 5minutes new ones(monitoring traffic on network). And I need to delete files older than 6 months manually. Can you help?

View 2 Replies View Related

Debian :: Automatically Continue Booting After Fsck Fails?

Dec 30, 2010

I've just migrated to Debian from Ubuntu on my server. So my first post here. I've had some problems and questions when installing and configuring Debian, now everything seems very smooth, but still I can't find answer to one question. My machine is headless and I allways use SSH to it. I have several partitions on machine so if one of them fails on booting time with fsck, I need to press CTRL+D combination to continue. In that case I need to go to the machine with monitor and keyboard and press that combination. Is there any way to automatically continue for example after 30 seconds ? Then I could log in to the system and check log files what is wrong. How can I do that ?

View 2 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 Networking :: Unable To Connect With 3G After Not Using It For 2 Months

Jun 5, 2011

Yesterday I tried to connect using my 3G, it has been working since I installed the computer more than a year ago.

When I try to connect I get the following in the syslog (and daemon.log)

Code:
Jun 5 10:50:21 ubuntu NetworkManager: <info> Activation (ttyUSB0) starting connection '3 Bredband'
Jun 5 10:50:21 ubuntu NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Jun 5 10:50:21 ubuntu NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...

[Code]....

After alot of swearing ang scratching of the head I've resorted to trying this from i live cd, but with the same results. I know I've been able to connect using livecd before so I'm a bit worried that something might have happened with the hardware.

What I'm hoping for though is some way to determine that it is the sim-card and/or something on the operator side that is bork.

how to further pinpoint the issue? And/or troubleshoot the hardware? I should be able to send AT-commands directly to the modem, does anyone know how and/or the syntax for establishing the data connection?

EDIT: I'm using an Asus eee 901 with builtin 3G modem.

View 3 Replies View Related

General :: Take Up The Exam In Another 4-5 Months?

Feb 15, 2010

tell me how good Ashgar gori (RHCE) book is for RHCE i have to take up the exam in another 4-5 months.

View 6 Replies View Related

Server :: Run Cronjob Once Every Three Months?

Apr 30, 2010

I am trying to run the following only once every three months but looks like it runs every day. I edited crontab -e and added the following:

Code:

0 23 * jul,oct,jan,apr * /path/to/script > /var/log/script.log 2>&1

View 2 Replies View Related

Red Hat :: Generate Audit Log Every 6 Months

Mar 8, 2011

I'd like to know how do I rotate the audit logs under "/var/log/audit/audit.log" every 6 month. Currently I have set the parameter inside /etc/audit/auditd.conf to "KEEP_LOGS" (Previously "ROTATE" )and logs files are generated up to the size 5M and never deleted. Do I need to change inside "/etc/audit/audit.rules" file?

[root@RHEL5 ~]# more /etc/audit/auditd.conf
#
# This file controls the configuration of the audit daemon
#
log_file = /var/log/audit/audit.log

[Code].....

View 4 Replies View Related

Ubuntu Multimedia :: Bought 3 DVD Drives 3 Months - Burning CDs / DVD's Don't Go Together?

Dec 25, 2010

it seems Ubuntu can't just BURN CD or DVD. I've used Brasero, GnomeBaker, K3B - They all miserably FAIL.

Plus, they Break My DVD Drives, after trying sooo Many Times, leaves it behind useless.

I bought 3 DVD Drives: Lite-On, Sony and LG. In a span of 3 Months, UBUNTU completely DESTROYED all of them.

I'm not sure why. BUT first, I find Ubuntu can't burn using above Applications. 2nd, DVD stops working.

Error message from K3B, using it, since it's the most stable I've found. cdrdao crashed, file permissions problems, perhaps TAO will fix this, and a lot more of these crap.

View 6 Replies View Related

Ubuntu Multimedia :: Months To Get Consistent Audio To Work?

Mar 22, 2011

I have an intel HDA chipset that desperately wants to work. I have it plugged into my receiver and sound only occassionally works. I say occassionally because I will hear some sound, then my receiver will flash hdmi, as if it is switching to the new stream, I hear silence. Then shortly later, the receiver will provide sound, then again it will 'switch' and i hear silence. To work around this, I had an optical line working and somehow had alsa using ONLY that for the audio (bypassing the HDMI completely). Then one day when I was trying to the audio fixed for some specific application, I broke it! I cannot figure for the life of me how to make alsa ONLY use my optical line. Of course any suggestions on how to get the hdmi to work is even better.

View 5 Replies View Related

General :: Booting Ubuntu Running In W7, It Worked Ok For About 2 Months?

Dec 30, 2010

Does anyone know how I might enable my boot to Ubuntu again? Here is what I have found but do not know what I should fool with. I thought I would ask for help before I screw it up worse.I have Ubuntu 10.04.1 installed inside W7 effectivly creating a dual boot system. It's been running fine for about 2 months. Now when I try to boot into Ubuntu by selecting the boot Ubuntu option in the Windows Boot Manager, it fails and goes back to Windows Boot Manager. There are 2 screens that flash by in about 1/2 a second when enter is pressed after the ubuntu selection and before it reverts again to the Boot Manager. With the help of a camera and good timing, I captured a picture of the text displayed.

The first screen displays;Try (hd0, 0) NTFS5 No wubildrTry (hd0, 1) NTFS5 _The second screen displays;error unknown command loadfonterror file not foundIn the windows C: drive I find the 2 files; C:wubildr created 12/19/10 size 87kbC:wubildr.mbr created 11/7/10 size 8kb (created the date I installed Ubuntu)In C:ubuntuwinboot... I find the same two files with the same size and creation dates as in the windows c: drive. In addition I also find a file, C:ubuntuwinboot.wubuildr.cfg, created 11/7/10, size 2kb, described as a MS Office Outlook configuration file.There are also a files;C:ubuntudisksootgrub but the grub directory is empty. The grub directory was created 11/7/10. Should there be a file in the grub directory?

View 2 Replies View Related

Server :: Apache Segfaults After Months Of Running On Ubuntu?

May 13, 2011

OS: Ubuntu Server x64 10.04 Apache: 2.2.14-5ubuntu8.4 I have a virtual server which has been running for months with no problems then one day I saw that it crashed and I had to power cycle it. Since then I have been unable to start Apache as it segfaults no matter options I give it. Before I try to reinstall Apache, why is this segfaulting?

Code:
execve("/usr/sbin/apache2", ["/usr/sbin/apache2"], [/* 21 vars */]) = 0
brk(0) = 0x7f9f48f8d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9f47e0d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3

[Code]...

View 2 Replies View Related

General :: Sort As Per The Dates And Months

Feb 22, 2010

I am getting little bit difficult in sorting the date ranges which are in a field like:

How make a sort as per the Month and date , i mean result should be as per the month and date wise. If i go for the sort -M , i am not able to get the list as per date of the particular month.

View 4 Replies View Related

Ubuntu Servers :: Lost Months Of Data After Power Failure?

Nov 13, 2010

Running Ubuntu headless server 9.10 with a RAID 1 on ext3. After a power failure (UPS power button was hit accidentally), I logged into the system via ssh and found that I had lost all data since my last reboot, which was 4 months ago. It was as if I had a perfect snapshot of my machine from 4 months ago. Everything, database files, logs, all report as if the machine had been off for 4 months. Fortunately, I have quality backups of all my data so I am able to recover, but I have never had such a problem before and I cannot figure out what happened.

View 4 Replies View Related

OpenSUSE Network :: Explode In Couple Of Months From All Backed Up Addresses?

Jul 21, 2010

The default installation of 11.3 has ipv6 enabled.When accessing a site using any browser, there was a considerable delay before the page would appear.I disabled ipv6 and things are normal.Is my computer going to explode in a couple of months from all the backed up addresses? Seriously, Is there something wrong with my setup?Why would ip6 be enabled by default if it slows things way down?There are just so many things I don't know.

View 6 Replies View Related

Security :: Block User Accounts Who Has Not Logged In To The Server Last 2 Months?

Mar 1, 2011

We have 4 servers having rhel 5.2. We have several users logged in on one of them. We have nis server/client running on them and have common home area mounted on all of them. Now we want to disable/block the accounts of the users who have not accessed our servers in last 2 months from today.What logic should we apply to do so? We were checking stat of .bashrc of each user but is not correct logic. We are going to write shell script for the same. We dont want to do anything in users home area or their files.

View 11 Replies View Related

Fedora :: Webcam Was Working When Installed 12 But Now It Doesn't Work After About 2 Months Of Playing With This OS?

Feb 10, 2010

My webcam was working when I installed Fedora12. But now it doesn't work after about 2 months of playing with this OS. Because of this, I decided to reinstall it's driver.I downloaded it from ATrpms website, but if I try to install it the terminal says"/boot/vmlinuz-2.6.31.12-174.2.3_1.cubbi_tuxonice.fc12.x86_64 is needed by uvc-kmdl-2.6.31.12-174.2.3_1.cubbi_tuxonice.fc12-0.20090806-4.fc12.x86_64"File needed: /boot/vmlinuz-2.6.31.12-174.2.3_1.cubbi_tuxonice.fc12.x86_64File wanted to be installed: uvc-kmdl-2.6.31.12-174.2.3_1.cubbi_tuxonice.fc12-0.20090806-4.fc12.x86_64

View 4 Replies View Related

Software :: Disable / Block The Accounts Of The Users Who Have Not Accessed The It From 2 Months From Today

Mar 4, 2011

We have 4 servers having rhel 5.2. We have several users logged in on one of them. We have nis server/client running on them and have common home area mounted on all of them. Now we want to disable/block the accounts of the users who have not accessed our servers in last 2 months from today. What logic should we apply to do so? We were checking stat of .bashrc of each user but is not correct logic. We are going to write shell script for the same. We don't want to do anything in users home area or their files.

View 2 Replies View Related

Ubuntu Servers :: Grub To Automatically Boot - Wont Automatically Select One

Feb 28, 2011

I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.

View 1 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 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 :: 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 :: 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 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







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