A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
3answers
2k views

solaris 11.3 first time login

Dears, I just installed solaris ios on vmware and wanted to know the very first credentials to log into the system i assume the user is solaris but tried root or solaris for the password but with no ...
0
votes
2answers
922 views

Autofs home folders from solaris 11

I'm having trouble since 2 days with autofs. I have a Solaris 11 Server. There I share the folder /export/home with the following command: share -o rw -d „Freigabe von /export/home“ /export/home My ...
2
votes
1answer
57 views

Find and Replace on a particular column

I like to find and replace on the specific column using sed, because I don't know why awk gsub() didn't work in my Unix (Solaris) that's why I want to use sed. Sample Data: 122|abc|ds,we||wrqg 145|...
0
votes
0answers
27 views

SSH skipping 2 hops in older Sun Solaris server (SSH_1.1.8)

Situation : I am using Sun_SSH_1.1.8 (at least 10 years old) in my below (Sun Solaris) box/servers : From U1@Box1 I ssh to U2@Box2, then U3@Box3, then U4@Box4. There are authorised_keys setup ...
1
vote
1answer
210 views

command to add multiple “secondary groups” for a user in Solaris

I am trying to add 2 secondary groups for a user is Solaris system, but not able to do so. It only adds 1 secondary groups. I've done enough R&D, not sure what to do. Below command I am using : ...
0
votes
1answer
119 views

sed to remove leading comment on crontab with Sun Solaris 10

I am writing a sed command that should uncomment an entry in crontab on sun Solaris 10. I have tried 2 ways and they are working on Ubuntu but they didn't work on Sun Solaris 10; it returns sed: ...
1
vote
2answers
82 views

get count with grep

im working on sun10 Solaris os,i have a process that returns table as by using this command dmh -q 12 the below: *PROFILE PRIORITY COMM_TYPE QID # OF MSGS ATTRIBUTES/VALUES* 13 ...
2
votes
1answer
254 views

List processes that have been running more than 2 hours

How can I list processes, with a defined name, that have been running for more than 2 hours. This is what I have tried. ps -efo pid,comm,etime | grep 'process name' | awk '{print $3}' This is for ...
1
vote
1answer
504 views

Solaris 11.3.1 upgraded to 11.4.0 failing

trying to upgrade from Solaris 11.3.1 to 11.4.0 and I keep running into a dependency problem that for the life of me I can't get past. I'm guessing it needs a package that isn't available inside ...
1
vote
2answers
234 views

Solaris how to exclude files in gz

How do I exclude files while gz in Solaris; I want to gz directories inc sub directories but exclude /temp directory and *.gz files. This is what I have used so far; tar -cvf api_v2.x.tar.gz --...
1
vote
0answers
42 views

How to exit if a on of shells failed?

I'm trying to connect to an Oracle DB with a Perl script to execute some queries on solaris OS, and I have saved each one of them like: create table t1 .. update t1 .. insert into t1 .. The main ...
0
votes
1answer
29 views

Adding a user with disabled password and login

How do I add a user similar to this in Solaris (disable password, login and no home page) for service account. adduser --system --ingroup group-name --disabled-password --disabled-login -no-create-...
0
votes
1answer
30 views

Solaris server not accessible after office relocation (including network change)

We had an office relocation activity as part of which one of our Solaris server was moved to a different location & different network. We forgot to change the ip of the server before the hardware ...
1
vote
2answers
81 views

Convert Bash script to AWK script

