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
0 votes
3 answers
73 views

sed command gets me error Label too long: on solaris

Given database name oltt206 or DB01 i wish to extract its respective username, password and connection string from the xml below: wladmin@myremhost:/tmp$ cat /web/bea_apps/uat/Tomcat_Home_v9.0.56/...
Ashar's user avatar
  • 491
0 votes
0 answers
24 views

Unable to force copy multiple files using single command non-interactively

I wish to force copy a set of files having either the same or different names to a single destination on the same host with a single command onn Solaris. Note: the copy should be forced overrite and ...
Ashar's user avatar
  • 491
1 vote
0 answers
48 views

Error while trying to install Solaris in VirtualBox

Hello i tried to install Solaris on virtualbox but after i choose instalation method in grub it is stuck at this I dont know how to fix it. Can someone help me? Thanks
Crazegi Contact's user avatar
0 votes
1 answer
46 views

Retrieve the Following Occurrence of the String 'PWD' Once the Given String is Located

Below is my sample test.log file export SQRDIR=/v/orahome/Middleware/Oracle/bin64 export OID=ap0092 export PWD=pass1 export FDPWD=pass1 export AP0085_PWD=pass1 export SVR=AFFPROD export ...
Ashar's user avatar
  • 491
1 vote
0 answers
36 views

delete all folders containing deployfiles but not containing name DEV in absolute path

I would like a generic/posix/ansible solution to the below requirement for non-windows(preferably Solaris and Linux) -> I wish to list all files under /web/bea_apps/dev/TomcatNode01/deploy -> ...
Ashar's user avatar
  • 491
0 votes
1 answer
24 views

extract specific filenames from a zip without extracting it

Listing the contents of the zip file as below: wladmin@solarishost:/tmp$ unzip -l -q /tmp/package-391.zip | awk '{ print $4 }' | sed -n '3,$p' | grep -v '^$' myapp/src/stage/bras.war myapp-...
Ashar's user avatar
  • 491
0 votes
1 answer
53 views

VNC Session with specific resolution

I have a machine running Solaris 10, I can successfully start a remote VNC session, but I can't set the resolution of the session, I know that the GPU is capable of much higher resolutions than the ...
user1359448's user avatar
1 vote
1 answer
70 views

Driver installation (Intel PRO/1000) - Solaris 10 1/13

I have installed Solaris 10 1/13 on a computer containing an Intel PRO/1000 card. My problem is that the OS don't seem to recognize the device, ifconfig -a gives me only the loopback adapter (lo0), I ...
user1359448's user avatar
1 vote
0 answers
48 views

Are KeePassXC and KeePass Solaris-compatible?

I wanted to know whether KeePassXC and KeePass are compatible with Solaris (I am using Solaris 11.4.26.75.4 (sun4v / sparc architecture)). I would need to use only the KeePassXC/KeePass command line ...
bproxauf's user avatar
  • 111
0 votes
0 answers
36 views

Solaris-compatible password managers

I am working on a Solaris machine (Solaris 11.4.26.75.4, sun4v architecture) and would like to use a password manager to centralize storing various passwords. The password manager has the following ...
bproxauf's user avatar
  • 111
1 vote
3 answers
277 views

How to call script with timestamps relative to now, on Solaris?

We have List Error shell script, but I run it manually daily. I want to run the script via crontab automatically. My script : #!/bin/sh ent programe -a$1 -b$2 -c$3 -d$4 -tTE -oListErrorTE.txt grep &...
SLALOMS's user avatar
  • 11
1 vote
1 answer
34 views

Solaris 11.4, how to enable ncp DefaultFixed or set static IP in Solaris 11.4 booted from Solaris installation media

I'm trying to restore Solaris 11.4 rpool snapshot on a new block device in a new Ldom. For that i always booted from Solaris 11.3 iso image, set a temporary IP, nfs mount snapshot source and restore. ...
hassankk's user avatar
0 votes
0 answers
37 views

Arrows, Backspace, Editing Problems When Connected to SunOS From MacOS

I cannot edit the PATH= line in .profile in vim. In Insert mode, I press home or end and it shows F^?. I press arrow-right a few times and VIM shows below: C C C C I am using this machine/OS: SunOS ...
Justin Goldberg's user avatar
1 vote
0 answers
55 views

gtar recursively untar but leave in top directory

I am trying to recursively untar a whole lot of directories that have .tar files in them, but without creating any new subdirectories. I am successfully able to do one at a time with this command gtar ...
bk_32's user avatar
  • 111
2 votes
0 answers
151 views

POSIX compatible TAR for AIX and Solaris

