I asked about ACPI several weeks ago but received no responses. Are suspend and hibernate features not supported in CentOS yet? I noticed there is a daemon for acpi:
[scarolan@kalki ~]$ chkconfig --list | grep acpi acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
But how do I use this feature? Normally I'm accustomed to this being a menu option when I log out (eg, on recent versions of Fedora or Ubuntu). I noticed in /etc/acpi/events/ there is a file called sample.conf which configures the power button to attempt a graceful shutdown. How can I add a 'suspend' or 'hibernate' feature and bind it to a keyboard combination?
thanks
Sean
Well, this is just a tiny bit of the answer. But I do happen to know that you can initiate a suspend with:
echo -n "mem" > /sys/power/state
When it wakes up, you will probably have a black screen. This is expected, I think. There's more that needs to be done for a working suspend. But at least it may give you a clue if kernel support for suspend is available.
Steve Bergman wrote:
Well, this is just a tiny bit of the answer. But I do happen to know that you can initiate a suspend with:
echo -n "mem" > /sys/power/state
When it wakes up, you will probably have a black screen. This is expected, I think. There's more that needs to be done for a working suspend. But at least it may give you a clue if kernel support for suspend is available.
Here is a good article on how to do this for Gentoo.
http://www.linux.com/article.pl?sid=06/05/24/1716222
It almost seems to work for me on my HP NC4010, but on coming out of suspend I here the drive turn once then nothing. I have to pull the battery and cold start.
Would like to know what else I need to do......
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I have a freshly installed CentOS 4.3. I also setup Apache Server and a 'test' web site. When I try to display 'test' web site, I get the following message:
"The connection was refused when attempting to contact www.test.net".
In httpd.conf:
User apache Group apache
The UID/GID on files/folders for 'test' web site are all root/root.
Four years ago, I installed Apache server and had the same problem. Unfortunately, I did not write down the fix. I think the problem has something to do with UID/GID but which one or where.
I understand this is CentOS group but there might be others who ran into the same problem.
Thanks in advance for your help. I am a newbie.
Kirti
On Thu, Jul 13, 2006 at 12:16:49PM -0400, Kirti S. Bajwa enlightened us:
I have a freshly installed CentOS 4.3. I also setup Apache Server and a 'test' web site. When I try to display 'test' web site, I get the following message:
"The connection was refused when attempting to contact www.test.net".
In httpd.conf:
User apache Group apache
The UID/GID on files/folders for 'test' web site are all root/root.
Four years ago, I installed Apache server and had the same problem. Unfortunately, I did not write down the fix. I think the problem has something to do with UID/GID but which one or where.
I understand this is CentOS group but there might be others who ran into the same problem.
Thanks in advance for your help. I am a newbie.
Connection refused means that you can't connect to the server. This means either it isn't running or there is something blocking it along the way (like a firewall).
Matt
Matt Hyclak wrote:
"The connection was refused when attempting to contact www.test.net".
This message commonly appears when the Apache service isn't running. Check to make sure service "httpd" is started.
Don't forget to add it to the startup files for whatever runlevels you are going to be using.
-Ben
Dumb, Dumb me.
"httpd" was not running. Everything is working now.
Thanks.
Kirti
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Ben Gore Sent: Thursday, July 13, 2006 3:10 PM To: CentOS mailing list Subject: Re: [CentOS] RE: Apache Question???
Matt Hyclak wrote:
"The connection was refused when attempting to contact www.test.net".
This message commonly appears when the Apache service isn't running. Check to make sure service "httpd" is started.
Don't forget to add it to the startup files for whatever runlevels you are going to be using.
-Ben
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos