Debian :: Sync Equivalent Or Other Options When Loss Of Power?

Jan 24, 2011

I'm wondering what my alternatives are when I lose power to the external hard drive where I have Debian installed. I realize that the best answer may be a battery backup UPS for the external hard drive. It seems that I recall that when a similar scenario happened on my SunOS Sparc workstation, I would simply hit [Stop-A] and then type in the "sync" command. I now have a laptop and am running Debian off of an external harddrive that has its own power supply. When I lose power, my laptop obviously continues to keep running but my session is essentially and understandably hosed because the main filesystem is not accessible. Gnome desktop goes away and I am thrown to the main console login. When power resumes, I cannot login to attempt a remount or anything. When I hit [ctrl-alt-del] thinking that that is less forceful than just holding down the main power on the laptop, I get cannot execute "/sbin/shutdown". Is there a [STOP-A] sync equilavent or some way or keyboard sequence to get to GRUB to issue a reboot command?

[108200.233484] EXT3-fs error (device sdb1); ext3_find_entry: reading directory #55500801 offset 0
"
"
INIT: cannot execute /sbin/getty"
INIT: ld "1" respawning too fast: disabled for 5 minutes
INIT: cannopt execute "/sbin/shutdown"

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: Spontaneous (?) Loss Of Screen Res Options?

Jan 2, 2010

My Fedora 10 will no longer give screen res above 800x600 (60hz)I routinely change screen res (due to having two different monitors) but I made no hardware changes immediately before the problem began. In other words: the hardware was the same as it had been the day before the problem arose.I assumed a hardware fault, so I tried with XP. Weird: I can set higher resolutions there without problem.Any idea why this happened and how I can fix itBTW, I've been a Linux user for some years, but I would describe my skill level as: 'novice.'

View 2 Replies View Related

Ubuntu :: No Boot-up After Power Loss?

May 31, 2010

Ubuntu 10.4 on desktop system. Everything was working satisfactorily until...Trying to boot up after a power loss I got "ERROR: You need to load the kernel first."I tried to boot into recovery mode and got "ERROR: HD0, 1 out of disk ERROR: Couldn't read file Loading initial ramdisk ERROR: You need to load the kernel first."Next I booted with the live Ubuntu disk to see if I could mount the drive from there and got thisError mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,missing codepage or helper program, or other errorIn some cases useful info is found in syslog - try

View 2 Replies View Related

General :: Find Equivalent Cc Options For Gcc Compiler ?

May 30, 2011

I am comiling some programs on Linux using gcc previously compiled using cc compiler on Solaris. Below are some of the confusions:

1. There is -xildoff option in cc which is giving error "language ildoff not recognized". xildoff in cc is for switching off the option of incremental editor ild. Is there anything equivalent on gcc?

2. There is runtime link option in cc as -R but gcc just says "unrecognised option". Does gcc only supports LD_RUN_PATH?

3. There is -Xa option to force cc to chose a particular flavor of c.Its for default c and K&R C. gcc has -std option but not sure which one is equivalent to -Xa in c. It seems -std=c90?

View 2 Replies View Related

Ubuntu :: Power Loss During Upgrade To New Version

Apr 2, 2010

Today, I was upgrading my desktop from Jaunty to Karmic (a little behind schedule, I know). All packages downloaded successfully, and then the computer began the process of applying all of the updates. During this period, at some point, it lost power. Now, of course, it won't boot.

Fortunately, I have a separate /home/ partition, and it was unmounted during the upgrade process. So, my personal data and settings are fine. But the OS is useless.

I'm guessing that I'm completely buggered here, and there is nothing that I can do except re-format the Ubuntu partition and clean install Karmic from an install disk.

View 3 Replies View Related

Ubuntu Installation :: Loss Of Boot Options After Installing Windows 7?

Mar 18, 2011

I used to have Ubuntu 10.10 and Windows 7 RC on separate partitions and I could choose to boot into either. Today I installed Windows 7 Enterprise trial version over the Windows 7 RC partition, and lost the boot screen. Reboot goes to Windows automatically. How can I get the boot options back to launch Ubuntu?

View 4 Replies View Related

Fedora :: Unable To Update / Power Loss During It - Resolve This?

Oct 3, 2010

When i am updating suddenly the power gone.what i have to do now.

View 11 Replies View Related

Ubuntu :: Checking File Integrity After Power Loss 9.10?

