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
2answers
495 views

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

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
134 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
27 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
31 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
18 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
32 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 ...
0
votes
1answer
672 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 ...
3
votes
2answers
51 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
64 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
102 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
116 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
16 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
1answer
6 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
30 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
40 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
47 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
29 views

How to extract db version from oratab

I have a requirement to extract the database version in order to fulfil a script requirement. I need to fetch the db details from oratab and its version. Suppose my entry in oratab as below : ...
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
33 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
37 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
60 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
10k 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
50 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
205 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
67 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
21 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
30 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
35 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
21 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
39 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
1answer
195 views

Manual network setting on Solaris 10

I am using Solaris 10 on VirtualBox. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with ...
0
votes
0answers
16 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
32 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 ...
2
votes
4answers
90 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/...
1
vote
1answer
201 views

How to kill inactive user logins on Solaris?

On a Solaris 10 server if i do a w, I get this: 12:26pm up 85 day(s), 1:13, 6 users, load average: 0.38, 0.36, 0.38 User tty login@ idle JCPU PCPU what blah pts/1 ...
4
votes
1answer
653 views

“The entry is a door” in Solaris “ls” man page

I found this in a man page for ls in solaris linux. http://www.unix.com/man-page/opensolaris/1/ls/ What does it mean when it says: D the entry is a door?
-1
votes
1answer
37 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
28 views

How can I get the total of records using awk - Linux and 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
72 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, ...
1
vote
2answers
44 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 ...
0
votes
2answers
62 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
3answers
135 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
51 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
54 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[...
0
votes
1answer
42 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