Questions tagged [sunos]

SunOS is a version of the Unix operating system developed by Sun Microsystems for their workstation and server computer systems. The SunOS name is usually only used to refer to versions 1.0 to 4.1.4 of SunOS. These versions were based on BSD, while SunOS version 5.0 and later are based on UNIX System V Release 4, and are marketed under the brand name Solaris.

SunOS is a version of the Unix operating system developed by Sun Microsystems for their workstation and server computer systems. The SunOS name is usually only used to refer to versions 1.0 to 4.1.4 of SunOS. These versions were based on BSD, while SunOS version 5.0 and later are based on UNIX System V Release 4, and are marketed under the brand name Solaris.

183 questions
2
votes
1 answer

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/Kserver.py ls /etc/init.d/*server.py…
2
votes
2 answers

SVN Server on NFS3 "Database is locked"

Despite a lots of topics about this error, I'm still having trouble with setting up av SVN Server. Server is running on Scientific Linux 6 and repositories are supposed to be stored via NFS3 on a SUNOS Storage server. I read that mounting with…
JLS
  • 968
  • 5
  • 12
2
votes
2 answers

date: illegal option -- d, Find difference between two dates

I am trying to convert timestamps read from a file from string to date format so that I can find the difference of 2 dates/timestamps. most of the threads/discussions on web show usage of date argument '-d' to convert the string to epoch or to find…
whirlcano
  • 43
  • 1
  • 9
2
votes
1 answer

How to open putty using batch and login then execute list of commands on bash

I have a Sun OS server with oracle configured on it ; with database 11g i want to take backup , now am connecting to terminal using ssh on putty console but , what i need is finding a way to make it possible to connect using batch to ssh to the…
shareef
  • 9,255
  • 13
  • 58
  • 89
2
votes
0 answers

Perl module GSSAPI core dumps with kerberos 1.14

I am trying to compile GSSAPI PERL module with kerberos and I'm getting a core dump while testing it. Here are the details: GSSAPI version: 0.28 KERBEROS: 1.14 PERL: 5.22 OS: SunOS kangaroo 5.11 11.2 sun4v sparc sun4v While running the tests for…
Phalgun
  • 1,181
  • 2
  • 15
  • 42
2
votes
2 answers

How can I wrap an executable on UNIX (SunOS) so that it is never run more than once at the same time?

I have an executable (no source) that I need to wrap, to make sure that it is not called more than once at a time. I immediately think of some sort of queue wrapper, but how do I actually make it so that my wrapper is called instead of the…
2
votes
2 answers

Using <<< throws error on sh shell not in bash

In Sh [SunOs] /opt # sh [\h] \w \$ read -a array <<< "1 2 3";echo ${array[1]} syntax error: `<' unexpected In Bash [SunOs] ~ # bash [SunOs] ~ # read -a array <<< "1 2 3";echo ${array[1]} 2 Why the Error thorwn in "sh" shell, i'm using SunOS 5.10…
anish
  • 6,884
  • 13
  • 74
  • 140
2
votes
1 answer

Counting program unaligned address accesses on Sun OS, AIX

How to count program unaligned address accesses on Sun OS and AIX. Or how to measure time to system handling this exception on Sun OS and AIX ?
deniska
  • 21
  • 1
2
votes
1 answer

Java front-end for CSV files held on UNIX server needed

Thanks for stopping by my question. I am writing to identify the best way to create a particular solution. BACKGROUND: I've a UNIX server running SunOS (which I'll refer to as tweetypi), which retrieves statistics (call volumes/response times) from…
cardycakes
  • 431
  • 1
  • 4
  • 12
2
votes
3 answers

Why does this code work on Linux but not on SunOS?

#include int main() { char *str = "11111111-22222222 r-xp 00000000 00:0e 1843624 /lib/libdl.so.0"; unsigned long long start_addr, stop_addr, offset; char* access = NULL; char* filename = NULL; sscanf(str, "%llx-%llx %m[-rwxp]…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
1 answer

Recursively find and replace strings in SunOS 5.10

What would be a UNIX command for recursively finding and replacing strings in text files on a SunOS 5.10 machine? Ex: I want to replace a string SIR01111 with SIR02222 in files from my current directory, recursively.
Prince
  • 41
  • 5
2
votes
2 answers

High CPU usage by a query in oracle

I have a query like this... SELECT cust_num, year,credit_cust FROM (SELECT cust_num, year,credit_cust, ROW_NUMBER () OVER(PARTITION BY cust_num, year ORDER BY credit_cust DESC) rnk FROM credit_cust PARTITION (YEAR_2010) ) WHERE rnk=1 When this…
Vivek
  • 4,452
  • 10
  • 27
  • 45
2
votes
1 answer

Program without mpi instrucions is extremely slow in mpirun

I'm writing now a program to study MPI. Okay, I'd write a program that multiplies square matrices. long **multiplyMatrices(long **matrix1, long **matrix2, long capacity) { long **resultMatrix = new long*[capacity]; for (long i = 0; i <…
efpies
  • 3,625
  • 6
  • 34
  • 45
2
votes
2 answers

Java Mail: NoClassDefFoundError: javax/activation/DataSource

I wrote a small Java command line program to test sending emails from a remote server. I'm getting the dreaded "NoClassDefFoundError" and I can't figure out why. The server is running: SunOS 5.10 Generic January 2005 Java 1.5.0_30-b03 ( Sun,…
Steve
  • 3,127
  • 14
  • 56
  • 96
2
votes
1 answer

Sun OS 5.10: Bash: Colors and Directory Listings

I'm on a Windows XP box. I'm using putty 0.60 to access a unix account on a server running SunOS 5.10. In my .profile file I have the command "bash" to put me into that shell upon logging in. I know with Linux there are options to display files…
Steve
  • 3,127
  • 14
  • 56
  • 96
1 2
3
12 13