On 05/20/18 12:32, Rick Ballard wrote:
> I can log to the console and have a functioning router/firewall.
> 
> However, most commands fail:
> 
> drmons0544w-142-166-18-133# vi test
> 4▒▒: not found/vim[1]:ELF▒
> /usr/local/bin/vim[2]: syntax error: `(' unexpected

third party package error. (/usr/local?)

> 
> ​SSH exits immediately after I type in my password.​

/usr/ problem?

> However, I can use ed, less, etc.

sound like root (/bin, /sbin) is good.

> ​Here is what I see on the console during the reboot:
> ...
> 
> *em0: bound to 192.168.2.11 from 192.168.2.1 (a8:39:44:8f:68:20)*
> 
> *reordering libraries:/usr/sbin/openssl[1]:ELF▒4▒?4: not found*

/usr problems
...
> *starting early daemons: syslogd pflogd unbound ntpd.*

$ which syslogd pflogd unbound ntpd
/usr/sbin/syslogd
/sbin/pflogd
/usr/sbin/unbound
/usr/sbin/ntpd

hm.  But not sure how much griping of those /usr apps would make or
would get through the rc scripts.


> *starting RPC daemons:.*
> 
> *savecore: no core dump*
> 
> *acpidump: Can't find ACPI information*
> *​*
> *drmons0544w-142-166-18-133# dmesg*

$ which dmesg
/sbin/dmesg


> OpenBSD 6.3-current (RAMDISK_CD) #41: Sat May 19 22:45:21 MDT 2018
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> real mem = 1056833536 (1007MB)
> avail mem = 1021075456 (973MB)
> mainbus0 at root
> bios0 at mainbus0
> acpi at bios0 not configured
> mpbios0 at bios0: Intel MP Specification 1.4
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Genuine Intel(R) CPU @ 1.00GHz, 1000.12 MHz
> cpu0:

So my hunch is you screwed up your /usr partition during the upgrade,
which usually means this:

What really cool trick did you do that seemed like a great idea at the
time that most OpenBSD would not do and the developers would not have
thought worth planning for in the upgrade scripts?
I'm thinking symlinks of something to somewhere else, etc.

Nick.

Reply via email to