Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
2answers
31 views

Can a Solaris 11 account prefixed with # be used to login?

I have been given a list of accounts on a Solaris 11 server that contains several accounts which are prefixed with a # character: "#username". (No LDAP is being used, and all accounts are local ...
-2
votes
0answers
27 views

Trouble while using useradd command to add a user in solaris

sudo useradd -c "Archana Saini & 758904381 SVN" -g svnuser -G edwgrp1,edwgrp2 -u 19408 -s /usr/bin/bash -d /export/home/as250067 -m as250067 getting an error: UX: useradd: WARNING: as250067 ...
0
votes
1answer
23 views

Ipsec tunnel with solaris10..what I miss?

I want to create a two Solaris10 tunnel encrypted with ipsec.Configuration is simple: 2 solaris10 nodes,lan not encrypted,tunnel encrypted. Lan is e1000g0 and tunnel is ip.tun0 Ip "clear" for node1 is ...
1
vote
0answers
12 views

Viewing Port Info FC Solaris 11

I have a hba card with two ports (port 0) and (port 1) and I want to know how can obtaining using OS the info to mapping the wwn that I can see using fcinfo hba-port command to a port of the hba card. ...
1
vote
1answer
51 views

Solaris and smf: how to do a rc.local shutdown with smf?

With the old good SystemV scripts, if I want something before shutdown, I put a script like this in /etc/rc0.d/ K400rc.local.shutdown.sh And I edit it and put my commands which I want to run before ...
0
votes
1answer
53 views

Replace application from computer with cpu SPARC 64b to computer with cpu Intel 64b [closed]

I have application compiled on server with Solaris 8 and CPU UltraSPARC-III+ x64b and need replace it (due to server end of life) to another new machine with CPU INTEL 64b , its may be same OS or ...
1
vote
2answers
54 views

Solaris script - modified date file age

I have a bash script on a Solaris server to provide an alert if a file is in a folder location for longer than 5 minutes. if [ -f $1 ] then a=0 else a=1 However, it is throwing a lot of false ...
0
votes
0answers
29 views

Solaris - modified date file age [duplicate]

I have a bash script on a Solaris server to provide an alert if a file is in a folder location for longer than 5 minutes. It seems the -mmin command doesn't work in Solaris. if [ -f $1 -mmin +15 ] ...
1
vote
5answers
81 views

IF construct in Solaris box to compare hh:mm:ss

I had created the below script which does the comparison between hh:mm:ss format variables. #!/bin/sh lag=00:00:00 MAX_LAG=00:05:00 echo $lag echo $MAX_LAG if [ "$lag" \< "$MAX_LAG" ] ##if [ "$...
2
votes
2answers
50 views

Solaris : Sort numerical values

I have a file with following values. keyword1 19.02 1.69.94 keyword2 19.01 1.68.118 keyword3 19.02 1.69.119 keyword4 19.01 1.68.115 keyword5 19.02 1.69.304 keyword6 19.02 1.69.39 I want these to be ...
1
vote
1answer
35 views

Bash SSH Version [duplicate]

Unable to assign the SSH version number to a variable in bash. Running the below code, the output from "uname -a" is assigned to the variable "os", however the output from "ssh -v" appears in the ...
1
vote
1answer
21 views

Solaris 11 - PAM application

I'm trying to compile an application which interacts with the PAM system on Solaris 11, however everytime I try compile the code I get "fatal error: security/pam_appl.h: No such file or directory" ...
0
votes
1answer
35 views

How to start the default browser (and/or any default application) from command line on Solaris?

I'd like to open a URL in the default internet browser from my application. My application gets compiled for MS-Windows, Linux, Mac and Solaris. One way to achieve that on Windows is using the shell ...
5
votes
2answers
215 views

Rename multiple files, add date in the middle

I want to rename all files in a folder, including a current time stamp in the name, retaining the original extension, in Solaris, like this: test1.txt > test1.date.txt I tried this, but I lose the ...
-1
votes
1answer
42 views

How many packages can one pc contain (without conflicts)? [closed]

I'm talking about one architecture, one distribution "at a time" (no multi-boot) and only packages in official repositories. If repos from different distros can be mixed, I'd like to distinguish ...
-2
votes
1answer
56 views

