/r/solaris

Photograph via snooOG

Links about the Oracle's operating system called Solaris

/r/solaris

1,906 Subscribers

1

Updating ALOM and OBP on Sun Fire V440?

Hiya, so considering they're bloody old and we're also a single blind girl on bloody SSI, what'd be the process for us, someone who doesn't have $BIGNUM money, to get hold of the Sun Fire V440, the latest OBP and ALOM firmware? We've finally got our hands on something a little faster than a Sun Blade 150, which for yall will mean faster package releases and more complex package builds, and for us will mean no more day-long mariadb builds.

2 Comments
2024/12/02
10:12 UTC

13

Update on our ridiculous package...thing

We did a thing, and now nginx works with phpfpm and we can run Wordpress on the Blade 150, using all up-to-date software. No, we don't know why we are doing this either, but gods, it's the most fun we've had in years. Alsio, we finally got CMake to build and work, so taht opens up more possibilities. Tried golang, crossbuilt it and it.. didn't work. Kinda guessing that all the docs about getting Golang to work on Solaris/SPARC64 are going to target Solaris *11*, which is not what we're working with. Getting a lot better at creating SMF manifests too, OpenSSH, PostgreSQL 15.8, MariaDB, phpfpm, and DBus now all have manifests and start on boot.

17 Comments
2024/11/28
07:08 UTC

4

Any current & valid default package URL for oracle solaris 11.4? (Trying to install GNOME 3 in 2024)

I had been trying to install GNOME 3 in my Solaris UTM instance, but aside from the painfully slow response times that i get from UTM; i just can't seem to update the proper pkg source for packages, even (https://blogs.oracle.com/solaris/post/building-open-source-software-on-oracle-solaris-114-cbe-release) was of little use to me.

So is there a official & "proper" way to get GNOME 3 without having to reinvent a wheel?

1 Comment
2024/11/27
07:45 UTC

7

Earlier Solaris on Blade 1000 Workstation

Can I run earlier SPARC versions on the Blade 1000? I was thinking of 4.1.3 (yes, that old) - failing that I have a Blade 150 as well, would that be compatible?

I know officially Solaris 8 etc.

Also Sun Oracle website shows the 1000 compatible with 11 express.... yet I thought 10 was the limit?

Many thanks.

10 Comments
2024/11/25
10:40 UTC

2

FractalKit, a collection of modernised packages for Solaris 10

[ Removed by Reddit on account of violating the content policy. ]

0 Comments
2024/11/22
09:09 UTC

7

This was not supposed to work...

So yall know we're doing like, packages for Solaris 10, yeah? We think we went a little harder than we expected.

https://preview.redd.it/1w7j7hsjk72e1.jpg?width=1920&format=pjpg&auto=webp&s=011af10970f61830fcfe6f93c55abe724bbd8b95

2 Comments
2024/11/21
07:37 UTC

3

How to add directories to path in Solaris 10 under root user sh shell?

I've tried everything I can think of, but the docs aren't helping, I don't know what to do.

export PATH=/opt/csw/bin:$PATH

just gives me this error

PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb: is not an identifier

and just doing

PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb

it isn't permanent and goes away once I restart the terminal.

4 Comments
2024/11/16
06:00 UTC

6

What do you use for storage instead of ultra wide scsi drives?

Just curious is all.

3 Comments
2024/11/15
18:32 UTC

0

Unpack p5p file on Linux?

I have an installer for Solaris 11 I need to unpack, but I don't currently have access to a Solaris 11 box. We're working on that, but since I don't actually need to install and run what's in the .p5p file, I just want to extract some files, I don't want to wait to bring up a questionable Solaris server to get at it.

The 'file' command says that the p5p file is a "POSIX tar file", and I am able to use tar xf on it to unpack some stuff, but I just end up with a bunch of files with names that are clearly some kind of hash. (Like: 00/00142df8c...) 'file' says those appear to be gzipped, but I'm guessing that even if I un-gzipped them, they would need to be recombined in some useful way.

So, if there any way I can get this thing unpacked on Linux and get the files I want?

4 Comments
2024/11/15
02:56 UTC

2

Install and run Solaris 2.4, 2.5.1, 2.6, 7, 8, & 9 INTEL/x86 on qemu (sort of)

0 Comments
2024/11/13
21:25 UTC

7

Calling for suggestions: Which packages would be most wanted built for Solaris 10 SPARC?