I have created a TAR archive with our product using maven-assembly-plugin. The TAR archive is in the POSIX format. Our QA complains about PaxHeaders.X files when extracted. Do the AIX (version AIX 7.1 ...
wilx's user avatar
  • 598
0 votes
1 answer
100 views

TOP vs df -h command memory shows different

I am using solaris 10. Can someone please help me why both command shows different total memory? df -h command shows memory total memory SIZE is 900G ~=>df -h /test Filesystem Size Used ...
Rocky's user avatar
  • 3
2 votes
1 answer
717 views

SSH delay after password entered

After entering the password, there is a 20 to 60-second delay before I receive the prompt. sshd_config (same config used in another box without delays): # # Copyright (c) 2001, 2015, Oracle and/or its ...
Rima's user avatar
  • 123
0 votes
0 answers
33 views

solaris 10 code below works fine, but is nothing is ever generated via cron

root crontab 20 * * * * [ "$(ls -A /var/spool/lp/requests/localhost/)" ] && echo "lp queue not empty " || echo "lp queue empty" | /usr/ucb/mail [email protected] ...
visedawk's user avatar
0 votes
1 answer
121 views

How to cancel/remove all print requests from print server in Solaris 10

In Solaris 10, how can I cancel/remove all print requests from print server? I know I can delete all entries in /var/spool/lp/localhost, but is there a better way than to clobber all?
visedawk's user avatar
1 vote
1 answer
114 views

Unable to boot SunOS 5.8

I had to hard reboot a SunOS 5.8 server due to a networking fault. On giving 'boot' command on OK prompt, I get the following messages Can't read disk label. Can't open disk label package Boot device: ...
najarajar's user avatar
-1 votes
1 answer
512 views

what is "dd if=/dev/zero of=/storage2/test4.img bs=1M count=256" usage?

I would be thankful if someone can explain me what does following command exactly doing: dd if=/dev/zero of=/storage2/test4.img bs=1M count=256
user565896's user avatar
0 votes
1 answer
116 views

tar multiple files starting with same pattern then spaces in between the file name

I am trying tar files from a directory which has files starting with same pattern then multiple spaces in between. e.g.: ABCDEFGH Mar 09 20:02:00 2023 log.TXT.0 ABCDEFGH Mar 09 20:05:00 2023 log.TXT.0 ...
JitheshPP's user avatar
1 vote
1 answer
40 views

Solaris 11: how to hide pids of other users?

On the glorious SCO Unix (remind C2 security..) was possible to hide pid of other users to "oth er". For example, user Jane see Jane's processes, u ser Mike see only Mike's processes, etc.....
elbarna's user avatar
  • 12.6k
0 votes
1 answer
251 views

Solaris 11.4 Corefile Issues

I've been working with my client for some time now to try to determine some strange behaviours with core file generation on their Solaris SPARC systems. Their current version of Solaris is 11.4-11.4....
DofD68's user avatar
  • 1
0 votes
1 answer
179 views

Solaris 11 and nfs idmapping

A simple problem With Solaris 11 I create a nfs share zfs set share.nfs=on rpool/public my Linux client mount it.. mount solaris2:/var/public /mnt/share I want to give write access to myuser, i know ...
elbarna's user avatar
  • 12.6k
0 votes
1 answer
53 views

Solaris 11-CBE and pci-e Serial adapter

I have installed this serial adapter on Solaris 11.4 (CBE) prtconf report it prtconf -vdup|ggrep -i serial -A 11 model: '16850-compatible serial controller' pcie-bdf: ...
elbarna's user avatar
  • 12.6k
1 vote
1 answer
79 views

Help with Folder permission problem with Oracle DB 7 and Solaris 7

I was wondering if anyone else has come across this issue with Solaris 7 and Oracle Database 7, I set the permissions of the folder as such chown -R oracle:dba /opt/oracle but when trying to install ...
Wpgn's user avatar
  • 13
0 votes
1 answer
87 views

Snoop on Solaris, how to avoid "ether" packets?

This filter works fine snoop -vvx port 5858 and not port 22 But I see some "ether" headers ETHER: ----- Ether Header ----- ETHER: ETHER: Packet 16 arrived at 13:01:37.43271 ETHER: ...
elbarna's user avatar
  • 12.6k
-1 votes
1 answer
46 views

What are b and e in Solaris paritioning?

I'm on Solaris 11, disk using EFI and GPT but with classical bios 0 BIOS_boot wm 256 260.00MB 532735 1 usr wm 532736 5.46TB ...
elbarna's user avatar
  • 12.6k
0 votes
1 answer
102 views

Solaris11: is possible to create an encrypted root and unlock it via usb?

On Linux is possible: with luks+ext4 or luks+btrfs there are a lot of how-to's on web. Is also possible using ZFS. On Solaris 11 is possible something like this? Using a passphrase on boot is ok only ...
elbarna's user avatar
  • 12.6k
0 votes
0 answers
79 views

password MAXDAYS not working with solaris 11.3

I am enforcing password complexity rules for solaris 11.3 and solaris 11.4 Changed file /etc/default/passwd change these parameters in above file MAXDAYS=60 MINDAYS=1 WARNDAYS=7 HISTORY=3 MINDIFF=1 ...
Asif Shabbir's user avatar
1 vote
1 answer
452 views

How to install a package in Solaris 11 from file?

How to install a package in Solaris 11 from file (not from the package repository)? I am trying to install a .pkg file on a Solaris 11 SPARC machine, however, I get errors: # pkg install mysql-...
eliot's user avatar
  • 31
1 vote
1 answer
642 views

rsync fails to work with -o StrictHostKeyChecking=no option

Below rsync works and helps copy remote directory to localhost /bin/rsync -rv myremoteuser@myremotehost:/tmp/Deployments/ /web/playbooks/automation/getfiles/tmpfiles/4/E5EA787E/myremotehost/ Once i ...
Ashar's user avatar
  • 491
0 votes
2 answers
417 views

Unable to pull directory from remote host to local using rsync

My issue is a a small part of a bigger problem i m trying to resolve. The issue started with rsync command that was very complex and constructed by ansible and does not work ... reported here: https://...
Ashar's user avatar
  • 491
-1 votes
1 answer
132 views

Need to find contents of Solaris zfs snapshot

I have zfs snapshot and I want to view the contents of particular snapshot. This is for Solaris 10.
user539698's user avatar
0 votes
1 answer
3k views

How to add user with sudo privileges in Solaris

How would I add a user with sudo privileges in Solaris 10 and Solaris 11?
eliot's user avatar
  • 31
1 vote
1 answer
60 views

how to get the network throughput in sun solaris 10

I have the result of the netstat command, but am not able to figure out the throughput of the network from the server. We are running some operations to copy to the cloud and we like to know the ...
user1595858's user avatar
0 votes
0 answers
146 views

USB external drive is recognized in solaris 11

New external USB drive is formatted (Fat32) and useable on one Solaris x86 unix computer. Move it to another unix computer (same make and model) and it does not recognize the usb drive. All ports are ...
RichterT's user avatar
-1 votes
1 answer
195 views

How to get user creation details

Kindly assist to to get user creation details (date and time) and users login details in Solaris 10
eliot's user avatar
  • 31
0 votes
2 answers
193 views

How to get total size of folder

In Solaris server how can i get total size of this output? Could you help me? I need to learn total size of last 1 day file root@test:# find . -mtime -1 -type f | xargs du -sh 226M ./10/01.tar 209M ...
becks's user avatar
  • 1
0 votes
1 answer
67 views

selang command: Looking for 'unix' parameter clarification

We have an etrust enabled Solaris 11 host. I was looking at one of the scripts created by our Engineering team which has below command lines. selang -s -c "ng grp1 owner(etrust) ***unix*** ...
Akshay's user avatar
  • 15
1 vote
1 answer
958 views

Solaris 11 Not Able To Install PKG File

I am trying to install a .pkg file on a Solaris 11 Intel machine and am faced with the following error: pkg install: The following pattern(s) did not match any allowable packages. Try using a ...
Help's user avatar
  • 97
0 votes
1 answer
109 views

Filtering the ICMP packets on Solaris using IP-addresses from the table

I'm currently working with Packet Filter on Solaris machine, trying to create a rule that would filter out all ICMP packets of particular type and code. Here is my rule line: block out quick proto ...
zlatonick's user avatar
  • 149
0 votes
1 answer
357 views

expect script doesn't change password on Solaris

I have this script I run from a Linux machine to change root password on remote Solaris machine reachable by ssh. All seems to be fine, passwd command asks for a password, second password, reply that ...
Nicco's user avatar
  • 55
0 votes
1 answer
201 views

Unable to get PID on a Listening port for Solaris

I'm using solaris SunOS myhost4 5.11 11.4.42.117.3 sun4v sparc sun4v non-global-zone I'm sure that port 7777 is in use as the telnet is successful as below: $ telnet myhost4 7777 Trying 10.23.52.219.....
Ashar's user avatar
  • 491
0 votes
1 answer
31 views

Missing directory after move to a link

I have the following dir structure zfs filesystem - /opt/test/tmp zfs filesystem - /opt/data/ I have two directory links: /opt/test2/_tmp -> /opt/test/tmp /opt/test2/_tmp2 -> /opt/data In /opt/...
mikem's user avatar
  • 825
1 vote
1 answer
141 views

What is "utility" in Solaris when referred to by the Solaris section of Oracle's CPU?

Within the Oracle CPU (Patch information) on Solaris some patches are referred to and reflect "Oracle Systems (component: Utility)." You can see it here referred to also in the CVE ...
Scouse_Bob's user avatar
1 vote
0 answers
800 views

I am having trouble performing an NFS mount of a Solaris filesystem on a Ubuntu machine

I am trying to do an NFS mount of a Solaris (version 5.10) file system (on a Sun Blade 2500) on a Ubuntu (release 20.04) system (on a Dell Precision Tower 3620). My (possibly incorrect) understanding ...
SPV's user avatar
  • 11
0 votes
0 answers
44 views

give access to /home/$USER/targetfolder only to me and a partner

I'm working on a server where current users (group=domainusers gid=1002) can read, write and run ONLY our own files. Because of my kind of permissions I'm not able to run apt | adduser | addgroup | ...
ser356's user avatar
  • 58
0 votes
1 answer
678 views

What is all the possible error output in Unix's df command

i'm trying to make a monitoring script that do health check of the filesystem in every several seconds. I want to monitor the "df" command, so that i can know if there is any NAS filesystem ...
tns2307's user avatar

1
2 3 4 5
24