Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [solaris]

Solaris is a Unix operating system originally developed by Sun Microsystems (currently owned by Oracle) as a rebranding of SunOS 4.1.x in 1991.

-1
votes
1answer
20 views

How to externally copy an old UFS hard drive?

Here at work our machines are required to run off of old Sun Sparc5's (1995) all running a UFS architecture on the hard drives due to a Solaris 5.3ish base. The way they are configured it is not ...
0
votes
0answers
12 views

Determine Solaris server model inside a zone?

I'm a DBA doing some inventory and as part of it, I gather some system info. I'm wondering if it's possible to determine what hardware a zone is running on if you only have access to the zone? I ...
2
votes
2answers
53 views

Root problem in Solaris 8

I am having some troubles on my Solaris 8 computer. I don't know how this happened, but the path of the user root has changed in /etc/passwd, therefore I can't become the root user anymore. Under ...
-1
votes
3answers
37 views

Grep content for multiple files

My OS is Sun Solaris. SunOS sintscdldmu001 5.11 11.3 sun4v sparc sun4v I gave the command alter database backup controlfile to trace; and happened to forget it. When i needed the contents of the ...
2
votes
1answer
28 views

How can I write directly to a Solaris FIFO pipe over ssh?

I have a Solaris server running a process that has its input and output redirected into FIFO pipes (fifo_in, fifo_out). How can I connect to these two pipes over ssh? I would like to be able to ...
0
votes
1answer
19 views

MAXWEEKS on Solaris is equals to 13

I have a server where MAXWEEKS is set to 13 in etc/default/passwd. I know that this setting means that password will expire after 13 weeks. My question is if the user does NOT change the password, ...
0
votes
0answers
23 views

Need to understand the solaris command for the RAID 0

I'm looking at the below command that was listed in the Oracle KB. Example 9-1 Creating a RAID–0 (Stripe) Volume of Three Slices # metainit d20 1 3 c0t1d0s2 c0t2d0s2 c0t3d0s2 d20: Concat/Stripe is ...
0
votes
1answer
22 views

ZFS magically vanishing available storage space

Running zfs on a system, and my root partition has been shrinking with seeming no explanation. I have now run out of space and can't find where it all went. A simple df shows the following (You can ...
0
votes
1answer
31 views

syslog forwarding

I'm using Solaris and have an application that writes to a log file /app/data/log/foo_log.021118. Am I able to use syslog to forward that specific log file to a remote server? Should I put ...
0
votes
1answer
29 views

Does Solaris 11.4 support Solaris 11.3 branded zones?

My gut feeling is "no", but an Oracle salesperson told me yes. I am not talking kernel zones here btw.
0
votes
0answers
14 views

How to clear volsize property?

How do I get rid of a volsize property? Just to make it like the export? rpool/dump volsize 40G local rpool/export volsize - ...
0
votes
1answer
52 views

Where to find old Fortran library libF77.so.3

We have some old binaries which ran on Sun SPARC systems from around 2000, and we'd like to run them again (we do not have the source code.) I tried running the binaries on a Sun Blade 1500 with a ...
0
votes
1answer
36 views

Solaris difference between 's' and 'l' in permissions

On a Solaris 11 machine, when I execute chmod 2000 myfile, I get l instead of S or s: touch myfile && chmod 2000 myfile && ls -l myfile ------l---. 1 pydoge pydoge 0 Oct 16 12:35 ...
2
votes
2answers
42 views

List HBA information on Solaris 11 OS