Hiya, so as yall might already know we're building a collection of (SVR4-packaged) tools, libraries, programming language interpreters, compilers, and server software, based on as recent a codebase as we can manage, for Solaris 10 SPARC. We want to know what yall would like to see in this package. Anything in specific yall would want ported?

47 Comments
2024/11/11
07:28 UTC

5

How the hell to create an installer...

OK so, it's us back again with a weird ass request: How did Sun do those pretty f2=next f3=back f4=help f5=alt_option f9=quit textmoed installers? For our Solaris 10 upgrade kit, we really want to do something very similar, essentially, create an ISO that can be put in a DVD to place this kit, stylistically and aesthetically, as if it were an actual Sun product. But we're not entirely sure how to do that. We know how to start with the dvd, need a .cdtoc file with prodname, prodvers and proddir, something like FRACTALKIT/PRODUCT, with the FSYS packages in their uncompressed form form with reloc and pkginfo and whatnot, just not entirely sure how to do the installer.

4 Comments
2024/11/10
23:35 UTC

1

Solaris 10 Update Manager Setup Wizard Error

When I try to run the update manager it just gives me a Setup Wizard Error that says The setup wizard is not installed. When I run the launch script from the terminal

# /usr/bin/updatemanager

Java Accessibility Bridge for GNOME loaded

java.lang.NoClassDefFoundError: org/jdom/filter/Filter

at com.sun.swup.client.ui.Application.displayRegistration(Application.java:279)

at com.sun.swup.client.ui.Application.displayRegistration(Application.java:271)

at com.sun.swup.client.ui.Application.<init>(Application.java:205)

at com.sun.swup.client.ui.Application.main(Application.java:104)

Caused by: java.lang.ClassNotFoundException: org.jdom.filter.Filter

at java.lang.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findCLass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

... 4 more

0 Comments
2024/11/10
08:50 UTC

1

Need advice: Installing p2p packages

Hi all,

Need some advice on an issue i am facing install a package on several Solaris 11.4 U5 SPARC servers I am experiencing the same issue for all the servers. And i can't seem to figure out what is the issue is. And i have searched high and low for answers Hoping anyone had experienced the same and has a fix

Issue i am facing:

i am unable to install the installation package provided to me by the vendor on these servers. The vendor has provided 2 files which either of which can be used to install the packge

  1. 1 x Zipped file
  2. 1 x p5p file

When attempting to do any of the following in regards to installing the package, it produces the same error:

Error Message

pkg: The image cannot be modified as it is currently in use by another package client. ``

	root@Solaris_server:/tmp/agent_zipped# pkg install Agent-Core-Solaris_5.11_U4-20.0.1-21510.sparc.p5p
	pkg: The image cannot be modified as it is currently in use by another package client.
	root@Solaris_server:/tmp/agent_zipped#

i have attempted to do the following all of which produced the same error:

  1. Unset publisher
  2. Set publisher
  3. pkg install
  4. pkg upgrade
  5. pkg refresh
  6. stopped all service running /bin/pkg

File information

Zipped File:

After unzipping the zipped file

root@Solaris_server:/tmp/agent_zipped# ls -la
total 97968
drwxr-x---   3 root     root        2045 Nov  7 23:01 .
drwxrwxrwt  22 root     sys         1630 Nov  7 23:02 ..
-rw-r-----   1 root     root        1279 Oct  4 23:05 3trend_public.asc
-rw-r-----   1 root     root     24883200 Oct  4 23:14 Agent-Core-Solaris_5.11_U4-20.0.1-21510.sparc.p5p
-rw-r-----   1 root     root     24679046 Nov  7 22:59 Agent-Solaris_5.11_U4-20.0.1-21510.sparc.zip
-rw-r-----   1 root     root        3087 Oct  4 23:05 Feature-AM-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root         561 Oct  4 23:05 Feature-DPI-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root         357 Oct  4 23:05 Feature-FW-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       24614 Oct  4 23:05 Feature-IM-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       13450 Oct  4 23:05 Feature-LI-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       62146 Oct  4 23:05 Feature-WRS-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       24499 Oct  4 23:05 File-Manifest-Solaris_5.11_U4-20.0.1-21510.sparc.txt
drwxr-x---   2 root     root         314 Nov  7 23:00 META-INF
-rw-r-----   1 root     root      209178 Oct  4 23:05 Plugin-DSSP-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root         248 Oct  4 23:05 Plugin-Filter_5_11-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       68459 Oct  4 23:05 Plugin-Filter-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       46119 Oct  4 23:05 Plugin-FWDPI-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root        5210 Oct  4 23:05 Plugin-PROCINFO-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root        1822 Oct  4 23:05 Plugin-TMUFE-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root       18474 Oct  4 23:05 Plugin-UPDATE-Solaris_5.11_U4-20.0.1-21510.sparc.dsp
-rw-r-----   1 root     root          55 Oct  4 23:05 versions.txt
root@Solaris_server:/tmp/agent_zipped

