Context:
Since EveryonePrint for Linux 4.2.1, an eop-lpd service is enabled and started by default.
http://www.everyoneprint.com/download/downloadversion-history/
4.2.1 [2017-06-13]
+ Ability to hide release link in Email Print tab
+ Allow email addresses for username when creating external guest accounts
+ Ability to allow a partial printer identifier match in subject of email
+ Add LPD server on Linux
4.2.1 [2017-06-13]
+ Ability to hide release link in Email Print tab
+ Allow email addresses for username when creating external guest accounts
+ Ability to allow a partial printer identifier match in subject of email
+ Add LPD server on Linux
EveryonePrint runs its LDP server on TCP port 8515, and that cannot be changed.
iptables is used in the application to redirect incoming connection on LPD port 515 to this 8515
To verify that you can 'LPR' to the EveryonePrint LDP server you should do the following:
iptables is used in the application to redirect incoming connection on LPD port 515 to this 8515
To verify that you can 'LPR' to the EveryonePrint LDP server you should do the following:
- verify that the redirection is working using these commands
- cat /var/log/messages |grep redirect
- iptables -t nat -L
- telnet <server> 515 : then check in /opt/everyoneprint/log/lpdserver.log for message similar to :
2017-08-04 10:31:09,084 [main] DEBUG lpd.LPD run - Connection opened from: 192.168.1.142
2017-08-04 10:31:09,084 [main] DEBUG lpd.LPD run - trying to accept() socket connection.
Issue:
Customer needs to run another LPD service on the same server hosting EveryonePrint for Linux, so it is necessary to stop and disable eop-lpd
Resolution:
Here are some useful commands:
- Check service status : active
$ systemctl status eop-lpd.service
or $ systemctl status eop-lpd
● eop-lpd.service - EveryonePrint LPD service
Loaded: loaded (/usr/lib/systemd/system/eop-lpd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2017-07-13 14:44:45 CEST; 1min 10s ago
.../...
- Stop service
$ sudo service eop-lpd stop
Redirecting to /bin/systemctl stop eop-lpd.service
- Check service status : stopped (but still enabled)
$ service eop-lpd status
Redirecting to /bin/systemctl status eop-lpd.service
● eop-lpd.service - EveryonePrint LPD service
Loaded: loaded (/usr/lib/systemd/system/eop-lpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-07-13 15:00:33 CEST; 1min 40s ago
.../...
- Check service is enabled
$ systemctl list-unit-files | grep lpd*
eop-lpd.service enabled
- Disable the service (to prevent it is restarted at next reboot)
$ sudo systemctl disable eop-lpd.service
or $ sudo systemctl disable eop-lpd (CentOS)
Removed symlink /etc/systemd/system/multi-user.target.wants/eop-lpd.service.
- Verify it's disabled
$ systemctl list-unit-files | grep lpd*
eop-lpd.service disabled
- After a reboot, eop-lpd service won't restart
$ service eop-lpd status
Redirecting to /bin/systemctl status eop-lpd.service
● eop-lpd.service - EveryonePrint LPD service
Loaded: loaded (/usr/lib/systemd/system/eop-lpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Comments
0 comments
Please sign in to leave a comment.