General :: Poweroff - Damages Hardware ?
Jun 24, 2011So i've been using poweroff command to shutdown my computer at a specific hour.
Is it okay for the hardware to do this (e.g hard drives)? Or should I use other system call?
So i've been using poweroff command to shutdown my computer at a specific hour.
Is it okay for the hardware to do this (e.g hard drives)? Or should I use other system call?
difference between halt, shutdown and poweroff
View 3 Replies View RelatedI have upgraded my firefox to the Mozilla Build version 3.6 and following that, my liferea seems broken. It will no longer display previews of threads and I get error messages when trying to open links directly from it in Firefox. I have tried uninstalling and reinstalling liferea to no avail
View 5 Replies View RelatedI'm using pm-hibernate, and would like to reboot the machine after it's done hibernating, rather than having the machine turn off.Is there a way to do this with pm-hibernate, or any other Linux hibernate thing?
View 2 Replies View RelatedImagine i want to power off my "Lenny" at exactly 16:00 everiday. no mather what I suppose i showld write a script with the shutdown command and add it to the /etc/init.d . but i will listen to your tips first.
View 2 Replies View RelatedI have a server Hp proliant DL160 G6 with CentOS 5.4 . When I do shutdown -h now it doesn't poweroff.
I try differents options for acpi in menu.lst file. acpi=force, acpi=noacpi,acpi=off,acpi=ht but there's the same problem.
This the stdout when I do shutdown:
Halting system...
md: stopping all md devices.
Completed flushing cache on controller 0
ACPI: PCI interrupt for device 0000:05:00.1 disabled
xenbr0: port 2(peth0) entering disabled state
ACPI: PCI interrupt for device 0000:05:00.1 disabled
Power down.
acpi_power_off called
I show you any specific information about my server:
Reboot works fine
I recently upgraded the hard drive on my Fujitsu N3530 notebook to WD Scorpio Blue 500 MB, and created a dual-boot configuration with WinXP, installing 32-bit Slackware 13.1 from DVD. Grub 0.97 bootloader is installed on superblock of root partition. Running KDE. Using the generic kernel with appropriate initrd for ext4 filesystem on root partition.
Everything runs fine so far, except the computer won't power off the computer. I've tried using the KDE shutdown, and shutting down from command line - same result. Also same result if I use the huge kernel or the generic kernel.
The last message I see is:
Remounting root filesystem read-only.
/dev/sda3 on / type ext4 (ro)
Power down.
... and then the shutdown process stalls and I have to turn off the computer by pressing and holding the power button.
This is the first time I've installed any Linux OS on this notebook. I have Slackware 13.0 running fine on a Thinkpad T61 with no poweroff issue.
From reading various posts, this looks to be related to ACPI. I tried adding "acpi=force" to the kernel line in menu.lst, but it made no difference.
/var/log/messages shows "acpid exiting" and then "exiting on signal 15" as last entries during shutdown.s.
Last night there was a rather large thunderstorm, and my computer was on at the time. The power went out while my computer was on, and now it won't boot up. After the GRUB screen, a white message at the bottom of the normal loading screen says somthing along the lines of "a partition listed in /etc/fstab cannot be mounted /dev/disk/by-uuid/6835blahblahblah". I chose recovery mode from the grub menu, which gave me a similar message.
Quote:
One or more mounts listed in /etc/fstab cannot yet be mounted: (ESC for recovery shell) /home waiting for /dev/disk/by-uuid/8bl I've googled around a fair bit, but people who got the same message were mainly those upgrading to Karmic, so a different problem. I think my problem was the fact that my computer was turned off possibly while writing and definitely without being unmounted.
So far I have tried changing /etc/fstab to refer to /etc/sda5 instead of UUID=68blahblah, but that came up with the same error. I have looked inside the /dev/disk/by-uuid and the disk that is trying to be mounted is there (so it's not a problem with that).
I just did a clean reinstall of Ubuntu (10.04 --> 10.10). After the install, any time I do CPU intensive work, my PC is suddenly shutting down like it's overheating.Everything was working fine for months, and started having problems immediately after the reinstall. so this is not a problem with my hardware, and it's not a problem with my fans needing cleaning -- it's a problem with software. So please don't tell me "that sounds like overheating, clean your fans". Something is different in software-land between 10.04 and 10.10 that is causing this to happen -- I assure you that the upgrade did not magically fill my fans with cat hair.
I have checked my log files, and can't find anything related to overheating -- searches for things related to lm_sensors, "temp", and "thermal" are not turning up anything in the system logs (syslog, kern.log, or messages). I also looked at the logs around the times of the sudden shutdown, and couldn't find anything unusual.How can I diagnose this? I'd like to file a bug report, but since I can't find anything in the logs, I honestly have no idea how to go about providing useful information.Is there anything besides overheating that might be causing my laptop to suddenly shut off?
Built new system and installed openSUSE 11.3 x86_64 with Gnome desktop about 6 weeks ago. Have never been able to get the system to shutdown or fully poweroff using the installed OS. If I use the Knoppix live CD - no problem. System boots up fine and shuts down and powers off correctly. With the installed OS, it originally crashed on shutdown and had to power off using the power button. After trying many things, the OS shuts down, powers off the fans etc, but the keyboard is still lit. I cannot restart the system without turning off power at the power supply. Starting my computer by turning off the power supply switch, waiting
10-12 seconds, turning on the power supply switch and then hitting the power button gets to be very annoying after a few weeks.
Installed KDE and switched to that to see what difference it might make. System does not shutdown, but reboots instead. Switched back to Gnome. Have tried sudo /sbin/shutdown -h now and poweroff. Identical behaviour. System is completely up-to-date. BIOS, kernel, video drivers.
Due to some reason not known to me at this moment, my regular shutdown doesn't work. It freezes on disabling the swap file and doesn't do anything. Now, until that problem is solved, I need a way to properly shutdown. I found one, which is poweroff -f, but it is hardly graceful, and would amount to 'flipping the switch' I guess. The other is hibernate, which is what I now use. This does work, but I rather completely shut down the system. For one, regular boot is quicker than resuming from hibernate.
My main question is: is there any way to make the poweroff -f command, e.g. combined with manually disabling the swap file or whatever,"safe?" as in, I can imagine a sudden power off meaning more chance of damage to the HD, which I don't want.
recently I'va bought PCI adapter for extending ATA devices [URL], connected disk (WDC WD1600JB-00REA0, ATA DISK drive). Everything is fine except switching off. Sometimes it freezes, sometimes it takes longer time (more than 30 sec). Everything goes well - except the last step (when appears "Rebooting", or "Switching off" on console). I didn't add any extra boot option into /boot/grub/menu.lst
[Code].....
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose
I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:
homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA
I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?
I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?
View 2 Replies View RelatedPackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less.
View 1 Replies View RelatedII'm a front-end web developer, I've always developed on Windows with technologies like XHTML, CSS, Javascript and Flash, I've dabbled with PHP and MySQL. I am well used to Windows workflows and tools, from Photoshop to Notepad++, Filezilla and WAMP server stacks to After Effects, and a swathe more - but always on Windows.I'm at a point where I think I need to start seriously developing on a Linux box, specifically at the moment to create web apps based on Node.js, but compiling tools and programs has become a task I'm more frequently required to do.
My question? I need to get my hands on a user-friendly install of Linux, but which one? I need common interface developer tools (lists welcome) to replace... well as many tools I have on Windows as possible.I need to be readily connected to the internet, I need OS updates to not destroy my workflow by crashing the OS, as I've seen Ubuntu do to various friends. I want efficiency, I need to be able to customise what I need to in order to perform development tasks.I guess this could be a long list, but - I don't have practical working knowledge of the Linux OS, nor how it "compares" to Windows (excuse my faux pas). I'm obviously willing to learn, but I'm far, far more keen to just... continue interface development, just on Linux instead of Windows.
A friend of mine helped me set up a server which includes Squirrel Mail.It?s CentOS 5.3.I have a person who would like to access Squirrel Mail at remote sites.My questions is, I can create an account on the server which has KDE and the usual general applications and he would have the remote access Squirrel Mail but he doesn?t need nor does he want to access KDE or anything else on my server. He just want an account so he can use Squirrel Mail.
View 1 Replies View RelatedI have the impression that not that many people understand the scope and limitations of GNU General Public License. This is somehow my basic understanding of it. If I take a program covered under the GNU license, first of all I have the right to get the source code. Second, I can modify it at will. Third, I can redistribute it as will too but the new code will necessarily will have the same GNU license. This made me wonder how people actually can charge for software derived from Linux, for instance, Red Hat. Well, my impression is that they really make profit only out of services. In this thread [URL] I think I found a lot of confusion, even from a moderator (not intended to offend). Red Hat is based on Linux and it is necessarily covered under GNU. Somebody probably bought the program from RHE and can make it available at no cost.
Nevertheless, the moderator decided to warn the user. In this article [URL] it says the following:"Our training is not designed to promote vendor lock-in. Though these courses are based on Red Hat Enterprise Linux, the source code for [RHEL] is available to the community via the GPL [GNU General Public License]," said Red Hat spokewoman Leigh Day. This thread [URL] shows yet more confused people. Is there is a glitch in this type of license that prevents programs like RHEL to be redistributed for free? Why their license page doesn't mention GNU license? Or the problem is just that people get overwhelmed by this license and are afraid to be penalized and get paralyzed? By the way, RHEL is just the example. The key question is about the license!!
I need to allow certain users (who do not have root access) to be able to stop and start specific daemons
View 2 Replies View RelatedWhat is the general opinion of the Mandriva and Debian distros? Mainly asking what kind of user you consider the distro to be for (beginners, advanced, total newb, whatever), and whether you think they offer as much to an extremely experienced user as they would to a newb.Those are my two favorite distros, and I really like Mandriva a lot. I'm trying to pick one to stick with throughout, but I'm not really sure if Mandriva is too automated and Windows-user oriented like Ubuntu (I haven't really delved into the deeper aspects of Linux so I have zero experience in this area now). This might sound a little elitist but I don't want to be using Mandriva and just be automatically dismissed as a newb on first impression just because I'm using Mandriva (although admittedly I am a bit of a newb at the moment, I don't plan on staying one).
View 4 Replies View RelatedIm trying to get a general understanding put simply.
View 6 Replies View RelatedFriends i am facing some issue with Linux i want to know how many kinds of file do we have in Linux and what are soft link and hard link mean and the difference. However i want to know also why do we use it in Linux
View 1 Replies View RelatedI have a computer on LAN running ssh. I can normally tunnel the GUI application usingssh computer-name -X program-nameBut I wam my full desktop to be running on a remote computer using ssh so that I can just use that computer remotely like a local desktop. For this I think I will need to run KDM (or GDM ) remotely, what configuration do I need to do to make this happen?
View 2 Replies View RelatedI'm wonder what the differences are, especially as it pertains to SharePoint. Why should I pick one over the other or does it matter? Also are there any Linux browser solutions for SharePoint, besides Wine + IE 6.
View 2 Replies View RelatedI have extra P4 PC (Dell Dimension 2400). And I would like to use this PC as NAS. What is the best way to make NAS from a PC.
View 3 Replies View Relatedtar cvf backup.tar -C / / # or tar cvf backup.tar /
produces an archive like etc/ and gives warnings
On the other hand produces an archive like
And gives no warnings. I got the last one from a Debian tutorial.
Which is best for a system backup, do they work exactly the same?
Is there no difference between tar -tvh producing
And tar -tvh producing
From an archive
At this dir /lib/modules/2.6.18-164.el5PAE/ have dir on the name build, if i use the command "DIR" i can see the it there but when i try to cd into this dir it's say " No such file or directory" i Need this dir cause i want to run vmware and it's the c header / kernel dir
View 6 Replies View RelatedI'm not sure to whom I should report certain bugs, to the program developers, or to the WM developers. More confusion if plugins are involved.Flash, in opera, behaves quite bad on openbox, but in fluxbox it's substantially better (usable). I don't know about KDE or GNOME. So, whose bug is it, openbox', opera's or flash's?Conversely, chrome's and chromium's flash will behave badly on fluxbox (and somewhat similarly to flash's problems on opera under openbox!), but almost perfectly on openbox, it will just "go crazy" sometimes playing videos, but all you need to do is to kill flash (just flash) and reload the page, or even open and close the part where flash would be shown (like individual items on google reader), and it will work normally again. This case isn't much of a problem of bug "ownership" because fluxbox is, sadly, discontinued, as far as I know.
The develpment version of gimp, 2.7, again, behaves somewhat strangely with openbox, regarding window management, while gimp 2.6 was normal as 2.7 is in fluxbox. Gimp's or openbox' bug?
At some point specific distributions may have something to do with the bugs too, I was forgetting that point.Would be interesting if there were a sort of "unified" bug report place, where developers from all the involved software could decide whose "fault" it is and exchange the bits of information they may have on how to solve it universally. I think that otherwise, bugs being solved more independently, could produce collateral bugs somewhere else, I guess. Like using an hypothetical fluxbox' fix for opera's flash problems on openbox culminating in the problems that chrome has with flash on fluxbox. But hopefully developers have something more or less organized to deal with this sort of contingencies, I can't be the first person to think of that, but still, I'd like to know whom to report the bugs to in this sort of situation. "Everyone" involved? Well, at least the main suspects I guess, as I hardly can track the cause of a problem to some obscure library that is at some point used by some program or WM.