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.

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
1
vote
1answer
286 views

Ipadm:operation failed

I am studying Solaris 11 in Virtualbox (64bit). I want to create network interface with command: ipadm create-ip net3 But terminal says that ipadm:cannot create interface net3:Operation failed I ...
0
votes
0answers
49 views

patch bash at sunos5.7

Refer:shellshock solution for nexenta/solaris post for shellshock solution may I confirm the command is method1: /usr/local/bin/curl \ https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patchs/bash32-001 ...
1
vote
3answers
187 views

sed + find value before word in line

How can I find the value before the word "free"? top -n1 | grep Mem Mem: 2054968k av, 2034120k used, 20848k free, 0k shrd, 186768k buff First I tried top -n1 | grep ...
-2
votes
3answers
272 views

Replace $ with £ using cat Command

I have file test_output_archive.svd with some Dollar signs ($). I have generated a shell script Replace_dollar_pound.sh with cat command to replace dollar symbol with Pound (£) script is working on ...
0
votes
1answer
30 views

Does VI v4.0 on Solaris 2.5.0 have a command history

I normally use VIM but have to fiddle with files in VI. Does the vi on Solaris 2.5 have history I can recall to re-use commands? It's a pain to retype complete lines sometimes. In VIM I can go ESC, ...
2
votes
1answer
127 views

How to get the Physical memory usage in Solaris using commandline

I need to show physical memory statistics in Solaris, like total memory, used and free memory. Don't want to create a script, so is it possible to get all these details using commandline only?
3
votes
1answer
63 views

How to restore the default signal processing behavior on Solaris?

I have found the signal processing behavior on my Solaris 10 is changed. For example, when I Ctrl+C, the program can't exit. Use psig to check the signal processing behavior: HUP default INT ...
1
vote
1answer
74 views

Solaris 10 : command to copy text to the clipboard. (command line)

I'm searching a command to copy text to the clipboard. xclip and xsel are commands which are available on several Linux and Unix OS-es, but is unfortenuately not available on solaris 10. ...
-2
votes
1answer
95 views

Is it possible to install gtkdialog on solaris system

Is it possible to install GTKDIALOG on Solaris system?? If somebody has it, let me know
11
votes
4answers
5k views

Executing user defined function in a find -exec call

I'm on Solaris 10 and I have tested the following with ksh (88), bash (3.00) and zsh (4.2.1). The following code doesn't yield any result: function foo { echo "Hello World" } find somedir -exec ...
0
votes
0answers
26 views

How to modify ENV in Solaris 10 [duplicate]

I wanted to edit the contents of environment when entering this "ENV" in terminal. I googled this but so far none of the solution offered works in my end. The closes solution that i got was to edit ...
0
votes
1answer
206 views

Trouble in making pen drive bootable for solaris 11.2

I am trying to dual boot my system with Windows 8.1 and solaris 11.2.I am using flash drive for making bootable solaris 11.2..But i am not able to create bootable flash drive. I tried both .usb and ...
2
votes
1answer
303 views

Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?

I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements: Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
4
votes
2answers
2k views

Will there ever be a Solaris 12?

I'm not trying to be inflammatory with this question! I can't any statements though from Oracle regarding the future of Solaris, and wondered if there were any press releases or official notification ...
2
votes
1answer
52 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
0
votes
3answers
133 views

Stat usage in truss command?

