While installing Apache 2 on my Linux server, which runs Ubuntu 10.10, I came across this error:
chris@chrism-laptop:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
To solve this problem simply issue this command:
sudo gedit /etc/apache2/httpd.conf
The file will be blank by default so don’t worry! Type this into the blank document and save:
Now, issue the restart command for apache.
sudo /etc/init.d/apache2 restart
Hope this helps!
Note: This is most useful in a LAN (Local Area Network) where the computer you are trying to wakeup is on the same router as you are. Wakeup packets get squashed when hopping routers.
Scenario: You have a computer in the same building as you are in and you would like to wake it up (from shutdown, standby, or sleep) without actually walking over to it and pressing the power button. (Assuming that this computer is on the same network as you are and uses the same gateway/router)
First, you will need Wakeup 1.01 which you can download here. Within the ZIP file you will find wakeup.exe. Copy that to a new folder C:\wakeup101\ (which you will create).
Next, open up a command prompt (START -> RUN -> CMD). Change the directory to the wakeup folder by using this command
Your command line should now read
C:\wakeup101>. In order to wake up a computer you will use this command:
Refer to the picture below for how I issued this command!
One of the many benefits, besides time and amount of effort involved, of performing a remote log off via GUI rather than through a DOS prompt is that you actually see what it is you are doing. With this available, it is easier to perform a task of this caliber with minimal to no mistakes at all. This is especially beneficial and time preserving if you plan to do this over a WAN.
Tasklist, a command within Command Prompt, allows one to see the programs running on his/her computer or any remote computer within the same network. Tasklist, for me, comes in handy when I want to view the running programs on another computer within my network without having to actually remote in to the computer and go to task manager.