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
0answers
28 views

sshd error - what could be wrong?

I am getting the error below from my /var/adm/messages (or syslog) Aug 28 19:11:21 myhost sshd[25570]: [ID 800047 auth.info] Keyboard-interactive (PAM) userauth failed[9] while authenticating: ...
0
votes
3answers
43 views

/etc/shadow and /etc/passwd privilege - why is it writable

sghk1> id uid=0(root) gid=0(root) sghk1> ls -l /etc/shadow -r-------- 1 root sys 4045 Aug 24 15:52 /etc/shadow sghk1> ls -l /usr/bin/passwd -r-sr-sr-x 1 root sys ...
0
votes
3answers
10k 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 ...
0
votes
0answers
11 views

inconsistencies between df and du solaris 10

I have a problem with the /var having only 800MB left. yet du -sh /var show only 91MB used while df shows it is 5.4GB used.. I cannot find any symbolic links that will cause this.. so I cannot clean ...
1
vote
0answers
10 views

How to check services are running or not in Solaris

Particularly, I want to check Samba services and see if it is running or not in Solaris machine. For Linux, we can check with below command. service smb status smbd (pid 8058) is running...
44
votes
11answers
40k 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 ...
2
votes
2answers
654 views

how to get git on solaris webspace?

I'm renting webspace with SSH access and I want to host a GIT repository on it. The problem is that GIT is not installed on the server, which is running Solaris and therefor it is difficult for me to ...
1
vote
0answers
26 views

Solaris + date + what is the same equivalent for Solaris [closed]

on Linux the syntax for date with seconds is: date +%s 1438587288 from MAN PAGE - %s seconds since 1970-01-01 00:00:00 UTC what is the same equivalent for Solaris?
0
votes
1answer
25 views

solaris + how to verify if file isn’t update more than XX min

how to verify if file isn’t update more than 55 min? For example, the file IOstatDisk2.log not update since 18:00 And now the current time is 19:00 solaris1a:/var/tmp ROOT # ls -ltr IOstatDisk2.log ...
3
votes
1answer
254 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
35 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
24 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
33 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
26 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 ...
11
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
62 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
22 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 ...
0
votes
1answer
19 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
21 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
32 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
140 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
44 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
82 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
28 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
78 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
46 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
74 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
145 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
113 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
49 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
146 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
32 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
261 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
41 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
73 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
93 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
66 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
34 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
6k 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?