I want to get the access time and modification time of the file in unix solaris machine. The `stats command was not found in that solaris machine. Could you please suggest which is the alternative ...
1
vote
1answer
43 views

Global variable for every script

I want to declare a variable in such way that every script can access and alter its value. I have written a script that set the value of a variable called flag on exit and I am using a crontab entry ...
2
votes
2answers
151 views

Debugging a Solaris network issue

I'm running a Solaris 11 x86 file server. The file-server part is ZFS + Samba. It's been up running for three or four years now without major problems. The Samba shares start out visible to other ...
9
votes
2answers
1k views

Is it possible to redefine the tilde ('~', home directory)?

Is it possible to redefine the home directory? e.g. to /ext1/username instead of /home/username, i.e. expanding the ~ to another directory (as opposed to changing the actual home directory where ...
3
votes
3answers
198 views

Nexenta bash script uses /usr/sun/bin/sed instead of /usr/bin/sed

I'm using a script for Linux and for Solaris (Nexenta). This line works on Linux, but not on solaris (but when run from shell it works): cat "pg_hba.conf" | sed "0,/^local/{s/md5/trust/}" The ...
0
votes
3answers
109 views

Lots of free memory, but Java won't start (SunOS 5.10)

vmstat gives: swap free 37489684 110178592 Still I have issues, while trying to run Java process with 10g heap: > java -Xmx10g -Xms10g -d64 HelloWorldApp Error occurred during ...
1
vote
0answers
200 views

Trying to Add Oracle Solaris (SunOS) OS 11.2 as a Dual Boot under Grub2

I was Trying to install Oracle Solaris (SunOS) 11.2 as a Dual Boot under Grub2. I followed the Grub2 instructions for Adding an ISO and I get the following Grub Entry for the Solaris ISO -- ...
0
votes
0answers
72 views

Cannot connect to Solaris Server when Oracle GoldenGate process uses the port

I'm trying to test the Oracle goldengate to replicate data between two databases on the same server. So I installed two databases and two goldengate homes in the same machine. The goldengate ...
1
vote
1answer
269 views

Determine if zfs is the actual filesystem [closed]

With Solaris 11 the default filesystem should be zfs, but following the official guide I obtained (with cat /etc/default/fs) LOCAL=ufs Is this an error? I thought that the same information was in ...
3
votes
1answer
106 views

How does Solaris find man pages?

Initially, my MANPATH environment variable is not set. Despite this, I can use the man command to view most man pages as usual. man top can't find that particular man page, but which man tells me ...
0
votes
2answers
316 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
1answer
170 views

Missing IPsec package in Solaris 10

I'm running Solaris 10 v5/08. Running svcs -a | grep ipsec returns nothing, so I have reason to believe IPsec isn't installed (or isn't showing up for some other reason). How can I make sure it is ...
1
vote
1answer
846 views

slow ssh login to a remote machine

I am experiencing slow ssh login from a machine to a remote machine. The verbose of ssh is shown below in two broken blocks. ssh freezes for 15 seconds in the below shown block. [root@zabbix ~]# ssh ...
2
votes
1answer
110 views

How to await Solaris zone boot (first time)

Solaris 11. I've found that the zone boot command (e.g. zoneadm -z myzone boot) returns before the zone is fully booted/configured. The problem is related to freshly created zones. More precisely ...
16
votes
9answers
10k views

Tool in UNIX to subtract dates

Is there any tool in Solaris UNIX (so no GNU tool available) to subtract dates? I know that in Linux we have gawk that can subtract one date from another. But in Solaris the maximum we have is nawk ...
2
votes
2answers
309 views

How to verify from “uname -a” output, the installed Solaris OS is openSolaris or not

How to verify from uname -a output, if the installed Solaris OS is openSolaris or not. I need to know the type of OS installed like, Solaris or opensolaris or Solaris Express etc cat /etc/release ...
10
votes
4answers
521 views

The future of OpenSolaris

since OpenSolaris is more or less abandoned by Oracle, is there a nice alternative that implements the unique features of OSOL? ZFS is one thing, but I liked the image creation system, that let you ...
2
votes
1answer
71 views

Solved - Solaris 10 - Is it possible to reboot a system from a startup script?

I have a Solaris 10 test guest logical domain (LDom). I plan to have the network on this be reconfigured before rebooting using a startup script in /etc/rc0.d. At the moment, when the system boots, ...
1
vote
1answer
58 views

Give a user the permission to access files in a directory

I have mounted a volume from NAS storage to my Solaris 10 machine using NFS. I want to give read/write permission for a user to the directories and subdirectories and files. I have tried setfacl -m ...
2
votes
1answer
126 views

What package has GNU sed for Solaris?

I need to use the features of GNU sed, instead of the built-in version under Solaris 10. Which GNU package contains it? I don't see it listed in the coreutils, and my Google searches haven't helped ...
2
votes
1answer
597 views

How do I use grep to find a text string in files in sub folders of a parent folder without -r switch

I'm using Solaris 10 and have two grep versions one in /usr/bin and one in /usr/xpg4/bin. I have been searching for an answer on how to search for text within files within sub folders of a parent ...
1
vote
4answers
759 views

Solaris 10 : Remove trailing blank lines from multiple files

I'm working on Solaris 10.What is the easiest way to remove blank lines from multiple files at once?
9
votes
1answer
352 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
2
votes
0answers
222 views

Dual boot Solaris and Linux

I have a laptop running Oracle Solaris and Gentoo Linux. First I installed Gentoo Linux. I used GPT partitioning scheme. In order to boot Gentoo Linux I have GRUB 2. Then I installed Solaris 11.1. ...
0
votes
1answer
386 views

Solaris 10 installation on KVM constantly reboot

Successfully installed Solaris 10 sparc on KVM. However when I restarted the VM it doesn't go to login screen but just constantly reboots. I've read different documents link1 link2 link3 but none of ...
1
vote
0answers
23 views

Solaris JRE Mozilla

In an thin client setup where Solaris 10 is being used on client and server side. Java based web apps are opened in Mozilla web browser 1.7. JRE version 1.4.2.6 is installed for Mozilla. On a few ...
0
votes
1answer
1k views

long format of ps command in Solaris

Jobs with a long command-line is not printing in Solaris: bash-3.2$ /usr/ucb/ps auxwww | grep ftf | awk '{print $NF}' | head -5 /proj/cmp01/app/btws/cfg/btw /proj/cmp01/app/btws/cfg/btw ...
8
votes
1answer
532 views

Using SSH to connect to a new server without storing the host keys in the $HOME/.ssh/known_host file

I get the following output if I run the following command: -bash-3.2$ ssh -o "StrictHostKeyChecking no" 192.168.1.77 Warning: Permanently added '192.168.1.77' (RSA) to the list of known hosts. Last ...
2
votes
3answers
1k views

Solaris: how to forward cron e-mails?

If a cron job produces output it is e-mailed to the user's account. I would like to redirect this e-mail to another e-mail account. Preferably on a user-by-user basis. I've looked into some options ...
2
votes
1answer
138 views

Solaris cron ignoring mail aliases?

As a Solaris user, I want cron jobs generated emails for the localuser@server to be forwarded to my myuser@sample.com email account, so that I read only one inbox. To resolve this I have forwarded ...
6
votes
6answers
13k views

How can i view the contents of a tar.gz file (filenames + filesize)

I cannot use tar -tz as the solaris version I'm using does not accept the -z option. I tried something like gunzip file.tar.gz | tar -tv but that only gives: tar: /dev/rmt/0: No such file or ...
0
votes
2answers
159 views

Where can I get SUNWsan package for Solaris?

The package is not available in the installation DVD, nor internet (MOS, Google, etc.). Where could I get it?
2
votes
1answer
1k views

How to configure OpenIndiana(151a8 aka “hipster”) for development?

I saw a similar post about Solaris and thought of a similar howto. I've heard of recent news (as in 2013) with the distribution and I learned I could easily update my initial OpenIndiana 151a7 release ...
3
votes
1answer
75 views

On Solaris 7 Box trying to get X Record Extension Library to work using x11vnc

Does Xsun support this extension? Im on a Solaris Sparc Ultra 2 SunOs 5.7. x11vnc version: 0.9.9