Tag archive for ‘host’

How to read core.xxx files in linux

How to view core.xx files in Linux? The core.xxx files are created on Linux servers and holds the current state of a process working memory when a process is crashed. To view the core.xx files in Linux, execute the command: root@host [~]# strings core.xxx It will list different state of a process on each line.

VPS login problem: enter into Container VEID failed

You may receive the following message on accessing a VPS from the host server: # vzctl enter 101 enter into VE 101 failed Unable to open pty: No such file or directory The reason behind is the missing tty/pty files OR the udev devices. There are two ways of creating them, using the ‘MAKEDEV’ program [...]

Linux Server Uptime

How to check the Linux Server Uptime? There are different ways to check the uptime of the Linux server like using the “top”  OR the “uptime” OR the “w” command. Following are some of them: root@host [~]# top c top – 15:50:20 up 2 days, 11:32, 1 user, load average: 0.00, 0.00, 0.00 root@host [~]# [...]

To find cppop attack

tail -1000 /var/log/maillog | grep host= | cut -d= -f2| cut -d” ” -f1|sort -n |uniq -c |sort -n Incoming search terms:cpanel cppop logs (1)cppop (1)cppop log (1)run grep on centos cpanel (1)shell file to bring cpanel username and password (1)

Linux / UNIX: Scanning network for open ports with nmap command

You can use nmap tool for this job. It is flexible in specifying targets. User can scan entire network or selected host or single server. Nmap is also useful to test your firewall rules. namp is metwork exploration tool and security / port scanner. According to nmap man page: It is an open source tool [...]

Linux Iptables Block Outgoing Access To Selected or Specific IP Address / Port

You would like to block outgoing access to particular remote host/ip or port for all or selected service/port. In this quick tutorial I will explain how to use iptables to block outgoing access. Block Access To Outgoing IP Address The following rule will block ip address 202.54.1.22 from making any outgoing connection: iptables -A OUTPUT [...]

Shell Script To Backup MySql Database Server

#!/bin/bash # Shell script to backup MySql database # To backup Nysql databases file to /backup dir and later pick up by your # script. You can skip few databases from backup too. # For more info please see (Installation info): # http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html # Last updated: Aug – 2005 # ——————————————————————– # This is a [...]

How to: Troubleshoot UNIX / Linux BIND DNS server problems

BIND is the Berkeley Internet Name Domain, DNS server. It is wildly used on UNIX and Linux like oses. You can use following tools to troubleshoot bind related problems under UNIX or Linux oses. Task: Port 53 open and listing requests By default BIND listen DNS queries on port 53. So make sure port 53 [...]

Installing MySQL Administrator Tool To Connect To Remote Databases

This tutorial provides step-by-step instructions on how to install MySQL Admin tool on an Ubuntu 11.04 system and how to connect to a remote host with it. This should also work on most Debian based operating systems. I do not issue any guarantee that this will work for you!   Installing MySQL Administrator First we find [...]

DirectAdmin with mod_fcgid

All steps below should be done with a new clean install of DirectAdmin. It is possible to make it work on the server that already have users on it. I did that and it works perfectly fine. However, the steps will be a bit different and it won’t work if you just follow instruction below. [...]