Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Wed Feb 08, 2012 8:14 am


News News of Red Hat Certified Engineer/Technician RHCE/RHCT

Site map of Red Hat Certified Engineer/Technician RHCE/RHCT » Forum : Red Hat Certified Engineer/Technician RHCE/RHCT

Red Hat Certified Engineer/Technician RHCE/RHCT topics and questions

Message
 Post subject: Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding
PostPosted: Thu Jan 14, 2010 3:59 pm 
Code:
Feb 25 20:38:49 bigboy named[4593]: /etc/named.conf:99: configuring key 'ddns_key': bad base64 encoding
Feb 25 20:38:49 bigboy named[4593]: loading configuration: bad base64 encoding


The above two errors will occur when bind(named) runs for the first time, unless you generate a valid base64 string and add it to named.conf:
Code:
# /usr/sbin/dns-keygen
H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B


Copy the above string and updatenamed.conf, section key ddns_keyas follows:
Code:
key ddns_key
{
        algorithm hmac-md5;
        secret "H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B";
};


Read more : Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding | Views : 1786 | Replies : 0

Top
 Post subject: Disable IPv6 in Red Hat Enterprise Linux 5
PostPosted: Sat Jan 09, 2010 7:02 pm 
By default, RHEL kernel comes with IPv6 enabled. Since many of us don't need it, it's pointless to recompile the kernel just to disable IPv6.

To disable IPv6 on RHEL 5 add the following lines in /etc/modprobe.conf:
Code:
alias net-pf-10 off
alias ipv6 off


This will require a reboot.

Read more : Disable IPv6 in Red Hat Enterprise Linux 5 | Views : 2680 | Replies : 2

Top
 Post subject: Smbpasswd - Failed to find entry for user / Failed to modify password entry for user
PostPosted: Sat Jan 09, 2010 1:05 pm 
Even if you add the user via useradd command, samba will still not see it returning the following messages:

Code:
# smbpasswd httpd
New SMB password:
Retype new SMB password:
Failed to find entry for user httpd.
Failed to modify password entry for user httpd

Solution:

Code:
# smbpasswd -a httpd
New SMB password:
Retype new SMB password:
Added user httpd.

The reason for this is that samba uses different user/passwd files then the system.

Read more : Smbpasswd - Failed to find entry for user / Failed to modify password entry for user | Views : 3037 | Replies : 0

Top
 Post subject: Linux GRUB and grub.conf troubleshooting - part2
PostPosted: Mon Jan 04, 2010 6:04 pm 
Coming in contact for the first time with a server that fails to boot (from grub configuration errors) can be difficult, if you don't have a copy of the grub.conf at hand.

List available disks at grub prompt
Code:
grub> find (hd        -->TAB key
  Possible disks are:   hd0 hd1


List available disk partition at grub prompt

grub> find (hd0, -->TAB key
Partition num: 0, Filesystem type is ext2fs, partition type is 0x83
... ...

Read more : Linux GRUB and grub.conf troubleshooting - part2 | Views : 1185 | Replies : 1

Top
 Post subject: Linux GRUB and grub.conf troubleshooting - part1
PostPosted: Mon Jan 04, 2010 5:37 pm 
Troubleshooting GRUB requires knowing how grub works. Looking at a sample grub.conf file, we can see the commands that grub will accept at command line prompt.
node1# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# ...

Read more : Linux GRUB and grub.conf troubleshooting - part1 | Views : 1516 | Replies : 0

Top
 Post subject: Vsftpd and SELinux - Making them work together for system users
PostPosted: Sun Jan 03, 2010 9:53 pm 
Vsftpd will work by default if SELinux is turned of or set to permissive mode.

For security paranoias (like me), SELinux in Enforced mode will not, by default, allow users to FTP to their home directories. This is because their security context will be:
Code:
# ls -Zda ~user
drwxr-x---  user user system_u:object_r:default_t      /home2/user

system_u - system user
object_r - system object
default_t - default label

The above selinux security context will not allow vsftpd ...

Read more : Vsftpd and SELinux - Making them work together for system users | Views : 1714 | Replies : 0

Top

Last 10 active topics


Apache, Nginx, Lighttpd and other web server software

No new posts Nginx + php-fpm setting php upload_max_filesize and other php values per vhost
View the latest post

Mysql

No new posts Mysql> how to store select Zulu / UTC timestamp in database
View the latest post

TCP/IP Networking

No new posts Quagga ospf neighbour stuck in ExStart/DROther state
View the latest post

FTP, Scp, Sftp, Rsync

No new posts How to disable anonymous access in samba 3
View the latest post

Package and Software Management

No new posts "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
View the latest post

Server and Network Security

No new posts CentOS Install Nemesis packet crafting tool + Libnet
View the latest post

Tutorials for general Unix

No new posts Using curl to get the HTTP response from an HTTP server
View the latest post
No new posts Linux - Unable to login (and authentication succeeds) - File size limit exceeded
View the latest post
No new posts Linux/FreeBSD how to check ntp time synchronization
View the latest post

Memory, Storage, Backup and Filesystems

No new posts Mdadm - Linux software RAID
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 188 | Total topics 681 | Total members 828



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO