Tab and return character sequences for solaris ?
Is tab character in "\t" or "\r\t" in Solaris ? And the new line character sequence \n or \r\n ? thanx ...
Is tab character in "\t" or "\r\t" in Solaris ? And the new line character sequence \n or \r\n ? thanx ...
I know I could write an interposer to watch the arguments being passed to the strncpy library call, but it seems like this should be easy to do with DTrace. ...
I am attempting to compile gcc 4.4.0 on opensolaris 2009.6 Currently in the box (which is a AMD 64bit machine), I have the gcc 3.4.6 installed. I unpacked the gcc 4.4.0 tarball. I set the following env variables: export CXX=/usr/local/bin/g++ export CC=/usr/local/bin/gcc Then I ran "configure && make" and this is the error messag...
How do I get the TeamWare filemerge GUI to run on OpenSolaris? % filemerge ld.so.1: filemerge: fatal: libtt.so.2: open failed: No such file or directory Killed TeamWare is no longer a supported source management system, but it's is still widely used in the OpenSolaris project, and within Sun Microsystems. ...
Is there anyone out there that is currently deploying rails applications on a solaris 10 box? If so can you give me a brief run down of what you had to do to get it up and going? I am a web developer and I am working in a closed environment where they are using sun solaris servers, all of which are for internal use only behind firewall....
On Solaris, in order to get the msg_control field in struct msghdr and have IPV6_TCLASS I seem to need to define _XPG4_2 and __EXTENSIONS__. It seems to work if I just define these to 1 before including anything: #if defined (__SVR4) && defined (__sun) # define _XPG4_2 1 # define __EXTENSIONS__ 1 #endif Should I do it this way? Do I...
Is there a way to periodically run a Unix command (ps in my case) in Java? The loop I wrote: while( this.check ) { try { ProcessBuilder pb = new ProcessBuilder("ps"); Process proc; System.out.println(" * * Running `ps` * * "); byte[] buffer; String input; ...
i am using Solaris 10 OS(x86). i installed beanstalkd and it starts fine by using command "beanstalkd -d -l hostip -p 11300". i have Python 2.4.4 on my system i installed YAML and beanstalkc python libraries to connect beanstalkd with python my problem is when i try to write some code: import beanstalkc beanstalk = beanstalkc.Connectio...
I am trying to turn off Nagle's algorithm for a BSD socket using: setsockopt(newSock, IPPROTO_TCP, TCP_NODELAY, (char*)&flag, sizeof flag); but the compiler claims TCP_NODELAY hasn't been seen before: error: `TCP_NODELAY' undeclared (first use this function) This is the full list of includes for the file this is in: #include <arpa...
I'm running into a bit of a weird error while running Perl in a chroot environment on Solaris 9 (Sparc). We are using a custom Perl, but it's almost exactly Perl 5.8.7, and this version has been running for years on various platforms including Solaris 8-10. The following code is pretty straightforward: #!/usr/bin/perl use strict; use...
I'm using message queues for inter-thread communication in a server. The server was functioning as expected on Thursday evening. When I picked the project back up on Monday, it was unable to create two of the six queues in use, citing that they were already open (O_EXCL is set). This should not have been the case, but nevertheless I a...
Hello, I have a bit of code which used pthread_cond_wait which looks like this: struct timespec ts; clock_getttime(CLOCK_REALTIME, &timS); ts.tv_sec += delay; pthread_mutex_lock(&a_mutex); pthread_cond_timedwait(&thread_cond, &a_mutex,&timS); pthread_mutex_unlock(&a_mutex); But I get a linker error on compilation, undefine...
I'm using Solaris 10, ksh. Whenever I do a ./configure, I get the error "ksh: ./configure: not found" When I do a "where configure", nothing is found. How do I "install configure"? ...
We have a process hanging, and the truss shows it also tries to connect but failed with error ECONNREFUSED. The man page says the following, but why it got rejected again and again? ECONNREFUSED The attempt to connect was force- fully rejected. The calling program shoul...
Under Solaris 8, CDE, I want to write a script that displays two or more applications on a screen, with a 5% margin. The method depends on the -geometry argument, which we're ok with. This needs to be able to be resolution independent, and that's turning out to be a problem. Some of the applications (dtterm/xterm), measure the -geometry...
Hey all, I have the following method being called in a Java EE web application. public static void submitToPending() { Db db; ResultSet rs; try { db = new Db("Database.properties"); rs = db.issueQuery(getDescriptorList()); while (rs.next()) { db.insertApplicationData(rs.get...
Hi I hope that someone out there could give a clue on where to here. Here's the problem. I have enabled SSI in some jboss under Solaris, I have the application web.xml configured as follows: <filter> <filter-name>ssi</filter-name> <filter-class> org.apache.catalina.ssi.SSIFilter </filter-class> <init-param> <param-name>conte...
Hello, I am looking for a configurable / tunable on Solaris 9 through which I can change the default thread stack size without recompiling the code to use "pthread_attr_setstacksize" For example on HPUX 11.11 / 11.23 the environment variable "PTHREAD_DEFAULT_STACK_SIZE" can be exported (available via HPUX patches PHCO_38307 / PHCO_3895...
All, We are running a J2EE application on WebLogic server 9.2 MP2 with a jrockit 64-bit JVM (27.3.1) on Solaris 10. We call use runtime.exec to call an executable called jfmerge to create PDF documents. We have found that in Solaris, when runtime.exec is called, a duplicate JVM is temporarily spawned to kick off the jfmerge process. ...
Hi, Is there a way to archive & encrypt a file using AES on Solaris and be able to unencrypt & unarchive it with winzip? Thnaks! Mark ...