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

0
votes
3answers
9k views

How to get total disk space available in Solaris 10

How do I get the total disk space available in Solaris 10? I used iostat -En, but it is not showing the correct data. df -h contains duplicate information. Is there any generic way to find the ...
3
votes
1answer
246 views

When piped with ls, grep in solaris is not working

I am using the below command in solaris ls -l | grep '*PROC*' But it is not working. I have many files that contain "PROC" in their name like "XREF_PROC.complete" but when I use the above command ...
0
votes
1answer
20 views

Error when use WinSCP + copy file from solaris machine to Windows machine

When I use WinSCP in order to transfer file from the Solaris machine to the Windows machine I get the following message Received too large (7367222 B ) SFTP packet……. The error is typically ...
3
votes
2answers
2k views

How can I use sed to alter the results of find and pass the results to cp?

In solaris, I'd like to copy all files found by the find command to a slightly different path. The following script basically executes cp for each file found by find. For example: cp ...
0
votes
1answer
20 views

How can I copy and rename files with the same file name

I have a directory structure that contains a number of files which are named the same as in: dir1/test dir2/test dir3/test I want to find each test file and copy it to another directory with a ...
0
votes
0answers
25 views

ipv6 routing between 2 subnets not working

I'm trying to configure ipv6 routing between machines in the different subnets. Between the machines already configured and works ipv4. I have 2 ipv4 subnets with addresses: 10.0.1.xxx 10.0.2.xxx ...
0
votes
2answers
1k views

Execute a remote command after sudo - su anotheruser in Rundeck

I'm new with Rundeck and completely amazed with it and I'm trying to execute a job and my scenario is detailed below: Rundeck is configured with ssh passwordless authentication for user master ...
1
vote
1answer
24 views

Zipping / Encryption on Solaris 10

I have a dump file which I am zipping it up -> sending it over a network -> and burning it onto DVD. However, now i would require encryption AES 256 on the dump file. I am running Solaris 10. Is ...
10
votes
3answers
7k views

Opposite of tail: all lines except the last n lines

How can I discard the last n lines of a file with a unix command line filter? That would be sort of the opposite of tail: tail discards the first n lines but pipes the rest through, but I want the ...
1
vote
3answers
1k views

How to find Binary file in solaris?

I am working on Sun Netra T5220, and working on project Session border controller(SBC). In one of the step I had to follow this procedure "copy the binary to a folder and run OPenSBC". Can any body ...
2
votes
2answers
3k views

Equivalent of “du --max-depth=0 -h” (or something similar) in Solaris

The du command in my solaris environment has very terse help, no man page, and doesn't support the --max-depth option seen in the linux world. I want to know how much space a given directory ...
0
votes
1answer
49 views

Trying to create a Big Endian environment using solaris 10 SPARC VM in Windows8 Host

I need a Big Endian system for testing. I am planning to create a Solaris Virtual Machine by installing Oracle Solaris 10 ...
1
vote
1answer
21 views

Navigating with arrow keys in vi is slow

I use rlogin to remote login from a Solaris 10 Sparc to a Solaris 10 x86 host. When using vi, navigating with the h, j, k, and l keys is very fast and smooth. However, navigating with the arrow keys ...
41
votes
10answers
38k views

Top causes of slow ssh logins

I'd love for one of you smart and helpful folks to post a list of common causes of delays during an ssh login. Specifically, there are 2 spots where I see a range from instantaneous to multi-second ...
0
votes
1answer
17 views

In Solaris how do you start App Builder CDE?

I have a Oracle Solaris 11 installed on a VM. I am trying to start the App. Builder program by dtbuilder as mentioned in the documentation but unable to start. I cannot find /usr/dt directory either. ...
0
votes
0answers
20 views

Pass “some” special keys to VNC server but not all in realVNC

I have my machine running windows 7, and I use realVNC to access solaris unix box. I am enabling "Pass special keys directly to server" because I use many of the special keys for emacs and unix. ...
0
votes
1answer
2k views

Solaris 10, When trying to run apache: ld.so.1: httpd: fatal relocation error

I'm trying to replicate a production box in my lab, I have installed apache and I'm trying to use the configuration copied from the production environment, the results are the following error ...
0
votes
0answers
31 views

