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.

Solaris is a Unix operating system originally developed by Sun Microsystems as a successor to SunOS. Oracle Solaris, as it is now known, has been owned by Oracle Corporation since Oracle's acquisition of Sun in January 2010. OpenSolaris (the open-source version of Solaris) was abandoned at that point.

Solaris is known for its scalability, especially on SPARC systems (), and for originating many innovative features such as DTrace, ZFS and Time Slider. Solaris supports SPARC-based and x86-based workstations and servers from Sun and other vendors.

Resources

2780 questions
1
vote
4 answers

Regular Expressions Match Specific Location In File

The file i am working with (oraInst.loc) looks like this: inventory_loc=/u01/app/ORAENV/oracle/oraInventory inst_group=dba I need to use a regular expression to grab the value between app/ and /oracle. In this case it will be ORAENV but it could be…
arthurd
  • 13
  • 2
1
vote
1 answer

shell script runs when executed manually but executes half way through crontab

I have a java service running on a solaris server. I need to kill this service and restart it every night at a specified time. Hence i have set a cron job to do the same. My script works fine when i execute it manually through command line. But when…
user2745738
  • 13
  • 1
  • 5
1
vote
0 answers

How to convert PDF to PS using Java?

Currently, Adobe doesn't offer PostScript drivers for Solaris OS. I need to print a PDF file using Java Program. I use the PDFBox 1.8.0. I think if I convert PDF to PS using java, I can print the file without any problem. Any of you know, How to…
stacktome
  • 790
  • 2
  • 9
  • 32
1
vote
1 answer

Building FIPS module on sparc 64bit solaris 9

Building the FIPS module on sparc 64-bit is generating a 32-bit binary. The following message is in the output when "./config" is invoked: WARNING! If you wish to build 64-bit library, then you have to invoke './Configure…
Pratibha
  • 1,730
  • 7
  • 27
  • 46
1
vote
2 answers

How to create shell script that compares File modification Time and current time on Solaris

I know I can use date +%s and stat in Linux system. But as Solaris does not support those format or command for epoch, how can I create a shellscript to compare file modification time and current time ? modification file time should be within 10…
이상봉
  • 89
  • 2
  • 2
  • 8
1
vote
1 answer

Bash script to find apache servers

I apologize if I haven't properly searched every possible post on this but all seem a little different and I'm starting to get crossed eyed looking at this. The following bash code is what I have so far. for server in `cat serverlist2.txt`; do ssh…
1
vote
1 answer

Sort hyphenated names alphabetically, then numerically

I have an unsorted server list like the following; bgsqlnp-z101 bgsqlnp-z102 bgsqlnp-z103 bgsqlnp-z2 bgsqlnp-z3 bgsqlnp-z5 dfsqlnp-z108 dfsqlnp-z4 bgsqlnp-z1 dfsqlprd-z8 fuqddev-z88 fuqhdev-z8 ghsbqudev-z18 heiappprod-z1 htsybprd-z24 Using sort to…
Signal15
  • 558
  • 5
  • 16
1
vote
0 answers

Couldn't ping Oracle Solaris 11 via hostname

I have various linux systems running under one dhcp server and two dns servers. Someone told that you never register your hostname to dhcp server , you get ip from dhcp server and then register hostname to dns server (correct me if this is wrong)…
user235025
  • 11
  • 2
1
vote
7 answers

Tools for Unix <-> Windows C++ development

I am doing some C++ cross development - been doing that for a while on Windows and recently started on Unix. I suppose what I am after is to simplify Unix development experience - I have a local windows box I do development on, and a remote Solaris…
Steve
  • 13
  • 2
1
vote
1 answer

how to create .desktop file for Solaris 10

Hi I have created jar of my application. also i have created .desktop file for fedora it worked fine. but that .desktop file did not work fine for solaris 10. How to create desktop file for mac OS for my jar. Also I want to set icon in that desktop…
Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243
1
vote
3 answers

gnome system monitor for solaris

is there any gui tools like gnome system monitor in solaris for monitoring processes? or is it possible to get the gnome system monitor binary pkg for solaris os ?
suresh
  • 4,084
  • 10
  • 44
  • 59
1
vote
2 answers

Undefined method 'error' in JRuby

I'm trying to run Rails on JRuby 1.7.3 in userspace on Solaris and I get this error when running rake db:create. -bash-3.2$ rake db:create rake aborted! undefined method `error' for…
alnorth29
  • 3,525
  • 2
  • 34
  • 50
1
vote
4 answers

Query ragarding Solaris find command with -exec option

I want to create tar file with all the output files resulting from executing find command. I tried the following command: find . \(-name "*.log" -o -name "*.log.*" \) -mtime +7 -exec tar cvf test.tar.gz {} \; But it is including only the last…
Chaitanya MSV
  • 6,706
  • 12
  • 40
  • 46
1
vote
1 answer

Is it possible to run 32 bit program (IonCube) on 64 bit Solaris (SmartOS)?

I am extremely new to the Solaris world however we are attempting to utilize SmartOS which is made by Joyent for the purposes of web hosting. First problem we run into almost immediately: Our client's eCommerce site uses an extension that is encoded…
sparecycle
  • 2,038
  • 5
  • 31
  • 58
1
vote
5 answers

How to identify if currently logged in user is an LDAP user in Solaris

I want to know how to identify if the currently logged in user in Solaris is a LDAP user or local user. Any command? or any C Run time functions like getspname, getpwnam which returns an attribute saying it is an LDAP user or local user after user…
user225406