Symptom
Print requests in R/3 are marked as FAULTY. The system log contains
the message "Connection to SAPLPD/LPD cannot be established".
(This note does NOT deal with the problem of requests not being processed, for instance requests remaining in the R/3 spool in status "Waits". It deals only with cases where requests get the status "Error".)
(This note does NOT deal with the problem of requests not being processed, for instance requests remaining in the R/3 spool in status "Waits". It deals only with cases where requests get the status "Error".)
Other Terms
Reason and Prerequisites
- a) There is a network problem.
- b) The configuration in R/3 is incorrect.
Solution
Carry out the following tests, log the results of the individual
steps and communicate them to SAP Support if the problem has to do with
the SAP system.
The second print request is rejected and ends with this error.
We urgently recommend that you operate these boxes only from the host spool, as this has more time and resources available. Therefore, set the output device in SPAD with access method 'L' or 'C' or using a print server with access type 'S' or 'U'.
A direct connection from the R/3 system will result in these messages being issued repeatedly.
If NOT:
Correct the name using transaction SPAD. If the name is too long, use an alias in SPAD. Choose the 'Long Host Name' button, which is to the right of the 'Destination Host' field and enter the long name.
If "ping" does not respond, it should run for just over a minute. Then you can terminate it. A statistics record is issued. If this record contains the message "100% packet loss", this means that there is either no connection to the other computer or else TCP/IP is not running there.
Correct this problem and then try to print again.
If problems are reported, start by eliminating these problems. Then try to print again.
Normally, the FTP prompts you to enter a user name and password for the switching computer. Make valid entries here.
Now transfer a file of approximately 10 Kbytes from the formatting computer to the switching computer: put <filename>
The file is created on the switching computer. If this process terminates or lasts more than a minute, the network is not stable. Correct this problem before you proceed.
Check that the data has arrived at the correct computer!
Log off from FTP with "quit". Delete the test data if required.
First, the message "trying ... " appears, followed by "connected to ...".
If the message "connection refused" appears quite quickly, either SAPSprint or LPD is not running or else the TCP packet is malfunctioning.
It may help to reboot the switching computer.
If the message "connection timed out" is issued even though FTP was working, check whether a firewall is preventing the connection from being established for reasons of security. If this is not the case, reboot the switching computer.
If the connection to telnet has been established ("connected to ..."), you can query the SAPSprint with the command "4 x 1<return>". However, this usually only works if the Telnet command was started on a UNIX platform. If the connection is working, it will identify itself by means of a brief text and close the connection.
In this case, the connection is working and the problem was presumably a temporary one. You should now be able to print.
When you log a problem message, remember to specify the results of each of the above tests, which SAPSprint/SAPLPD/LPD is used, and which network software has been installed.
- 1. Is the "switching computer" a "printer box"
located between the network and the printer or is it a network card in
the printer itself?
The second print request is rejected and ends with this error.
We urgently recommend that you operate these boxes only from the host spool, as this has more time and resources available. Therefore, set the output device in SPAD with access method 'L' or 'C' or using a print server with access type 'S' or 'U'.
A direct connection from the R/3 system will result in these messages being issued repeatedly.
- 2. Now establish the name by which the computer was addressed. You will find this in the error message in the system log.
If NOT:
Correct the name using transaction SPAD. If the name is too long, use an alias in SPAD. Choose the 'Long Host Name' button, which is to the right of the 'Destination Host' field and enter the long name.
- 3. Log on
as <sid>adm to the computer to the computer on which the spool
work process is running. Now call the command "ping" from a command line
with the computer name given in the system log as the argument.
If "ping" does not respond, it should run for just over a minute. Then you can terminate it. A statistics record is issued. If this record contains the message "100% packet loss", this means that there is either no connection to the other computer or else TCP/IP is not running there.
Correct this problem and then try to print again.
- 4.
Configure the printer concerned as a remote printer in the operating
system and try to print something on the remote printer using the usual
operating system commands (lp, lpr).
- 5. The next test requires an FTP server attached to the switching computer. If this is a PC, you may need to start it manually.
If problems are reported, start by eliminating these problems. Then try to print again.
Normally, the FTP prompts you to enter a user name and password for the switching computer. Make valid entries here.
Now transfer a file of approximately 10 Kbytes from the formatting computer to the switching computer: put <filename>
The file is created on the switching computer. If this process terminates or lasts more than a minute, the network is not stable. Correct this problem before you proceed.
Check that the data has arrived at the correct computer!
Log off from FTP with "quit". Delete the test data if required.
- 6. Then the connection to SAPSprint or another LPD is checked.
First, the message "trying ... " appears, followed by "connected to ...".
If the message "connection refused" appears quite quickly, either SAPSprint or LPD is not running or else the TCP packet is malfunctioning.
It may help to reboot the switching computer.
If the message "connection timed out" is issued even though FTP was working, check whether a firewall is preventing the connection from being established for reasons of security. If this is not the case, reboot the switching computer.
If the connection to telnet has been established ("connected to ..."), you can query the SAPSprint with the command "4 x 1<return>". However, this usually only works if the Telnet command was started on a UNIX platform. If the connection is working, it will identify itself by means of a brief text and close the connection.
In this case, the connection is working and the problem was presumably a temporary one. You should now be able to print.
- 7. Use the command: netstat
-ano | find "<port>" to determine which process listens to a
certain port. <port> refers to the port that SAPSPrint should
listen to.This is port 515 in the standard system. The command:
When you log a problem message, remember to specify the results of each of the above tests, which SAPSprint/SAPLPD/LPD is used, and which network software has been installed.
No comments:
Post a Comment