page@ulowell.cs.ulowell.edu (Bob Page) (10/24/87)
Sigh. I'm running 4.3bsd on a vax-11/750. I just batch-processed loads of patches posted to comp.bugs.4bsd over the last few months. Figured I could then remake the whole system. While I was at it, I installed the new resolver routines into libc.a from the bind 4.5 distribution. I rebuilt the kernel too, after the cd /usr/src;make clean;make build;make install. Four days later (I kept the system up multi-user so I could still run uucico) after fixing various Makefiles and incorrect patches, and realizing that the installation procedure clobbers files like /etc/ttys, gettytab and termcap, I have the new code running. Somewhat. The network is almost completely broken. In a strange way though. I can 'telnet somehost 25' and connect to somehosts's sendmail, but my sendmail can't. I can't connect to a telnetd though, even mine. Nobody can get in to me, except ping. Other hosts see my rwho packets, but I don't see my own nor anyone else's. The ifconfig's haven't changed, rc.local is the same, etc. Everything else looks OK. A 'netstat -a' shows (edited for brevity): Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 *.1037 *.* LISTEN tcp 0 0 *.1036 *.* LISTEN ... tcp 0 0 *.1024 *.* LISTEN udp 0 0 *.1348 *.* udp 0 0 *.1059 *.* ... udp 0 0 *.121 *.* udp 0 0 *.42 *.* udp 0 0 *.1032 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr 80349a0c dgram 0 0 8005c470 0 0 0 /dev/log 8035648c dgram 0 0 0 0 0 0 80354d8c stream 0 0 8005caa0 0 0 0 /dev/printer 80349c8c stream 0 0 0 8035670c 0 0 8035518c stream 0 0 0 8035680c 0 0 Syslogd seems to be working, but lpd doesn't. biff and comsat don't. r*, phone and finger don't work either. ping doesn't complain, but doesn't return anything either. This, with the "Can't assign requested address" message from routed (sendto) & the rest (connect) lead me to think that the system doesn't know who/where it is. I have not started named yet. routed just times out my network (il0, dmc0) interfaces after a while, so I have to either kill routed or keep adding them in by hand. Not that having them there helps very much... Can anyone provide any insight? I've replaced the kernel and most of the daemons in different configurations, old and new, and still no help, which leads me to think it's some kind of configuration file problem rather than the new C library or a change in the kernel network code. But I can't find it. I'm no network wizard, and don't want to spend the next week in the source code looking for the answer unless I have to. I suppose I could restore the / and /usr/src partitions and start over again, but I'd rather find & fix the problem than do that. Any help greatly welcomed. ..Bob PS Interesting side note... sometimes ld or install (didn't check which) would not set the correct mode bits on an executable. I didn't notice until chmod was installed mode 644! The fix was trivial -- possible solutions: /bak/etc/chmod, install -m 755, or a C program. -- Bob Page, U of Lowell CS Dept. page@ulowell.{uucp,edu,csnet}