Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2007, 04:05 PM   #1
LQ Newbie
Registered: Jul 2007
Posts: 15

Rep: Reputation: 0
ftp with fc7

I would like to transfert files in betwen differents pcs on my home network.
cf45 laptop with mandrake 9
p3_600 with free mandriva 2006
amd_2000 with fc7
p3_933 with free mandriva 2007
toshiba laptop a70 with windows xp
I can use ftp command line or web browser from my pc to all the others except for my fc7.
here the step i tried:

[root@amd2k gaetan]# rpm -qa | grep ftp

next i looked in taskbar/system/administration/services
i can't find proftp or ftpd listed.

[root@amd2k gaetan]# find / -name proftp*
[root@amd2k gaetan]#

[root@amd2k gaetan]# ls /lib/libcrypto*
/lib/ /lib/
/lib/ /lib/
[root@amd2k gaetan]# ls /lib/libssl*
/lib/ /lib/
/lib/ /lib/
[root@amd2k gaetan]#
note: i originaly installed proftp version1.2.10 but upon reboot the system mentionned the update wich i installed.
Used webmin remotly from mandriva station and compare the service proftpd on both station and beside difference du to distro it seems ok
i also verified the status of proftpd
[root@amd2k sbin]# ./service proftpd status
proftpd is stopped
[root@amd2k sbin]# ./service proftpd start
Starting proftpd: [FAILED]
[root@amd2k sbin]#
Stil trying to figure it out by myself while waiting for assistance.Here is the content of /var/log/messages

Oct 28 10:26:56 amd2k kernel: audit(1193581616.577:8): avc: denied { read } for pid=16555 comm="proftpd" name=
"proftpd.conf" dev=dm-0 ino=9363997 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_ubject_r:rpm_script_tmp_
t:s0 tclass=file

could someone tell me whatelse i should look at to get this distro working with ftp transfert
I found the following on the web:
You are likely getting SELinux AVC denied messages in your /var/log/messages. The setenforce command switches SELinux between enforcing (preventing denied operations from occuring) and permissive (allowing denied operations, but still logging them.

First, make sure you have all current maintenance applied. If you are still having the problem, then issue this command to convert the AVC denied messages to SELinux allow policy statements:

audit2allow -i /var/log/messages -l

To add local policy statements, install the targeted policy source:

yum -y install selinux-policy-targeted-sources

Then add the statements to the file (create the file if needed):

vi /etc/selinux/targeted/src/policy/domains/misc/local.te

Then reload the policy with you local statements:

cd /etc/selinux/targeted/src/policy/
make reload

You can repeat this process any time that you encounter an AVC denied message in /var/log/messages, for an operation that you want to permit. Most issues have been addressed in the current maintenance, so unless you are installing non-Fedora distributed software, the need for this will be rare.

now i can ftp to the machine as anonymous till i learn to modify the setting
ehawk i will keep your suggestion in mind but for now being a newbie i have so much to learn i will play with vsftp


Last edited by emeut; 10-28-2007 at 05:05 PM. Reason: remove proftp and use vsftp thread should be considered close
Old 10-28-2007, 02:44 PM   #2
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
perhaps secure copy (scp) would work better.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC7 codecs Tibe Fedora 4 12-09-2008 01:46 PM
Can you get FC7 on CD Gortex Fedora 5 09-23-2007 02:09 PM
Help Installing FC7 tebucky Fedora 9 07-07-2007 08:51 AM
What Doesn't Work in FC7 harley51 Fedora 18 06-10-2007 08:03 AM
Fc7 noxious Fedora 8 01-20-2007 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration