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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

How to identify the list of patches installed on Solaris 10 and 11 with date?

How to identify the list of patches installed on Solaris 10 and 11 with date? Showrev -p and patchadd -p does not have date on Solaris 10. Pkg list is not giving date for Solaris 11.
0
votes
0answers
15 views

How to sort command name + arguments output of ps in solaris

Below is my sample output of ps command in solaris myuser 26856 0.0 0.1 1716368 118576 ? S Feb 18 2:17 /web/bea/platform1221/jdk1.8.0_221/bin/java -Djava.security.manager -Djava.security....
0
votes
0answers
19 views

Formatting SCSI Disks

I have a vintage Sun Fire V440 running Solaris 9 and recently purchased 8 "refurbished" Seagate ST3300007LC Ultra-320 SCSI 300 GB disk drives for cloning the system's four disks (which are ...
-1
votes
2answers
59 views

Print all entries in file after (and including) a specific time

This is my date format in my file: [1/24/21 9:19:20:183 MYT]. I want to print all entries marked with timestamps from this moment onward to the end of the file. How can I do this using sed?
0
votes
2answers
28 views

Solaris 11 and samba4 in non-standard dir, works all except finger

The Oracle packaged version of samba gave me some problems(error with krb5 and no join with AD samba4 server). So I recompile by myself using IPS the latest version of samba(4.3.13). After 30 minutes ...
1
vote
1answer
21 views

Solaris client ldap and Samba4 AD ldap server: some strange things

I have configured Solaris to use ldap users. The ldap server is Samba4 DC, the client is Solaris 11.4. I have "join" the server with this command ldapclient manual \ -a credentialLevel=...
0
votes
1answer
37 views

Need cp -ax alternate for Solaris

On my Linux host; this cp command helps copy files and folders both while preserving the timestamp and permissions cp -ax <source file/folder> <destination> Need similar command for SunOS ...
0
votes
1answer
29 views

Solaris 11: zfs smb share works only as guest

I'm on Solaris 11.4 I create a zfs fs zfs create rpool/share and I set for sharing via smb zfs set share=name=zfssmb1,path=/rpool/share,prot=smb,csc=auto,guestok=false rpool/share When I try to ...
0
votes
0answers
13 views

Get the lock status of an account on Solaris

I do not have root privileges. I wish to get the lock status of a given account say mwss I'm on Sun Solaris uname -a SunOS myhost 5.11 11.4.27.82.1 sun4v sparc sun4v Below is the output from shadow ...
1
vote
1answer
30 views

Howto move an existing Solaris11 installation to a new disk

I want to move an existing Solaris 11 (x86) installation from hdd to a new ssd. Because the ssd is smaller then the hdd, a simple copy with dd is not possible.
1
vote
1answer
20 views

Solaris11 and ips, how to set or substitute the old checkinstall script?