p5p file:

root@Solaris_server:/tmp/agent_p5p# file Agent-Core-Solaris_5.11_U4-20.0.1-21510.sparc.p5p
Agent-Core-Solaris_5.11_U4-20.0.1-21510.sparc.p5p:      USTAR tar archive

Information on Servers:

OS Release:

	root@Solaris_server:cat/etc/os-release
	NAME="Oracle Solaris"
	PRETTY_NAME="Oracle Solaris 11.4"
	CPE_NAME="cpe:/o:oracle:solaris:11:4"
	ID=solaris
	VERSION=11.4
	VERSION_ID=11.4
	BUILD_ID=11.4.71.0.1.170.2
	HOME_URL="https://www.oracle.com/solaris/"
	SUPPORT_URL="https://support.oracle.com/"
	VARIANT_ID=sru
	VARIANT="Support Update" 

UNAME

root@Solaris_server:# uname -a
SunOS Solaris_server 5.11 11.4.71.170.2 sun4v sparc sun4v logical-domain

PSR Info

PSR InfoPSR Info

	root@Solaris_server:/# psrinfo -pv
	The physical processor has 4 cores and 32 virtual processors (0-31)
	  The core has 8 virtual processors (0-7)
	  The core has 8 virtual processors (8-15)
	  The core has 8 virtual processors (16-23)
	  The core has 8 virtual processors (24-31)
    SPARC-M8 (chipid 0, clock 5067 MHz)

Repo information

All these server also share one local repo server

Repo Information:

	root@Solaris_server:/tmp/agent# pkg publisher
	PUBLISHER                   TYPE     STATUS P LOCATION
	solaris                     origin   online F http://192.168.100.2:443/
	root@Solaris_server:/tmp/agent#  

PS: I am unable to reboot the servers as they are live.

If you have any idea how to resolve this it will be god send!

Thank you!

2 Comments
2024/11/08
02:19 UTC

7

Install and run Solaris 2.3 and 2.4 SPARC in qemu

0 Comments
2024/11/07
21:20 UTC

4

How to find out creation timestamp of a solaris machine?

Hi all, I'm well versed with Linux but not so much with Solaris. I need to find out when a bunch of Solaris machines were created via a script so not sure how to do so.

In the Linux world, especially for RedHat systems, they are installed via the anaconda installer, so checking the timestamp of /var/log/anaconda.log usually does the trick.

Is there anything equivalent for Solaris? Or how else to detemine it?

3 Comments
2024/11/07
10:54 UTC

1

Docs on SVR4 package creation?

Are there any actually decent docs out there on how to take the output of a gmake install DESTDIR=/some/staging/directory and create something that can be installed with pkgadd(1)? Also if we're writing a new Solaris 10 package manager to download and install from the repo that we're going to be running, should we do it in python or something else, and is there a way to (A) have only users with the "Software Installation" profile (or one of its supersets) be able to run it, and (B) to allow any user with that profile r/w access to a specific package install directory (/opt/FSYS/packages/), since our packages are meant to be drop-in replacements for Solaris 10 system packages, but not to overwrite them?

5 Comments
2024/11/07
09:05 UTC

4

Install and run Open Indiana in qemu

0 Comments
2024/11/07
03:11 UTC

2

Trying to virtualize Solaris 11.04 with bhyve on FreeBSD...

Hello.

I'm trying to virtualize Solaris 11.04 with bhyve on FreeBSD,but I see that it is hard if not impossible...

I had to install Solaris 11 using non-VirtIO drivers in Linux using qemu-kvm and virt-manager. Once it was fully installed I ran pkg update from the command line and let it update itself to the newest version from Oracle.

