hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : getty / hvc0 on Xen but not OpenVZ
Reply

Forum Jump

getty / hvc0 on Xen but not OpenVZ

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru
 
Join Date: Apr 2011
Posts: 221
Question

getty / hvc0 on Xen but not OpenVZ


Hi,

I've 2 "nearly identical VPS" (from the provider) both running Ubuntu 10.04, one is a Xen, another OpenVZ.

I noticed that when I issued 'ps aux' - the Xen listed a whole lot of processes which I don't see in OpenVZ - is this normal?

Also, in the /etc/init/ folder - there are 46 different config files (in the Xen) compared to only 18 (in OpenVZ)

ps ax on the Xen will show all the ttys, e.g.

Code:
  405 tty4     Ss+    0:00 /sbin/getty -8 38400 tty4
  407 tty5     Ss+    0:00 /sbin/getty -8 38400 tty5
  411 tty2     Ss+    0:00 /sbin/getty -8 38400 tty2
  412 tty3     Ss+    0:00 /sbin/getty -8 38400 tty3
  415 tty6     Ss+    0:00 /sbin/getty -8 38400 tty6
  489 tty1     Ss+    0:00 /sbin/getty -8 38400 tty1
22142 ?        Ss     0:00 /sbin/getty -8 38400 hvc0
But non on the OpenVZ.

And there is an "error" that is really bugging me, i.e.

--------
Jul 6 02:46:26 srv1 init: hvc0 main process (21769) terminated with status 1
Jul 6 02:46:26 srv1 init: hvc0 main process ended, respawning

Jul 6 02:46:36 srv1 init: hvc0 main process (21771) terminated with status 1
Jul 6 02:46:36 srv1 init: hvc0 main process ended, respawning

-------------

That error is being logged every 10 seconds in /var/log/syslog

Any idea why?

What is this 'hvc0' ?

Can I safely remove the /etc/init/hvc0.conf file?
I assume that will stop the respawning of the hvc0

Many thanks!



Sponsored Links
  #2  
Old
Disabled
 
Join Date: Mar 2011
Location: Graz, Austria
Posts: 298
Quote:
I noticed that when I issued 'ps aux' - the Xen listed a whole lot of processes which I don't see in OpenVZ - is this normal?
Yes, since OpenVZ does not run it's own Kernel enviroment.

Quote:
Also, in the /etc/init/ folder - there are 46 different config files (in the Xen) compared to only 18 (in OpenVZ)
Again: OpenVZ does not need any Kernel related services there.

Quote:
But non on the OpenVZ.
Yet again the Kernel....

Quote:
Can I safely remove the /etc/init/hvc0.conf file?
No, but comment everything out in it and restart the VPS, that will stop the process from spawning.

William

  #3  
Old
Junior Guru
 
Join Date: Apr 2011
Posts: 221
Hi William,

Thanks for the reply. Currently, my hvc0.conf shows:

-------------------
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 hvc0
----------------

So, I just comment out everything, like:

------------------------
#start on stopped rc RUNLEVEL=[2345]
#stop on runlevel [!2345]

#respawn
#exec /sbin/getty -8 38400 hvc0
-----------------

Or just comment out the "respawn" line?

Many thanks!

Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[EU / US] Amazing Deal is Back! Instant Activation, Xen, Xen HVM, OpenVZ. Fr $5.90 ControlVM VPS Hosting Offers 0 10-23-2010 01:13 PM
Switching providers? Xen and OpenVZ VPSs! OpenVZ starting at $2.49 1st month! BBGN Brian VPS Hosting Offers 0 10-13-2010 04:56 PM
[UK & USA] get a VPS from 2.99 - OpenVZ - Xen - Xen-HVM - FREE Softaculous ValueVPS-Dave VPS Hosting Offers 0 08-27-2010 05:54 AM
Europhase UK - Xen/OpenVZ, High Bandwidth, 50% Discount, *OPENVZ SPECIAL - From 2.49 ThomasC VPS Hosting Offers 0 08-20-2010 11:30 AM
Europhase UK - Xen/OpenVZ, High Bandwidth, 50% Discount, OpenVZ Special - From 2.49 ThomasC VPS Hosting Offers 0 08-10-2010 01:22 PM

Related posts from TheWhir.com
Title Type Date Posted
OnApp Buys IaaS Platform for Web Hosts, SolusVM Web Hosting News 2014-09-16 09:26:40
Cloud Converter Launches Free Service for Migrating Cloud Servers Web Hosting News 2013-03-19 11:23:45


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?