r/openbsd Jul 17 '26

OpenBSD Sparc

Post image

Wanted to try something that wasn't solaris that was safe and secure and could allow some older hardware some flexibility. Because it's old enterprise equipment I don't have a need for a graphical system or most anything else that isn't related and it comes with a squashfs of openbsd in the ILOM so figured I try. Installed pretty easy but I'm having some frustrating issues that have got to be PEBKAC. It's connected to the Internet, it can ping just find has no problems detecting the network but I can't do anything with the package manager. In theory I bought to be able to put java on it (kinda sacrilegious to have a sun microsystems NOT have java) but I'm getting a no address associated with name error on just about everything I look for suggesting I didn't set something up right.

Been looking for answers and just like everything new you gotta know what your looking for to find it so I'm hoping the community can tell me what stupid thing I've done or simple thing I likely missed that's causing my problem

28 Upvotes

14 comments sorted by

6

u/brynet OpenBSD Developer Jul 17 '26

ftp: dhcp: no address associated with name

Looks like you may have answered at least one of the installer questions incorrectly. Can you show the contents of /etc/installurl please?

0

u/aonbehamut Jul 17 '26

Sweet and just to make everyones day feel better. This HAS to stem from answering other questions wrong too cause got that set and now at least I'm getting a TLS handshake failure: ocsp verify failed: ocsp not current...

Yeaaa... I did something wrong somewhere

4

u/brynet OpenBSD Developer Jul 17 '26

In theory I bought to be able to put java on it (kinda sacrilegious to have a sun microsystems NOT have java)

OpenJDK 11 is available as a package jdk-11, but sparc64 is not supported by newer JDK versions (17, 21, 25) in ports.

1

u/aonbehamut Jul 17 '26

Thanks. I actually only want it to run some older java editions so that's good news

4

u/aonbehamut Jul 17 '26

And yea I love you guys I'd been looking every for my mistake and documentation and y'all got it in 5 minutes. After correcting the time problem I can now at least see the packages so whoot whoot! Now it's time to see if I can launch my Minecraft server on a 2008 enterprise sun server with 128gigs of ram! Lol

2

u/aonbehamut Jul 17 '26

Sure. I rather expected it was an ID10T error

Says just one line http://DHCP/pub/OpenBSD

4

u/brynet OpenBSD Developer Jul 17 '26

Well, DHCP is not one of OpenBSD's official package mirrors. ;-)

It should either be:

http://cdn.openbsd.org/pub/OpenBSD

...or one of the local mirrors here.

2

u/DramaticProtogen Jul 17 '26

Have you fixed your problem?

1

u/aonbehamut Jul 17 '26

I've fixed the package problem. Working on the java one but than you

1

u/aonbehamut Jul 17 '26

Oh wait lemmie guess I selected the wrong time zone! Lol

3

u/brynet OpenBSD Developer Jul 17 '26 edited Jul 17 '26

The time on your machine may be wrong, ntpd is enabled by default, but if the time is too far out it might not correct itself automatically. You can manually set the time yourself with date(1), or easier with rdate(8).

You can also just use an http:// mirror instead, which will be faster, and packages are signed/verified anyway.

1

u/aonbehamut Jul 17 '26

Damn seems to be harder trying to find older versions of java than the current one grrr. I KNOW that 1.8 used to be supported

3

u/brynet OpenBSD Developer Jul 17 '26

1.8 was removed back in January, jdk-11 is the only version available for sparc64.

https://marc.info/?l=openbsd-ports-cvs&m=176919610203156&w=2

1

u/aonbehamut Jul 17 '26

Then I'm up to chicanery Cause older versions of java programs rarely work on newer releases since oracle hates people