Linux Maintenance

Mysql: Can’t read dir of (errno: 13)

Posted by on October 30, 2011 at 3:48 am

Error: ERROR 1018 (HY000): Can’t read dir of ‘./dbname/’ (errno: 13) check the folder permissions on the db folder under /var/lib/mysql/ Try running chown mysql:mysql dbname/ -R or chown -R 700 dbname

ImageMagick: sh: /convert: No such file or directory

Posted by on September 4, 2011 at 10:41 pm

you should first verify imagemagick has been installed properly. Via the command line you can run “which convert” This should return the location of the binary for convert. then run /usr/bin/convert -version . Please understand this was our return path for convert. Use the path returned from the which. If imagemagick is installed properly , [...]

Perl Module: DBD::mysql installation

Posted by on August 23, 2011 at 4:02 am

First things to ensure is that if you installed the 64bit version of Perl. Make sure you install the 64bit version of Mysql and mysql-devel. You will also need the GCC compiler installed on the server for linux. To check the current Perl modules installed run instmodsh To install the module run perl -MCPAN -e [...]

Linux: memory alloc (24 bytes) returned NULL

Posted by on June 3, 2011 at 9:21 am

The error :memory alloc (24 bytes) returned NULL System: virtual, 512ram, centos 5.5 x64 Issue: The server does not have enough memory to run the current process. This happen to use when attempting to update using YUM. Our solution was to reload the OS with ubuntu to take advantage of apt-get since Yum required at [...]

YUM install/update error

Posted by on January 5, 2011 at 4:14 am

“Another application is running which is accessing software information” but you are not updating your packages, the problem is yum-updatesd. yum-updatesd is supposed to check regularly if you have any updates. Unfortunately it locks all package programs like yum and pup Stop the yum-updatesd service and then run your yum command. Dont forget to restart [...]