Operating System - HP-UX
1753906 Members
9090 Online
108810 Solutions
New Discussion юеВ

uucp - connection problem

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

uucp - connection problem

Hi All,
I'm trying to connect two server via uucp but I get an error.

1st server (caller):
virgo# cat /etc/uucp/Systems
leo Any TCP - - "" "" ogin:--ogin: uucptest ssword: ""

virgo# cat /etc/uucp/Permissions
# This entry for public login.
# It provides the default permissions.
# See the Basic Networking Utilities Guide for more information.
LOGNAME=nuucp

MACHINE=leo LOGNAME=uucptest \
SENDFILES=yes REQUEST=yes CALLBACK=no \
READ=/var/spool/uucppublic/leo \
WRITE=/var/spool/uucppublic/leo \
COMMANDS=rmail:uux:uucp:pr

virgo# cat /etc/uucp/Devices
TCP - - - TCP

2nd system (callee):
leo# cat /etc/uucp/Permissions
# This entry for public login.
# It provides the default permissions.
# See the Basic Networking Utilities Guide for more information.
LOGNAME=nuucp


#SAMPLE entry for a system called "sys"
LOGNAME=uucptest \
SENDFILES=yes REQUEST=yes CALLBACK=no \
READ=/var/spool/uucppublic/virgo \
WRITE=/var/spool/uucppublic/virgo \
COMMANDS=rmail:uux:uucp:pr


I got this error:

virgo# ./uucico -r1 -sleo -x9
mchFind called (leo)
list (rmail) num = 1
list (/var/spool/uucppublic/leo) num = 1
list (/var/spool/uucppublic/leo) num = 1
list (rmail) list (uux) list (uucp) list (pr) num = 4
_Request (TRUE), _Switch (TRUE), _CallBack (FALSE), _MyName (), _Commands rmail
_Commands uux
_Commands uucp
_Commands pr
chdir(/var/spool/uucp/leo)
conn(leo)
Device Type TCP wanted
Internal caller type TCP
tcpdial host leo, port 540
family: 2
port: 540
addr: ac10c80e
getto ret 5
expect: ("")
got it
""
sendthem (^M)
expect: (ogin:)
login:got it
sendthem (uucptest^M)
expect: (ssword:)
Password:got it
""
sendthem (^M)
enter ub_sst, status is : 0
Rmtname: leo
^JLogin incorrect^J enter ub_sst, status is : 6
Rmtname: leo
LOGIN FAILED - failed
conn(leo)
Call Failed: SYSTEM NOT IN Systems FILE
enter ub_sst, status is : 1
Rmtname: leo
exit code 101
Conversation Complete: Status FAILED


The user "uucptest" on system 2 has blank password.

Do You have any idea?

Thank You
Ubi maior, minor cessat!
4 REPLIES 4
Mark Grant
Honored Contributor

Re: uucp - connection problem

If you can, you rule out any other problem, I'd put a password on the account and try it with that.

Never preceed any demonstration with anything more predictive than "watch this"
Mauro Gatti
Valued Contributor

Re: uucp - connection problem

I tried before and I tried now but now I discovered it send only first password character!
I don't know way!
Ubi maior, minor cessat!
Remote Systems Support
Occasional Advisor

Re: uucp - connection problem

Did you put virgo in the Systems file on leo? Put an entry like this:

virgo Never

testing is for wimps.....
Rory R Hammond
Trusted Contributor
Solution

Re: uucp - connection problem

My System file has the following syntax:

leo Any TCP - - in:--in: uucptest word: uucptest

It is good form to have a password assigned.

I tried to duplicate the error message "System not in System file" by removing the system name on the remote side, But couldn't

The only real difference I can see between mine and yours is I use MACHINE= in the perm files.

On Leo:
LOGNAME=nuucp

#SAMPLE entry for a system called "sys"
MACHINE=virgo LOGNAME=uucptest \
SENDFILES=yes REQUEST=yes CALLBACK=no \
READ=/var/spool/uucppublic/virgo \
WRITE=/var/spool/uucppublic/virgo \
COMMANDS=rmail:uux:uucp:pr

Rory


There are a 100 ways to do things and 97 of them are right