Actually I want to know how can I see the Luns presented using a HBA WWN. The view that I want is something like this: LUN (on the server side like /dev/rdsk/...) | WWN (from the server) | Paths (...
2
votes
0answers
26 views

Solaris 11, How to map device to mount point?

Solaris 11, iostat -xncz 5 extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device .... 6.0 18.2 226.7 205.6 0.0 0.0 ...
1
vote
2answers
89 views

Using rsync to preserve permissions only

I'm doing a NAS data migration from a Celerra NS960 to a Unity 500. I have an SMB/CIFS file system I synced using EMCOpy in Windows environment. It's also an NFS (multiprotocol) file system. I have ...
0
votes
1answer
40 views

How to close one side of a TCP connection leaving other side hanging open? (No FIN or RST sent)

I am trying to recreate a scenario where a Solaris client is connected to a Linux server via TCP socket, but the client side of the connection suddenly goes down without sending sending a FIN or RST ...
1
vote
0answers
22 views

Jenkins on solaris operating system

Need to install jenkins server on solaris box, this is the version details, can we get any jenkins package to install? Solaris details: Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
0
votes
2answers
117 views

Memory utilization in %(Percentage) in Sun Solaris?

I would like to get the memory utilization in sun solaris system in % percentage format. vmstat 1 1 | tail -1 | awk 'a=`/usr/sbin/prtconf|fgrep Memory|awk '{print $3*1024}'{ print 100-($5/$a)*100}' ...
1
vote
0answers
52 views

ypcat passwd not able to list if the user has 3 digit user id

I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running. If my /etc/passwd is e.g.: ...
1
vote
0answers
57 views

sendmail relay problem

I have two hosts one of which can send emails to my address, while other can not. I am trying to figure how to make the other host send the mesg to first host so that the first host can send that mesg ...
0
votes
1answer
34 views

mv command is moving to the parent of the provided argument

Let's say I have a working directory: /home/userID/workingDirectory I type a mv command that will affect the parent directory of the current working directory and the working directory itself: mv .*...
0
votes
2answers
66 views

Searching for files within subdirectories?

I have a tree of parent folder and subfolders. The subdirectories have similar names. I would like to search for files stored in the sub-directories. How can I do that? For example: Parent-...
1
vote
1answer
20 views

I'm trying to output password statuses for RedHat. Is there an equivalent of “password -s” in RedHat?

Like the title says, I'm trying to output password statuses for RedHat. For my Solaris machine, I was able to run: for i in `more shadow | awk -F: '{print $1}'`; do passwd -s $i; done And that ...
-1
votes
1answer
147 views

return: can only `return' from a function or sourced script

I have a test script that is producing the following on Solaris 9 running on SPARC: $ cat test.sh #!/usr/bin/env bash [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 0 || return 0 $ ./test.sh ./...
0
votes
1answer
57 views

Script for verifying service [closed]

I am trying to get this to run and am having no luck. I am trying to see if 2 services exist. If they exist and they are disabled, it should return pass. If not then fail. #!/bin/bash # echo "...
0
votes
0answers
15 views

How do I compile mod_auth_kerb-5.4 on Solaris 10

I am trying to compile a new version of mod_auth_kerb-5.4 to match a new version of Apache2.4 on Solaris 10 I run: LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=...
0
votes
2answers
49 views

How to extract number from the below string which is the output of a command?

I want to extract message number which we get on executing command mailx -H. I want the message numbers of unread and new messages only. I tried with the below command: mailx -H|grep '^ [UN]'|cut -c ...
1
vote
2answers
53 views

How to extract lines from source file with reference file, add to the result file? [duplicate]

I have a question and cannot figure out. It is Solaris. the over simplified source & reference files. s.txt source file: dn: cn=task,cn=Groups,dc=domain changetype: modify add: uniquemember ...
3
votes
4answers
2k views

Solaris won't update because ddt-incorporation is using a self-signed certifcate

I'm trying to update my Solaris 11.3 x86 system. The system hasSun/Oracle software on it, including Sun Developer Studio and Sun SSH server. It does not have other software on it, and I don't have ...
3
votes
0answers
46 views

Is there a reason why the value of a wchar_t retrieved by mbtowc() is not the UNICODE value?

If I convert the character 'ö' from a UTF-8 locale (where is is represented by the two octetts 0xC3 0xB6) to a wchar_t, I get a wchar_t value that is 0xF6. This applies to Linux and Solaris. If I ...
0
votes
0answers
20 views

Trouble installing Oracle Developer Studio

ALL, root@solaris:~# df -k Filesystem 1024-blocks Used Available Capacity Mounted on rpool/ROOT/s11.3qa_example_backup 511967232 5085980 495960478 ...
1
vote
0answers
31 views

Passing environment variables via sudo on solaris 10

I need to execute a command via sudo on Solaris 10, and I need to pass two environment variables to the command. This must be done in /bin/sh, not bash, not ksh. This is possible on Linux, serveral ...
0
votes
1answer
32 views

Problem installing Solaris Studio

I was following instructions here, but unfortunately, trying to do the last command: $ pkg contents -m sunpro-incorporation | grep 0.175 didn't yield anything. NOTE: I'm trying to install it on ...
1
vote
1answer
47 views

Equivalent of “ssh-keyscan -H” in Solaris 10/11

I'm creating a Perl program that adds the specified host in root's known_hosts file. The program works in AIX and Linux, but not in Solaris and sadly, I can't find its equivalent command. Sample line:...
0
votes
0answers
35 views

Difference between /opt and /export/opt on Solaris 10 [duplicate]

I noticed that if I delete a folder, example: ls /export/opt/Java i386/ sparc/ rm -r /export/opt/Java/i386 This change is also reflected in /opt/Java: ls /opt/Java sparc/ Are these two ...
1
vote
2answers
64 views

Upgrading Solaris zone to solaris 11 [closed]

We have solaris zones running in Sparc T5 server Currently a solaris zone run Solaris 10 OS version. $uname -a SunOS zone01 5.10 Generic_150400-30 sun4v sparc sun4v Going further, we would like ...
0
votes
1answer
403 views

How to permanently Set/change the Limits in Solaris 10 system wide

I received email from oracle to change the limit on solaris 10 server to make oracle application work, unfortunately i have no experience in Solaris, so need assistance Values will be like below ...
1
vote
3answers
120 views

How much swap space does Solaris 11.3 need to run a compiler?

I have a desktop with a Core i5 3rd gen and 4 GB of RAM. I am using the machine to test building some free software projects I contribute to. The machine serves no other purpose. I allocated 4 GB ...
0
votes
0answers
108 views

Solaris 11.3 and SSHD privilege separation

I'm working on a OpenSSH server installation on Solaris 11.3. When I build OpenSSH 7.7p1 from source and install it make dies at the end after installing the components: $ sudo gmake install ... /...
0
votes
1answer
111 views

Shell - Find the latest file which matches a given pattern

I have the following files. root@VMBOX:/client# ls -lrt /client/*/ver* /client/*/*/ver* -rw-r--r-- 1 root root 0 Jul 5 18:54 /client/folder299/version_1 -rw-r--r-- 1 root root 0 Jul 5 18:58 /...
1
vote
2answers
132 views

Can't create a swapfile for Solaris 11.3

My compiles are failing on Solaris 11.3 due to out of memory kills. The box is an UltraSPARC workstation with 600GB drives and 8 GB of RAM and a fresh OS install. It is absolutely befuddling there's ...
0
votes
1answer
97 views

pkg set-publisher: One or more client key and certificate files have expired

I have an older Solaris 11.3 box. The box has my old key and certificate on it and they are expired. It is causing pkg update to fail: pkg update: One or more client key and certificate files have ...
0
votes
1answer
169 views

pkg set-publisher fails on Solaris 11

I'm trying to install Sun/Oracle Studio on Solaris 11. We have a free developer account on the Sun Developer Network. I have the developer key and certificate. I scp'd them to the UltraSPARC ...
2
votes
1answer
74 views

How do I avoid colour channel issues with 24-bit colour remote X11 with older Solaris?

When using CDE on older Solaris systems (2.5.x) remotely using XDMCP with TrueColor visuals, on-screen pixmaps are missing the blue channel and have the red and green channels swapped. This means ...
1
vote
1answer
106 views

Solaris 11 manifest-import does not automatically import my manifest

I have a manifest XML file. When I copy my XML to /var/svc/manifest/ and restart manifest-import service sudo svcadm restart svc:/system/manifest-import, the service does not appear in my service list....
-1
votes
1answer
121 views

chmod very slow on NFS [closed]

Is there any way I can speed up chmod on an NFS server? I am running chmod on a number of files each time a script is run. It is almost immediate when run locally, but when targeting the NFS server ...
1
vote
0answers
50 views

How to install php7 on solaris 10 with Oracle Instant client

I am trying to install php7 with oracle on Solaris 10. The oracle instant-client-basic and instant-client sdk was downloaded from oracle The instant client-basic was unzipped and this creates the ...
0
votes
2answers
32 views

truss on Solaris showing FDs closed that aren't opened

I'm confused. One of our DBAs is reporting an issue with LDAP connection errors. I figured I'd start tracing that from truss to see exactly what it's connecting to, but what I'm seeing makes no ...
0
votes
2answers
190 views

Whats the difference between /tmp and /swap and /system/volatile in Solaris 11

My Solaris 11 df output has different swap entries root@hostname:/# df -h | egrep "tmp|swap" /tmp 108G 5.1G 103G 5% /tmp swap 150G 119G 31G ...