Posts Tagged ‘ Linux ’
Testing Reverse DNS Lookup [dlopez@hostname ~]$ *dig mail-relay.prod.domain.com. +nocomments | egrep “NS|A”* ;mail-relay.prod.domain.com. IN A mail-relay.prod.domain.com. 6 IN A IPAddress domain.com. 86138 IN NS pdns1.ultradns.net. domain.com. 86138 IN NS pdns5.ultradns.info. domain.com. 86138 IN NS pdns2.ultradns.net. domain.com. 86138 IN NS pdns4.ultradns.org. domain.com. 86138 IN NS pdns6.ultradns.co.uk. domain.com. 86138 IN NS pdns3.ultradns.org. pdns1.ultradns.net. 1360 IN A 204.74.108.1 [ READ MORE ]
I recently ran across this and found this very helpful post: http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035618.html > Are you using bash ? > > If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands. And there’s nothing about this specific to bash, either; on any shell, producing output from the startup scripts in a non-interactive shell WILL [ READ MORE ]
# mkdir /etc/mysql # /etc/mysql/dev.cnf (Instance name) [mysqld] bind-address = IP Address datadir=/data/mysql-dev socket=/data/mysql-dev/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). general-log-file=/var/log/mysqld_dev.log general-log=on [mysqld_safe] log-error=/data/mysql-dev/error.log socket=/data/mysql-dev/mysql.sock # Make a datadir and /etc/mysql/dev .cnf file for all instances you would like such [ READ MORE ]
So I recently ran into an issue where I was upgrading Cacti and ran into this issue. I was able to snmpwalk with my credentials and get a response but when I entered those same credentials adding a device to Cacti, there was an SNMP error. Turns out Cacti is very sensitive to the version [ READ MORE ]
Installation Downloaded scponly from here: http://sourceforge.net/projects/scponly/files/ Copy it over to the server: scp scponly-YYYYMMDD.tgz username@serverName:~/ On the SFTP server untar the tarball in /usr/local: cd /usr/local cd scponly-YYYYMMDD ./configure –enable-chrooted-binary make sudo make install This will create the necessary files for scponly under /usr/local Add SFTP chrooted user I downloaded the make_chroot_jail.sh script from here: http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/ and modified [ READ MORE ]
Get every new post delivered to your Inbox.