| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| gaujun |
Posted: Mar 3 2004, 10:34 PM
|
|
Newbie ![]() Group: Members Posts: 4 Member No.: 200 Joined: 3-March 04 |
Ok, I'm new to unix, so if you give any ideas, tell me exactly what to do. I have a network setup running windows machines. I just added a sun box to the network. Now I want to be able to ftp from my windows machines to my sun box. Everything seems to me to be correctly set up by someone on the sun box to allow ftp. But when i try to ftp to my sun box, it says:
Connected to Sun. Connection closed by remote host. So how can I make it that the sun box will allow the computer i'm sitting at to ftp to it? What kind of settings do I need to do on the sun machine? |
| fishsponge |
Posted: Mar 4 2004, 02:23 AM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
first of all, check that you can FTP from the Sun box to itself... If you can do that, then check /etc/hosts.allow and /etc/hosts.deny and post them on here in [code] tags.
It seems strange because Sun boxes, in my experience, accept FTP connections from any machine as standard... |
| gaujun |
Posted: Mar 4 2004, 04:22 PM
|
|
Newbie ![]() Group: Members Posts: 4 Member No.: 200 Joined: 3-March 04 |
I tried ftp to itself, and it didn't work. Now what?
|
| fishsponge |
Posted: Mar 6 2004, 10:20 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
can you post the error messages, and commands you ran? without them, i don't know why it didn't work.
|
| gaujun |
Posted: Apr 6 2004, 10:02 PM
|
|
Newbie ![]() Group: Members Posts: 4 Member No.: 200 Joined: 3-March 04 |
Ok, I think my sun box is missing some files thats why it can not ftp. Now I do have the os installation discs. Now how do I go about installing the proper files? You will need to give me the exact commands, because like I said,I'm not a unix user.
|
| gaujun |
Posted: Apr 6 2004, 10:07 PM
|
|
Newbie ![]() Group: Members Posts: 4 Member No.: 200 Joined: 3-March 04 |
Oh again, i'm not trying to ftp out from the sun box, but to try and allow others to ftp to it. I'm not sure what files are missing, but if there is a way that I can just reinstall the ftp packages, and get it to work that would be great. If there is more to it than just installing the proper files, please include instructions on what to do after installation so I can get the ftp server to accept connections.
thanks |
| fishsponge |
Posted: Apr 7 2004, 11:25 AM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
well... after installation, the FTP server should just be running! That's if you reboot... otherwise, i suggest you have a look in /etc/rcx.d (where x is a number between 1 and 5, but probably 2 or 3) for the FTP startup script.
i'm afraid i don't know which files you need to install either, and i also don't know how to install them. |
| L1-a |
Posted: Apr 7 2004, 03:57 PM
|
||||
|
User Level: 2 ![]() ![]() Group: Members Posts: 12 Member No.: 18 Joined: 22-February 03 |
FTP on Solaris is enabled by default as was said. Those users specified in /etc/ftpusers cannot use the FTP service. Also, by default, root is in the /etc/ftpusers file, starting with Solaris 7 or 8. This might explain the message you are seeing. FTP requests are handled by the super daemon as specified in /etc/inetd.conf.
If /usr/sbin/in.ftpd is not installed, then you need the following packages, man pages being optional of course.
|
||||
![]() |
![]() ![]() ![]() |