Feb 24, 2010

recommend any utilities that would check the hard drive and its contents (if they are still good) following a power outage?

View 1 Replies View Related

Ubuntu :: After Power Loss Files Not Displayed But Still Using Space / Fix It?

May 31, 2011

After a power outage my external hard drive that I use to serve a DLNA server with content lost all the files.
The parent directories are still displayed, but there is nothing inside them, and I cannot write anything into them. (creating any file in them does not work.)
I assume that I have a corrupted drive but I was hoping to find a way to recover the content. Most of it is backed up, but I have become a bit lazy in the past month, and have not backed up so there are a number of videos I don't want to lose.
It seams odd that the directories show up, but the files don't. The drive properties also show that the correct amount of the drive space is taken up (for the videos to be present) so I haven't reformatted because I assume that will wipe out all traces of the data.

View 5 Replies View Related

CentOS 5 :: Redistribute A Disk Without Loss Of Data Namely It Is Necessary To Make / Boot And Two Equivalent On Disk Volume?

Aug 24, 2009

There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.

View 3 Replies View Related

Ubuntu Servers :: Apache Restart Fails After Power Loss?

Oct 25, 2010

I have observed a problem twice now with Apache trying to restart but hanging somewhere in the process. This happens after a power failure; the machine comes back just fine, but not the web server. The machine is on a UPS, but occasionally it runs out of "juice" before someone can get to it (we have a generator for emergencies). When this happens, a ps indicates about three processes running that are trying to start Apache, but they just sit there - this time for three days since the power failure was on a Friday. I can fix this by killing those processes and doing an Apache restart - but that takes human intervention, which is not acceptable.

I suspect this may have to do with SSL, since when I do a manual restart it asks me for the SSL password. There must be some way around this so the system can recover on its own. This system's web site runs under SSL since it maintains medical information that must by law be protected. But it also could be life-threatening to someone if the system can't come back and as a result a person can't get help.

So I would appreciate some guidance as to what I could change that would allow for system recovery without intervention. I'm happy to provide any configuration file info, if you tell me where to look.

View 3 Replies View Related

Server :: Frequent Broken Pipes From SSH Connection After Power Loss?

Apr 19, 2011

I have three machines networked to my desktop which run a bunch of simulations in parallel. As they're running, I connect to them via SSH and screen to keep an eye on the runs and look at the output. They stay usually connected for days at a time. The SSH servers and client are running Fedora 14. Yesterday one of my coworkers accidentally yanked the plug on one of the servers while it was running. When I powered it up again, I started getting some odd connection problems. I couldn't connect to it via SSH initially because I got the Remote Host Identification Changed (RSA host key changed) error. I deleted the key in .ssh/known_hosts, which allowed me to connect, but it denied my password. I then logged into that machine locally, restarted sshd, and removed .ssh/known_hosts again. Now I can log in via SSH without problems. However, the connection dies with a "Write failed: Broken pipe" error every few minutes (as opposed to the other two machines, which stay connected indefinitely).

So my questions are:
1.) why would a power loss affect the behavior of the SSH server?
2.) why do I keep getting broken pipes now?

View 4 Replies View Related

OpenSUSE :: Power Management Options For UPS?

Sep 29, 2010

I've attached a UPS to my server through USB. and sure enough up came a tab in Power Management Preferences for the UPS -- great.

There are power low options as follows:

"When UPS power is low"
"When UPS power is critically low"

The UPS sends a message to the computer when a threshold you set in the UPS is reached, in my case 25% of battery left.

The obvious guess is that this warning from the UPS is the "When UPS power is low" however, I don't know. It's just a guess.

Looking further at the data I can get from the UPS the battery data is as follows:

battery.charge: 100
battery.charge.low: 25
battery.charge.warning: 50
battery.runtime: 760

[Code]....

However, again, that's just a guess from what would make sense.

So my first question is, is there a way to know this information, and is there a place were these critical points are set, or are they all from the UPS. I'm guess there are some settings somewhere because not all UPSs are going to be able to supply this information. Some may only supply a battery level or some just a warning message so there must be some configuration for this somewhere.

My 2nd question is a probably a little harder to know the answer to. After getting this to work I wanted the added functionality of nut so I installed it and got it working and it uses the On UPS Power panel as far as I can tell.

