vds machine ubuntu

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.
Post Reply
justin2234
A regular
A regular
Posts: 40
Joined: Sat Oct 31, 2015 10:29 am

vds machine ubuntu

Post by justin2234 » Wed Apr 27, 2016 4:42 pm

So my whole web disappeared and the mysql and everything stopped working, then i check and it wanted me to do a ubuntu update which i did but then its telling me

The upgrade needs a total of 86.0 M free space on disk `/boot`.
Please free at least an additional 86.0 M of disk space on `/boot`.
Empty your trash and remove temporary packages of former installations
using `sudo apt-get clean`.

I did sudo apt-get clean and it didnt do anything...

any way to fix this issue and prevent it from keeping old kernels in the near future or even shutting down my whole vds when it needs a update which is quite annoying.
Image

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: vds machine ubuntu

Post by soja » Wed Apr 27, 2016 6:04 pm

Not a NFO employee

justin2234
A regular
A regular
Posts: 40
Joined: Sat Oct 31, 2015 10:29 am

Re: vds machine ubuntu

Post by justin2234 » Wed Apr 27, 2016 6:10 pm

so i did the
sudo apt-get purge linux-image-x.x.xx-generic (older version)
on a old kernel and then i restarted the vds, then did do-release-upgrade and it said there were issues along the way but still successful upgrade.
Now my whole website is gone and nothing works just bunch of code. Cant access forums, sourcebans, phpmyadmin.
I remember in the upgrade it saying something how it needs to report the issue when upgrade to ubuntu and so it told me to still continue.
Any help!??!

(EDIT: Soja i tryed the method as i said above before i saw your comment, damn it!) :(
Image

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: vds machine ubuntu

Post by soja » Wed Apr 27, 2016 6:14 pm

What is your website url?
Not a NFO employee

justin2234
A regular
A regular
Posts: 40
Joined: Sat Oct 31, 2015 10:29 am

Re: vds machine ubuntu

Post by justin2234 » Wed Apr 27, 2016 6:16 pm

soja wrote:What is your website url?
http://64.94.238.92/ < - vds ip directly
http://giclan.net <- main sites
http://giclan.net/forums
http://giclan.net/bans
Image

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: vds machine ubuntu

Post by soja » Wed Apr 27, 2016 6:20 pm

Did you shut your web server off due to it displaying code?
Not a NFO employee

justin2234
A regular
A regular
Posts: 40
Joined: Sat Oct 31, 2015 10:29 am

Re: vds machine ubuntu

Post by justin2234 » Wed Apr 27, 2016 6:22 pm

soja wrote:Did you shut your web server off due to it displaying code?
No i never shut anything entirely off.. I only did reboots when a process was done.
Image

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: vds machine ubuntu

Post by soja » Wed Apr 27, 2016 6:25 pm

What web server are you using? Have you tried restarting it?

Is the web server listening on port 80?(You can check with netstat -tulpn as root)

Are there any new firewall rules?(Check with iptables -L)
Not a NFO employee

justin2234
A regular
A regular
Posts: 40
Joined: Sat Oct 31, 2015 10:29 am

Re: vds machine ubuntu

Post by justin2234 » Thu Apr 28, 2016 3:31 pm

Soja was able to fix the issue.
Now another issue occured.
SQL Error:
1040 - Too many connections
Query:
[READ] Unable to connect to MySQL server

Not sure as to why this is even happening
Image

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: vds machine ubuntu

Post by soja » Thu Apr 28, 2016 4:17 pm

set max_connections higher than the default of 151, I used 9000 to essentially remove the limit.

You can place:
max_connections=9000
in your mysqld.cnf.
Not a NFO employee

Post Reply