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
0answers
6 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
13 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
26 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
49 views

Issue with the ftp script [on hold]

I am trying to run a script which ftp the files from one server to another. Below is the script - #!/bin/bash echo "Please enter no : " read variable echo "You entered: $variable" HOST=xxxxx ...
0
votes
0answers
18 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
34 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
188 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 ...
13
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
0answers
10 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

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 ...
-4
votes
0answers
31 views

Script to get solaris or linux hosts within IP range [closed]

I would like to make a script in RHEL preferably shell script to get a list of Solaris or Linux hosts on a site with the following condition: Multiple list of IP range from server network to scan. ...
2
votes
4answers
58 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
164 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
596 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
32 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
27 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
41 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
39 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
53 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
0answers
25 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
1answer
910 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 ...
2
votes
3answers
126 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 ...
-1
votes
0answers
15 views

SWAP memory of my solaris server is used more than its threshold

SWAP memory of my solaris server is used more than its threshold, is it possible to free some space by restarting the processes which are using most of SWAP memory?
0
votes
1answer
34 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
32 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
35 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
43 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
22 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
34 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
34 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
23 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
25 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
41 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
36 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
24 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
63 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
71 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
61 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
53 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
47 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
54 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
37 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
53 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.
0
votes
1answer
26 views

Issue with grep, egrep in solaris

I have an issue when I execute this command in Solaris: grep -Ev "(^#|^EBM_SERVER|^$)" ${EBM_CONF} | awk -F, '{print $2"|"}' | tr -d "\n" | sed 's/|$//g' I got this error message: egrep:illegal ...
0
votes
1answer
30 views

Getting averageReadTime and averageWriteTime in solaris(disk I/O)

I am working on getting 'Average read time (ms)' and 'Average write time(ms)' from "iostat -xnp" command. In linux there is a '/proc/diskstats" command, which gives me 'Time spent in reading millis' ...
2
votes
1answer
61 views

Bring process to 'foreground'? [duplicate]

I am using an SSH client to connect to a Solaris server. I had a process running but my connection disconnected. I reconnected and can see the process running when I do ps -al. How can I bring this ...
1
vote
0answers
42 views

Permissions (ACL) to allow creation of new files only - are extended attributes also needed?

I want to use a directory as a sort of drop-off point, similar to the Public folder in each Mac OS X home directory, that is: certain users (or everyone) should be able to create new files inside this ...
-2
votes
1answer
75 views

Uptime on solaris

I have logged into school server which is running Solaris. I am to print the number of minutes from booting the server. I am using uptime and recieve this output 8:05pm up 12 day(s), 1:56, 11 ...
0
votes
0answers
17 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 ...
2
votes
5answers
21k views

What is a good X application I can use to test the X server on Solaris?

I am using Solaris, and I want to test if the I can use the X server after setting the DISPLAY environment variable. On Linux, I usually use xeyes, xclock or xterm. But none of these seem to ...