Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meaningless error message: StartListening: Unable to bind socket - Address already in use #649

Closed
michaelrsweet opened this issue Mar 23, 2004 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.17
CUPS.org User: minfrin.sharp

When a cups installation is restarted, cups issues the following error in the error log:

E [23/Mar/2004:18:50:56 +0200] StartListening: Unable to bind socket - Address already in use.

This error message is meaningless, as it does not indicate which IP address, or which port it was trying to bind to when the failure occurred. The particular installaation has two SSLListen lines, it is not clear which one is at fault.

Solution: The following error message should be issued:

StartListening: While binding to 127.0.0.1 port 631: Unable to bind socket - Address already in use.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

The IP address is shown when the log level is set to "debug"; I will look at adding the IP address to the bind and listen error messages as well.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Updated to show the address and port for all errors.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in CVS - the anonymous CVS repository will be updated at midnight EST.

@michaelrsweet michaelrsweet added the enhancement New feature or request label Mar 17, 2016
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant