вторник, 26 ноября 2013 г.

вторник, 12 ноября 2013 г.

zabbix 2.0 update to 2.2

If you got error:
Database error: The frontend does not match Zabbix database.

check /etc/zabbix/zabbix_server.conf for DB password

### Option: DBPassword
DBPassword=your_password

вторник, 5 ноября 2013 г.

BigBlueButton 0.8 install error red5 fail

#bbb-conf --check 

** Potential problems described below **
# Not Running:  red5 OpenOffice or LibreOffice OpenOffice
# Unavailable Red5 logs (/usr/share/red5/log):  bigbluebutton.log red5.log sip.log video.log deskshare.log
#    /usr/share/red5/log/sip.log not found
#    /usr/share/red5/log/video.log not found
#    /usr/share/red5/log/bigbluebutton.log not found
#    /usr/share/red5/log/deskshare.log not found
# Error: /usr/share/red5/log/sip.log

#      No /usr/share/red5/log/bigbluebutton.log
# Error: Unable to connect to port 1935 (RTMP) on x.x.x.x

# Error: Unable to connect to port 9123 (desktop sharing) on x.x.x.x

Solution:
replace red5 init script in /etc/init.d
http://code.google.com/p/bigbluebutton/downloads/detail?name=red5-ubuntu


also check port 5080
see /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
and
freeswitch listen port

This problem  is the i386 architecture.
Install adm64 iso.

четверг, 31 октября 2013 г.

Oracle Grid Standalone update 11.2.0.3 to 11.2.0.4


Backup ASM spfile
$srvctl config asm
ASM home: /u01/app/oracle/product/11.2.0/grid
ASM listener: LISTENER
Spfile: +DATA/asm/asmparameterfile/registry.253.811613369
ASM diskgroup discovery string: /dev/oracleasm/disks/*

$asmcmd
spbackup +DATA/ASM/ASMPARAMETERFILE/REGISTRY.253.811613369 /home/oracle/init+ASM.ora.backup

Backup OLR:
The default backup location for the OLR is in the path Grid_home/cdata/host_name

#ocrconfig –local –manualbackup

To restore OLR:
# crsctl stop crs
# ocrconfig -local -restore file_name
# ocrcheck -local
# crsctl start crs
$ cluvfy comp olr

Begin update
Shutdown the database, oem.
. oraenv prompt dbsid
$emctl stop dbconsole
$srvctl stop database -d dbsid

$unset ORA_CRS_HOME
$unset ORACLE_BASE
$unset ORACLE_HOME
$unset ORACLE_SID
Recommended practice is to upgrade an Oracle ASM instance with Oracle Universal Installer or asmca (after install new GI home) ./runInstaller

Confirm that asm, listener, database, oem are running.
. oraenv
+ASM
$crsctl stat res -t

. oraenv
dbsid
$srvctl start database -d dbsid
$emctl start dbconsole


воскресенье, 27 октября 2013 г.

Oracle update 11.2.0.3 to 11.2.0.4

I have Grid Standalone installation 11.2.0.3 and Oracle Database 11.2.0.3
I plan update to 11.2.0.4
Patching end date for 11.2.0.3 is 27-Aug-2015.

1. Need PSU (Doc ID 1392633.1) and Latest Opatch to apply.
Oracle Grid Infrastructure Patch Set Update 11.2.0.3.8 (Includes Database PSU 11.2.0.3.8) - 17272731
2. Download Patch Set 11.2.0.4 13390677

Pre-Upgrade Utility Note 884522.1

Use DBUA for out-of-place installation


to be continued ...

понедельник, 21 октября 2013 г.

iptables perfect ruleset


Loopback 
-A INPUT -i lo -j ACCEPT

Obsolete extensions:
• -m state: replaced by -m conntrack
• -j NOTRACK: replaced by -j CT --notrack (from 2.6.35)

TCP flag checks
-A INPUT (-p tcp) -m conntrack --ctstate INVALID -j badflags

State tracking
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT

http://inai.de/documents/Perfect_Ruleset.pdf