Changing user in a solaris script Sudo not an option

Sudo is disabled on my machine. I am creating a script that installs a server that must be installed as root but the profiles must be created as a different user I tried to use su - user - c But I ...
0
votes
2answers
106 views

Copy files from Solaris to redhat via SCP command run on RedHat console

I have to copy several GB of little files (from few bytes to < 1MB). These files resides on a file system of a Solaris system. No rsync and rdiff software is available on Solaris and cannot be ...
1
vote
2answers
4k views

What is the default path for sudo command?

What is the default path of sudo command? I checked in some Linux flavours and some solaris flavours, it is: /usr/bin/sudo If a Solaris machine is not bundled with sudo, where will it get installed ...
0
votes
1answer
42 views

Vi Editior Navigator Not Working Properly in Solaris 10

I am using ViEditor : This is my code of line : sh /u02/oraprod/prod/db/tech_st/11.1.0/appsutil/scripts/PROD_hooradb2/adautocfg.sh appspass=apps > $HOME/LOG/autocfg.log perl ...
0
votes
2answers
77 views

No “$” or “#” Sign After Logging in Solaris 10 with Putty

This is my environment : Solaris Version 10; Sun OS Version 5.10 Oracle Version: 11g Enterprise x64 Edition. When I am getting log on through putty it is giving me this output: login as: ora Using ...
0
votes
0answers
24 views

Starting DHCP server on Solaris SPARC 11

I have been trying to start the SPARC based Solaris 11 ISC DHCP server. I use the standard 'svcadm enable svc:/network/dhcp/server:ipv4' command to start the ISC DHCP server. But it never comes to ...
1
vote
1answer
74 views

how to view all process details from ps –ef command

I am using the ack.pl in my bash script to search IP's in the Linux OS only for example , and only to show the problem I will give here a short example # ( ./ack.pl -Q -a -l --max-count=1 ...
0
votes
1answer
61 views

Copy-on-write folder? (Am not an admin)

On Solaris, is there a way to make a "master folder" from which I can fork off any number of light weight copy-on-write clones? In my home folder I have a number of sub folders that contain nearly ...
0
votes
0answers
39 views

SVN Backup and Restore

I am trying to take backup and restore Remote SVN using svnrdump because we don't have an admin SVN console. I need a incremental backup so it will take less time. I am using the following command ...
1
vote
1answer
71 views

Solaris virtualization-zones [closed]

In the context of virtualization in Solaris, could someone provide a short description of the following: Zones Kernel zones Branded zones Non global zones
1
vote
1answer
122 views

rsync from Solaris to Windows (character encoding on filenames)

I'm trying to use RSYNC to sync files from a Solaris 9 (SunOS 5.9) System to a Windows Server 2008 R2 (via cygwin) There are many Files containing characters like "ä", "ö", "ü" or "ß". Which are only ...
0
votes
2answers
95 views

Inserting Oracle Solaris 11.2 Repository on VirtualBox Oracle Solaris 11 (64 bit)

I downloaded Oracle Solaris 11.2 Repository from Oracle.com and i can't figure out how to uncompress it and insert it on VirtualBox.. Please let me know what steps to take.. Thank you.. My e mail is ...
0
votes
1answer
43 views

Solaris ZFS Mirroring - is different stripe widths valid?

I have found many articles about using ZFS mirroring with different sized disks, and it appears to be possible to grow a mirror by using larger disks. Is it possible to consolidate a stripe onto ...
1
vote
0answers
22 views

How to boot Solaris from network (using Windows 7)

Currently I have a single Board Computer: Themis USPIIe-USB™ 6U VMEbus computer board based on the Sun® Microsystems 550-MHz and 650-MHz 64-bit UltraSPARC® processors. Currently it boots from an ...
1
vote
1answer
121 views

Why tar hangs failing to extract a file

I am using a Solaris 11 system and am trying to extract from a tar file which I know to be OK, but when I try to extract it, tar hangs. I don't get any feedback from tar. What areas of Solaris should ...
1
vote
1answer
28 views

Find the creator of an idle TCP connection

On Solaris (or Unix), how can I find the remote host associated with the creation of a currently idle TCP connection? lsof gives me a bunch of lines like this: java 25375 foo 8161u IPv4 ...
0
votes
0answers
249 views

