Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Nov 01, 2011 10:16 am

Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

So I've used CentOS in the past and it's always been a good experience; however, with the added SSD it's been giving me problems with "superblocks". I've used CentOS a lot, but I've never encountered this error before.

This is what I get when restarting the system:
Image

This happens when:
Following the SSD setup guide and restarting the machine
running "yum update" or "yum upgrade" and restarting the machine

If I reboot without updating the system, it's fine. I tried using Unbuntu 12 and it worked fine, it hooked everything correctly and I was able to update it without any problems. Has anyone ran into this problem yet and would be willing to help me out? I'd greatly appreciate it.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

It looks as though updating your system is causing it to rename "xvde" to "xvdb", likely because the new kernel uses a different PV-on-HVM Xen driver version and a different naming system. If you change your /etc/fstab entry to point to "xvdb1" from "xvde1", I suspect that will take care of this boot error for you.

CentOS is a bit annoying in that it stops the boot process like this to have any partition not able to be mounted -- even non-root partitions.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

I tried that but was still getting the same error... I did check out this though: I re-installed CentOS 6.2 with the pre-configured option and I checked the fstab with "nano -bw /etc/fstab" and it was formatted like this:

Image

From what I read in the guide, it stated to make it ext3 instead of ext4 as CentOs doesn't support it, but this is how it came pre-configured. I closed the file without touching anything in it, and I was still getting the "superblock" message. So then I decided to type the following:
mount -n -o remount /
nano -bw /etc/fstab

I edited the ext4 in the file anywhere I saw it (2 places) and make it ext3 instead. I saved it and rebooted, still getting the superblock message.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

I deleted the line: "/dev/xvde1 /ssd ext4 noatime 0 1" by using the following commands:

Code: Select all

mount -n -o remount /
nano -bw /etc/fstab
I saved it afterwards and did "init 6" to reboot it. The OS rebooted and it loaded correctly this time, but when I do "df -h" it doesn't show the drive mount (obviously). I'll continue to work on this and if I find a fix before one is provided I will have a solution laid out for it as with this happening with a stock configuration, it should be happening to more than just me who go with centos+ssd from the start.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

CentOS 6.0+ supports ext4.

The screen shot you posted indicates that it's not finding any device at /dev/xvde1, but it's finding devices (and file systems) at /dev/xvda1, /dev/xvda2, and /dev/xvdb1. This is why I suggested updating the /etc/fstab to refer to /dev/xvdb1 instead. I really do think that's what you need to do.

I saw the same problem with some VDSes used internally here. They were running Gentoo, so it didn't completely kill the startup as CentOS does with mount failures, but the fix was the same.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

Everything is running great now! Thanks for the help; although, like I said... This also happened by just re-installing CentOS6.2 from a pre-configured package and not touching anything. After I made the change you suggested it works fine. Just might be something you want to look into, not 100% sure though =) Again, thank you for the help!
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

I'll definitely have to look into that! I thought I tested the installer's insertion of the SSD line on 6.2, but I may have not fully done so.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

Having a new problem now. I can't connect to the server at all. I can run it, and everything loads correctly, but it won't allow me to connect. I put a fresh install of Ubuntu 12 on the machine and tested it, it works fine for minecraft. So I did a fresh install of CentOS after knowing it works for Ubuntu and it wouldn't connect (I also had to reconfigure the SSD for CentOS again).

I figured CentOS my have some firewall feature on it for whatever reason, and I decided to do the following commands:

iptables -A INPUT -p tcp -m tcp --dport 25565 -j ACCEPT
service iptables save
/etc/init.d/iptables restart

I also tried setting the IP address in the server.properties file (before testing with the open port and after) but I was still not getting a response.

I wanted to continue in this post because it doesn't seem like a minecraft problem, it looks more like a CentOS issue. Not sure why I'm having all of these issues all of a sudden, but it worked fine when I ordered a vps a month ago or so from NFO.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

Are you saying that you can't even connect with SSH?
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

Edge100x wrote:Are you saying that you can't even connect with SSH?

I can connect just fine with SSH & VNC, but minecraft itself will start and show that it's running on the server, but I can't connect to it. So I did some further troubleshooting on this. I installed a pre-configured copy of CentOS 5.6 x64 and did the following:

Logged in as root and typed:

Code: Select all

df -h
All my drives showed, even the SSD (on 6.0 and 6.2 I have to do the manual reconfigure every time)

I then did:

Code: Select all

