Questions tagged [solaris]

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
8k views

How do find the LDAP connection details that the Solaris box uses to authenticate users?

The Solaris box is configured to use LDAP and has no local user accounts. This is the output of the nsswitch.conf file: bash-3.2$ less /etc/nsswitch.conf passwd: files [NOTFOUND=continue] ldap ...
2
votes
1answer
654 views

How to limit swap usage in Solaris?

I have an Oracle Solaris 11.3 which has 128 GB of Memory (RAM) and 80 GB of Swap. I want to limit the use of swap space (not its size just the usage). I know in more modern linux distros ...
1
vote
1answer
262 views

File/files that is/are responsible for password aging in solaris

What file/files is/are responsible for password aging in solaris server? Whenever a user is added, the default password aging limit is 90 days right? So is there a config file responsible for this?
0
votes
1answer
310 views

Solaris 11 change current image / “entire” package

I need to install a new Solaris image on our server as it used to be under a support agreement but is not anymore, and as such I'm unable to download any new packages from the (https://pkg.oracle.com/...
1
vote
1answer
104 views

What does it mean if the write() system call in Solaris returns EACCES?

We're having a weird issue in one of our Bamboo plans, which we can't replicate 'locally' (on the same machine, with the same user) It's failing to copy a file. Here's a truss log: error 14-Dec-...
0
votes
0answers
40 views

Solaris) Can I set Run Control to change shell on boot?

#passwd -e Current Shell : /bin/ksh New Shell : | (cursor) My question is, can I bind some scripts in /etc/rc3.d/ that can answer the cursor part with a pre-written line of command? I've tried ...
2
votes
1answer
105 views

Solaris11: can be installed as zone on omnios or similar?

I can install Solaris11 as qemu vm on Omnios,my question is: is possible (maybe using an archiveadm "flash" archive) to install Solaris11 as zone of Omnios?
0
votes
2answers
105 views

On Solaris I get good id mapping..on linux not,why?

I use an Active Directory server for authentication,Solaris works fine following this Howto. All works,and my user "user1" get the right UID assigned on Windows AD,which is 10000. On linux I follow ...
2
votes
1answer
125 views

Solaris 11, How to map device to mount point?

Solaris 11, iostat -xncz 5 extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device .... 6.0 18.2 226.7 205.6 0.0 0.0 ...
0
votes
2answers
127 views

ZFS magically vanishing available storage space

Running zfs on a system, and my root partition has been shrinking with seeming no explanation. I have now run out of space and can't find where it all went. A simple df shows the following (You can ...
0
votes
1answer
505 views

Solaris 11.3 - Unable to install system/header

I'm (unsuccessfully) trying to get GCC installed on Solaris 11.3 but am running into a lot of issues. My current issue is that I'm unable to install the package "pkg://solaris/system/header". ...
0
votes
2answers
61 views

How to find a newly joined node has windows, Linux or Solaris operating system?

I am doing a network service topology diagram. I need to identify the newly added computer's operating system so that I could run different scripts based on OS. How could I identify the newly added ...
1
vote
1answer
61 views

Why does `xargs -n ` on SmartOS (SunOS) behave differently than other implementations?

It seems the -n option on the xargs found in SmartOS (and I assume Solaris) does not behave like any other version of xargs I've encountered. Take this example: Builtin /usr/bin/xargs (odd behavoir):...
0
votes
1answer
37 views

How to find if partition is soft partition or not - Solaris 10

How to find if partition is soft partition or not in solaris 10?
3
votes
3answers
467 views

How to use cp -u on a Solaris system which does not support the -u option?

I want to copy only when the SOURCE file is newer than the destination file or when the destination file is missing. As you know, this feature will work on Linux system on following command. cp -u /...
1
vote
1answer
52 views

Solaris Flar image share across the network [closed]

