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)

2
votes
1answer
22 views

“/usr/lib/passmgmt: Password file(s) busy. Try again later” in Solaris 11

I've been playing around with a Solaris 11 system, where I've made several user-accounts for myself. Anyway, I gave one of my unprivileged account the solaris.* auth, and then tried to give another ...
1
vote
1answer
16 views

Solaris 11 nlsadm list-timezone issue

nlsadm list-timezone iconv_open(wchar_t, UTF-8) failed for 'en_GB.ISO8859-15' locale Invalid argument What is the cause for this error and is there a workaround?
0
votes
0answers
29 views

Md5Sum script for Solaris and Linux

I want to write a script for Solaris 10 and Redhat Linux that tells me when a file (XMIS) was modified and by what username. The script needs to email me when changed. Here is what I have so far ...
1
vote
0answers
17 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 ...
2
votes
0answers
19 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?
12
votes
5answers
15k views

How to get file to a host when all you have is a serial console?

When all you have is a serial console (say via telnet through a terminal server), what methods can be used to transfer files in/out of a host? Cut/paste works for the small/printable stuff and I've ...
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
42 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
17 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
95 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
24 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 ...
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
3answers
941 views

Make Apache view hidden files (Solaris)

Is it possible to make an Apache server like this Apache/1.3.41 Server at user.it.uu.se Port 80 display hidden files (i.e., those who start with a dot) in a specific directory? I have some ...
1
vote
1answer
36 views

Refresh repositories in solaris 10

Is there a way to refresh the repositories in solaris 10, similar to apt update?
0
votes
0answers
26 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
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 ...
0
votes
3answers
55 views

what is the equivalent of du -s --si * in a Solaris box?

I have a Solaris box that is blowing up right now because a disk is very close to filling up. I need to know what subdirectory on that disk is hogging up the space, but Solaris doesn't like du -s --...
0
votes
0answers
19 views

How to change default shell on Solaris? [duplicate]

I am a user of a Solaris system which I log into as a standard user with no root or administrative privileges. The default shell for me appears to be bash. How can I change this to tcsh? I only ...
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 ...
-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. ...
3
votes
2answers
59 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 ...
1
vote
3answers
8k views

/usr/ucb/cc: language optional software package not installed

I tried to compile some C code to get object file from a shell prompt: $cc a.c But this gives me the following error: /usr/ucb/cc: language optional software package not installed How can I ...
1
vote
2answers
497 views

Apache server doesn't start when mod_sm.so is loaded [closed]

I have an Apache 1.3 on a Sun machine (SunOS 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-15000). If I keep the following two lines in httpd.conf, the server will not start: LoadModule sm_module ...
1
vote
2answers
137 views

How to emulate 'cp -a' on Solaris which does not have it?

How to do a cp -a on a Solaris system which does not support the -a option?
3
votes
0answers
72 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
42 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.
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 "...
0
votes
1answer
690 views

Unable to open Windows Disk partitions in solaris 11

Not sure if I have come to the right place with the right problem but I don't really have much option as I have not found even a close solution to my problems in any other website during my tireless ...
3
votes
3answers
3k views

how to do checksum on a folder in Solaris

On my Solaris machine, I sometimes use the sum command to verify that a file has not changed. I now want to check whether a directory's contents have changed but sum only runs on files. Is there a ...
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
3answers
110 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 ...
1
vote
1answer
122 views

How to run a setuid program on Solaris 10?

I have a Solaris 10 system: # uname -a SunOS edddev03 5.10 Generic_150400-04 sun4v sparc SUNW,SPARC-Enterprise-T5120 I wrote a program printing the uid: # cat getuid.c int main (void) { printf ("...
0
votes
1answer
22 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 ...
1
vote
1answer
36 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.
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
53 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: ...
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 ...
4
votes
2answers
5k views

Solaris 10 boot from cd-rom

I am trying to start up my solaris server using the newly downloaded iso written on a CD. The iso name is sol-10-u9-ga-sparc-dvd.iso When we started the server, logging in as root then tried to boot ...
3
votes
1answer
3k views

Install Solaris 8 on Qemu-SPARC

I've been struggling with installing Solaris 8 Sparc-32bit on Qemu for a while. So far I've viewed several sites with instructions on how to install Solaris-sparc32bit on Qemu. But only yesterday was ...
2
votes
1answer
35 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 ...
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/...
1
vote
1answer
69 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 ...
15
votes
4answers
11k 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
2answers
79 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
383 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
89 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.