Through all the nut documentation it talks about powering down on once the battery level reaches the critical point (I assume that is "When UPS power is critically low"). I don't see anywhere however where it mentions handling "When UPS power is low" so now the question comes up, will it have any effect at all with nut installed, i.e. what will happen?

Of course I can just "pull the plug" and start finding this stuff out but Linux is all about having the information and "knowing" (assuming all works as it should) I am asking to find out where this information would be -- and become smarter for it

View 5 Replies View Related

Ubuntu :: Power Options Not Working?

Jun 13, 2010

upgraded to 10.04 on pangolin performance laptopset power option to never suspend or hibernate or shut down using AC or batteryhowever...the system suspends after a few minutes of idle time, requiring a password to log back on

View 4 Replies View Related

Fedora :: Can't Find Any Proper Power Management Options

Jun 1, 2011

I can't find any proper power management options on Fedora 15, only really basic simple options under the Advanced tab of the Screensaver.Where can I change the Power Management settings in F15?I'd like to set it so that

- screen powers down on closing the lid only, else never powers down / or after a certain time.
- the machine never powers down, either on AC or on battery.
- screen dims on battery after some time, but no on AC.
- hard drive never powers down.

I previously used Fedora 14 and earlier version on my laptops, and could easily set these power management either through the Screensaver, or directly from another menu.Also, I enabled the "Blank Screen Only" mode in the Screensaver, and disabled the "Lock Screen After", but it still asks for a password after some time. How can I stop that?

View 14 Replies View Related

Slackware :: Xfce4-power-manager-1.0.1 And No Battery Options

Oct 17, 2010

I noticed that there is a 1.0.1 version of xfce4-power-manager, so I tried it out last night. Note: It requires libxfce4ui >= 4.7. I compiled it using the same SlackBuild script as the one in Slackware 13.1. It compiled and installed just fine. However, when I logged out of XFCE and logged back in, I could only set a few options, and battery options were completely non-existant.

I double-checked, and my user account in in the power group. Has anyone else had a similar problem? In the meantime, I've downgraded back to the 0.8.5 version that Slackware ships with.

View 3 Replies View Related

Debian Multimedia :: Xfce4-power-manager Doesn't React To Power Button / Fix It?

Jun 4, 2010

I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running.
If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again.
The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).

acpi_listen detects the button press.

Any thoughts?

View 2 Replies View Related

Debian :: Preventing Email Loss During ISP Change

Sep 11, 2011

I will move my VPS account between hosting services. When I do this I am concerned about losing emails sent between the last user's download and when the IP number changes as the change propagates through the DNS.

View 3 Replies View Related

Debian Hardware :: Audio - Random Loss Of Sound

Jan 9, 2015

I'm having problems keeping audio working. Using Sparky with 3.16.0-4 kernel on a homebuilt PC. AMD A10-7850K CPU on a Gigabyte F2A88FN-WIFI mobo.

I'm using a set of Logitech Z-5 USB speakers and I repeatedly lose all audio output. To get it back I need to do 1 or all of these steps:

1) Unplug the speakers
2) Kill all processes that may be producing audio (Chrome beta, IceWeasel, Exaile, etc.)
3) Start Alsamixer and select another source in sound card list then reselect USB card #2.
4) The weird one - Remove and then re-add the volume applet that I like to have in the panel. When I lose sound th slider gets "stuck" and will not move. It will not recover.

I may need to repeat this several times but it will come back. Not immediately after any step but after a few attempts it just begins working as long as nothing is trying to produce audio at the moment. Sometimes Alsamixer says that my USB Card has no controls when I reselect it, not every time though.

Most of the time if I have more than 1 source open at any time it is likely to die again, for instance I like to stream Google Play Music. If I pause that but leave it open, then try to watch a Youtube video or other source I will either get no audio from either source, or lose the streaming audio source when I try to restart it. Going through the above routine 1 or more times usually restores it.

I have created asoundrc.conf file to tell system to use USB audio as described here -> [URL] ..... In my case USB is # 3 in the list. So this is my file:

Code: Select allpcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2

View 4 Replies View Related

Debian :: Equivalent To Http Analyzer?

Jul 5, 2010

I am looking for an application which can display the headers and body of all the http requests that goes from the computer. In short debian equivalent to Http Analyzer.

View 2 Replies View Related

Networking :: Random Network Connection Loss On Debian Server?

May 15, 2011

