actually i replied to the wrong thread. D'OH! But it seems that SELinux was behind each problem..
setenforce 0 on that machine allowed it to work. Tho I readily admit that I wish I was more familiar with SELinux. :)
[root@VIRTCENT09:/usr/lib] #java -version java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)
----- Original Message ----- From: "Tim Dunphy" bluethundr@jokefire.com To: "CentOS mailing list" centos@centos.org Sent: Saturday, August 13, 2011 11:52:12 AM Subject: Re: [CentOS] java permission denied
Hi Barry,
Apparently the problem was SELinux! I did a 'setenforce 0' and was able to login to ftp!
[root@LCENT05:~] #getenforce Permissive [root@LCENT05:~] #/usr/bin/ftp localhost Connected to localhost (127.0.0.1). 220 FTP Server ready. Name (localhost:root): bluethundr 331 Password required for bluethundr Password: 230 User bluethundr logged in Remote system type is UNIX. Using binary mode to transfer files.
Thanks!!
tim
----- Original Message ----- From: "Barry Brimer" lists@brimer.org To: "CentOS mailing list" centos@centos.org Sent: Saturday, August 13, 2011 11:04:13 AM Subject: Re: [CentOS] java permission denied
I just tried installing jdk 1.0.7 on my centos 5.6 box and I am getting a permission denied error when I try to display the java version.
What are your SELinux settings? Are there any messages in /var/log/audit/audit.log
Barry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos