Category: Debian

mysql.sock vanished on my vserver

Listen to this Post. Powered by iSpeech.org

ManMan reviewsMan reviews,

the horror story no one wants. My mysql server stopped working. And I got a warning message from my “server watch” service.
First I thought, ok lets see whats up.  And browsed to my site. To see:

The mysqli error was: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).

Man, and then I tried to fix this problem, but something must gone wild. Cant reinstall mysql, no way to purge it. Or remove it.
Every time I tried to reinstall a new problem went up. Nothing worked. The problem stays. Try to link it, recreate it, reinstalled, purged,
copied and so on. No chance…. I have no clue whats wrong. Even the “almighty” google wasnt a help. All solutions doesnt worked. so I have
to reinstall my vserver :(

And I still dont know why my mysql.sock vanished. I dont touched the server in the time where it could happened….

GD Image Rotation Low Quality / Poor Performance error on debian

Listen to this Post. Powered by iSpeech.org

If you get a error message like this one:

The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHPPHPPHP. You should recompile PHP –with-gd using the bundled GD library. See: http://www.php.net/manual/en/image.setup.php. An implementation of imagerotate in PHP will used in the interim.

And you run a debian LinuxLinuxLinux server and you have access to it. And you don´t want to recompile (it) . Here is the solution for it:

You could use the dotdeb repository. It has everything you need. Just set this sources:

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

In your:  /etc/apt/sources.list file

RunRun reviewsRun reviews apt-get or aptitude, and your done

LouiseBrooks theme byThemocracy