Questions tagged [solaris]
Solaris is a commercial Unix operating system sold by Oracle, previously (before 2010) from Sun Microsystems. It can run on SPARC or x86 hardware.
2,781
questions
-1
votes
0
answers
6
views
VNC session blank for sessions more that 10
Am trying to open vnc sessions using vncserver command from command line and can able to open n number of sessions per user from command line.
But from vncviewer client, everyting works fine upto 10 ...
1
vote
1
answer
23
views
boost-iostreams 1.59 sparc-solaris crosscompilation fails
boost sources: sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
host machine x64-linux, ubuntu 20
crosscompiler sparc-sun-solaris2.10-g++ (GCC) 4.9.3
steps, based on this ...
0
votes
0
answers
36
views
Insert # at the start of a matching String [duplicate]
Current Sample Data
03054;server
03055;server
I am trying to comment out the lines which containing the "server" in a file, but its failing on Solaris server, as below
root@hostname:/root# ...
2
votes
1
answer
62
views
How to run my python script when the sunOS is start booting
I copied the script (server.py) to /etc/init.d folder.
chmod 0744 /etc/init.d/server.py
chown root:sys /etc/init.d/server.py
cd /etc/init.d
ln server.py /etc/rc2.d/Sserver.py
ln server.py /etc/rc0.d/...
1
vote
0
answers
36
views
libxercesc can not catch exception only on Solaris
ffffffff7e54c2f0 __lwp_sigqueue (6, 6, 5, 0, 6, 5) + 8
ffffffff7e4cab0c abort (ffffffff79415998, 0, 6, ffffffff7bf002d8, 1bb5b4, c00) + c4
ffffffff7930ab8c _1cH__CimplRdefault_terminate6F_v (...
1
vote
1
answer
55
views
Is there a command line tool to connect Azure SQL MI on Solaris11
According to Microsoft document, there is a sqlcmd utility which can be used on Windows server/system that can execute sql statement and bcp operation in command-line.
Reference: https://learn....
0
votes
0
answers
32
views
RPC calls between C and Python, and vicecersa
I have an old RPC server running in a Solaris machine. This called by quite a few RPC clients in Solaris and Linux hosts.
We want to move to a Solaris-free scenario. And the first thing we want to do ...
1
vote
0
answers
28
views
STREAMS library (openss7?) for Ubuntu
I need to port a Solaris application using the XTI/TIL protocols (STREAMS infrastructure, System V) to a Linux system, current target is Ubuntu. But I'm having a really hard time finding what ...
0
votes
2
answers
58
views
Run linux-docker-image on a Solaris machine, how?
How do I run on solaris, a linux based docker-image (e.g nginx image)? I expect similar to running a nginx-image on windows machines.
e.g Can I have a virtualbox-linux in solaris-os, and then run ...
0
votes
0
answers
16
views
Trying to install Fusion Middleware in Solaris 11.4
I'm trying to install Fusion Middleware to a Solaris 11.4 virtual machine, but I get the error:
This installer must be executed using a java development kit (JDK)
but /usr/jdk/instances/jdk.1.8.0/jre ...
2
votes
1
answer
65
views
Getting process start time as future date in sigar java api
As i am using sigar java api to get the process start time in solaris sparc OS,
Currently am getting a future start time as return.
Could anyone suggest what can be the issue?
try {
startTime = ...
0
votes
0
answers
40
views
how to check /bin/sh version on Solaris?
There's a "-version" option for bash, but not in "/bin/sh". Is there a way to check the /bin/sh version?
$/bin/bash -version
GNU bash, version 3.2.57(1)-release (i386-pc-solaris2....
0
votes
1
answer
36
views
BSM audit API on Solaris/UNIX OS
I am using Solaris 11.4, and have the bsm headers, library already set-up, but I cannot find certain functions that are defined in the man page, like au_fetch_tok that are mentioned in the libbsm man ...
0
votes
0
answers
29
views
Why do I get "account expired" for root access over rsh, even though the account works for local login?
I'm using rsh in a script to copy stuff from a Solaris 11 master server to a newly installed one. I know, ssh is safer but I would like to avoid the hassle of passwords, as this all takes place in a ...
0
votes
1
answer
48
views
Intercepting source audit records in solaris 11.4 (UNIX)
I am trying to understand how the logs from kernel ring buffer is then captured and modified by plugins like audit_binfile and audit_syslog in solaris OS. I read online that there is a socket through ...
0
votes
1
answer
50
views
Solaris VNC Autostart with pseudocolors
i followed the oracle guidelines to start vnc server at boot using
svccfg -s application/x11/x11-server add display1
svccfg -s application/x11/x11-server:display1 addpg options application
svccfg -s ...
0
votes
1
answer
52
views
ELFCLASS32 when compiling CMake on Solaris 11
I trying to compile CMake from sources on Solaris 11 machine:
# uname -a
SunOS 5.11 11.3 sun4v sparc sun4v
Steps:
wget
https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-...
0
votes
0
answers
19
views
What is equivalent of tracepoints/probes Solaris sched:::on-cpu and sched:::off-cpu in Linux?
What is equivalent of tracepoints/probes Solaris sched:::on-cpu and sched:::off-cpu in Linux?
https://docs.oracle.com/cd/E19253-01/817-6223/chp-sched-5/index.html
0
votes
0
answers
36
views
Is there a way to split a tif image into several images with their .geojson annotations?
I have an orto tif image with their annotations in a geojson file, I would like to split this image into several images each image with their corresponding annotations in a separate file .
I will use ...
0
votes
1
answer
39
views
I only want to display the matching users up until the comma
I want to print the color along wit the users who match, not all the users.
So I want to find bob and riley and only print the data associated with them and not the other users. If there is no matches ...
0
votes
5
answers
94
views
How can I isolate a single value from a list within an awk field?
Lets say i have a file called test and in this file contains some data:
jon:TX:34:red,green,yellow,black,orange
I'm trying to make it so it will only print the 4th field up until the comma and ...
0
votes
1
answer
71
views
Isql upgrade : extra-spaces issue
When migrating from Solaris servers to Linux servers, isql seemed to return more trailing spaces (in data files / columns) on linux servers than in Solaris servers.
old-isql version :
Sybase CTISQL ...
0
votes
0
answers
20
views
enabling curl in xampp solaris
php 5.6.3 is used
installing libraries from
https://www.opencsw.org/packages/CSWphp5-curl/
give these files
/usr/sbin/pkgchk -L CSWphp5-curl # list files
/opt/csw/php5 d none 0755 root bin CSWphp5 ...
0
votes
2
answers
75
views
Use egrep and sed with pattern list to return first instance of every pattern in a single target file
I have a lengthy pattern list in a text file, one item per line. I'm using an older version of Solaris Unix, so I have to use egrep at the command line as I have very limited scripting experience. ...
0
votes
0
answers
25
views
Paramiko Doesn connect on Solaris 11 [duplicate]
On Linux & Solaris 10, the following code works but if it is Solaris 11, it throws the following error message paramiko.ssh_exception.AuthenticationException: Authentication failed.. The ...
0
votes
0
answers
56
views
Command " /asadmin list-applications " failed in solaris
It appears that server [localhost:4848] does not accept secure connections. Retry with --secure=false.
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException: NotAfter: ...
0
votes
1
answer
73
views
bash script calling itself in while loop - why?
I am trying to understand why this script is calling itself when running.
the script itself works but I cannot figure out the execution of the script after the for loop completes.
it is GNU bash, ...
0
votes
1
answer
51
views
Solaris: Equivalent command for chronyc sources and chronyc tracking
As per title I want to check output of the equivalent command but on a Solaris 11 box.
Is there a similar command?
1
vote
0
answers
97
views
how to install gcc 4.9.2 on solaris
I try to install gcc 4.9.2 on solaris 11.0 sparc
however although it says no updates neccesary it doesn't find this package:
-bash-4.1# pkg install gcc-49
No updates necessary for this image.
-bash-4....
0
votes
0
answers
134
views
Not able to change login screen background image in gnome3
We are trying to change login screen background image on gnome3(OS: solaris 11.4), But not working.
I have tried below steps,
# vi /etc/dconf/db/gdm.d/00-login
[org/gnome/desktop/background]
picture-...
0
votes
1
answer
98
views
Java memory usage: Can someone explain the difference between memory reported by jconsole, ps, and prstat?
I'm investigating some memory bloat in a Java project. Confounded by the different statistics reported by different tools (we are using Java 8 on Solaris 10).
jconsole gives me three numbers:
...
0
votes
1
answer
462
views
Set lc_time parameter
I use PostgreSQL 13.2, and try change lc_time parameter:
SET lc_time = 'ru_RU';
select set_config('lc_time', 'fr_FR', true);
But in both cases have this error:
[22023] ERROR: invalid value for ...
1
vote
1
answer
1k
views
How to install JDK 11 on Solaris 11 AMD64
Does JDK 11 support Solaris 11 AMD64? According to Installation of JDK on Oracle Solaris, JDK 11 is at least supported for Solaris 11 sparc, but the page does not explicitly say it is not supported ...
0
votes
1
answer
395
views
Why is syscall.SYS_IOCTL defined for Linux but not for Solaris?
I have the following Go code:
package main
import (
"syscall"
)
func main() {
_ = syscall.SYS_IOCTL // Assign to _ to avoid compiler error
}
This compiles fine for Linux, but ...
1
vote
1
answer
210
views
How can I cross-compile for Solaris with cgo?
I am trying to compile some cgo code for Solaris. I get these errors when I try to build:
$ CGO_LDFLAGS="-L$(pwd)/solaris-11.4-amd64-libs" CGO_CFLAGS='-I/home/shane/src/ioctl-experimentation/solaris-...
0
votes
1
answer
64
views
Compare and match single column of 2 files and display all columns/rows of both files using awk command unix
I got file 1 appear like this:
40 / 3 / Swimming / Outdoor Sport
40 / 4 / Badminton / Indoor Sport
40 / 8 / Bowling Game / Indoor Sport
40 / 12 / Football / Team Sport
40 / 20 / Diving / Water ...
0
votes
2
answers
90
views
solaris 10 tail variable lines
I previously used ksh for this script. I would create the variable like say LINE=8 and then use tail -$LINE <file> and everything was great. Now I am trying to rewrite this in bash, but still ...
0
votes
1
answer
320
views
Solaris 10 time command to find execution time and save in a text file
H,
There is Solaris command "time" to find execution time of command ... e.g.
time command
I need to execute this "time command" command and save output in a file.
I can find -o ...
-1
votes
1
answer
326
views
How do i securely sign a Transaction within my Solana Dapp
An NFT project I'm working with was recently rugged and I'm setting up a dapp with goal of derugging the project. We are trying to achieve this by destroying all of the NFTs in the old collection and ...
2
votes
0
answers
31
views
Where is the unnamed pipe in kernel space
I tried to find some information about this in the manuals and source code but could not.
I thought the pipe was in RAM because it's quite large, but I found out it was in the kernel, so I wondered ...
0
votes
1
answer
91
views
I get bus errors when using fread(), and bad data when using buffered stream buffer
FILE * fh = fopen(fname, "rb");
setvbuf(fh, bf, _IOFBF, KB64);
int n = fread(bf, 1, KB64, FH);
/* DISPLAY first 50 characters*/
fclose(fh);
fh = fopen(fname, "rb");
setvbuf(fh, ...
1
vote
0
answers
92
views
I am getting linking error when compiling ICU 67.1 on Oracle Solaris 11.3 SPARC
I am trying to compile ICU 67.1 on solaris 11 and facing error when it tries to make the tools/makeconv folder
Below is the error which I am getting:
/opt/developerstudio12.6/bin/CC -g -O4 -xlibmil -...
0
votes
1
answer
699
views
Solaris 11 smbfs mount utility is failing to mount SMB2.0 onward windows shares
We are using smbfs mount utility in solaris 11 to mount windows SMB2 share but failure was reported as below:
command(executed with root):
sudo mount -F smbfs -o user=administrator,uid=oracle //win-...
1
vote
1
answer
105
views
Solaris 8's gcc isn't searching for header files on NetBSD
I have a gcc 2.95.1 binary installed on a Solaris 8 VM. For an experiment, I'm trying to get it working in a NetBSD environment. However, I can't run the compilation phase on any program that involves ...
0
votes
1
answer
275
views
netstat display Huge amount of "SYN_RCVD" state
netstat display Huge amount of "SYN_RCVD" state on Solaris 11, it's a nginx reverse server.
# netstat -na | awk '/^20/ {++S[$NF]} END {for(a in S) print a, S[a]}'
TIME_WAIT 515
ESTABLISHED ...
0
votes
1
answer
447
views
ld: fatal: file bcPACplacebo.o: wrong ELF class: ELFCLASS32
Below are my environments that I am running my project which has C and CPP codes.
uname -a:
SunOS nzdrb12z 5.11 11.4.40.107.3 sun4v sparc sun4v non-global-zone
cc -V:
cc: Studio 12.6 Sun C 5.15 ...
0
votes
0
answers
54
views
Solaris 10 Bash redirect output to a file in wrong order
i execute command :
groovy -cp SCRIPTS_DIR SCRIPTS_DIR/build.groovy >>output.txt 2>>error.txt
build.groovy file contains svn command and lot of mvn commands. During execution file output....
0
votes
1
answer
330
views
Java 1.8.0_311 on Solaris 9 returns relocation error, symbols unsetenv and sema_timedwait not found
This is similar to this question about Java 1.6. As the OP of that question, I have a Solaris on a SPARC v9 architecture (physical SUN Fire V445):
-bash-4.4$ cat /etc/release
...
0
votes
1
answer
298
views
RBAC configuring on solaris 11.4
Hi everyone I am facing some issues on solaris 11.4 implementing RBAC. I created user and role and giving profiles for the roles, but I can execute the command. I drop my RBAC Configuration below.
$...
0
votes
2
answers
2k
views
How to add sudo user on solaris?
I am using Solaris 11 , I have added user to sudo user file ( /etc/sudoers) , still its prompting for password.
arcsys@solaris:~$ sudo -l
User arcsys may run the following commands on solaris:
(...