After that,I left Linux and joined FreeBSD and I tried to see what happened trying to boot the image of Solaris produced by qemu. Unfortunately Solaris has some huge problems with bhyve :

  1. The VirtIo drivers don't work with bhyve. The error is the missing of the MSXi Interrupts,so I can't connect to the Internet

  2. I've passed to Solaris my Geforce 2080 ti GPU,but it didn't accept it.

I don't know if the reason is because it is too new. It does not want any device passed. Infact I also tried to pass a PCI network controller,but it reported the error "VGA arbiter failed to attach etc" and it refused it.

Xorg does not work without a GPU,but with only the framebuffer. 

At the moment I don't have the Internet and I don't have a graphical desktop manager inside the VM and I don't know what to do next.

0 Comments
2024/11/05
16:52 UTC

2

Solaris 10-compatible PCI gigabit ethernet cards?

We want to drop a gig-E card into our Sun Blade 150 to use it as a reverse proxy to access internal web services from outside (using a from-source compiled copy of nginx1.26 and openssl3.3). Which card would yall recommend? She's currently got a Sun hundred-megabit/SCSI combo card with a HME interface, which gig-e card can we swap that out for?

3 Comments
2024/11/05
03:01 UTC

5

Install and run Solaris 1.1.2/SunOS 4.1.4, Solaris 2.5.1, Solaris 2.6, Solaris 7, Solaris 8, and Solaris 9 SPARC in qemu

6 Comments
2024/11/04
21:59 UTC

16

Why are people so scared of Solaris?

So we've been migrating a lot of our services (both virtualised and on baremetal) from Linux to Solaris. And absolutely across the board, the reaction we've gotten, from Solaris admins who worked with SPARC machines when they were brand new, from folks who have played with Solaris briefly, the reaction we always got was, "don't, you'll regret it". But so far, we have found far, far more stability in Solaris than we ever do in Linux these days, it not being such a wildly moving target helps there. Like we said to our gf, in 2005 Solaris managed services useing xml files and SMF, in 2015 Solaris managed services using xml files and SMF, and in 2038 Solaris will manage services using xml files and SMF. Our current investigative project is to see how doable it would be to migrate our Mastodon instance, called Eightpoint, from Debian to Solaris 11.4. So...yeah. Why is everyone we've talked to so scared of Solaris? Why are they trying to warn us off? We do not get it.

135 Comments
2024/11/02
06:40 UTC

2

Install and run Solaris 2.4, 2.5.1, and 2.6 x86/INTEL in 86box

0 Comments
2024/11/02
02:23 UTC

1

create-im-volume

Is there a way to uncreate an IM volume? I just want 2 separate disk. I just got this chassis and I guess it was set up for raid. The disks that came out of my old v245 and into the new v245 so they should work.

0 Comments
2024/11/02
01:45 UTC

7

Solaris 11 CBE, maintained?

Is Solaris 11 CBE (Common Build Environment; for non-production use, developement of free/open source software, testing, proof of concept deployments) still being maintained somehow? I' ve installed one on qemu/kvm, it runs fine, but it hasn't seen any updates, security or other for about a year and a half that I've installed it.

6 Comments
2024/10/28
13:55 UTC

6

pretty sure we've hit the point of using Solaris too much

Considering we just spent an entire day working on a packaeg manifest format and even a DTD for it so we can write a custom package manager for Solaris on SPARC64, called 'haven', and considering every package manifest starts with something like:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE packageBundle SYSTEM "/opt/pkgs/share/haven/packageBundle.dtd"><packageBundle type="application" category="network-service"><HavenPKG version="1"><Package name="LHVNopenssh99-server" catalogueName="openssh">

Yeah...... we think we've been using Solaris a little too much

5 Comments
2024/10/28
06:32 UTC

10

Jumpstarting Solaris 9 sparc on an Ultra 5 from Debian Linux

