1820254 Members
2818 Online
109622 Solutions
New Discussion юеВ

Fedora Core 4 issues

 
PVR
Valued Contributor

Fedora Core 4 issues

We installed Fedora Core release 4 (Stentz)in a dell box. We are facing the following issues. Can anyone help us in resolving these issues ?

1. we need gcc 3.3.3 instaed of the default (gcc version 4.0.0 )

Where can I get the binary for the same.

2. Telnet is not working....I can see krb5-telnet file under /etc/xinetd.d..But xinetd package is not installed there. Even I am not abel to find inetd package also...How to start this ?

3. vsftpd is not working for NIS users.

An earliest reply is highly appreciated..

Many thanks !!
Don't give up. Try till success...
17 REPLIES 17
Claudio Cilloni
Honored Contributor

Re: Fedora Core 4 issues

I can answer to question 2:

Fedora isn't shipped with inetd, but uses xinetd. verify if it is installed:

# rpm -qa | grep xinetd

if it isn't, find the file xinetd-xxx.xxx.rpm in the installation CDs/DVD and install it with the command

# rpm -ivh xinetd-xxx.xxx.rpm

hth,
Claudio
Muthukumar_5
Honored Contributor

Re: Fedora Core 4 issues

1) You have to get it in rpm format and related tools like, binutils, etc and try install it.

# rpm -ivh

2) Do you have telnetd? check as which telnet and which telnetd in command line. You can use inetd service instead of xinetd also.

3) what r u getting when login with ftp?

hth.
Easy to suggest when don't know about the problem!
PVR
Valued Contributor

Re: Fedora Core 4 issues

Thanks for your response.

I am not able to get the xinetd package int he CD. Can you give me the URL so that I can download and install it...

When I use FTP as NIS user, I am getting the following error;

[root@bng1insignia ~]# ftp 0
Connected to 0.
220 (vsFTPd 2.0.3)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (0:root): pramodvr
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/pramodvr
Login failed.
421 Service not available, remote server has closed connection
ftp> bye

If I gotto root or login using ssh, I am able to login and I am getting my home directory too..

And in /var/log/messages, I am getting the following error;

Don't give up. Try till success...
PVR
Valued Contributor

Re: Fedora Core 4 issues

Thanks for your response.

I am not able to get the xinetd package int he CD. Can you give me the URL so that I can download and install it...

When I use FTP as NIS user, I am getting the following error;

[root@bng1insignia ~]# ftp 0
Connected to 0.
220 (vsFTPd 2.0.3)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (0:root): pramodvr
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/pramodvr
Login failed.
421 Service not available, remote server has closed connection
ftp> bye

If I gotto root or login using ssh, I am able to login and I am getting my home directory too..


Don't give up. Try till success...
Gopi Sekar
Honored Contributor

Re: Fedora Core 4 issues

answer for 1:

FC4 ships the gcc 3.2 packages also in the compat-gcc-32-3.2.3-47.fc4.rpm
this package should be available in CD 1 or 2

answer for 2:
xinetd packages are by default installed if you have chosen to install any network related packages like telnet daemon etc. try starting the xinetd by 'service xinetd start' and see whether it is working. Also if /etc/xinetd.d directory is available then it means you have xinetd installed on your system

answer for 3:

Is the NIS user you are trying to login has a local account? if not that is the problem that vsftpd is trying to change the logon directory to home directory of the person logging in. if it is not able to logon then it is failing.
check the local_root and user_sub_token options in 'man vsftpd.conf' set this in /etc/vsftpd/vsftpd.conf file


Hope this helps,
Gopi
Never Never Never Giveup
PVR
Valued Contributor

Re: Fedora Core 4 issues

Gopi

I checked again and I am sure xinetd package is not there. But I can see /etc/xinetd.d directory. Can u give the URL to download xinetd package ?

Downloaded and installed gcc 3.3.3 and it is working fine.

my login id is user1 and automounted home directory is /home/user1.

So I mentioned in vsftpd.conf the following lines;

local_root=/home
user_sub_token=$USER

But it is not working.....Can you please check this ??

Thanks a ton for your help...:)
Don't give up. Try till success...
Gopi Sekar
Honored Contributor

Re: Fedora Core 4 issues


