Migrating VPS from RailsPlayground
Here's the last bit of the console output when trying to start it proper:
Starting vzquota: quotaon: Cannot find quota file on / [/dev/simfs] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/simfs] to turn quotas on/off.
[FAILED]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting system message bus: [ OK ]
Starting APF:apf(1064): {glob} activating firewall
apf(1104): {glob} could not verify that interface eth0 is routed to a network, aborting.
apf(1064): {glob} firewall initalized
apf(1064): {glob} fast load snapshot saved
[ OK ]
/etc/rc.d/rc: line 63: 1153 Segmentation fault $i start
Starting sshd: [ OK ]
Starting xinetd: [ OK ]
Starting MySQL: [ OK ]
Starting Djbdns:
Starting httpd: Syntax error on line 2 of /home/apache/conf/defaults/cp_config.conf:
<virtualhost>directive requires additional arguments
[FAILED]
Starting kloxo: 11
/etc/rc3.d/S85kloxo: line 53: 1275 Terminated sh ../sbin/$__var_wrapper_name
mysqld (pid 1242) is running...
Started kloxo
Starting Qmail:
Starting Courier-Imap:
Starting crond: [ OK ]
Starting Munin Node: [ OK ]
Starting xfs: [ OK ]
INIT: no more processes left in this runlevel</virtualhost>
8 Replies
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=12.34.56.78 #YOUR IP
NETMASK=255.255.255.0 #DEFAULT INFO, do not change.
GATEWAY=12.34.56.1 #follow your main ip
and updating my nameservers here: /etc/resolv.conf
Any idea what's causing: /etc/rc.d/rc: line 63: 10282 Segmentation fault $i start
You've attempting to change mangoes into guava fruit - it's not going to work.
Start fresh, document everything (so the next move will be much easy) with copies of the config file, and just get it done.
If you don't already have a bare metal restore plan for a host with 40+ sites, you're a train wreck waiting to happen anyways.
It's not going to get easier, so why put off the correct solution.
@vonskippy:
Start fresh, document everything (so the next move will be much easy) with copies of the config file, and just get it done.
At which point I'd like to suggest a configuration management tool. That way you're provider agnostic and can switch them as long as the managed config files stay the same, as they would if you used same OS, for instance.
I use a simple high-level declarative layer atop of Fabric, inspired by Cuisine, instead of memory/cpu/dependency hogs like Puppet, Chef or the like.
It even doubles as a backup, so I really offsite-backup only the (user, application) data, since I can replay configuration/installation by single call to the fabfile.