Top 15 Users in mount level

I need to get a list of the Top 15 users (storage) in every mount. I am able to get the mount level information but I am not able to get the top users in every mount. I can see the nested folders in ...
0
votes
1answer
37 views

How to check which process is writting on FileSystem Solaris

I need to identify what process is writing non-stop on the Disk. I tried to run prstat -t to get the list of the processes running, but I can't identify/find which process it is. running df -k , I ...
0
votes
0answers
40 views

User entries not deleting in lastlog file in Solaris

I am deleting a user in Solaris 10 and 11.  If I delete a user using the command userdel -r test1 and then check my lastlog file /export/home/ch185140/lastlog, I get output like this: 1 tj100201 ...
1
vote
1answer
60 views

usermod command not working on solaris

I am trying to add one more group in already added supplementary groups for a user. rcc is the name of the supplementary group I need to add sm254040 is the user id. when I run the command usermod -...
2
votes
4answers
95 views

Variable in Date command

I want to use a variable inside date command . GNU date is not supportable in my system. I use Sunos and when I use date with -d option it is shwoing -d as bad substitution. #!/usr/bin/ksh ...
1
vote
1answer
96 views

How to limit swap usage in Solaris?

I have an Oracle Solaris 11.3 which has 128 GB of Memory (RAM) and 80 GB of Swap. I want to limit the use of swap space (not its size just the usage). I know in more modern linux distros ...
0
votes
1answer
38 views

postinstall and postremove script not working

I am installing a package in Solaris server, my postinstallation and postremove file are kept in below path: /export/home/username/ABC/root/opt/ABC/bin I have added this path in prototype file like ...
1
vote
0answers
37 views

Uninstalling a Solaris package not working [closed]

I want to uninstall a package that I have installed. When attempting to uninstall it, I get an error "package not found". I have checked that the package exists and is available using pkginfo -i '...
1
vote
1answer
60 views

File/files that is/are responsible for password aging in solaris

What file/files is/are responsible for password aging in solaris server? Whenever a user is added, the default password aging limit is 90 days right? So is there a config file responsible for this?
0
votes
1answer
70 views

Solaris 11 change current image / “entire” package

I need to install a new Solaris image on our server as it used to be under a support agreement but is not anymore, and as such I'm unable to download any new packages from the (https://pkg.oracle.com/...
1
vote
1answer
67 views

What does it mean if the write() system call in Solaris returns EACCES?

We're having a weird issue in one of our Bamboo plans, which we can't replicate 'locally' (on the same machine, with the same user) It's failing to copy a file. Here's a truss log: error 14-Dec-...
0
votes
2answers
33 views

On Solaris I get good id mapping..on linux not,why?

I use an Active Directory server for authentication,Solaris works fine following this Howto. All works,and my user "user1" get the right UID assigned on Windows AD,which is 10000. On linux I follow ...
0
votes
1answer
82 views

Solaris 11.3 - Unable to install system/header

I'm (unsuccessfully) trying to get GCC installed on Solaris 11.3 but am running into a lot of issues. My current issue is that I'm unable to install the package "pkg://solaris/system/header". ...
1
vote
3answers
103 views

How to switch first name with last name in this situation?

I'm given a file with many lines like so: Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:68900 I need to change the order from Firstname Lastname to Lastname, Firstname. I'...
1
vote
1answer
37 views

Why does `xargs -n ` on SmartOS (SunOS) behave differently than other implementations?

It seems the -n option on the xargs found in SmartOS (and I assume Solaris) does not behave like any other version of xargs I've encountered. Take this example: Builtin /usr/bin/xargs (odd behavoir):...
0
votes
2answers
57 views

How to find a newly joined node has windows, Linux or Solaris operating system?

I am doing a network service topology diagram. I need to identify the newly added computer's operating system so that I could run different scripts based on OS. How could I identify the newly added ...
0
votes
1answer
24 views

How to find if partition is soft partition or not - Solaris 10

How to find if partition is soft partition or not in solaris 10?
-1
votes
1answer
39 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
1answer
33 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
91 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
99 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
49 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
44 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
2answers
33 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
67 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
58 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
1answer
73 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
40 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
94 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
1answer
44 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
127 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
62 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
34 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
1
vote
2answers
393 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
85 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.: ...