I have an Ultra 5 sparc workstation, and I recently successfully jumpstarted Solaris 9 onto it from a raspberry pi (raspi) running Debian 12 (bookworm). This required days of troubleshooting/debugging, so I'm sharing notes and lessons learned here for others. I'm not going to explain the end-to-end details of jumpstarting, but instead just the unexpected issues and incompatibilities I encountered and their workarounds.

  1. This jumpstart process requires NFS v2, which is disabled by default on the raspi's Debian 12. I enabled it by adding udp=y and vers2=y to /etc/nfs.conf.

  2. I found some internet search hits suggesting that bootparamd on Debian would not work properly for jumpstart. In my case I was able to successfully use the stock bootparamd package without patching anything. However, there was part of the jumpstart that stalled if the jumpstart server's bootparamd did not provide router information. I dealt with that by altering /usr/lib/systemd/system/bootparamd.service to add a -r option to bootparamd with: "ExecStart=/usr/sbin/rpc.bootparamd -s -r 192.168.x.y".

  3. By far, the biggest issue was that the jumpstart would stall forever after showing "Configured interface hme0" on the console. I debugged that and traced it to the rcS script running from the install media and stalling on "/sbin/get_netmask".

That command was wrapped in this:

                # get the server's netmask
                if [ -x /sbin/get_netmask ]; then
                        netmask=`/sbin/get_netmask $SERVER_IPADDR 2>/dev/null`
                        if [ -n "$netmask" ]; then
                                /sbin/ifconfig -a netmask 0x${netmask}  >/dev/null 2>&1
                        fi
                fi

Initially I just renamed /sbin/get_netmask so that the if statement would be false and avoid calling /sbin/get_netmask. That worked and the interface got the right netmask anyway, but for some obscure reason this approach made the whole jumpstart fail much later with errors about not finding a valid OS distribution. I wasted days trying to troubleshoot this.

Ultimately I found https://www.docbert.org/Solaris/Jumpstart/linux.html which says,

After a while the install will display a line like :

Configured interface hme0

and then appear to hang. At this stage you will need to ping the client once from the jumpstart server and the install will continue

So the ultimate workaround was this. That is, when the jumpstart stalls after "Configured interface hme0", just ping the sun box from the linux jumpstart server and things proceed normally from there.

1 Comment
2024/10/27
23:37 UTC

1

Console login service(s) cannot run while tryng to virtualize Solaris 11.4 in EFI mode

Hello.

I'm trying to boot Solaris 11.04 using qemu + UEFI on FreeBSD 14.1,using the following parameters :

qemu-system-x86_64 -name guest=s11x64,debug-threads=on \
-machine pc,usb=off \
-cpu kvm64,hv_relaxed,hv_time,hv_synic \
-m 8G -smp 2,sockets=2,cores=1,threads=1 -nodefaults -no-shutdown \
-drive file=/bhyve/Files/ISO/sol-11_4-text-x86.iso,format=raw \
-drive file=/mnt/zroot2/zroot2/bhyve/img/Solaris/solaris114.img,format=raw \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 \
-device VGA,id=video0,vgamem_mb=32,bus=pci.0,addr=0x2 \
-netdev tap,id=mynet0,ifname=tap4,script=no,downscript=no \
-device e1000,netdev=mynet0,mac=52:55:00:d1:55:01 \
-device ich9-ahci,id=sata \
-drive if=pflash,format=raw,readonly=on,file=/usr/local/share/edk2-qemu/QEMU_UEFI_CODE-x86_64.fd \

as you can see below,it almost worked,but not yet. I think only a few parametes need to be adjusted :

https://preview.redd.it/mbwbepla2dxd1.png?width=1042&format=png&auto=webp&s=3ddc4b18ddcba8022b6c1e03e9a639b0eccc8eec

While,it fully worked using bios instead of uefi:

qemu-system-x86_64 -L /usr/local/share/qemu/ -name guest=s11x64,debug-threads=on \
-machine pc,usb=off -cpu kvm64,hv_relaxed,hv_time,hv_synic \
-m 8192 -smp 2,sockets=2,cores=1,threads=1 \
-nodefaults -global kvm-pit.lost_tick_policy=delay -no-shutdown \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 -boot strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 \
-device VGA,id=video0,vgamem_mb=32,bus=pci.0,addr=0x2 \
-hda /mnt/zroot2/zroot2/bhyve/img/Solaris/solaris114.img \
-boot d --cdrom /bhyve/Files/ISO/sol-11_4-text-x86.iso \
-netdev tap,id=mynet0,ifname=tap3,script=no,downscript=no \
-device e1000,netdev=mynet0,mac=52:55:00:d1:55:01 \

https://preview.redd.it/2umt8b1f2dxd1.png?width=1090&format=png&auto=webp&s=9f11804037adb53e1347f3d78118ba154d469fa9

Can someone help me ? thanks.

2 Comments
2024/10/27
20:49 UTC

Back To Top