On the old good solaris 10, I used this script to create a totally automatized package for openssh(I prefer to update sshd by myself, personalize it, etc..) This script works fine on my homelan(can ...
0
votes
1answer
34 views

Unable to extract entire tar to a particular directory in solaris

I wish to extract /tmp/moht/104.tar to /tmp/moht/ directory ls -ltr /tmp/moht/104.tar -rwxrwxr-x 1 meadmin meadmin 933498880 Jan 5 07:03 /tmp/moht/104.tar I tried the below commands, but it ...
0
votes
1answer
15 views

recursively delete all files+folders except a specific one file in solaris

The below command recursively deletes all but 104.tar file under /tmp/CURRENT folder. find /tmp/CURRENT/ -type f ! -name '104.tar' -exec rm -rf {} + It however, does not recursively delete any sub-...
2
votes
0answers
33 views

zfs on linux device names

I'm a native Solaris guy and as I look into more Linux use, I'm a little confused about a theme I'm seeing in some posts about ZFS on linux. The posts refer to the use of device names when defining a ...
0
votes
1answer
31 views

how to copy .bashrc file for several users? on solaris

I used this script #!/bin/bash X='$( cat etc/passwd | cut -f1 -d: )' #All-users For X in /export/home/*/.bashrc ; do echo "$HOME/.profile'" >> $X $X 2>/dev/null done source $X ...
0
votes
0answers
23 views

grub - error: no such device on all disks/partitions

In an environment with Solaris 11.4 the S.O is not able to boot. I've research this problem other blogs and all them say to set the root and prefix for a appropriate partition after check the correct ...
0
votes
0answers
20 views

how move an user from 1 OU to another OU in IBM LDAP

Does anyone have an idea how to move a user from 1 OU to another OU in IBM SDS LDAP? Using command or via LDIF file? From Ou= Staff To OU=System ID: testuser1
0
votes
1answer
36 views

Filename of Solaris 11 (11.0)?

I'm trying to find a download-link for the first version of Solaris 11 ie. 11.0, but I'm unsure of what it was called - eg. sol-11_0 , sol-11 , or something else? For comparison, the 11.1 was called ...
0
votes
0answers
25 views

tcsh history contains junk charecters

In tcsh shell. When we do ctrl+c junk charecters getting printed in history. Contents of /etc/.cshrc are below # vi /etc/.cshrc set TERMINAL=`who am i | nawk '{print $NF}' | tr -d '()'` set history= (...
0
votes
1answer
17 views

Can I install an Oracle DB on a Solaris 10/11 VM (not sparc)?

I have Solaris machines (10/11) which are running on VMware and I am intending on installing a DB on them. Can I install on Oracle DB if it's not on sparc? if so- where can I find instructions? If not-...
0
votes
0answers
11 views

Do “lookup ops” interfere with R/W ops?

On Solaris 11, and using ZFS, we monitor the IOPS of the filesystems in different datasets using: fsstat /apool/adataset/* 1 100 where apool is the ZFS pool containing a parent dataset adataset with ...
0
votes
2answers
40 views

sshpass Solaris one liner passing a command

I am trying to pass one liner sshpass command to Solaris box but won't work. those are the options I tried: sshpass -p "passw" ssh "root@135.102.22.0" -o StrictHostKeyChecking=no `...
-1
votes
1answer
94 views

How to check memory utilization in solaris 11 machine?

May I know how to calculate total memory utilization and percent of a Solaris 11.3 machine? Am I wrong in below calculation? or any other way? memfree=$(vmstat 1 2 | awk '{print $5}' | tail -1) ...
1
vote
0answers
35 views

Dynamic Linking when Migrating C++ Program from Solaris to Linux

The Problem I'm attempting to migrate a legacy application's build process from an older Solaris machine to Linux, specifically, RHEL 7.7. The application was originally built using Solaris Studio (...
2
votes
0answers
22 views

Intermittent connectivity to a SunOS 4.1.4 virtual machine

I am running SunOS 4.1.4 (those were the days...) under QEMU, networked via a tap device on the host. I'm starting the vm like this... qemu-system-sparc \ -rtc base=utc \ -drive file=sunos-...
2
votes
1answer
43 views

Date display in Solaris 11

# date +"%b %d %H:$(( $(date +'%M')-5))" Nov 20 12:45 date +"%b %d %H:$(( $(date +'%M')-55))" Nov 20 12:-5 Why I am getting -5 here? How to correct? Pls help.
1
vote
1answer
31 views

Efficiently turn a directory tree into a new filesystem on zfs

I "inherited" management of a system, whose "/opt" (and some other large directory trees) are stored in the root file system. My wish now is to create a new filesystem in the rpool ...
0
votes
0answers
24 views

Linux: Disk Size increases suddenly /dev/md/ora01/dsk/d100 and then decreases itself

Disk Size increases and suddenly decreases: df -h gives following /dev/md/ora01/dsk/d100 309G 292G 14G 96% /global/data01 When i try to go inside the path then i get ...
0
votes
0answers
50 views

Hardening and securing Solaris 10 server

We have some Solaris 10 systems running on a SPARC. A former manager decided not to renew support contract with Oracle so we are missing some patches for the systems. Current management is working on ...
0
votes
1answer
75 views

“grep” usage on Solaris

I did a R package with a function that runs the "grep" system command. This package has been published on CRAN, and the tests on the Solaris platform return an error. This is likely due to a ...
4
votes
1answer
63 views

OpenSSH session is killed when from Perl a syswrite call is made with an empty variable in Solaris 11

We have a strange problem in Solaris 11.4. The problem arise when a code as the following is run from Perl my $emptystring = ""; syswrite STDOUT, $emptystring; The execution of a syswrite ...
0
votes
0answers
32 views

awk command stops the command from completing and returning exit code

I'm on SunOS 5.11 11.1 sun4v sparc sun4v I wish to grab capture the result (success or failed) $? of a command. The below works fine. ps auxww | grep httpd; echo $? Output: 1 But when i add the awk ...
2
votes
0answers
20 views

Solaris 11 no sound despite finding hardware

I'm new to Solaris, less than a week to give an idea how green I am.Smilie Although new to UNIX, I've been running Linux (i.e. OpenSUSE, Ultimate Edition, Arch, and obviously Ubuntu) for many years, ...
-1
votes
1answer
52 views

Need a sed or perl command to replace line that starts with certain text

I am looking for either sed or perl command to find a line in a file on multiple servers that begins with certain text and then replace the entire line. These lines will always start with the same ...
4
votes
0answers
32 views

Illumos/Solaris equivalent of FreeBSD devd (daemon to run userland programs when kernel events happen)?

I have been searching the illumos man pages for an equivalent of FreeBSD's devd (way to run programs based upon kernel events), but I could not find any. Is there an Illumos/Solaris equivalent of ...
0
votes
0answers
28 views

Solaris10: soft error, and hard error

iostat -En on my solaris 10 server, and I have encountered 6 soft errors, and 0 hard errors. What is the difference between them? What needs to be done?
0
votes
0answers
64 views

SOLARIS 10 .: I/O error

When I try to cd into /data partition and do a ls command, it gives me this error. What can I do, or check for? bash-3.2$ cd /data/ bash-3.2$ ls .: I/O error bash-3.2$ df -ht /dev/dsk/c2t0d0s6 ...
2
votes
0answers
17 views

Script configuration issues

My purpose is to allow user A to run a specific script owned by user B but with user B’s profile loaded. This is on a Solaris maachine. I have users A and B, I set this line: in the sudoers file, so ...
0
votes
1answer
26 views

Differences between swap part in top command vs swap -l command

I have a system running with 256Gb RAM. My swap space is getting exhausted due to some process. So as a diagnostics, we put a crontab to monitor the usage and space. This is where I am confused. The ...
0
votes
0answers
39 views

“last” command for the past 7 days

I have a script which asks for a username and then outputs the login history for the user for the last 7 days. The last command displays everything for the last year but I am struggling to narrow it ...
0
votes
0answers
11 views

Prevent tcsh history printing multiple times

History of commands is getting printed multiple times when exiting the session and logging again. when using below in .cshrc alias postcmd "history -M; history -S" My .cshrc looks like ...
0
votes
0answers
38 views

Delete duplicate entries from history file with tcsh

I am trying to remove duplicate entry(of command with same timestamp) from history file. my .cshrc file looks like below, set TERMINAL=`who am i | nawk '{print $NF}' | tr -d '()'` set history= (1000) ...
1
vote
1answer
81 views

SSH service not restart and log file stop logging

I am using Solaris (5.11 11.3 i86pc i386 i86pc). I am trying disable login by root via ssh I edit PermitRootLogin yes to PermitRootLogin no in /etc/ssh/sshd_config then restart ssh service. I have ...
1
vote
0answers
100 views

Qemu SPARC boot panic on Solaris

I want to boot Solaris8 SPARC version by Qemu. $ qemu-system-sparc64 -boot d -cdrom SOL_8_204_SPARC.iso -net nic -net user -m 2048 But it shows this error: OpenBIOS for Sparc64 Configuration device ...
1
vote
0answers
24 views

How to require password if single-user mode is selected Solaris 11?

I want to demand root password when running single-user mode on Solaris 11. Unfortunately any of the guides seem to work in my case. The /etc/default/sulogin is commented as required, uncommenting and ...
1
vote
0answers
16 views

How can tell CDE that my resources are in a specific subdirectory?

I am resurrecting an old archive that lived on a Sun Solaris 2.6 box 20-someodd years ago. While I thought I had everything archived, it seems that I missed archiving files like .Xresources, .profile, ...
0
votes
0answers
150 views

How to create a union mount (bind two or more directories to one mountpoint) on illumos / solaris?

I have been using union mounts, such as unionfs on FreeBSD or mergerfs on Linux, and now I would need to do the same on illumos (SmartOS). Reading illumos or SmartOS man pages is not helpful. Same ...
0
votes
3answers
46 views

I am working in Sun OS, I want my script to read date from a file(in format %Y%m%d) and add 1 day to that date

I am working in Sun OS environment, I want to add a functionality to my existing unix ksh script where it allows to read a date(in %Y%m%d format) from a file and add 1 day and rewrite the same into ...
1
vote
1answer
153 views

In Solaris box how do we check if hyper-threading/multi-threading is enabled or not using command?

In Solaris, how we can find the status or check hyper-threading or multi-threading is enabled or not using commands?
0
votes
0answers
25 views

Home/End buttons don't work when connecting to Solaris via Putty [duplicate]

I am using Putty to connect to Solaris machine (SunOS 5.11 11.3) from my Win10 PC (workplace mandates win, so it is necessary). Despite trying different terminal definition strings and different ...

1
2 3 4 5
23