yum install java
It installed Java 1.6 (i'll be adding the latest version of 1.7 once I get it working)

Then I downloaded the latest version of bukkit and ran it. I was able to connect to the server and run around with no problems (Heck, I even had it running off the SSD). If I were to run the same commands on the same server but installing a stock pre-configured 6.0 or 6.2, my SSD would not show until I tweaked it, and I wouldn't be able to connect to the MC server.

I just ran

Code: Select all

yum upgrade
on the server and did

Code: Select all

init 6
and it upgraded to the latest version of centos 5, and rebooted. I didn't get any errors and I was able to run the MC server again + connect to it. While this is great and everything is working smooth for 5, I much rather be on the latest version of CentOS if possible.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

On CentOS 6, is SELinux enabled? If so, try disabling it.

Apart from that and the potential of a default firewall (which you'd be able to clear with "iptables --flush", I'm not sure what else to examine apart from the application itself. The fact that ssh works tells us that networking in general works.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

Did the IP flush and I disabled SELINUX by changing SELINUX=permissive to SELINUX=disabled and it's still not working.

This is really starting to give me a massive headache. I've lost about 3 days of productive work I could of done just trying to configure the system. Like I said, I've done extensive trouble shooting and it doesn't work on CentOS6.0 or 6.2, but it does work on CentOS5 and Ubuntu just fine. This is trying the same exact files that I uploaded to the servers, so it wouldn't make much sense if it was minecraft itself or it wouldn't work on CentOS5, Ubuntu, My dedicated windows machine (hosted by NFO of course), or my home computer. I'm also having a problem with essentials, but I'll post that in the correct area as it -is- a minecraft problem.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

This is the sort of problem that's much slower to troubleshoot via directions. From the console, I could try a million things within a just a few minutes' time.

As I mentioned, mostly we're down to looking at the application. Are you sure that you're using the same version of Java and that it's binding to the right port and IP? After you start the server, what's the output of "netstat -anp"?

Honestly, I would personally stick with Ubuntu or Debian for just about everything. I can't think of a notable advantage to using CentOS, and there is the big drawback that it generally uses outdated software packages.
Smoka Cola
A semi-regular
A semi-regular
Posts: 17
Joined: Tue Nov 01, 2011 10:16 am

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Smoka Cola »

Oh trust me, I'm ready to jump back into Ubuntu already. I only used CentOS in the past due to it's slower updates, usually once everything is configured correctly it's working just fine. I've tried using the latest version of Java in each scenario (like I said, been a few days at this), but I get the same results regardless. Running netstat -anp I get this:

Code: Select all

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:46155               0.0.0.0:*                   LISTEN      1184/rpc.statd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1166/rpcbind
tcp        0      0 0.0.0.0:30033               0.0.0.0:*                   LISTEN      1821/./ts3server_li
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1380/sshd
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1255/cupsd
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1456/master
tcp        0      0 0.0.0.0:10011               0.0.0.0:*                   LISTEN      1821/./ts3server_li
tcp        0      0 0.0.0.0:5672                0.0.0.0:*                   LISTEN      1499/qpidd
tcp        0     52 74.91.114.117:22            174.251.241.55:45348        ESTABLISHED 1603/sshd
tcp        0      0 :::111                      :::*                        LISTEN      1166/rpcbind
tcp        0      0 :::22                       :::*                        LISTEN      1380/sshd
tcp        0      0 ::1:631                     :::*                        LISTEN      1255/cupsd
tcp        0      0 ::1:25                      :::*                        LISTEN      1456/master
tcp        0      0 :::42081                    :::*                        LISTEN      1184/rpc.statd
udp        0      0 0.0.0.0:917                 0.0.0.0:*                               1166/rpcbind
udp        0      0 0.0.0.0:936                 0.0.0.0:*                               1184/rpc.statd
udp        0      0 0.0.0.0:33496               0.0.0.0:*                               1184/rpc.statd
udp        0      0 74.91.114.117:46809         194.97.114.3:2010           ESTABLISHED 1821/./ts3server_li
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1166/rpcbind
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               1255/cupsd
udp        0      0 0.0.0.0:9987                0.0.0.0:*                               1821/./ts3server_li
udp        0      0 :::917                      :::*                                    1166/rpcbind
udp        0      0 :::48430                    :::*                                    1184/rpc.statd
udp        0      0 :::111                      :::*                                    1166/rpcbind
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     9074   1166/rpcbind        /var/run/rpcbind.sock
unix  2      [ ACC ]     STREAM     LISTENING     9546   1289/hald           @/var/run/hald/dbus-HBDJTs2yAD
unix  2      [ ACC ]     STREAM     LISTENING     9511   1280/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     9935   1369/mcelog         /var/run/mcelog-client
unix  2      [ ACC ]     STREAM     LISTENING     10195  1456/master         public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     10202  1456/master         private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     10206  1456/master         private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     10210  1456/master         private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     10214  1456/master         private/defer
unix  2      [ ACC ]     STREAM     LISTENING     10218  1456/master         private/trace
unix  2      [ ACC ]     STREAM     LISTENING     10222  1456/master         private/verify
unix  2      [ ACC ]     STREAM     LISTENING     10226  1456/master         public/flush
unix  2      [ ACC ]     STREAM     LISTENING     10230  1456/master         private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     10234  1456/master         private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     10238  1456/master         private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     10242  1456/master         private/relay
unix  2      [ ACC ]     STREAM     LISTENING     10246  1456/master         public/showq
unix  2      [ ACC ]     STREAM     LISTENING     10250  1456/master         private/error
unix  2      [ ACC ]     STREAM     LISTENING     10254  1456/master         private/retry
unix  2      [ ACC ]     STREAM     LISTENING     7083   1/init              @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     10258  1456/master         private/discard
unix  2      [ ACC ]     STREAM     LISTENING     10262  1456/master         private/local
unix  2      [ ACC ]     STREAM     LISTENING     10266  1456/master         private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     10270  1456/master         private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     10274  1456/master         private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     10278  1456/master         private/scache
unix  2      [ ACC ]     STREAM     LISTENING     10345  1480/abrtd          /var/run/abrt/abrt.socket
unix  2      [ ACC ]     STREAM     LISTENING     9451   1255/cupsd          /var/run/cups/cups.sock
unix  2      [ ]         DGRAM                    7247   430/udevd           @/org/kernel/udev/udevd
unix  2      [ ]         DGRAM                    9568   1289/hald           @/org/freedesktop/hal/udev_event
unix  2      [ ACC ]     STREAM     LISTENING     9409   1244/dbus-daemon    /var/run/dbus/system_bus_socket
unix  14     [ ]         DGRAM                    8920   1134/rsyslogd       /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     9541   1289/hald           @/var/run/hald/dbus-sZ4fR2pu8s
unix  2      [ ]         DGRAM                    10822  1603/sshd
unix  2      [ ]         DGRAM                    10752  1586/auditd
unix  2      [ ]         DGRAM                    10516  1532/crond
unix  2      [ ]         DGRAM                    10450  1499/qpidd
unix  2      [ ]         DGRAM                    10351  1480/abrtd
unix  3      [ ]         STREAM     CONNECTED     10348  1244/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     10347  1480/abrtd
unix  2      [ ]         DGRAM                    10302  1469/qmgr
unix  2      [ ]         DGRAM                    10286  1468/pickup
unix  3      [ ]         STREAM     CONNECTED     10281  1456/master
unix  3      [ ]         STREAM     CONNECTED     10280  1456/master
unix  3      [ ]         STREAM     CONNECTED     10277  1456/master
unix  3      [ ]         STREAM     CONNECTED     10276  1456/master
unix  3      [ ]         STREAM     CONNECTED     10273  1456/master
unix  3      [ ]         STREAM     CONNECTED     10272  1456/master
unix  3      [ ]         STREAM     CONNECTED     10269  1456/master
unix  3      [ ]         STREAM     CONNECTED     10268  1456/master
unix  3      [ ]         STREAM     CONNECTED     10265  1456/master
unix  3      [ ]         STREAM     CONNECTED     10264  1456/master
unix  3      [ ]         STREAM     CONNECTED     10261  1456/master
unix  3      [ ]         STREAM     CONNECTED     10260  1456/master
unix  3      [ ]         STREAM     CONNECTED     10257  1456/master
unix  3      [ ]         STREAM     CONNECTED     10256  1456/master
unix  3      [ ]         STREAM     CONNECTED     10253  1456/master
unix  3      [ ]         STREAM     CONNECTED     10252  1456/master
unix  3      [ ]         STREAM     CONNECTED     10249  1456/master
unix  3      [ ]         STREAM     CONNECTED     10248  1456/master
unix  3      [ ]         STREAM     CONNECTED     10245  1456/master
unix  3      [ ]         STREAM     CONNECTED     10244  1456/master
unix  3      [ ]         STREAM     CONNECTED     10241  1456/master
unix  3      [ ]         STREAM     CONNECTED     10240  1456/master
unix  3      [ ]         STREAM     CONNECTED     10237  1456/master
unix  3      [ ]         STREAM     CONNECTED     10236  1456/master
unix  3      [ ]         STREAM     CONNECTED     10233  1456/master
unix  3      [ ]         STREAM     CONNECTED     10232  1456/master
unix  3      [ ]         STREAM     CONNECTED     10229  1456/master
unix  3      [ ]         STREAM     CONNECTED     10228  1456/master
unix  3      [ ]         STREAM     CONNECTED     10225  1456/master
unix  3      [ ]         STREAM     CONNECTED     10224  1456/master
unix  3      [ ]         STREAM     CONNECTED     10221  1456/master
unix  3      [ ]         STREAM     CONNECTED     10220  1456/master
unix  3      [ ]         STREAM     CONNECTED     10217  1456/master
unix  3      [ ]         STREAM     CONNECTED     10216  1456/master
unix  3      [ ]         STREAM     CONNECTED     10213  1456/master
unix  3      [ ]         STREAM     CONNECTED     10212  1456/master
unix  3      [ ]         STREAM     CONNECTED     10209  1456/master
unix  3      [ ]         STREAM     CONNECTED     10208  1456/master
unix  3      [ ]         STREAM     CONNECTED     10205  1456/master
unix  3      [ ]         STREAM     CONNECTED     10204  1456/master
unix  3      [ ]         STREAM     CONNECTED     10201  1456/master
unix  3      [ ]         STREAM     CONNECTED     10200  1456/master
unix  3      [ ]         STREAM     CONNECTED     10198  1456/master
unix  3      [ ]         STREAM     CONNECTED     10197  1456/master
unix  3      [ ]         STREAM     CONNECTED     10194  1456/master
unix  3      [ ]         STREAM     CONNECTED     10193  1456/master
unix  3      [ ]         STREAM     CONNECTED     10191  1456/master
unix  3      [ ]         STREAM     CONNECTED     10190  1456/master
unix  2      [ ]         DGRAM                    10147  1456/master
unix  2      [ ]         DGRAM                    9932   1369/mcelog
unix  2      [ ]         DGRAM                    9895   1353/automount
unix  3      [ ]         STREAM     CONNECTED     9841   1280/acpid          /var/run/acpid.socket
unix  3      [ ]         STREAM     CONNECTED     9840   1333/hald-addon-acp
unix  3      [ ]         STREAM     CONNECTED     9835   1289/hald           @/var/run/hald/dbus-sZ4fR2pu8s
unix  3      [ ]         STREAM     CONNECTED     9834   1333/hald-addon-acp
unix  3      [ ]         STREAM     CONNECTED     9700   1289/hald           @/var/run/hald/dbus-sZ4fR2pu8s
unix  3      [ ]         STREAM     CONNECTED     9650   1318/hald-addon-inp
unix  3      [ ]         STREAM     CONNECTED     9563   1289/hald           @/var/run/hald/dbus-HBDJTs2yAD
unix  3      [ ]         STREAM     CONNECTED     9562   1290/hald-runner
unix  3      [ ]         STREAM     CONNECTED     9543   1244/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     9542   1289/hald
unix  2      [ ]         DGRAM                    9513   1280/acpid
unix  3      [ ]         STREAM     CONNECTED     9421   1244/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     9420   1/init
unix  3      [ ]         STREAM     CONNECTED     9414   1244/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED     9413   1244/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED     9308   1217/rpc.idmapd
unix  3      [ ]         STREAM     CONNECTED     9307   1217/rpc.idmapd
unix  2      [ ]         DGRAM                    9161   1184/rpc.statd
unix  3      [ ]         DGRAM                    7264   430/udevd
unix  3      [ ]         DGRAM                    7263   430/udevd
I also tried setting up a teamspeak server and with CentOS6.2, yet again, not able to connect. It's strange because VNC and SSH work just fine. I can easily move files within the system using WinSCP, I can view it through the control panel with the TightVNC client you provide, and i'm using PuTTy to issue the commands. But anything other than that, it's blocking it out, or so it seems that way.
User avatar
Edge100x
Founder
Founder
Posts: 13107
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Issue with SSD & CentOS 6.0-6.2 on a unmanaged VDS

Post by Edge100x »

That netstat is not showing any Minecraft processes bound to a port. Were you running Minecraft at the time? Is it showing any errors in its log when it starts up?

Is that TS3 you're running working?
Post Reply