On Sat, 9 May 1998, Peter J. Schoenster wrote:

> > From all that I have read I think you can just do a ctrl-alt-del.  
> But I do this:
> 
> shutdown -r now
> 
> and that does it.  I also do the ctrl-alt-del which seems to do the 
> same thing.  

Key combos like ctrl-alt-del are usually configurable to do anything you
want.

On my Linux boxes, ctrl-alt-del is configured in one of the startup
configuration files (/etc/inittab) to execute the "shutdown -t5 -rfn now" 
command. But it could just as well be set to to

  shutdown -h now

 ... or even ...

  cd / ; rm -rf *       ;-) 

> Given apache server on a unix machine with virtual hosts.  You can 
> connect via the browser to the remote unix machine to the root 
> server, but you cannot connect to the virtual hosts of the root 
> server.  The browser says server does not respond.  It was my believe 
> that the root server hosting the virtual servers would then respond.  
> I have a virtual server which hosts other virtual servers. If I take 
> the references to the virtual servers out of the httpd.conf file and 
> then try to connect to that virtual server I will be immediately 
> connected to the root server.
> 
> What would cause the root server not to respond to the request for 
> the virtual server??  Given that all is well in the httpd.conf (which 
> it was).  My first thought is DNS ... but then why does the root 
> server respond?  Possible that just part of the DNS was corrupted??

Are you sure that your host server is configured to map the multiple IP
numbers to the ethernet card?

Typically, in your /etc/rc.d/rc.local file, you'll have a bunch of lines
like the following, one for each virtual host:

    /sbin/ifconfig eth0:2 123.45.67.89
    /sbin/route add -host 123.45.67.89 dev eth0:2

The first line connects the IP 123.45.67.89 as an additional IP on your
ethernet card, and the second line establishes a route to that IP.

You'd need one pair of the above for each virtual host.

If any of those are missing, you can experience the effect you are seeing.

Hope this helps a little...

 . . . . . ep


____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to