Table 2. Plugin Return Codes
Numeric Value
Service Status
Status Description
0
OK
The plugin was able to check the service and it appeared to be functioning properly
1
Warning
The plugin was able to check the service, but it appeared to be above some “warning” threshold or did not appear to be working properly
2
Critical
The plugin detected [...]
Popularity: 1% [?]
stop nagios2
/etc/nagios2# dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios2/rw
/etc/nagios2# dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios2
start nagios2
Good stuff!
Leonardo
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about Error: Could not stat() command file ‘/var/lib/nagios2/rw/nagios.cmd’!
root@srv:~# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14 to server version: 5.0.24a-Debian_9ubuntu2.4-log
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> GRANT ALL ON *.* TO root@’%’ IDENTIFIED BY ‘password_you_want’;
Query OK, 0 rows affected (0.00 sec)
mysql>
Popularity: 1% [?]
Popularity: 1% [?]
Today I had an interesting issue on Ubuntu 8.10.
We have 2 NICS on the server one has the following ip 172.16.20.10/16 and another one has 172.16.60.10/16. I know they are on the same network though but we had to do it in order to accomplish some routing issues.
So here is the problem:
When I try to [...]
Popularity: 1% [?]
Continue reading about Ping does not respond after 8 or 9 successful replies.
apt-get install build-essential
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about install ubuntu/debian development tools
Source: http://ubuntuforums.org/showthread.php?t=791804
setup
1. sudo apt-get install apache2
2. sudo apt-get install openssl
3. sudo apt-get install ssl-cert
create ssl certificate:
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/localhost.pem
switch to apache sites configuration:
cd /etc/apache2/sites-available/
bakup the default configuration:
sudo cp default default.backup.date
be sure to listen the port 80 for the default:
sudo sed -i ‘1,2s/\*/*:80/’ default
create the ssl configuration:
sudo cp default ssl
set the ssl port:
sudo sed -i ‘1,2s/\*:80/*:443/’ [...]
Popularity: 1% [?]
Continue reading about Configure Apache SSL Certificate in Ubuntu 8.04
AIX 5.3
1. Create a rc.local file in /etc/
2. Apply proper permissions
a. chown root:sys /etc/rc.local
b. chmod 744 /etc/rc.local
3. Add an entry in /etc/inittab so whenever the server is rebooted the script will be started.
a. mkitab -i rcnfs “rclocal:2:wait:/etc/rc.local > /dev/console 2>&1″
4. add your services to rc.local
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about How to start daemons at the system startup in AIX servers
Just add the following entries in your /home/username/.profile
alias __A=`echo “\020″`
alias __B=`echo “\016″`
alias __C=`echo “\006″`
alias __D=`echo “\002″`
alias __H=`echo “\001″`
set -o emacs
Popularity: 1% [?]
Popularity: 1% [?]
You have to change you limits
1. Open /etc/security/limits and assign to your username thw following:
oracle:
fsize = -1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = -1
http://www.leonardoborda.com
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about Cannot copy more than 1 Gb file in AIX