Questions tagged [solaris]
Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.
1,156
questions
0
votes
0
answers
53
views
solaris 10 cron job won't run but will run fine from command line
#!/bin/sh
#grab oldest file from queue
stuff=\`ls -1 /var/spool/lp/requests/localhost/ | /usr/bin/head -1\`
#pull printer name from lp requests (first line in file)
puff=\`cat $stuff | /usr/bin/...
0
votes
0
answers
42
views
Unable to boot SunOS 5.8
I had to hard reboot a SunOS 5.8 server due to a networking fault. On giving 'boot' command on OK prompt, I get the following messages
Can't read disk label. Can't open disk label package Boot device:
...
0
votes
1
answer
77
views
SOLARIS 10 ZFS, I want to add spare with rpool but it gives me this error "cannot label 'c1t4d0': EFI labeled devices are not supported on root pools"
#zpool status
pool: rpool
state: ONLINE
scan: resilvered 8.09G in 0h2m with 0 errors on Wed Sep 21 14:10:40 2022
config:
NAME STATE READ WRITE CKSUM
rpool ...
0
votes
0
answers
33
views
Solaris installer gets screen unreadable at the boot
I just got a usb-stick installer of a Solaris 11.4(text mode, usb installer). After installer loads(somewhere around 100%), I get garbage on a screen. I had such issues with other installers. ...
2
votes
0
answers
260
views
Virtualizing Solaris 2.5.1 (1995)
Posting here instead of unix exchange because although unix is the suject, this should apply to other non-nix OSs.
Our development team has been asked to automate some tasks that happen to interact ...
1
vote
0
answers
402
views
High Load Average in Solaris Operating System - Due to high read I/O
In Linux OS, the load average is dependent on multiple factors like CPU utilization, number of uninterruptible sleep processes, and others. On the other hand, Solaris OS load average is dependent on ...
0
votes
1
answer
139
views
Where Can I Buy / Download Solaris 11.2? It's the only version that will work for me [closed]
We have an Oracle 11g SE2 database with a web front end running some older code. Basically we want to move to a better, newer dell server with SAS3/12gbs, the Dell R730. The problem is that the web ...
1
vote
1
answer
4k
views
Authenticated SMTP with sendmail on command line
we are sending emails using sendmail on the command line, with a command such as :
cat <email_contents> | sendmail -t
the <email_contents> contains fields such as sender, recipient etc.:
...
2
votes
1
answer
231
views
Putty 0.71 SSH connection failure, but 0.70 works
I can successfully use Putty 0.70 to connect with SSH from Win10-x64 to Solaris10-x64 host, using default putty settings. But using Putty 0.71 for same machine & same (default) settings it ...
3
votes
0
answers
241
views
Configuring Solaris audit to include username into his events
Need to configure audit logging in Solaris but I have a problem. There are two SunOS servers which were configured before. When I started analysing logs I found out that in Solaris 10 I can see the ...
2
votes
1
answer
341
views
zfs checksum errors on Solaris 11 under KVM
Synopsis: libvirt 5.6.0, QEMU 4.1.1, Linux kernel 5.5.10-200, Fedora Server 31.
Solaris 11.4 fresh install (with Solaris 10 branded zones), raw disk on XFS (unfortunately, no possibility to switch to ...
0
votes
0
answers
107
views
When a solaris server has 2 SSHs installed, how to choose which one client is connected to
Currently my solaris server has 2 SSH installed:
/usr/bin/ssh (Sun_SSH_1.1.6)
/usr/local/bin/ssh (OpenSSH_5.1p)
When I SSH this solaris server from another, /usr/bin/ssh is responding.
I would like /...
3
votes
2
answers
593
views
SSH has started prompting for password
I am desperate now.....I have trawled the internet, I have tried umpteen different workarounds, permission resets etc but nothing has helped so far.
SSH connectivity was previously working for years ...
5
votes
1
answer
132
views
Will a Solaris server tolerate a ZFS pool from its future?
My experience with ZFS has generally been that it just works, so I expect the answer will be, it’s not a problem — but I have a data pool which will ruin my January if it fubars, so I want to double-...
0
votes
1
answer
54
views
The {0} ok prompt is missing a # inside the {} [closed]
We have tried to replicate at our lab facility but were unable to get empty braces {}. We tried with hard drives in place and with none. There is also no errors indicated when using the rotary switch ...
2
votes
2
answers
390
views
ZFS data lost after a rollback happening on reboot
Edit1:
Unlike what I originally thought when creating this question, it seems that the problem was NOT directly caused by the unplanned power-cycle, but by a mistake I might have done with beadm in ...
4
votes
2
answers
1k
views
How do I recursively list all NFS shares/datasets on OpenIndiana?
Running OpenIndiana 2020. Issuing zfs get sharenfs lists all NFS shares for the most part. But how can I see if any subdirectories have been shared with different properties? Selecting a filesystem ...
1
vote
1
answer
2k
views
How to calculate CPU and memory utilization on solaris box
I am trying to write shell script to calculate memory and cpu utilization on solaris box.
For CPU utilization, I tried below command but I want to append date, time and host name in same command but ...
2
votes
1
answer
399
views
How to permit the chown use to a regular user, but only on its home directory?
I'm trying to allow regular user A to execute chown command to a list of user B,C,D having as object any files located into its home directory.
In other words, I would try to limit the chown "root ...
1
vote
0
answers
57
views
Adding a driver from a p5p package during Solaris 11.4 installation
I'm trying to install Solaris x86 11.4 on a machine that requires an additional driver to access its drives. The driver is provided in a p5p-package and I have tried adding the driver before starting ...
0
votes
1
answer
957
views
Which the Lowest Possible Solaris Version which supports TLS 1.2?
I am currently using Solaris 5.8,with TLS 1.0, but now i would like to upgrade to TLS 1.2.
Since Solaris 5.8 doesnt support TLS 1.2.
What is the minimal upgrade i need to do( solaris Version) to use ...
2
votes
1
answer
968
views
Temporarily halt ZFS resliver to copy data
I have a ZFS pool that had two drives go bad on the same day. Now I'm left in a state where it is in a continuous resliver process that never seems to finish. In the meantime, I'm just trying to ...
7
votes
4
answers
229
views
Any transparent filesystem for SunOS
Back before Solaris SunOS had a cool feature called transparent file system.
The basic concept allowed disk files systems to be stacked like transparencies on an overhead projector.
And allowed the ...
6
votes
1
answer
788
views
With a 500GB SSD and a 250GB SSD is it possible to mirror a 250GB partition on the 500GB with the 250GB SSD using ZFS?
So I have a Samsung 250GB 850 Evo SSD and a 500GB 860 EVO SSD. I'm looking at using Solaris for this server (so looking at whether doing this with ZFS is possible). Is it possible to mirror the 250GB ...
1
vote
0
answers
68
views
SmartOS can't ping any ip that resolves to failover ip
Our server is running SmartOS, we have 2 network cards one for internal use (10.x.x.x) and one external, i am able to ping any website / service except domains that resolve to our Failover IP (The IP ...
0
votes
1
answer
688
views
Solaris 11 - Extend/Grow ZFS Pool
At present, we have a Solaris server which is using ZFS as storage for the zones. The storage is presented from a SAN via LUNs.
I have a zpool that is 500gb in size (provisioned from a 500gb LUN from ...
0
votes
2
answers
1k
views
Installing KVM on Oracle Solaris
As searched shown KVM is not bare-metal and can be installed on some Linux distros, I wonder is it possible to install KVM hypervisor on Solaris?
0
votes
1
answer
1k
views
solaris zone migration - zoneadm attach failed on solaris 11
I'm trying to attach a solaris 10 non-global whole root zone (global zone solaris 10) to a solaris 11 global zone, but the zoneadm attach failed with below error.
root@Globalzone:~#zoneadm -z ...
3
votes
2
answers
171
views
In Solaris how can I verify a user password for an account that is set as /sbin/nologin?
I have an account that is only used for remote calls from a WebSphere app server to access a table in a DB2 database. The account is set as /sbin/nologin so I cannot su to it to challenge the ...
3
votes
2
answers
155
views
What address should the client connect the socket to [duplicate]
SOLVED
SOLUTION: I tried the connection with a little server program and it works perfectly fine. I could connected it to 10.195.5.53. My problem is within the software of my client program it has ...
1
vote
1
answer
176
views
solaris 11.3 / 11.4 crash if zfs pool should be imported
My Solaris 11.3 system had a reboot for whatever reason and since than a zpool is tried to be imported.
Assertion failed: range != 0, file ../../../uts/common/fs/zfs/spa_misc.c, line 1326, function ...
0
votes
0
answers
878
views
Trying to enable auditd but svcadm not in solaris 10
I am new to Solaris.
environment: Solaris 10/ i386
Here's my problem:
I want to enable auditd to start generating system auditing log file. (Like service aduitd start in CentOS.)
And every guide I ...
0
votes
2
answers
265
views
Linux Script to Solaris
Hellooo!
I have the following sentence, that works on Linux, but not in Solaris Version.
YEAR=2019
echo $(expr '(' $(date -d $YEAR/9/30 +%s) - $(date +%s) + 86399 ')' / 86400) " days until deadline" ...
0
votes
1
answer
314
views
How do I see LDAP traffic in snoop on Solaris?
When I use snoop to record/view traffic on my Solaris 10 server it automatically shows/decodes LDAP traffic for me if I specify port 389
But I also need to snoop on port 3268 (which is also LDAP ...
0
votes
1
answer
229
views
LDD cannot find library on sol11_64 bit
We have been compiling with gcc successfully on Solaris 10. Now we are porting to 64-bit on Solaris 11 (sol11_64). We use a library developed in house called MSP and use -wl,rpath (equivalent to -R... ...
1
vote
2
answers
2k
views
Solaris Zones - Prevent Zone from Booting
I have a server with a master zone and 4 'child' zones. I now only need master + 1 zone, but cannot simply delete the unneeded zones.
At the moment the unneeded zones are shut down and show inactive. ...
2
votes
0
answers
69
views
oraInventory issues on solaris
I have created a script to install oracle 11g on Solaris. My script works 100% well on solaris 10/13, but fails on 10 9/10.
The install logs are exactly the same up until this point:
INFO: Waiting ...
0
votes
1
answer
113
views
How to disable systat on Solaris 10 & 11
According to the Solaris server remediations listed in Solaris for ISPs Administration Guide, I want to disable systat on Solaris 10 and 11. Is there any command to disable systat in Solaris 10 and 11 ...
2
votes
1
answer
185
views
looking for dtrace script to list top used nfs files
I'm currently using https://github.com/siebenmann/cks-dtrace/blob/master/nfs3-mon.d to identify most active datasets on our NFS server (Solaris 10)
Unfortunately I need to dig deeper, and I would ...
0
votes
1
answer
983
views
OpenLdap inetOrgPerson object class attribute missing : "middlename"
I have an openLDAP installed on my server. Please refer image below for the details.
My OpenLDAP version
My issue is that i can't find middlename attribute under inetOrgPerson object class, which is ...
2
votes
3
answers
816
views
Password change audit on solaris
Is it possible for the Solaris audit sub system to log all password resets for local Solaris accounts?
I can't find anything in Oracle's docs, or through general googling, so I'm curious whether this ...
0
votes
0
answers
328
views
Apache httpd reverse proxy on solaris only empty page
this is my httpd.conf file I tested reverse proxy without any virtual hosts in this first draft.
Where is the problem? SSL is working fine by the way that is not the problem.
#
# This ...
1
vote
0
answers
211
views
NET-SNMP in Solaris 11.3 -How configure filesystem full and a process down?
i have configured the community in one Solaris 11.3 System and it works
But.. for monitoring filesystems full or an application process down,
my question is, how must i add this control in snmp.conf?...
1
vote
1
answer
329
views
ps -ef and top does not output a list of processes. What parameters should be increased?
I tried to execute ps -ef or top but they does not output a list of processes and is waiting for something.
vmstat 99% idle CPU.
OS Solaris 8. Hardware Sun V440. 4 CPU 16 G RAM. Swap 4 Gb.
After ...
1
vote
1
answer
416
views
How to increase the size of the /opt file system in the global zone of smartOS running in VMWare?
I downloaded joyent's smartOS vmware image and got that running. Now I would like to increase the size of /opt because they were pretty stingy with it in the vm.
In the vm's settings, I expanded the ...
1
vote
3
answers
1k
views
Solaris 11 find empty folders (-empty not work)
How to find empty dir and delete in Solaris 11.
I try this:
find . -type d -empty
Output:
find: bad option -empty
find: [-H | -L] path-list predicate-list
1
vote
2
answers
572
views
Where are the network configuration files located on Solaris 11.3?
On RHEL 7, network configuration files are located in /etc/sysconfig/network-scripts/ifcfg-*. Is there an equivalent configuration file location for Solaris 11.3 so I can edit network devices using ...
1
vote
1
answer
750
views
iostat showing wait queue when device is not 100% busy
I am on Solaris 11 and I am seeing the following
%w=32
%b=62
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
47.5 2564.6 1460.1 33481....
2
votes
1
answer
2k
views
How to set up ldap client?
I am having a chicken and egg problem setting up ldap client on OmniOSCE, which is a Solaris fork.
Question
From what I can tell from the below, then ldap_client and ldap_cachemgr needs each other ...
1
vote
0
answers
66
views
Force NFS to search nobody user only locally (/etc/passwd)
I have a server solaris with files and ldap as NSS repository and a NFS server.
Every time the NFS service is invoked, it procced with a search of the user nobody on ldap nevertheless the user is ...