Getting 'bad port number' and such, all the time
Daniel Callejas Sevilla
daniel.callejas.sevilla@gmail.com
Sat Nov 19 18:57:00 GMT 2005
Hello,
I'm having a generalised problem with my cygwin installation. Any
attempt to resolve a port name into a port number (e.g. 'smtp' -> 25)
always result in the error 'bad port number'. These are some examples:
$ telnet localhost http
http: bad port number
$ telnet localhost 80
(everything o.k., it connects to my apache--not a cygwin port, but a win32 port)
$ tail /var/log/exim/exim_panic.log
2005-11-16 17:43:41 Exim configuration error:
TCP port "smtp" not found
2005-11-17 16:38:08 Exim configuration error:
TCP port "smtp" not found
$ lftp ftp.ya.com
lftp: ftp: no such tcp service
$ ftp ftp.ya.com
ftp: ftp/tcp: unknown service
$ telnet ftp.ya.com 21
Trying 62.151.2.67...
Connected to ftp.ya.com.
Escape character is '^]'.
220-(welcome message here, etc...)
I have checked the following:
$ ls -l /etc/services
lrwxrwxrwx 1 Dani Ninguno 49 Nov 15 16:34 /etc/services ->
/cygdrive/c/WINDOWS/SYSTEM32/DRIVERS/ETC/services
$ ls -l /cygdrive/c/WINDOWS/SYSTEM32/DRIVERS/ETC/services
-rwxrwxrwx 1 Administradores root 7826 Oct 31 03:46
/cygdrive/c/WINDOWS/SYSTEM32/DRIVERS/ETC/services
$ cat /etc/services | grep 'ftp\|smtp\|http'
ftp-data 20/tcp #FTP, datos
ftp 21/tcp #FTP. control
smtp 25/tcp mail #Protocolo simple
de transferencia de correo (SMTP)
tftp 69/udp #Transferencia de
archivos trivial
http 80/tcp www www-http #World Wide Web
https 443/tcp MCom
https 443/udp MCom
This keeps my Exim from starting, my scripts using lftp from working
and my head constantly spinning at a high speed :(.
This has happened for one week now, but as far as I remember, there
were no changes to my installation one week ago. Everything was
working fine before.
I attach the mandatory cygcheck.out and my /etc/services and some
lines from my Exim logs.
Any help will be appreciated.
Dani.
[I'm new to this mailing list, so please excuse me if I didn't use the
proper methods for reporting my problem.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 34844 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051119/e56ce798/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: services
Type: application/octet-stream
Size: 7826 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051119/e56ce798/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exim_panic.log
Type: application/octet-stream
Size: 1412 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051119/e56ce798/attachment-0002.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list