Tag archive for ‘service’

What is .htaccess and how to disable .htaccess?

What is .htaccess and how to disable .htaccess? .htaccess is use to modify the way Apache behaves for a directory and it’s sub-directories. It gives you an extra control on your server, like setting up custom error messages, password protect a directory, writing rewrite rules, blocking IPs etc. However, it can be a potentially dangerous [...]

PureFtp + Not able to list more than 2000 files

Problem: Not able to list more than 2000 files in a directory using Ftp. Solution: The pure-ftp by default limit maximum number of # files to be displayed to 2000. So edit your pureftpd configuration file which is at /etc/pure-ftpd.conf and change the line LimitRecursion 2000 8 to LimitRecursion 5000 8 Save the file and [...]

Five minutes to a secure Linux system

You must be thinking that I’m kidding. Nope I’m not. Let me explain. After installing Linux the first thing you should do is turn off all services and deny all incoming traffic till you configured the box securely. But why…? A default installation could run many nonessential services. These services can turn into security risks. [...]

Linux Iptables: HowTo Block or Open HTTP/Web Service Port 80 & 443

By default Apache webserver listen on port 80 (http) and port 443 (https i.e. secure http). Apache webserver uses the TCP protocol to transfer information/data between server and browser. The default Iptables configuration does not allow inbound access to the HTTP (80) and HTTPS (443) ports used by the web server. This post explains how [...]

FreeBSD: HowTo Start / Stop / Restart Network and Routing Service

FreeBSD is a Unix-like free operating system. You can install to choose third party software on FreeBSD from the Ports Collection. Many services such as POP3 server daemons, IMAP, etc. could be started using the inetd. However, networking can be stop or started using special script located in /etc/rc.d/ directory. This directory includes script to [...]

List of LINUX troubleshooting commands/tools part # 1

Generic troubleshooting tips 1) Use tail –f to watch log file in real time, advantage is simple you can spot error or warning message in real time. tail –f /path/to/log/file Example(s): # tail –f /var/log/maillog 2) Use telnet command to see if you get response or not. Sometime you will also see some informative message: [...]

How to install a mod_rewrite on Ubuntu

The default LAMP installation on Ubuntu 10 server doesn’t include mod_rewrite module. This module is required by WordPress MU. I tried to install a WordPress MU on my Ubuntu server with LAMP. To install mod_rewrite, run command as below: sudo a2enmod rewrite There is still another issue for WordPress MU installation. It is need a [...]

“rdate: couldn’t connect to host 172.25.32.1: Connection refused”

This problem is solve, issue was not with NTP but with xinetd service. when i run these commands on 172.25.32.1 problem is solved. chkconfig time-dgram on chkconfig time-stream on service xinetd restart Incoming search terms:rdate connection refused (21)rdate: couldnt connect to host connection refused (8)rdate: connect: connection refused (7)rdate: couldn\t connect to host (6)rdate: couldnt [...]

Plesk 9.3 Latest update of openssl breaks Parallels Panel :: Starting Plesk… failed

Latest update of the openssl package from CentOS breaks Parallels Panel 9.x. The following errors are displayed in the /var/log/sw-cp-server/error_log file when Panel is trying to start: # tail /var/log/sw-cp-server/error_log 2010-04-07 01:56:38: (log.c.75) server started 2010-04-07 01:56:38: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0) 2010-04-07 01:57:59: (log.c.75) server started 2010-04-07 01:57:59: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0) 2010-04-07 01:57:59: (log.c.75) server started [...]

How to Set up a Subversion Server under Windows

A) Download Subversion You’ll need the latest version of.. the Windows binaries the “run Subversion as a windows service” wrapper the TortoiseSVN shell integration utility B) Install Subversion Unzip the Windows binaries to a folder of your choice. I chose c:\program files\subversion\ as my path. Now, add the subversion binaries to the path environment variable for [...]