Skip to main content


Showing posts from May, 2012

iptables command man page


NAME        iptables - administration tool for IPv4 packet filtering and NAT
SYNOPSIS        iptables [-t table] -[AD] chain rule-specification [options]        iptables [-t table] -I chain [rulenum] rule-specification [options]        iptables [-t table] -R chain rulenum rule-specification [options]        iptables [-t table] -D chain rulenum [options]        iptables [-t table] -[LFZ] [chain] [options]        iptables [-t table] -N chain        iptables [-t table] -X [chain]        iptables [-t table] -P chain target [options]        iptables [-t table] -E old-chain-name new-chain-name

Sending jboss log4j logs to remote syslog server

Since the following modifications are made on the conf/jboss-log4j.xml file, jboss apllication middleware logs can be sent to a remote syslog server:

Coment out SYSLOG section and change necessary values according to yours, on the syslog server there are some log facilities as LOCAL0..7 for customizing logs. Choose one of them:   <appender name="SYSLOG" class="">

adduser command man page

USERADD(8)  System Management Commands    USERADD(8)

NAME        useradd - create a new user or update default new user information

Java execute remote ssh command jcraft jsch example

JSch is a famous Java implementation of SSHv2. Below is an example of a running simple ifconfig command on a linux host from a webapp:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="java.util.*" %> <%@ page import="*" %> <%@ page import="com.jcraft.jsch.*" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> <html> <head> <title>Remote Ssh</title> </head> <body> <% String sshHost = "sshhost"; int sshPort = 22;

An IBM SVC Experience

The company i worked for is running IBM System Storage SAN Volume Controller (SVC) to hold some of the media content. SATA disks are attached to the server via fiber channel protocol.

Oracle Open Cursors Limit

I am searching for a solution about oracle's "Open cursors limit exceeded" alert for sometime. And here is the answer i found:
"The best advice for tuning OPEN_CURSORS is not to tune it. When it comes to the limit, raise it."
Ooh Great :)

Synchronization problem with sccm 2012 with remote wsus 3.0 SP2

When SCCM 2012 is integrated with remote WSUS 3.0 SP2 server, synchronization problems occured. In the wsyncmgr log file there are some logs about the problem. Log files are under Program Files\Microsoft Configuration Manager\Logs folder.
Performing sync on retry schedule  $$<SMS_WSUS_SYNC_MANAGER><05-10-2012 14:10:05.829-180><thread=3452 (0xD7C)>