Chandan Web Blog.

Entries for the ‘Linux’ Category

Allowed memory size of … bytes exhausted

Recently, I had to do a t3d export/import, where the data size was nearly 2GB, and no matter what memory_limit we tried, it always failed. Finally we tried memory_limit = -1, which basically removes the memory limit, and lets us use the max available memory of the Operating System.

SVN Errorcode 13 due to SeLinux, Could not open the requested SVN filesystem

When we recently installed SVN on CentOS, we came across the following error message: <m:human-readable errcode=”13″>Could not open the requested SVN filesystem</m:human-readable> This seems to be due to incorrect setting of the SeLinux content. This can be changed by the following command: chcon -R -h -t httpd_sys_content_t /PATH_TO_REPOSITORY/ ex: chcon -R -h -t httpd_sys_content_t /home/svnRepo [...]

Exploit Search Engine Attack – bitrid

Recently one of my friend had his server attacked by a hacker, and they were able to modify the .htaccess file. They had added several redirect conditions and ErrorDocument conditions. He was really worried that AVG Antivirus was reporting the virus “Exploit Search Engine Attack – ~bitrid/” and was blocking access. I really loved AVG [...]

Some of the most important things to know about Linux

  These settings are applicable to Redhat/ Fedora / CentOS and I am not aware if this holds good even on other Distros. Important File / Folder Locations Location of HTTPD (Apache) Configuration File: /etc/httpd/conf/httpd.conf Location of PHP Configuration File (php.ini): /etc/php.ini Service Related Information Enabling / Disabling Services The chkconfig command can be used [...]

Running several name-based web sites on single IP address on Fedora 8

I have given below a few main points which may be useful in setting up a virtual host on Fedora 8. I would give these examples considering you wish to have www.url-1.com and www.url-2.com. Step 1: Add your new domain to hosts file. This is very essential else you will get address not found error! [...]

  
Subscribe to this page grab our RSS feed
search_left
Theme & Wordpress Integration - by Chandan