According to Wikipedia. Solaris was originally developed as a collaboration of Sun Microsystems with major UNIX variants to develop a common platform unifying BSD, System V, and Xenix that has become known as System V Release 4. The first release of Solaris was SunOS 4.1.x which was retroactively ...
1
vote
2answers
55 views
Solaris 32bit / 64bit confusion
I have a Solaris on a AMD-
uname -a gives
OS Solaris 10 x86_64 (SunOS goldtpus34 5.10 Generic_144489-11
I wanted to find whether it has a 32bit or 64 bit kernel so
I did
/usr/bin/isainfo -k
...
0
votes
2answers
31 views
In Solaris how do you startup a script automatically without user input?
I'm using Oracle Solaris, and i would like to startup a script automatically everytime i turn on my computer and log into the desktop, however the script i want to run requires elevated permission, so ...
0
votes
1answer
18 views
How do I find the version of Sun Studio 11 installed on my Solaris 10 server?
When I do :
pkginfo | grep SPROapplication SPROatd,
it only shows me Sun Studio 12. But, the installer( a Rogue wave library installer) I am using detects Sun Studio 11 as well on the server. But, ...
0
votes
2answers
27 views
bash: ./wls1036_solaris32.bin: Invalid argument
Having some experience in ubuntu, I installed solaris 11g recently to work on WebLogic. I've downloaded wls1036_solaris32.bin file.
When I run ./wls1036_solaris32.bin in the terminal, I'm getting
...
0
votes
1answer
39 views
Is there a xwindows freeware equivalent that is compatible with Windows 7?
The only thing I have at my disposal is xceed 6.0, but that is not compatible with Windows 7. And I am trying to connect this to a Solaris box.
1
vote
2answers
76 views
perl - translate sed to perl
The following command work fine on Solaris ( delete line only if last character is ":" )
sed -e '/:$/d' < foo > foo.new
how to do the same in perl ? ( the reason for that because I not want ...
0
votes
0answers
26 views
How to execute a script file on boot with SmartOS
As the title says, is there a method to execute a shell script file on SmartOS on boot?
It would be preferred to execute the script only after all boot-related things have finished their thing.
3
votes
2answers
127 views
Find and Move Files up One Level
I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy.
Basically I have something like
...
0
votes
1answer
66 views
Configuring p4 on Solaris
I'm trying to configure p4 (perforce) on Solaris, but have had no success. Can anyone see what I'm doing wrong?
Reference:
...
0
votes
1answer
87 views
Solaris/Linux - tput command + create bold text
How do I bold the "Date & Time" numbers from the following file with the tput command (I have a Solaris machine)?
For example, I want to bold only the "24-09-2009 16:17:45", etc. for all other ...
0
votes
1answer
95 views
Solaris + sorting file according to date and time by sort command
I have along list that created in /var/tmp/file.txt from some script (in Solaris machine) the following list have 4 fields
please advice how to sort the list according to the following TIMESTAMP ( by ...
1
vote
1answer
33 views
Equivalent of “du --time -h” (or something similar) in Solaris
How can I get something similar to du -h --time at solaris?
0
votes
0answers
65 views
Cannot connect Solaris 10 to Windows 7
I'm trying to connect a Solaris VM (powered by VMware Player) to Windows Explorer in Windows 7. When I try to map the network drive I get the following:
The specified server cannot perform the ...
0
votes
1answer
53 views
Solaris + run my script after Solaris boot/reboot
I have Solaris machine ( Solaris installed on Netra-T2000 HW , Solaris version – 5.10 )
I write the script - update_after_solaris_already_boot.ksh
This script will update automatically some ...
0
votes
0answers
81 views
“rm -rf” fails to remove all files from Solaris, but works from Linux?
Has anyone seen this before or have an explanation for why this would happen?
We have ancient Solaris 5.8 (Sparc) mounting an NFS filesystem we're testing (file server vendor). When an
rm -rf
is ...
0
votes
0answers
58 views
Solaris 10 / NIC Marvell Yukon 88E8001 hungs with latest driver
I've installed latest yukon driver from marvell for Solaris 10 8/11.
Got the driver, installed, updated /etc/driver_aliases and worked fine.
After the system is running for a couple of days, it ...
0
votes
1answer
48 views
Untar on Solaris 9 : longlink
I'm trying to install MySQL on a solaris 9 machine, and the version of tar on this machine apparently can't handle larger file names. The solution I've found from googling involves downloading GNU ...
0
votes
1answer
123 views
Solaris 10 user does not inherit privileges from user_attr
I have created a user called manager and set the /etc/user_attr file to allow net_privaddr privileges. But when I log into a shell as that user I'm not seeing those privileges granted. This is causing ...
0
votes
2answers
66 views
tar doubled the size of the directory
Under Solaris 10 I have directory called apps. I go into that directory and enter:
-bash-3.00# du -hs
7.2G .
Then I entered:
tar -cvf /var/run/apps.tar apps
The result:
-bash-3.00# ls -lad ...
1
vote
2answers
149 views
How do I add additional information to output redirected to a log file?
Currently I have something like this:
./player_script |grep "videoname" >> log.log &
The output of player_script shows when a video starts and ends, grep then takes only certain video ...
0
votes
0answers
101 views
expect script + expect miss the send string + delay issue
I write the active.ksh script (based on expect) in order to login automatically to some Solaris machine and execute the hostname command (login to virtual IP in order to verify which hostname is the ...
0
votes
3answers
184 views
How can I determine if /tmp is a mounted NFS share?
How can I determine if /tmp is a mounted NFS share on Solaris?
The issue at hand stems from this SO question, where Jonathan Leffler commented that
...
If your /tmp file system is NFS mounted ...
2
votes
3answers
205 views
awk/sed + replace only the second char with one space
please advice how to remove only the second "." character from the version number with awk
I need to fit the syntax for Linux & Solaris
I write the
sed "s'/\./ /g'" -
but this syntax ...
1
vote
1answer
47 views
decode legacy crypt-ed file with mcrypt
I have an old file which I encrypted with old UNIX-style crypt on Solaris. (Yes, I know it's weak, but it was appropriate in this case.)
I now want to decrypt it but I am running Ubuntu which doesn't ...
1
vote
1answer
137 views
solaris + egrep command syntax not work
my target is to match snmpmanager string from /etc/hosts file in Solaris machine
I don’t get any match output from the following command (but snmpmanager already defined in host file) why??
egrep ...
0
votes
1answer
106 views
usermod + awk invalid syntax
I have been trying to write a command (Solaris server) that adds a user to a specific group. It's a pretty long command so I'll post the whole command here and then break it down.
USER=myUser ...
1
vote
0answers
90 views
Need Solaris network driver 64bit
I'm newbie in Solaris and I need network driver 64bit for: -
pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x1186 device 0x4b01
D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
...
0
votes
1answer
131 views
awk + sed + match complex string
I need useful command to match the string "/pci.../pci.../pci..../scsi..../disk..."
with awk or sed? ( I need to put this command in my ksh script )
remark 1 [...] can be any string , and “pci pci ...
0
votes
1answer
99 views
sed + does not work on solaris
I try to use a sed line with a + on a Solaris machine and on a Linux machine.
on Solaris sed does not remove the strings until the first number like I want:
solaris:/ ROOT > echo ...
1
vote
1answer
84 views
What do Solaris pmap entries dev: and ino: represent?
Running the pmap command on a process in Solaris, I see certain processes have blocks of memory with tags like the following:
dev:337,2 ino=2433431
What do the dev and ino represent? My ...
3
votes
1answer
180 views
Public key authentication on SunSSH fails
I'm using OpenIndiana 151a on x86 and I want to connect to other remote servers using ssh with public key authentication, but it fails.
The remote server's sshd (OpenSSH) is enabled with ssh-2 ...
2
votes
1answer
129 views
Filesystem for UNIX (Solaris, FreeBSD, Linux) [closed]
I have some Linux (Arch/Fedora/Ubuntu), FreeBSD and solaris (open indiana) desktop machines. What is the best filesystem that can be used in all of them. I want to use it in some external hard drives. ...
0
votes
2answers
77 views
How to foreground a job from another session
As root, is there a way to foreground (fg) a job within a root session that is in the foreground of another root session? If the job in the other session has to be put in the background (using bg) ...
1
vote
2answers
165 views
Why is Solaris big endian
... when Unix is little endian?
From Wikipedia, Solaris is based on Unix in some sense:
In 1987, AT&T and Sun announced that they were collaborating on a
project to merge the most popular ...
0
votes
1answer
42 views
How might I do memory / processor usage checking by solaris zones
How might I do memory / processor usage checking by Solaris zones?
0
votes
2answers
107 views
How can I hide username@node in linux shell?
I want to hide username@solaris in a Unix shell.
I would like something like this:
$ ls -l
Instead I have this:
user@solaris:~$ ls -l
0
votes
0answers
114 views
Solaris AMP stack - LDAP PHP functions cause segfault
Here's a doozy of a problem that I'm still trying to sort out.
I've been given the task of compiling a web stack from source on Solaris 10. That's not terribly difficult, and my current running ...
0
votes
1answer
158 views
What is Solaris top command “SIZE” column?
I have a node.js process running on a Solaris box. In the top command view, the "RES" column which I guess represents the physical memory is constant and reasonable. However the "SIZE" column keeps ...
0
votes
2answers
140 views
Solaris equivalent of the Cygwin or Windows command “ftp -s:batch_cmd_file”
I am using a FTP script that runs under Cygwin and Windows cmd and that uses the ftp's -s command-line switch to read and execute commands from a batch file:
ftp -i -s:/path/ftp.params
The batch ...
0
votes
1answer
196 views
How can I keep Solaris 11 command history after the user logs out?
It seems that in Solaris 11 the command history is cleared every time user exits the shell.
Is there an option to keep history after the user logs out so that it will be available at next login?
0
votes
3answers
55 views
what is the command for listing files/dirs recursively of specific directories
suppose in my current directory, I have 50 sub-directories. Now, I am interested only in about 20 of those sub-directories (whose names match a pattern). I would like to recursively list the contents ...
0
votes
0answers
19 views
Running in.ripng on IPv6 leaf-site?
I'm running an IPv6 tunnel endpoint (/48 from tunnelbroker.net) on a Solaris 10 machine. Now all the guides say to active in.ndpd and in.ripngd. While ndpd of course makes sense, is there really any ...
4
votes
2answers
407 views
Emulating SPARC hardware
I need a software who emulate SPARC system (Hardware) in a Windows 7 host computer.
I need to install a Solaris SPARC 10 for developing purpose and I don't have a SPARC machine.
Can you give me some ...
3
votes
1answer
55 views
can I tell how much space I would be saving if I switched to ZFS?
I've currently got a spare computer, and I'm thinking of trying out openindiana on it to play around a little with the snapshotting and deduplication features of ZFS, with the view of setting it up ...
2
votes
1answer
171 views
0
votes
1answer
249 views
Solaris Express: is there a command line version of Package Manager?
From documentation I can find (e.g. here http://download.oracle.com/docs/cd/E19963-01/html/820-7799/new-user.html), package manager seems to be only available as a GUI tool (as opposed to a command ...
4
votes
2answers
2k views
Oracle Solaris 11 Express: is it 32-bit or 64-bit?
The download for Oracle Solaris 11 Express says the image is for x86. I can't find anything specific on the Oracle documentation site that states if this is 32-bit or 64-bit. Any pointers?
2
votes
2answers
322 views
ZFS NAS: PCI-e x1 SATA or built-in ICH10R?
I am planning to install Nexenta (or NexentaStor, I've not decided yet) to build a ZFS NAS out from the following machine:
MB: Intel DG45FC
Disks: 4x 2TB WD caviar green
RAM: 2x 2GB of non-ECC ...
1
vote
1answer
322 views
Unix command fuser not found
I am on SunOS 5.10. When I am trying to use the command fuser, I am getting an error that it's not found.
/home/user$fuser file.dat
ksh: fuser: not found
But I am able to get the man page entry ...
0
votes
4answers
166 views
solaris 10 and the other *nix family? [closed]
I am want to learn Solaris and practice shell scripting on Solaris. I read few things about it (4 months back) like:
It was started by Berkeley students to compete with mainframe, it has got SMF ...