I have been having this problem for about two weeks now where Debian's network and internet connection randomly fails. It works perfectly fine and hosts all the services I need for a while, and then without warning all network connectivity fails. I can't ping any other network device. Regardless of how much I try to fix it, the only thing that works is restarting the computer. First, the server went 7 days without a problem; then 5 days; now it lasted 2 days. Judging from my Teamspeak server logs, it crashed today at 12:31. I grep'd through my log files and found this information:

[Code]...

View 6 Replies View Related

Debian :: What Is The Open Source Equivalent To Sun-java6-plugin

Sep 9, 2010

what the open source equivalent to sun-java6-plugin is? For example, the open source equivalent of sun-java-6-jre is openjdk-6-jdk.

View 2 Replies View Related

Debian Configuration :: Multiple Partition Setups Other Than Resistance To Data Loss In Crashes?

Feb 25, 2010

What are the advantages of the multiple partition setups other than resistance to data loss in crashes? Is there any other reason to have a special partition just for your boot directory (kernel files and config) than surviving a major crash?

Also, is it possible to make the Debian installer accept an existing set of partitions? Or even alter the size of the automatically created partitions? Does expert mode let you control the partitions? How many other very detailed things would I have to know to use expert mode, though?

View 6 Replies View Related

Software :: Serial Comms Work And Need An Equivalent To Hyper Terminal On Debian

Mar 3, 2011

I need to do some serial comms work and need an equivalent to hyper terminal on Debian. Does it exist?

View 3 Replies View Related

OpenSUSE :: Sync Pim Data With Palm Treo 680 Via Bluetooth - Jpilot Sync Suddenly Broken

Oct 24, 2010

I use jpilot on opensuse 11.3 64bit to sync pim data with my Palm Treo 680 via bluetooth. This worked fine until today. Now I get the following error message when I try to sync: Syncing on device bt: Press the HotSync button now dlp_ReadSysInfo error Exiting with status YNC_ERROR_PI_CONNECT Finished.

The last successfull sync was on the 20th October and today is the 24th October. I did not change any settings in jpilot or on my palm device. So I guess there must have been an update of opensuse which causes this error. But I do not now how to look up the updates during this period or how to undo them. Was there an update between the 20th and the 24th Oktober, which might affect either jpilot or bluetooth functionality?

View 1 Replies View Related

General :: Sync Thunderbird Contacts Between Computers, Like Firefox Sync?

Sep 19, 2011

I've discovered Firefox Sync a while ago, and it's absolutely awesome. Now of course I'd like most of my software to work this way! So is there a way to get the same behavior with Thunderbird?

View 1 Replies View Related

Ubuntu One :: Sync Chewing Up CPU Cycles - Using From 50-80% Long After Any Sync-able Files

Sep 10, 2010

I've got Ubuntu One syncing a single 25MB folder on 4 computers. On one of these computers, the ubuntuone-syncdaemon process constantly pegs the CPU, using from 50-80% long after any sync-able files have been modified and successfully synced. The process is only using 8.9MB of RAM.

Specs:
Ubuntu 10.04 (lucid)
Kernel 2.6.32-24-generic
1000.8 MB RAM
Pentium 4 2.53GHz
Free disk space: 280.9 GB
System monitor shows 56.8% total RAM usage, 15.4% swap file usage.

View 3 Replies View Related

Ubuntu Multimedia :: How To Sync Audio On Already Badly Out Of Sync Video?

Jul 9, 2011

Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.Searching the net makes one believe that this command is just some sort of magic.People just put it in the line and it just works. Isn't that nice?

It says nothing about how to change the TIME the audio starts syncing. Like do I want it to start 5 seconds delayed? Or what about 5 seconds sooner?What if the audio gets more out of sync as the video goes on? Can I slip it a little at a time? What? No magic?No one mentions a file that already has badly synced audio.So what -async 1 really does is simply start the audio at the beginning of the file. LIKE AS IF THAT ISN'T STANDARD PROCEDURE?So what is the exact solution to syncing a messed up video? And why can't it just do the proper "timestamp" sync in the first place?No docs, no info and you are left out in the cold.

View 4 Replies View Related

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

Debian :: Risks Of Data Loss When Writing On A NTFS Using Ntfs-3g?

Mar 6, 2011

Are there risks of data loss when writing on a NTFS using ntfs-3g, and will windows have trouble reading from that system later?

View 2 Replies View Related







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