How to install and configure Bacula

Posted December 25, 2009 by Haridas N

Bacula : -   It comes by night and sucks the vital essence from your computers.. Introduction: Bacula is an on-linebased back up tool. Which is used to backup files from different servers into back up server where the bacula is running. For setup this backup tool across network first you have to install bacula server package on backup server machine where you are storing your backup contents ,and install bacula client daemon on all other servers from where we are going to backup data. Bacula has five…

Read more...

How to install nagios

Posted December 7, 2009 by admin

Below we give a brief description of how to install and configure Nagios. To install Nagios make sure the following are installed and working properly in your machine * httpd * php * gcc * glibc * glibc-common * gd * gd-devel * png * png-devel * jpeg * jpeg-devel * zlib * zlib-devel Install Steps 1) Create a new user and group as root Create a new user nagios. useradd -m nagios passwd nagios Create a new nagcmd group for allowing external commands to be submitted through…

Read more...

Qmail flush stuck queue

Posted December 5, 2009 by Shijil T S

Qmail is a wonderful MTA in all sense but its quite easy to have the troubles like your queue getting filled up and you don't know how to flush the queue. I'll give you some insights how to do that If you have already downloaded qmHandle you can remove the mails by issuing the command qmHandle -S'failure notice' Here we have deleted all the mails with the subject "failure notice" change it as per your needs, but I don't think qmHandle can work on a busy system and…

Read more...

Command-line tips: Understanding Dig

Posted September 24, 2009 by Shijil T S

dig is a command-line tool for querying DNS name servers for information about host addresses, mail exchanges, name servers, and related information. Understanding the default output The most typical, simplest query is for a single host. By default, however, dig is pretty verbose. You probably don't need all the information in the default output, but it is probably worth knowing what it is. Below is an annotated query. This article explains you how to do the data recovery from a crashed windows-plesk server. [bash] $ dig www.sparksupport.com That…

Read more...

Qmail vpopmail transfer

Posted July 31, 2009 by Shijil T S

Another challenging task for server admin is to transfer the existing qmail with vpopmail to another server. Copying qmail and vpopmail directory won't work Here are the steps you need to keep in mind and follow if you are going to install qmail and vpopmail in the same path qmail -> /var/qmail vpopmail -> /home/vpopmail 1) Install qmail and vpopmail as per the instruction in new server using qmailrocks docs By default the installation of vpopmail will be in /home/vpopmail. 2) Copy the contents of /var/qmail/control and /var/qmail/users…

Read more...

Qmailrocks qmail install

Posted by admin

Qmail is one of the favorite MTA's of server admins and needless to mention most of us use qmailrocks documentation qmailrocks.org for installing it. Even after following the complete steps you still will have problem with the mail service, like when you try to test the connectivity to mailserver using telnet you will get the error like Connection closed by foreign host immediately. Next thing you need to do is to tail the log file of smtpd tail /var/log/qmail/qmail-smtpd/current You will see the output something like /var/qmail/bin/qmail-smtpd: error…

Read more...

System Admin Tools Part -1: Basic linux commands and tools used by an ...

Posted May 18, 2009 by Prince Joseph

FREE First of all lets learn how to find out what is chocking or gobbling up the server resource. You can get the memory usage by issuing the command "free -m" [bash] root@spark [~]# free -m total used free shared buffers cached Mem: 4051 3052 999 0 249 1294 -/+ buffers/cache: 1508 2543 Swap: 4000 1 3999 [/bash] The top row 'used' (3052) value will almost always nearly match the top row mem value (4051). Since Linux likes to use any spare memory to cache disk blocks (1294).…

Read more...

phpmotion install script

Posted April 29, 2009 by admin

Sparksupport offers you the script to install phpmotion in your root folder or subfolder. Copy paste this script to a file name of your like and execute with the command sh filename. You should answer the questions asked during the execution of the script. Requirements: Cpanel Server Root access #!/bin/bash #Copyright @2009 SparkSupport ################ home="/home" phpconf="/usr/local/apache/conf/php.conf" ################# scriptfile=`basename $0` dbsuffix=`mkpasswd -l 3 -s 0 -d 0 -c 0 -C 0` randompass=`mkpasswd -l 6 -s 0 -d 2` if ! [ $? ] then echo "Newer version required: mkpasswd"…

Read more...

uu_upload.pl download prompt

Posted by Shijil T S

I happen to see this uu_upload.pl download prompt error when installing phpmotion on a subfolder. This is because Apache doesn't understand this perl file in cgi-bin. Here is a fix which worked for me Create a .htaccess file in cgi-bin of the subfolder and add the entry Options +ExecCGI AddHandler cgi-script .pl This error can also happen if you haven't given the correct path for cgi-bin in uploader_conlib.php file $path_to_upload_script = '/myvideos/cgi-bin/uu_upload.pl'; $path_to_ini_status_script = '/myvideos/cgi-bin/uu_ini_status.pl'; myvideos replace it with subfolder name.

Read more...

video not converting

Posted by Shijil T S

Hi Its common that video files are not getting converted into flv format for streaming. This can be caused due to deprecated option that is still used for mencoder in the scripts of phpmotion and clipshare. All you have to do is to replace the existing options with the latest one in the convertor.php file of these scripts. I will give you a easy approach to accomplish this. copy paste the sample code to a file named fixscript.sh in your home directory below public_html find . ( -name…

Read more...

← Newer posts Older posts →