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
31
votes
4 answers

Error importing hashlib with python 2.7 but not with 2.6

I'm on Solaris 10 (x86). Until now, I was using python2.6. Today, I installed python2.7 and I have a weird error occuring when importing hashlib on 2.7, but not on 2.6: Python 2.6: root@myserver [PROD] # python2.6 -c "import hashlib" root@myserver…
SuperPython
  • 915
  • 1
  • 8
  • 21
25
votes
7 answers

Shell script to check whether a server is reachable?

I have 5 Solaris servers present across different locations. Sometimes some of these servers are not reachable from my location due to various reasons (either because of network problems or the server itself goes down suddenly). So I would like to…
Balaswamy Vaddeman
  • 7,634
  • 3
  • 28
  • 40
12
votes
2 answers

Is there a wget command for Solaris 10

Solaris 11 has wget command, like Linux's. Is there wget or wget like command for Solaris 10?
RaamEE
  • 2,031
  • 1
  • 18
  • 37
11
votes
4 answers

List and kill at jobs on UNIX

I have created a job with the at command on Solaris 10. It's working now but I want to kill it but I don't know how I can find the job number and how to kill that job or process.
soField
  • 2,245
  • 9
  • 34
  • 42
8
votes
3 answers

How to tell CPAN about path to make and cc

Running Perl 5.10 CPAN on Solaris with opencsw.org packages, Makefile.PL from packages can't find the correct path and cc (gcc). I found the path to make and set it to gmake, but I can't find any setting for cc. I thought I once set this in…
Lawrence I. Siden
  • 8,307
  • 10
  • 37
  • 49
8
votes
2 answers

Is write() safe to be called from multiple threads simultaneously?

Assuming I have opened dev/poll as mDevPoll, is it safe for me to call code like this struct pollfd tmp_pfd; tmp_pfd.fd = fd; tmp_pfd.events = POLLIN; // Write pollfd to /dev/poll write(mDevPoll, &tmp_pfd, sizeof(struct pollfd)); ...simultaneously…
Wad
  • 1,026
  • 1
  • 13
  • 25
8
votes
4 answers

Getting Error with VNC: Session is already running

While starting VNC session in Solaris 10 I am getting below error: vncserver :0 A VNC server is already running as :0 ps -ef | grep -i vnc root 19790 15407 0 05:55:22 pts/3 0:00 grep -i vnc # however there is no sessions running at :0. I am…
Awinash Goswami
  • 81
  • 1
  • 1
  • 3
8
votes
2 answers

Comparing variables in shell scripts

I have got a project that involves shell scripts and comparing values/variables within them. I have looked here and elsewhere on comparing variables and I have tried all the various examples given but I am running into something that is not as…
user3047191
  • 81
  • 1
  • 1
  • 3
6
votes
1 answer

Use Ghostscript to convert PCL to PostScript

So I want to use Ghostscript to convert files that are created in PCL format to PostScript. That's the gist of my problem. I am simply trying to run it on the command line, but in the final stage it will have to be run on a lp command like lp -d <…
Bryon
  • 61
  • 1
  • 1
  • 2
6
votes
2 answers

DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

I have a set-up in which I am executing a build from Jenkins on a Solaris Server connecting via sshexec task in ANT. On trigerring the build, it is throwing below error: com.jcraft.jsch.JSchException: Session.connect: …
Nishant Kansal
  • 199
  • 1
  • 4
  • 17
6
votes
12 answers

getting a previous date in bash/unix

I am looking to get previous date in unix / shell script . I am using the following code date -d ’1 day ago’ +’%Y/%m/%d’ But I am getting the following error. date: illegal option -- d As far as I've read on the inetrnet , it basically means I am…
misguided
  • 3,519
  • 18
  • 47
  • 88
6
votes
8 answers

C++ IDE for Solaris SPARC

We've been given a C++ code base that was apparently developed using Rational Apex as the front end. In our opinion, Apex is less than ideal for C++ development. We're looking for an IDE we can use that has syntax highlighting, code-walking (go to…
Dave
  • 4,388
  • 2
  • 35
  • 57
6
votes
3 answers

get Hard Link Count in Java

I need something to get the hard link count from a file in a solaris10 os in java. parsing ls -l is not an option. I tried using posix for java http://bmsi.com/java/posix/index.html but couldn't manage to get it working. Is there any other…
DRTauli
  • 701
  • 1
  • 7
  • 24
5
votes
1 answer

Unable to include cmath using GCC 5.5 on Solaris 10

I am trying to run the following test program on my Solaris 10 sparc machine using gcc 5.5.0 #include #include int main() { std::cout << "exp2(4) = " << std::exp2(4) << '\n' << "exp2(0.5) = " << std::exp2(0.5)…
sank
  • 1,316
  • 12
  • 27
5
votes
2 answers

Alternative to timegm on Solaris

I have a program that was originally written for Linux, but I now have a requirement to get it running on Solaris 10. Part of this program uses the timegm function to convert a struct tm into a time_t epoch seconds value. The input time is…
harmic
  • 22,855
  • 3
  • 52
  • 72
1
2 3
23 24