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
0answers
15 views

Must auths for privilege and such still be explicitly listed, or are they now included in solaris.*?

In OpenSolaris and the Solaris-version around that time, the solaris.grant auth wasn't included in solaris.* and had to be explicitly added. For example, from the definition of the Primary ...
1
vote
0answers
12 views

mount external drive on Open solaris

When I try to mount a Lacie Minimus hdd on Open Solaris, I get the error "mount point not determined". I have tried several variations for mounting and all fail. Any suggestions?
1
vote
1answer
29 views

Problem with reading records from a file

I have the following problem: Script #!/usr/bin/ksh for unitcaseno in `cat /pims/nigel/UNLOAD-DB/xaa` do echo "String = $unitcaseno" unitno=`echo $unitcaseno | cut -d'|' -f1` ...
0
votes
1answer
38 views

How to use a for loop inside an echo statement which is used to print statements into another script in UNIX

My shell script contains a function which is used to print statements to another shell script function print() { echo " insert() #insert function for i in $InsertFile1 ...
0
votes
0answers
16 views

solaris svm and raid5 : a way for expand on fly?

I know two methods for expand raid5 on solaris svm using UFS one is this another is to replace disk by disk,suppose i want to remove old small disk and replace with bigger disk using this procedure ...
2
votes
1answer
61 views

parsing several fields of a csv with gawk on solaris

I have a generated csv that has the following format: unixtime;host_name;ip_adress;description;2;0;1 I have been trying to parse this csv to do the following: change field 1 from unix timestamp ...
3
votes
2answers
94 views

Solaris ps aux comand specific output. Why for grep need use ww parameter?

I'm starting to use Oracle Solaris 11.2 SPARC. In Linux, I can write ps aux | grep *some_data* But doesn't show any result on Solaris. Instead I need to say ps auxww | grep *some_data* I had ...
3
votes
1answer
30 views

Awk and discarding non-matching tokens in a string?

I'm having trouble getting a string tool to provide what I need (due to my ignorance). I have a string based on CPU features. The string will change as different processors offer different features: #...
0
votes
0answers
23 views

ssh stops working properly Solaris 11

I have a Virtual Machine in which I usually connect by ssh, and it works very good. But after a while it stops working, I can ping it, and when I ssh it, it shows the authentication screen, I enter my ...
1
vote
1answer
35 views

Refresh repositories in solaris 10

Is there a way to refresh the repositories in solaris 10, similar to apt update?
3
votes
0answers
68 views

How to do with “ndd” for get “ethtool” equivalent on Solaris

I've to restore a large file from a NAS backup on Solaris 10 ZFS. I'm using this following command: rsync -av user@xxx.xxx.xxx.xxx:from/NAS/files/system to/solaris/files/system And I've got this ...
1
vote
1answer
39 views

How to Install LDOM on Solaris 11?

I installed Solaris 11 on VirtualBox. I need to install and configure LDOM. However, I can not find the LDOM software for oracle Solaris 11. I could not find the link also.
0
votes
2answers
41 views

Create zip archive based on number of files

SunOS 5.8 Directory structure /TEST/CHM CHM A file1.txt file2.txt B file3.txt C file4.txt file5.txt file6.txt If the parent directory CHM has less than 8 ...
1
vote
1answer
25 views

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "...
3
votes
2answers
57 views

How to remove device from pool

I did a mistake when I added a new device in my raidz pool thinking ZFS should do it automatically. :~# zpool status pool: data state: ONLINE scan: resilvered 78,3G in 2h4m with 0 errors on ...
0
votes
3answers
67 views

How do I find the string after a regexp on a single line of text?

I have a text file containing a very long line of JSON data and I need to extract the value of some field.  I realize the easiest way to do this would be to use jq or grep -o; however, I am on a ...
0
votes
1answer
20 views

“Failed to initialize wxWidgets” followed by core dump

I'm testing some software under Solaris. The machine runs SunOS 5.11 (Solaris 11.3), and I connect to it over SSH. The software runs its benchmarks and then plots the data points. The makefile ...
0
votes
3answers
107 views

What is Solaris IPS / How does it work?

I have read the docs and PDF's from Oracle on the matter but they were too broad and too much analytic for me to understand. Could someone provide me an overview (as he/she understands it) of the ...
0
votes
2answers
41 views

cksum output length

My issue: How long is the length of the output of " cksum " command ? When I run the " cksum " I command returns the following: cksum file.txt 2699968955 155920 file.txt There are a lot of ...
1
vote
1answer
34 views

Does anyone know a surefire way of installing git on Solaris 9?

I tried the OpenCSW method but I am afraid that is only Solaris 10 and 11. git command just yields command not found. Surely someone out there has configured/used git on Solaris 9.
1
vote
1answer
50 views

Awk hangs during math operation on Solaris

I'm working on a SunOS 5.11/Solaris 11.3 machine. I have a bash script that calculates and exports CPU frequency because I use it frequently in some test scripts. Here are the two lines of interest: ...
0
votes
1answer
15 views

How to check UFS filesystem on SPARC with Linux?

I've got this really old Solaris SPARC machine. It doesn't boot any longer for some as yet unknown reason (seems like the disk may be corrupted). I'd like to check the partitions. The only thing I ...
1
vote
1answer
68 views

How to enable CURL in UNIX server? [closed]

I have to make a web service call through CURL in shell script. For this, CURL should be enabled. Below is my server details: Sun Microsystems Inc. SunOS 5.10 Generic January 2005 below is ...
0
votes
0answers
40 views

How do I make Web Service call in Shell Script? [closed]

Can I make a web service call in a shell script? For example, below is a web service call through cURL: curl -u graeme:abcd -i -F name=files -F filedata=@employees.csv https://app.example.com/api/...
3
votes
1answer
44 views

How to increase server load?

I am attempting to stress a server as much as I can before it goes into production. I’m using Jmeter and have been able to add a little more stress by modifying scripts. I’ve also modified JVM ...
0
votes
2answers
73 views

mailx execute successfully but not sending mail out

I'm using mailx and sendmail functions to send mail from set of solaris machine with different versions. And the script send mail for most of the machine. Still issue is there on sending out mail for ...
2
votes
2answers
338 views

How to find serial number of Solaris server?

Is there any command which will be available on Sun Solaris Netra T5220 server, to get the machine's serial number?
0
votes
4answers
85 views

Get total memory size on sun os through kstat

I have sun os there Following commands are not available prtconf prtdiag psrinfo The only command which is working is kstat. Can any one please help me on finding the total memory size using only ...
0
votes
1answer
22 views

Filtering time using last command on Solaris

I'm connected on server using Solaris and need to filter only people who were connected there until 28.4 00:00. How do I do that on Solaris? In bash I have -t option which does what I want.
1
vote
1answer
50 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
1
vote
1answer
35 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
1
vote
1answer
36 views

Verify why a process went down accidentally on Solaris 11

I want to know what reasons could have caused a process to be killed automatically by a system or taken down. What file do I need to verify, or how do I know why the process crashes accidentally? Is ...
0
votes
0answers
22 views

SunOS 5.10 gives invalid terminal

While I login to SunOS 5.10 through putty it shows as terminal vt100: Then what ever command I type it says invalid terminal with the command. For example if i type ls the display will be. ...
-1
votes
1answer
41 views

for loop to evaluate multiple directories and execute command

I was editing a shell script and I want to know how can use for to use all directories listed by a list or variables and then execute a command. Example: I have this directories: /dirname1/app1 /...
0
votes
0answers
23 views

ORA-12560: TNS: protocol adapter error

I have tried to install Oracle 11g R2 on Solaris 10 in Virtual Box. While installing it get completed 95% but while it try to install "Database Configuration Assistant" it shows "ORA-12560: TNS: ...
0
votes
1answer
39 views

xclock not runnnig for another user

I have install new solaris 10 in Virtual box in my pc. I have set below command as a root user. bash-3.2#export DISPLAY=":0.0" DISPLAY bash-3.2#xclock It is working fine for root user but I have ...
-1
votes
1answer
40 views

How to recover password in Solaris on vmware

I have Solaris 11 installed on VMware workstation 10 and I forgot my login password. I tried a lot but not able to login. How can I recover the Solaris 11 login password installed on VMware 10 ...
-1
votes
1answer
29 views

How can I get the total of records using awk - Solaris

I'm creating a script to add multiple features to monitor many servers, and I want to add a custom output using echo command to show the total of records as result of the command that I have executed. ...
-1
votes
2answers
87 views

Detect automatically a network interface for each one in Solaris 11 [closed]

I'm working currently in a shell script to monitor a Solaris system. The main purpose of the script is show info like: Memory, Network, etc. In the Network part, it will show info like arp table, ...
2
votes
4answers
113 views

Solaris 10 - changing default gateway and netmask

We have a Sunfire V240 server with Solaris 10,I need to change the subnetmask and gateway. I was able to change the subnetmask and gateway by editing the files /etc/subnetmasks and /etc/...
0
votes
2answers
72 views

wc -l command issues in SunOs to Linux migration

We are migrating from SunOS to Linux. I'm facing some problem with wc -l command. When I used wc -l <file_name>, SunOS is giving leading spaces before count where as Linux there are no leading ...
2
votes
1answer
34 views

ZFS groupused value not current

On my Solaris 11 box I have a zfs pool (z) that uses 100G group quotas on each user in /org/users folder. One user had reached their quota and cleaned up their data. The df output, that had previously ...
2
votes
3answers
138 views

Solaris 10 - Is zone isolation sufficient for segregating high and low security servers?

Let's consider the typical scenario of a Web application that has a web server, application server and database server. All servers are located in different network zones separated by firewalls. From ...
0
votes
1answer
57 views

Null pointer exception: installing glassfish4 on Solaris 11.3

I'm trying to install glassfish4 on Solaris 11.3 machine by using glassfish-4.0-unix.sh file. After sh ./glassfish-4.0-unix.sh command the graphical installer starts. Then at JDK selection page - no ...
0
votes
1answer
48 views

How do I check Memory leakage in solaris server? [closed]

I am new in here. I need to check memory leakage on my Solaris server. Kindly help me. Best Regards, Wasila
0
votes
1answer
63 views

How to turn off SMTP port in Solaris

I want to turn off SMTP port in Solaris server. I am getting follwing Message. /var/adm/messages:Mar 10 06:18:08 sendmail[20024]: [ID 702911 mail.alert] /var/adm/messages:Mar 11 06:18:08 sendmail[...
1
vote
2answers
51 views

Why does Solaris 10 find / -exec sh -c “echo {}” \; print “{}” instead of filenames?

I do not generally use Solaris, but today I need to craft a find command to execute an operation on identified files using the shell. I am finding that the {} characters are not getting substituted ...
1
vote
0answers
24 views

Surge CP overload but low CPU usage. Got log in issue on web application when it happens. why?

I am unable to login to solaris server via GUI mode. We have checked and found that the DB/oracle session was hung up. GUI was not able to connect to Oracle DB . After clearing the hung counters from ...
1
vote
2answers
50 views

Solaris tar: “symbolic link failed: Not a directory”

When unpacking a tar archive with a symlink under Solaris 10, I get this error: tar: lib/jre/: symbolic link failed: Not a directory The lib/jre symlink points to lib/jre1.8.0_46 which is in the ...
1
vote
1answer
50 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> ...