CURTIME=$(date '+%s') LOG=/home/apache_logs.txt FILETIME1=$(stat $LOG -c %Y) TIMEDIFF1=$(expr $CURTIME - $FILETIME1) I created this script in Ubuntu and it works fine there but on SunOS, (...
2
votes
1answer
211 views

Solaris pstack how to read output / output format

I have the output from a Solaris pstack on a core file. I don't understand how to map the numbers in the log to the parameters that were being used by the functions in question at the time of the ...
0
votes
0answers
66 views

How do I get Oracle Solaris 11.3 to lock the screen automatically

Anybody know how I can get Oracle Solaris 11.3 to lock the screen instead of automatically logging out after a default period of time? The time frame does not matter; it's the fact that I get logged ...
2
votes
0answers
33 views

What are the directories and configuration files used to set the umask by the superuser in Solaris UNIX?

One file I can think of is the .profile file in the user's home directory. However what are the absolute paths (directories and file names) that are used to set the UMASK level at the operating ...
0
votes
0answers
30 views

Solaris: internal compiler error: Failure while writing SunIR file?

Today our Solaris box started randomly failing to build our company software product. It's a fairly large build of hundreds of .c files. The error the Solaris C compiler cites: (On a random file in ...
1
vote
2answers
324 views

Solaris 10,print only banner

I have a remote printer by cups(cups-pdf virtual printer) on linux server. BSD,Hp-ux and linux works fine,on solaris 10 i have this problem,print the banner only,not the text of file. I have ...
0
votes
0answers
21 views

keyboard key UP not responsive in Solaris

I would like reach in terminal previous executed commands. Therefore I use the key arrow up. However I have to hit the key several times in order to display previous commands. I already tried to ...
0
votes
0answers
32 views

Why is the iostat output only wait column high on Solaris 11?

When performing end backup on Oracle DB, lgwr has a 4000 millesecond delay. And.. Only wait and %w are high in the iostat result. extended device statistics r/s w/s kr/s ...
0
votes
1answer
65 views

Installing Vmware ESX on Solaris server

I have been told to install VMWare ESX on the Solaris server, but I could not find resources about this issue on the web, how is that possible?
1
vote
0answers
43 views

Find where exactly a script is being called from

There is a script in a server (known location) that copies a file from one location to another, eg : cp /dirA/file.DAT /dirB/file.DAT This script is being run daily and copies the file, but I don't ...
1
vote
0answers
44 views

sendmail -v email@email.com returns killed when root

For some reason some of my Solaris 10 systems won't send mail as root. If I try to send a test email as a non root user using sendmail -v I get a nice long list of details ending in success. If I ...
0
votes
1answer
2k views

Unable to mount NFS share in Solaris Local zone

I am trying to mount one NFS share in my Solaris Local zone.But I am getting error like below. showmount -e hostname showmount: hostname: RPC: Rpcbind failure - RPC: Timed out. I tried to ping the ...
2
votes
2answers
166 views

ZFS pool performance, zio_write_issue

We have a relatively large ZFS pool (23 vdevs in raidz3, ~1PB raw). The headnode has 16 cores and 192GB of RAM. We have one ZIL in the pool and no L2ARC. The pool is running solaris 11.3 The pool can ...
8
votes
3answers
4k views

Where is GCC-5 after installing it on Solaris 11?

Please forgive my ignorance... I only use Solaris for testing C/C++ libraries I have an interest in. I'm not a Solaris admin or Solaris user. I installed GCC-5 on Solaris 11.3, x86 because I needed a ...
0
votes
0answers
146 views

Unable to update Oracle Solaris 11.3

I've got a fresh installation of Solaris 11.3. I made a local repository and I issued pkg update and rebooted the system but I don't get my system updated root@db1:/repository/repoSolaris11# pkg ...
4
votes
2answers
278 views

Solaris 10: Virtual Memory Exhausted

Our group is all programmers and exclusively use Linux or MacOS, but a customer uses Solaris 10, and we need our code to work there. So we scrounged up an old SunFire V240, and a rented Solaris 10 VM ...
1
vote
0answers
58 views

How do I get Solaris 11.3 to recognise my hard drive as having 4Tb capacity?

I have a hard drive which I know has 4Tb capacity, but is only showing on my Solaris 11.3 x86 system as having 2Tb. format -e yields the following: c1t2d0: configured with capacity of 2047.89GB 2. ...
0
votes
1answer
80 views

wc behaves differently on Unix and Linux

I observed different results when I tried echoing value and counting the number of characters with "wc -c" on Linux and SunOS(Unix). root@SunOS-machine:~# echo "1" | wc -c 2 root@Linux-machine:...
3
votes
2answers
1k views

How to know NIC firmware in Solaris 11.3?

I have Oracle Solaris 11.3 (Intel) installed. In my server, I have three different NIC adapters placed. I have recently upgraded the firmware. I want to know whether the firmware has been ...
16
votes
4answers
15k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
1
vote
1answer
58 views

Why does the solaris-8 “scadm shownetwork” command show a different IP address that the one that is actually configured?

When I run the scadm command, the IP Address is different than the one I have configured on my server: 55 /usr/platform/SUNW,Sun-Fire-V210/sbin> uname -a SunOS UI1 5.8 Generic_108528-29 sun4u ...
1
vote
1answer
698 views

Dedicated CPU allocation to zone in Solaris 11

I have created a zone called web in Solaris 11. Now I want to allocate one dedicated CPU resource to that zone. But it's throwing an error: "No such entry". I did the following... zonecfg:web> ...
0
votes
3answers
981 views

Hours and Minutes addition in Solaris

I work in a solaris server and the date -d option is not there. No gdate as well. Here's what I have which works in Linux: date -d "$hr:$mi $duration minutes" +'%H%M' where $hr and $mi are hours ...
3
votes
1answer
179 views

How to force OmniOS (illumos) “format” properly recognize disk geometry?

I have a FreeBSD-initialised 8-disk vdev, all 10TB WD RED, now on a server with OmniOS r151026, connected via LSI 3008 HBA. At POST, the card shows all disks with right geometry (I can post picture ...
1
vote
1answer
653 views

Solaris script to scp files from the Solaris server to Linux server

I need to scp some .xml files (of duration April-May 2016) from a Solaris server (Server A) to a Linux server (Server B) where the Solaris server is the home directory where the script is written and ...
2
votes
4answers
460 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 ...
5
votes
2answers
6k views

bourne shell if [ -e $directory/file.$suffix ]

#!/bin/sh CONFIG_DIR="/var/opt/SUNWldm/" read option if [ $option -eq 9 ]; then ret=1 elif [ -e ${CONFIG_DIR}file.xml.${option} ]; then echo "TRUE" fi I have the above code in a while ...
0
votes
0answers
44 views

X11 Forwarding Terminates Without Error

I am trying to execute an application on a remote Solaris 11 machine using Xming and X11 forwarding, however when attempting to connect with X11 forwarding using plink the connection succeeds but ...
3
votes
4answers
532 views

text processing rows to columns for a block

I have a file containing lists on Solaris: List A hi hello hw r u List B Hi Yes List C Hello I need to transpose the lists as shown below: List A List B List C hi Hi Hello ...
2
votes
1answer
167 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
2answers
767 views

Jboss application startup and shutdown asks for password. How to automate with init script?

Jboss application startup and shutdown of BMC-IDM asks for password (called keystore password, some Java stuff). How to automate with init script? Stop application > stop_idm_suite.sh Suite ...
0
votes
2answers
76 views

Allow null password for file transfer from Sunsolaris machine to linux mchine?

I m trying to pull a file from a Solaris server to my Linux server and I did it successfully by using scp.I want to run this below command as a cronjob, How can I save password for this automation ...
1
vote
3answers
8k views

/etc/vfstab in Solaris 11

I would like to mount a folder from the remote server 10.12.13.2. When I type: mount -F nfs 10.12.13.2:/username /remote/username, the folder username gets mounted in the directory /remote/username. ...
1
vote
1answer
2k views

Solaris 10 openssl version 1.0.1k but apache httpd not compiling,showing version too old-0.9.8a

I have compiled openssl from source on my Solaris machine to a newer location apart from the default one. When I set the newly compiled ssl path in PATH variable and LD_Library path and then compile ...
2
votes
1answer
155 views

How to install .net Mono on Solaris 11 (source code compile)?

I downloaded the last mono tar to Solaris 11 I install the required packages: # pkg install autoconf # pkg install automake # pkg install libtool # pkg install gcc When I tried to configure mono 5....
24
votes
3answers
103k views

Searching for a string on multiple zip files

I am working on SunOS 5.10. I have a folder that contains about 200 zip files. Each zip file contains only one text file in it. I would like to search for a specific string in all the text files in ...
-2
votes
3answers
66 views

Grouping data based on the second column

I have a file with the following lines: 1 a 2 a 3 a 1 b 2 b 1 c 2 c 3 c 4 c 1 d I want to get the result as: a 1 2 3 b 1 2 c 1 2 3 4 d 1