Trouble making bootable usb for solaris 11.2

I am trying to dual boot my system with Windows 8.1 and solaris 11.2.I am using flash drive for making bootable solaris 11.2..But i am not able to create bootable flash drive. I tried both .usb and ...
2
votes
1answer
45 views

Solaris - get the remote host associated with each TCP connection

On Solaris, how can I get the remote IP or hostname associated with each TCP connection?
0
votes
1answer
37 views

Solaris BIND / VI - how to view special characters in a zone file?

I'm having some issues with a new zone file and I recall previously that I was prone to using some special characters somewhere that confused BIND. Is anyone aware of a command that would show all ...
3
votes
5answers
4k views

tar - exclude does not work

I've supposed to archive a directory with tar and exclude some files. I have a directory $HOME/java which includes some .java and .class files. What I want to do is exclude all .class files using the ...
1
vote
1answer
69 views

SOLARIS: “du -s” vs “du -sh”

On all the SOLARIS servers I have access to du -s for some reason returns around twice of what it should. Example: root@someserver:/tmp/testdir# uname -a SunOS someserver 5.11 11.1 sun4u sparc ...
2
votes
2answers
90 views

fit grep syntax from linux to solaris

The following command grep -w '^[^#]* machine_VIP' /etc/hosts | head -1 | awk '{print $1}' works fine on linux (its capture the machine_VIP alias and return the IP address from /etc/hosts and ...
0
votes
0answers
61 views

system boot on grub and menu.lst absent

I have big problem on a mirrored rpool grub> boot Error 8: Kernel must be loaded before booting grub> setup (hd1) Checking ...
0
votes
1answer
43 views

Configuring route from source to destination

not an expert in Solaris networking so would like to ask your opinions Say i want to configure packet routing from source 10.126.120.130 (A) to destination 10.214.140.9 (B). I configured it this way ...
0
votes
0answers
32 views

Any file copy to /my/ftp from user(khan) should have 664 permission in solaris

I have one ftp directory /my/ftp and owner is raza. user khan is copying files to above directory. I want any file copied by user khan should have 664 permission. I tried by setting umask 002 in ...
2
votes
5answers
5k views

milliseconds from solaris command line

This gnu date command lets me get milliseconds this way: date +%M:%S.%N; but this command doesn't work on solaris... any ideas?
3
votes
0answers
689 views

How to install Java 7 on Solaris 9?

Oracle states the following regarding Java 7: This version of the JDK is supported on the Oracle Solaris 10 Update 9 or later OS, Oracle Solaris 11 Express OS, and Oracle Solaris 11 OS ...
1
vote
0answers
378 views

Unable to print to print using CUPS on Xerox WorkCentre 5755 from Solaris

I am trying to print on network printer Xerox WorkCentre 5755 from Solaris with CUPS 1.4.5 installed. Due to lack of any Solaris related information I have set the printer up with manufacturer ...
0
votes
3answers
2k views

How to install and uninstall Java 7 in Solaris 11 x86?

How to uninstall java jdk6 and jre6 from Solaris 11 x86 OS? and install java7? How to set the path and class path?
0
votes
1answer
45 views

How to view mounted CD drive in Solaris 10

Say I have a Solaris 10 Virtual machine VM mounted on vmware platform and I only have telnet terminal to connect to it. How do I see if this VM has a CD already mounted? thanks
0
votes
2answers
349 views

How to upgrade python version 2.5.5 to 2.6.8 in Solaris 11

I am using SunOS 5.11 Solaris. Currently I have python version 2.5.5. I would like to upgrade it to 2.6.8. Can someone please help me on the steps to follow for this upgrade? Please note, I need the ...
1
vote
1answer
146 views

Solaris libglib2.0-dev

i want install mc-4.8.12 (Midnight Commander), but i get this error: enter code here error: glib-2.0 not found or version too old (must be >= 2.12) When i search for a solution in google i see ...
1
vote
1answer
185 views

Oracle Client 11g for Solaris

OS: solaris 11_2-text-x86 I want to install an Oracle Client but can only see the Oracle Database 11g Release 2 Client (SPARC) but my Solaris OS isn´t sparc. When i still install the sparc version ...