213 friendly_message = "check that a HTTP server is not already using " |
213 friendly_message = "check that a HTTP server is not already using " |
214 .."this port"; |
214 .."this port"; |
215 elseif port == 5280 then |
215 elseif port == 5280 then |
216 friendly_message = "check that Prosody or a BOSH connection manager " |
216 friendly_message = "check that Prosody or a BOSH connection manager " |
217 .."is not already running"; |
217 .."is not already running"; |
|
218 else |
|
219 friendly_message = "this port is in use by another application"; |
218 end |
220 end |
219 elseif err:match("permission") then |
221 elseif err:match("permission") then |
220 friendly_message = "Prosody does not have sufficient privileges to use this port"; |
222 friendly_message = "Prosody does not have sufficient privileges to use this port"; |
221 elseif err == "no ssl context" then |
223 elseif err == "no ssl context" then |
222 friendly_message = "there is no 'ssl' config under Host \"*\" which is " |
224 friendly_message = "there is no 'ssl' config under Host \"*\" which is " |