Thursday, December 29, 2011

error: PAM: authentication error for root from xxx.xxx.xxx.xxx

Hi,

I recently installed freebsd 8.2 on my lap, its very good experience using this OS. I had simple issue after installation. While doing ssh to FreeBSD installed on vmware I came up with above error.

Which clearly states that issue is with authentication , which we need to configure in ssh service.

We need to add below three options in /etc/ssh/sshd_config

PermitRootLogin yes 
PasswordAuthentication yes 
AllowUsers root


Thats it, we are done , now we can ssh to FreeBSD installed in vmware, one common mistake I did ,was adding these above lines in /etc/ssh/ssh_config.

So there are 2 files in /etc/ssh/ directory i.e /etc/ssh/ssh_config & /etc/ssh/sshd_config


We are suppose to configure above 3 options in sshd_config  then only it will work like charm!

Regards,
Girish

Monday, December 19, 2011

Determining IP Information for eth0... failed; no link present. Check cable?

Hi,


While working on RHEL5 installed on VMWARE I got this error restarting network service.

Little bit around 1 min I noticed that Ethernet option for VMWARE is off !!! that's the reason RHEL5 thrown this error.
 










Regards,
Girish

Sunday, December 18, 2011

httpd-2.2.3-31.el5.i386: Cannot find a valid baseurl for repo: Server

Hi All,


Actually its very basic mistake, in such type of errors if you have http repository setup, check once if http url is accessible from client or not.


If not accessible the probably problem with http service, but if accessible then ? ? ? ?

Then problem was very simple, it was wrong baseurl in /etc/yum.repos.d/yumconf.repo file

Here is sample of wrong configuration :

[root@station2 ~]# cat /etc/yum.repos.d/yumrepos.repo
[Server]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
basurl=http://192.168.152.130/Server
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

Error was quite simple, instead of "baseurl" it is "basurl"

Correct it and your problem will be solved quickly!!!

Regards,
Girish