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)

0
votes
1answer
21 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
39 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 ...
0
votes
1answer
970 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 ...
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
31 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
29 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 ...
1
vote
1answer
48 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
34 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
66 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
48 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
28 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
33 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
19 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
38 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
191 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
14 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
23 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
72 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 ...
1
vote
1answer
179 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
616 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
35 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
57 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
42 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
56 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
131 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
43 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
40 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 ...
0
votes
1answer
39 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
1
vote
2answers
47 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
23 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 ...
2
votes
1answer
41 views

Find device ID for partition in Solaris 11?

I have a laptop I'm setting up to multi-boot between Win 7, Solaris 11, Ubuntu 14.04, and CentOS 7. I have a common FAT32 partition for all of them to save data to. I'm less familiar with Solaris ...
1
vote
1answer
42 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
1answer
34 views

Keyboard layout with Solaris in VirtualBox

Today I've installed Solaris 11.2 on Oracle VM VirtualBox. After that when I type the | symbol at the command prompt, it's wrongly displaying a ~ symbol. Could someone help me any fix / correction ...
0
votes
1answer
33 views

what is unit of time in kstat time

I am using kstat to get read time and write time for a partition. kstat -T u -p -c partition sample output: sd:1:sd1,r:class partition sd:1:sd1,r:crtime 190.732758214 sd:1:sd1,r:nread ...
0
votes
2answers
44 views

Parent process always printing output after child

Consider the following code running under Solaris 11.3: int main(void) { pid_t pid = fork(); if (pid > 0) { printf("[%ld]: Writing from parent process\n", getpid()); } if ...
0
votes
2answers
48 views

Number of Seconds since epoch in solaris 10

I am trying to get the number of seconds since the epoch in both Solaris 10 and Solaris 11. On Solaris 11, "date +%s" is giving me the output (from bash), but the same is failing on Solaris 10. What ...
0
votes
1answer
31 views

root role not getting reassigned to normal user (ex. tushar)

I want to reassign root role to user tushar,i had used : usermod -R -root tushar usermod -R +root tushar . The output: /usr/lib/passmgmt: Permission denied. Cannot set roles, requires ...
1
vote
2answers
80 views

Can't get user $HOME over su on Solaris and AIX

I'm trying to get user $HOME variable over su. Solaris # su oracle $ echo $HOME /root AIX # su oracle $ echo $HOME / Linux # su oracle $ echo $HOME /home/oracle Can someone explain why on ...
3
votes
2answers
92 views

default netmask in Solaris

On a Solaris local zone, what is the default netmask? I have a blank /etc/netmasks file, but if I run ifconfig I can see that the netmask is set to ffffff00 . [username@servername]# ...
1
vote
4answers
62 views

How to use printf with awk to designate the columns separated command output

I want to extract the manufacturer name, card's firmware version and status from the output of fcinfo hba-port, which looks like: root-#> fcinfo hba-port HBA Port WWN: 10000000c96a53c5 OS ...
3
votes
2answers
57 views

How call a function inside another function

I'm working actually in a shell script to monitor a server resources. I have a function and I want to know how can I call a second function inside the main one. Example: funct mainfunct(){ echo ...
1
vote
1answer
57 views

How to start a command every 5 seconds on Solaris?

How to start a command for example ls -la every 5 seconds on Solaris ? . I'm searching for something like watch -n 5 ls -la
3
votes
2answers
69 views

How can I kill process by specific name and exclude root processes

Not a long time ago we found out about pkill and we had in mind to start using it in a setuid (for root) script for global clean-up of processes. This could save us lots of stupid maintenance where ...
0
votes
0answers
51 views

How To Get the Environment Temperature on Observium Using SNMP for Solaris server?

We have enabled SNMP for our sun Solaris server. Now I need to add sensors for voltage, current & temperature. For this, I need to modify the /etc/snmp/conf file. How can I enable the sensors?
0
votes
2answers
62 views

Memory usage and space disk on Solaris 11

How can I monitor Memory Usage: 33/512MB (6%) Disk usage: 4.2/20GB (23%) CPU Load: 0.01 on a Solaris 11 System? I want to make a script to monitor my desktop resources.