httpd and vsftpd conflict


I'm not very familiar with tcp or config files in Linux.  I'm am trying to set up a FTP site using vsftp running on Redhat Linux Enterpise ES3.  I can get vsftpd to run fine when httpd is not running and httpd runs fine when vsftpd is not running.  

If httpd is running and I start vsftpd I get this message:

[root@argosy root]# service vsftpd start
Starting vsftpd for vsftpd:                                [  OK  ]
[root@argosy root]# service vsftpd status
vsftpd dead but subsys locked
[root@argosy root]#

If vsftpd is running and I start httpd I get this message:

Starting httpd: (98)Address already in use: make_sock: could not bind to address 'myhost':21
no listening sockets available, shutting down
Unable to open logs!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Usually, httpd should not do anything with port 21. Sometimes port 81 is used as a secondary http port, so this might be a mistake in apache configs.

Start with /etc/httpd/conf/httpd.conf and all files in /etc/httpd/conf.d and find out why port 21 was used. Most likely you'll find a declaration of a virtualhost that is incorrect.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mwclassenAuthor Commented:
What I found was that /etc/httpd/conf.d/ssl.conf was listening on the same address.  I commented the line out and now they both get along.  Will that cause problems elsewhere?

Thanks, m1tk4
Whatever was there in ssl.conf with :21 is not something that is shipped by default, so you better ask the person who did this change in ssl.conf.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.