Questions tagged [solaris-10]

Solaris 10 is a release of Solaris OS that supports multiple architectures and has native virtualization tools

Known as Oracle Solaris 10, it was launched in 2005 and is the first release to include x86-64 (AMD64/Intel 64) support, Solaris Zones (virtualization) and Dynamic Trace tool (DTrace).

347 questions
5
votes
3 answers

How to archive and extract a .tar.gz file

A simple question. On x86 Solaris 10, I tried the following to compress a folder(Data) of files. tar -cvf /path/to/Data/* | gzip > /path/to/archive/Data.tar.gz Now, I can list the file names and their sizes using: gunzip -c Data.tar.gz However,…
Shuvo Shams
  • 593
  • 4
  • 8
  • 20
4
votes
1 answer

in bash, heredoc inside function returns syntax error

I have the following function: #!/bin/bash get_instance{ dbname=$(sqlplus -s / as sysdba<
Nicolas de Fontenay
  • 2,102
  • 5
  • 26
  • 49
3
votes
0 answers

Core dump in solaris

I am getting below error while running an executable in solaris :Illegal Instruction (core dumped) When i use pstack command to check the core file i get below info: ffffffff7f501f20 ???????? (0, 0, 0, 0, 0, 0) 0000000000000000 ???????? (0, 0, 0,…
3
votes
0 answers

Installing python 2.7.1 on Solaris 10. Is compiling the only option?

I'm new to installing anything on Solaris 10 on a sparc. For most of my linux/mac's it came pre-installed. And installing on Windows is a breeze. Now I have to install both Python & Mysql and seems like building it from source is the only option..…
PlanetUnknown
  • 3,639
  • 4
  • 44
  • 63
3
votes
2 answers

Clearcase findmerge producing no output

I am trying to merge my development branch with the parent branch to the one I am working in. I do not have graphical ClearCase, I only have the command line. I am using Solaris-10. When I do lsvtree on the file, the last 3 results I see…
bk_32
  • 399
  • 1
  • 3
  • 14
3
votes
2 answers

Shell Script (bash/ksh): 20 seconds to read a variable

I need to wait for an input for 20 seconds, after that myscript should continue the execution. I've tried using read -t20 var however this works only on bash. I'm using ksh on Solaris 10. Can someone help me please? EDIT: 20 seconds is only an…
jyz
  • 5,321
  • 3
  • 26
  • 36
3
votes
0 answers

SSH process persistent but remote access closed

I have an issue when programming on Solaris 10 and hope to ask for help here. I have created a script to call-on "ssh" binary. This script runs some checks before running the "ssh" binary as a subprocess. The script assumes the power of "root" via…
johnnyow
  • 49
  • 3
3
votes
1 answer

Solaris SunStudio 12.4 Standard Library Linking Issue

I'm trying to compile a sample from boost-asio on Solaris-10 using SunStudio 12.4. Compiling with GCC 4.9.2 works, but down the line I will be required to support both compilers, so just switching is not an option. CC -V output: CC: Sun C++ 5.13…
Maria
  • 547
  • 5
  • 20
3
votes
1 answer

Error when attempting to compile libpqxx-4.0.1 on Solaris 10 using Oracle Solaris Studio 12.3

Problem description I am unable to compile libpqxx-4.0.1 on Solaris 10 using Solaris Studio 12.3. Background The first thing I did when I needed libpqxx was to search for it in OpenCSW using /opt/csw/bin/pkgutil -a libpqxx. However, the package in…
3
votes
2 answers

select() inside infinite loop uses significantly more CPU on RHEL 4.8 virtual machine than on a Solaris 10 machine

I have a daemon app written in C and is currently running with no known issues on a Solaris 10 machine. I am in the process of porting it over to Linux. I have had to make minimal changes. During testing it passes all test cases. There are no issues…
Jake
  • 33
  • 2
3
votes
3 answers

How to check if a file is older than 30 minutes in unix

I've written a script to iterate though a directory in Solaris. The script looks for files which are older than 30 minutes and echo. However, my if condition is always returning true regardless how old the file is. Someone please help to fix this…
user3484214
  • 41
  • 1
  • 1
  • 3
3
votes
1 answer

Perl 5.8.8 - Curses interface - Multiple select - Is this possible?

A client has an old Solaris setup running 5.8.8, is it possible to have use Curses to create a multiple select UI like the following example? From the documentation I can't identify if this is possible, there seems to be no examples.
Dr.Avalanche
  • 1,796
  • 2
  • 24
  • 36
3
votes
2 answers

JBoss 6.1 + PermGen space

I have deployed Jboss 6.1 on Solaris and it was working fine. Then I did some FTP and Telnet and direct Root login was disabled. After that I'm getting PermGen space error. What might be the reason for this error? Please help. Error: 12:21:30,873…
Sabbirali
  • 49
  • 1
  • 2
  • 6
3
votes
1 answer

Having problems redirecting stderr to a subshell created w/process substitution

~ bash --version GNU bash, version 3.2.51(1)-release (sparc-sun-solaris2.10) Copyright (C) 2007 Free Software Foundation, Inc. The following command works as expected: ~ ls hdfhdfhdhfd 2> >(wc -l) 1 ... but this doesn't work, and I'm running out…
Brian Vandenberg
  • 3,611
  • 2
  • 33
  • 49
3
votes
2 answers

Create a new file with same perms and owner as an existing file

What is the best way to create a new, empty file that has the same ownership and perms as an existing file for a Solaris /bin/sh shell script? This is for rotating a log file away for compression and dump storage. At the moment I am using: mv log…
Rob Wells
  • 34,617
  • 13
  • 76
  • 144
1
2
3
23 24