LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ProFTPD (https://www.linuxquestions.org/questions/linux-software-2/proftpd-141915/)

coderego 02-03-2004 03:38 PM

ProFTPD
 
When attempting to run proftpd, shell returns the following:

unable to determine IP address of 'dhcppc4'

What does this mean and how do i fix it?

di11rod 02-03-2004 06:18 PM

When posting a question like this, it's useful if you provide info on how you installed proFTP (RPM v. compiled yourself) and what your distro is, etc.

What syntax are you using to start proFTP?

Are your other server services working like www or mail? The /etc/proftpd.conf file doesn't have any settings regarding hostname or IP address. I suspect this problem is related to your eth0 address & how your computer is configured to communicate on your network. Unfortunately, you didn't provide any information about the rest of your environment, so I can't really suggest anything.

good luck,

di11rod

coderego 02-03-2004 06:30 PM

it is RedHat 9, on a LAN. The lan IP is 192.168.0.5

I used apt-get to install proftp, im tryign to run proftp by just typing proftpd in the shell.

Im also trying to run httpd (apache) but am having trouble with that too, but i think i can fix that myself once i have a working FTP

di11rod 02-04-2004 12:49 PM

Ahhh... Problems with httpd. What is the problem sounding like? Could be the same obstacle preventing proftpd from starting....

Can you telnet or ssh into this box? Are those services binding to their ports correctly?

At this point my instinct tells me network interface problem.

di11rod

coderego 02-04-2004 06:13 PM

Honestly i dont know, I am a newb when it comes to linux, however not general computer opperation so yes i have Shell access. If you have AIM or some other real-time chat program i would not be averse to giving you the Shell access or even a generous pelf if you walk me through it, i am a programer so im a quick learner ^_^

di11rod 02-04-2004 11:54 PM

Telnet into your own box. If you don't have telnet running, try SSH. I'm trying to recommend tests that will verify that daemons are able to bind to ports. If you've got ssh installed, check that it's running with this:

ps -ef |grep sshd

Is it listed in the process table?

di11rod

coderego 02-05-2004 12:01 AM

[root@dhcppc4 root]# ps -ef |grep sshd
root 1679 1 0 Feb03 ? 00:00:00 /usr/sbin/sshd
root 2725 1679 0 01:16 ? 00:00:00 /usr/sbin/sshd
root 2768 2727 0 01:16 pts/0 00:00:00 grep sshd

di11rod 02-05-2004 02:29 AM

Damn. I don't know what the problem is. Perhaps someone on the debian distro forum could have some insight about what is needed to get proftp running on there.

good luck,

di11rod

coderego 02-05-2004 06:01 AM

I personally believe it has to do with my host binds...i dunno though =(

Vid 02-05-2004 04:14 PM

ohh man, i just finally got Proftpd running on mandrake, it was about 6 days of frustration..

i installed proftpd as a RPM. you already know where the config file is. to start proftpd you cant go wrong by opening up a terminal and do a 'cd /etc/rc.d/init.d/' then to start use ./proftpd start and ./proftpd stop to quit.. its also not a bad idea to change mode your directories for the ftp root. cdmod 775 'ftpdirectory' should do. if you need a good config file to start off with theres tons on the internet. theres also some starters in i beleive /usr/docs or somewhere around there.

as for the apache, i havent messed with that so if your having trouble with the two softwares working together im of no help.

i know how frusturating this can be, lol, feel free to AIM me at VidFromDiaspora

good luck m8


All times are GMT -5. The time now is 09:02 PM.