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.
1
vote
3answers
43 views
Solaris: Script for finding the physical device path of all installed fiber cards
I have a number of systems (with quite varying type, generation and architecture unfortunately).
I need to create a list of fiber cards on these varying systems.
I am able to use prtconf -v, and ...
1
vote
3answers
118 views
/etc/vfstab in Solaris 11
I would like to mount a folder from the remote server 10.12.13.2.
When I type
Mount -F nfs 10.12.13.2:/username /remote/username
The folder username gets mounted in the directory ...
1
vote
0answers
156 views
Obtain device name and mount point if partition label is known
How to obtain the partition device name and mount point when the file system
label is known?
There are several possibilities:
Linux
File system label to device name
The device name can be obtained ...
1
vote
0answers
328 views
Storage becomes unmanaged after Solaris and PowerPath upgrade
I have been performing an upgrade for a customer, using Solaris Live Upgrade to go from Solaris 10 update 2 to Solaris 10 update 10 and at the same time upgrade EMC powerpath from [an old version] to ...
1
vote
2answers
79 views
how obtain directory files info
I have the need to get information about a specific directory, basically I need to know the correlation between small, medium and big files.
I came up with this:
for i in K M G; do
printf $i
du ...
1
vote
0answers
173 views
Sending Emails from bash script in Solaris VM
I am trying to send emails using the following bash script:
/bin/mail -s "#subject" "$emailto" < "$message"
It works fine on my local machine but does not work on my VM.
I looked it up and read ...
1
vote
1answer
186 views
Network bandwidth measurement on Solaris
I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites.
It is mentioned in pathtest FAQ that it only ...
1
vote
0answers
75 views
ttyb serial port connectivity issues
I am having issues with a device connected to my Sun V440 ttyb serial port. How would I test the connectivity of the port to see if any data is moving across the connection? I am trying to see if the ...
1
vote
0answers
1k views
Discovering EMC PowerPath LUNs and creating partitions on Solaris
I have to work with EMC PowerPath disks/LUNs. I find them in the /dev/dsk/ directory under names such as emcpower0a, emcpower0b, …, emcpower0z, emcpower1a, …
Here are my points of confusion:
Inside ...
1
vote
0answers
165 views
How to obtain X.509 certificate on solaris based server?
I have a Solaris based T5220 server. I'd like to install an x.509 certificate.
What is the procedure to install this certificat? Does that procedure differs from one server to another? i.e. is it ...
1
vote
0answers
241 views
Solaris can't reach DHCP server with VMWare Player
I've got a very creepy problem. 3 days ago I installed some Windows 7 updates. After that my Solaris network has stopped working. I'm working at VMWare Player with OpenIndiana. Everything was okay ...
1
vote
0answers
147 views
System got stuck, cannot return to console
I am using Solaris on a Sun Netra 240 box. In the ok prompt I ran init 3 by accident, and now the system is stuck and I can't write anything. I have access to the ALOM prompt, but when I run a console ...
1
vote
0answers
89 views
To study SPARC executable structure with OpenSolaris on Intel [closed]
I want to study and compare executable file structure of elf, SPARC and PA-RISC.
To perform the studies I want to install OpenSolaris on an Intel machine (Core2Duo). But I got a basic doubt will it ...
1
vote
1answer
113 views
How do I ensure that only one instance of my ksh script runs on Solaris using NFS? [duplicate]
Possible Duplicate:
What Unix commands can be used as a semaphore/lock?
I have read many similar post and the solution seems to be to use flock. flock does not exist on my system and I ...
0
votes
1answer
349 views
system monitoring tools
What command line utilities come standard with sunos to do system monitoring?
I've been able to find prstat, but I would like something that will tell me memory usage and IOWAIT as well.
It looks ...
0
votes
3answers
4k views
How can I list all user names on Solaris 10?
I forgot a user that I created on solaris 10, so now I would like to list all user names on my server.
Is it possible (I am root user)? What command I should use if possible?
Somewhere on the net ...
0
votes
3answers
3k 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 ...
0
votes
2answers
274 views
“lsof: can't read namelist from /dev/ksyms” on Solaris
On Solaris, when I type the command
lsof -l
I encountered this error:
lsof: can't read namelist from /dev/ksyms
Anyone knows what this error means and how I can get open the list of open FD's ...
0
votes
1answer
439 views
Solaris 10, useradd command
When I used useradd command to add a new user for my Solaris 10 System, I specify /home/user-name to be its home directory.
but the command didn't run successfully, and when I put the ...
0
votes
2answers
85 views
file command + how to view all results from file command
I use the file command in order to verify if file (PATH) is text/ascii file or encrypted file
Because file command have allot of results ( small example in example 1 )
I want to get the all ...
0
votes
2answers
71 views
Including a date in a filename
Inside a directory, there are 150 files named like ABLIMITS.TXT. How do I rename them to ABLIMITS_date.txt prompting the user for date?
0
votes
3answers
322 views
How to send ntp request?
I would like to get local time of server. Is there command/way to get time of server.
Operating system is solaris
0
votes
1answer
1k views
Check if SSH is enabled or Disabled in Solaris 11
How can I check to see if SSH is enabled on Solaris 11? I have tried typing ssh in the terminal, and it came back with a list of options, which none of them made sense to me.
All I want to know is if ...
0
votes
1answer
91 views
How to create an FS under SunOS?
So there is a Global Zone, and we need to create an FS on a Zone that's in the Global Zone. Also we need the new FS in a new DG/Volume inside the DG of the Zone (if we see it from the Global Zone). ...
0
votes
2answers
310 views
Veritas Volume Manager on OpenSolaris
I downloaded:
http://download.oracle.com/otn/solaris/11/OracleSolaris11_11-11_VM.zip
and succesfully booted it! :) only two things needed to be changed: 512 MByte RAM and VBox Processor Execution ...
0
votes
3answers
3k views
/usr/ucb/cc: language optional software package not installed
I tried to compile a c file to get object file from unix shell prompt
$cc a.c
but the error is as:
/usr/ucb/cc: language optional software package not installed
How to compile c file?
0
votes
2answers
45 views
unable login solaris box
There is problem on my Solaris 10 box.
It's not possible to access directly to the box, but via ssh from another box after 3 wrong entries of username/password to box then login prompt changes, at ...
0
votes
1answer
30 views
Solaris development host
This posting aims to document how go about getting a development host on Solaris.
A "development host" is one where you have all the appropriate tools to build and compile C or C++ applications.
...
0
votes
2answers
170 views
Installing GCC in Solaris_x86
I have tried Googling for my answer, but everyone is saying GCC is already installed on the Solaris Operating System. They said to add /usr/sfw/bin to your $PATH, which I did, and rebooted the ...
0
votes
1answer
88 views
linux/solaris + manipulation of Standard Output
I run the following line on linux/solaris machine ( all output will write in to /tmp/Log from application.bin )
./application.bin 1>>/tmp/Log
We can see the content of the /tmp/Log file
...
0
votes
1answer
177 views
Difference between Solaris and OpenSolaris?
So I want to learn using Solaris [Diskgroups, etc.]. I recently found out that there is an OS named OpenSolaris:
https://en.wikipedia.org/wiki/OpenSolaris
Is it a good point to learn Solaris? Or ...
0
votes
2answers
1k views
Please explain Solaris boot sequence in detail
Its same question for Linux here at Please explain Linux boot sequence in detail but emphasis on Solaris style of things.
I am preparing a document in detail showing light on the boot sequence of ...
0
votes
1answer
52 views
How do I redirect output from the find command (that uses grep) to a log file?
Consider the code to search for all files containing the pattern "search string":
bash-3.2$ # The below find works fine..
bash-3.2$ find . -type f -exec grep -il "search string" {} \;
bash-3.2$ # But ...
0
votes
1answer
20 views
How do I delete this folder in Solaris?
I am not sure how or when the below folder was created.. But I am unable to delete or open it..
bash-3.2$ cd '+%d-%m-%y'
bash: cd: +%d-%m-%y: No such file or directory
bash-3.2$ rm -f '+%d-%m-%y'
...
0
votes
1answer
128 views
Solaris 10, Shell Script, Cursor movement [closed]
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <time.h>
void prtime() {
time_t rawtime;
struct tm * ...
0
votes
2answers
184 views
Solaris 10 modified time
In Solaris 8, when we access the file, the access time changes but modified time remains same. But in Solaris 10, we see that both access and modified time changes when accessing the file. We checked ...
0
votes
1answer
82 views
How do I safely perform the below changes to network parameters on Solaris 10?
I need to change and test some TCP/IP network parameters on a Oracle Solaris 10 as a possible workaround for a bug in 'Oracle Hyperion EPM 11.2.1.0' in the development environment.
I am not a ...
0
votes
4answers
251 views
targeted network speed over LAN
I have a Solaris 11 system which has several NFS exports which are accessed my other systems within my LAN. I use a Linux system as a client for testing.
I wrote a quick script to test read speed and ...
0
votes
2answers
164 views
Is a shell script is a programming Language [closed]
This is the first question in UNIX:
I was started shell script from 2 days before.
But I have a conflict: is a shell script a special programming language for a specific shell??
0
votes
4answers
133 views
Problem installing software in UNIX (Sun Solaris)
I am new to UNIX. I have some software which need to be installed in UNIX.
I have below the list of OS provided by a third party software provider. Can anyone help me out: which OS Software will be ...
0
votes
1answer
32 views
While setting up SFTP between *nix servers, is the intial handshake optional?
I setup SFTP between *nix servers as follows:
Generate the Public key on the sending server by running the below command:
[user1@server1] $ /usr/local/bin/ssh-keygen -t rsa -b 1024
Then copy ...
0
votes
1answer
197 views
Rename files and directories with a special characters on solaris machines
The target of the following code ( commands ) is to rename files/directories and also support files/directories with a special characters as "@" or "." etc
those commands are run fine on Linux ...
0
votes
2answers
40 views
Modify Default Group for new Users in Solaris 11
I would like to change the default group for new users which are added to the system. Does anybody know in which file this is stored?
I'm using Solaris 11
Thanks!
0
votes
1answer
129 views
Solaris 10, pkgtrans command
What is the difference between these two commands?
1. pkgtrans /cdrom/cdrom0/Solaris_10/Product /var/spool/pkg/stream.pkg all
2. pkgtrans -s /cdrom/cdrom0/Solaris_10/Product ...
0
votes
1answer
415 views
lsof compares to pfiles, difference?
pfiles in Solaris suspends files for a short period while examining them, however, lsof does not. How does lsof work that allows it to retrieve information while not suspending files?
0
votes
1answer
130 views
Missing IPsec package in Solaris 10
I'm running Solaris 10 v5/08. Running svcs -a | grep ipsec returns nothing, so I have reason to believe IPsec isn't installed (or isn't showing up for some other reason). How can I make sure it is ...
0
votes
2answers
747 views
How to install software in solaris?
How do I install NetBackUp software in solaris?
I'm learning the software and I need to install and practice using it.
0
votes
2answers
414 views
Revoke directory access for a particular user in Solaris
I have a need to allow directory access to a particular user on my file system. I want this user to be unable to access any other directory in my file system (initially anyway. It may need access to ...
0
votes
1answer
33 views
What is the minimum version for liblgrp support on Solaris
What is the minimum version of Solaris SunOS that supports liblgrp?
0
votes
2answers
16 views
Studio 12.3: language optional software package not installed
I installed the Solaris Studio 12.3 on Solaris 10 OS but when I check the version but it is showing below result. It is installed under /opt/SolarisStudio12.3/bin so why wrong path is coming. I ...