bash-3.2# exportfs -av shareall -F nfs share_nfs: /flar/sol10-flar.flar: Value too large for defined data type I am trying to share the solaris10 flar image on to the other serve using NFS. I am ...
0
votes
1answer
285 views

Determine Solaris server model inside a zone?

I'm a DBA doing some inventory and as part of it, I gather some system info. I'm wondering if it's possible to determine what hardware a zone is running on if you only have access to the zone? I ...
1
vote
2answers
115 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 -...
2
votes
3answers
12k views

solaris 10 + display 2 lines after match by grep?

I want to match for example: The string e1000g0 from the lltconfig -a list , and then to display the two lines after the string e1000g0 so I get only the lines: Node 0 du1a : 00:...
1
vote
0answers
294 views

Add Solaris utf-8 support for Postgresql

I need to use utf-8, but "locale -a" produces: C POSIX iso_8859_1 the os is: SunOS cteraportal 5.11 NexentaOS_134f i86pc i386 i86pc Solaris Additional info: root@cteraportal:~# dpkg -l locales ...
0
votes
2answers
1k 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 sendmail[...
0
votes
1answer
610 views

from iostat -En output ,i need to display Hard Error more than 2

I need to display the lines which are having Hard Errors more than 2 from the output of iostat -En | grep Hard in case of solaris.
-1
votes
1answer
65 views

How to externally copy an old UFS hard drive?

Here at work our machines are required to run off of old Sun Sparc5's (1995) all running a UFS architecture on the hard drives due to a Solaris 5.3ish base. The way they are configured it is not ...
0
votes
1answer
80 views

Solaris 10 /var/adm/perfdata

The /var partition is 100% full. The partition looks something like this: rpool/ROOT/var 15G 3.4G 25M 100% /var 1.4G /var/adm/perfdata I need to delete files from that folder, but I ...
1
vote
2answers
1k views

Unable to run a process on background

I have used the following command to run the cp.sh script in the background. nohup sh cp.sh < /dev/null & > /dev/null & output: Invalid null command. What would be the solution for ...
2
votes
2answers
161 views

Root problem in Solaris 8

I am having some troubles on my Solaris 8 computer. I don't know how this happened, but the path of the user root has changed in /etc/passwd, therefore I can't become the root user anymore. Under ...
-1
votes
3answers
691 views

Grep content for multiple files

My OS is Sun Solaris. SunOS sintscdldmu001 5.11 11.3 sun4v sparc sun4v I gave the command alter database backup controlfile to trace; and happened to forget it. When i needed the contents of the ...
0
votes
1answer
173 views

Does Solaris 11.4 support Solaris 11.3 branded zones?

My gut feeling is "no", but an Oracle salesperson told me yes. I am not talking kernel zones here btw.
0
votes
1answer
165 views

MAXWEEKS on Solaris is equals to 13

I have a server where MAXWEEKS is set to 13 in etc/default/passwd. I know that this setting means that password will expire after 13 weeks. My question is if the user does NOT change the password, ...
0
votes
1answer
344 views

syslog forwarding

I'm using Solaris and have an application that writes to a log file /app/data/log/foo_log.021118. Am I able to use syslog to forward that specific log file to a remote server? Should I put ...
0
votes
3answers
1k views

How to configure network interface after installation of solaris 8

I already install Solaris 8 in my machine, in the installation I chose the option not-networked so I didn't configure any network interface or an IP address. So can you please tell me how can I do ...
1
vote
1answer
232 views

Solaris 11: two manifest for service! I want one

I import a rc.local become a SVC service Procedure work but.. I see two manifest! svcs -l svc:/site/rclocal:default fmri svc:/site/rclocal:default name Run-once service enabled ...
0
votes
1answer
133 views

Where to find old Fortran library libF77.so.3

We have some old binaries which ran on Sun SPARC systems from around 2000, and we'd like to run them again (we do not have the source code.) I tried running the binaries on a Sun Blade 1500 with a ...
0
votes
1answer
70 views

Solaris difference between 's' and 'l' in permissions

On a Solaris 11 machine, when I execute chmod 2000 myfile, I get l instead of S or s: touch myfile && chmod 2000 myfile && ls -l myfile ------l---. 1 pydoge pydoge 0 Oct 16 12:35 ...
1
vote
2answers
396 views

Using rsync to preserve permissions only

I'm doing a NAS data migration from a Celerra NS960 to a Unity 500. I have an SMB/CIFS file system I synced using EMCOpy in Windows environment. It's also an NFS (multiprotocol) file system. I have ...
2
votes
2answers
354 views

List HBA information on Solaris 11 OS

Actually I want to know how can I see the Luns presented using a HBA WWN. The view that I want is something like this: LUN (on the server side like /dev/rdsk/...) | WWN (from the server) | Paths (...
0
votes
1answer
854 views

How do I check Memory leakage in solaris server? [closed]

I need to check memory leakage on my Solaris server.
0
votes
1answer
205 views

How to close one side of a TCP connection leaving other side hanging open? (No FIN or RST sent)

I am trying to recreate a scenario where a Solaris client is connected to a Linux server via TCP socket, but the client side of the connection suddenly goes down without sending sending a FIN or RST ...
1
vote
0answers
103 views

Jenkins on solaris operating system

Need to install jenkins server on solaris box, this is the version details, can we get any jenkins package to install? Solaris details: Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
1
vote
0answers
223 views

ypcat passwd not able to list if the user has 3 digit user id

I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running. If my /etc/passwd is e.g.: ...
1
vote
0answers
474 views

sendmail relay problem

I have two hosts one of which can send emails to my address, while other can not. I am trying to figure how to make the other host send the mesg to first host so that the first host can send that mesg ...
21
votes
5answers
28k views

How to get file to a host when all you have is a serial console?

When all you have is a serial console (say via telnet through a terminal server), what methods can be used to transfer files in/out of a host? Cut/paste works for the small/printable stuff and I've ...
0
votes
1answer
37 views

mv command is moving to the parent of the provided argument

Let's say I have a working directory: /home/userID/workingDirectory I type a mv command that will affect the parent directory of the current working directory and the working directory itself: mv .*...
4
votes
3answers
25k views

How to get the Physical memory usage in Solaris using commandline

I need to show physical memory statistics in Solaris, like total memory, used and free memory. Don't want to create a script, so is it possible to get all these details using commandline only?
0
votes
2answers
236 views

Searching for files within subdirectories?

I have a tree of parent folder and subfolders. The subdirectories have similar names. I would like to search for files stored in the sub-directories. How can I do that? For example: Parent-...
-1
votes
1answer
2k views

Redirect errors to /dev/null when greping and finding on Solaris

I find myself having to play around with Solaris. I would usually redirect with 2>/dev/null which works on Solaris in general, but not with these two ways of doing recursive "greps" on Solaris. # ...
0
votes
1answer
82 views

Script for verifying service [closed]

I am trying to get this to run and am having no luck. I am trying to see if 2 services exist. If they exist and they are disabled, it should return pass. If not then fail. #!/bin/bash # echo "...
1
vote
1answer
179 views

Equivalent of “ssh-keyscan -H” in Solaris 10/11

I'm creating a Perl program that adds the specified host in root's known_hosts file. The program works in AIX and Linux, but not in Solaris and sadly, I can't find its equivalent command. Sample line:...
0
votes
2answers
109 views

How to extract number from the below string which is the output of a command?

I want to extract message number which we get on executing command mailx -H. I want the message numbers of unread and new messages only. I tried with the below command: mailx -H|grep '^ [UN]'|cut -c ...
1
vote
1answer
56 views

Modifying standard DTT scripts to use -c instead of $1

There are lots of great dtrace programs out there and some of them require a PID to be passed to them, in order for them to trace that PID. Inside the dtrace scripts that argument is stored in $1. Is ...