xinetd package should be available with your fedora CDs. otherwise xinetd package can be downloaded from the following location:
make anonymous ftp connection to 'download.fedora.redhat.com' and the the xinetd package is available under "/pub/fedora/linux/core/4/i386/os/Fedora/RPMS"

Regards,
Gopi
Never Never Never Giveup
Ralph Grothe
Honored Contributor

Re: Fedora Core 4 issues

You must have installed some legacy servers
during the installation process of Fedora 4,
as FC4 installs per default the newer xinetd.

# uname -r
2.6.11-1.1369_FC4smp

# rpm -q xinetd
xinetd-2.3.13-6

# rpm -qc xinetd
/etc/rc.d/init.d/xinetd
/etc/sysconfig/xinetd
/etc/xinetd.conf
/etc/xinetd.d/chargen
/etc/xinetd.d/chargen-udp
/etc/xinetd.d/daytime
/etc/xinetd.d/daytime-udp
/etc/xinetd.d/echo
/etc/xinetd.d/echo-udp
/etc/xinetd.d/time
/etc/xinetd.d/time-udp

You should mount your installation CD/DVD and install the package from there.
If you don't have the installation media you should setup your yum.conf to obtain the rpm files from your closest Fedora mirror.
See man yum.
Madness, thy name is system administration
PVR
Valued Contributor

Re: Fedora Core 4 issues

can anybody help me in resolving the ftp issue ?
Don't give up. Try till success...
Muthukumar_5
Honored Contributor

Re: Fedora Core 4 issues

Did you install xinetd? Is ftpd running on that machine?

what is there in /etc/xinetd/vsftpd?

Put like,

# cat /etc/xinetd.d/vsftpd
# default: off
# description:
# The vsftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
service ftp
{
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
# nice = 10
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vsftpd
}


try it now.

hth.
Easy to suggest when don't know about the problem!
PVR
Valued Contributor

Re: Fedora Core 4 issues

Hi Muthu

Thanks for th ereply.

I have vsftpd file inside /etc/pam.d. I am starting vsftpd in standalone mode.
Cat /etc/vsftpd/vsftpd.conf | grep -v "#"

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES

pam_service_name=vsftpd
userlist_enable=YES
listen=YES


Thanks !!
Don't give up. Try till success...
Muthukumar_5
Honored Contributor

Re: Fedora Core 4 issues

what is there in /etc/pam.d/vsftpd configuration file?

hth.
Easy to suggest when don't know about the problem!
PVR
Valued Contributor

Re: Fedora Core 4 issues

#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd.ftpusers onerr=succeed
auth required pam_stack.so service=system-auth
auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

/etc/pam.d/vsftpd. I can ftp as root. But when I try as a nis user, it is giving the error as I mnetioned int he above thread

Thanks !
Don't give up. Try till success...
Muthukumar_5
Honored Contributor

Re: Fedora Core 4 issues

change /etc/pam.d/vsftpd as,

# Uncomment this to achieve what used to be ftpd -A.
# auth required pam_listfile.so item=user sense=allow file=/etc/ftpchroot onerr=fail

auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
# Uncomment the following line for anonymous ftp.
#auth sufficient pam_ftp.so
auth required pam_unix2.so
auth required pam_shells.so
account required pam_unix2.so
password required pam_unix2.so
session required pam_unix2.so

and try now. service=system-auth may be a problem.

hth.
Easy to suggest when don't know about the problem!
PVR
Valued Contributor

Re: Fedora Core 4 issues

Hi Muthu

Still it is not working....I think I shall install xinetd first and will install vsftpd again....

Thanks
PVR
Don't give up. Try till success...
juk_2
New Member

Re: Fedora Core 4 issues

Hi,

This issue might due to /etc/shell file also. Verify the NIS user shell and add the same shell in /etc/shell and it should install in the server. Please try with the option and let me know the feedback on this.
Fell free to contact ushakiran@gmail.com for any info..
--Thanks.
Steven E. Protter
Exalted Contributor

Re: Fedora Core 4 issues

Shalom,

the vsftpd issue is due to the home directories of the user not being available.

If this is an NIS issue, the home directory is coming from the NIS master and is not accessible to the FC 4 box.

To resolve this, you will need to integrate this system into your environment so that the users home directories exist.

Usually NIS will point to an NFS mount point. Once the users NFS mount point is visible, the users will be able to log in.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com