Questions tagged [aix]

AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

Resources

1819 questions
5
votes
3 answers

How to get the current line length in VI editor?

Is there a way to check the length of the current line where the cursor is currently in the VI editor? I tried searching in Google but all I could find is how to see the line number in the currently opened file using "set nu".
Mistu4u
  • 5,132
  • 15
  • 53
  • 91
5
votes
2 answers

ocijdbc11 Not found in java.library.path

I inherited a small java utility from other developer -- just a couple of .java files and executable .jar. I run java program by passes a connection string. Now I need to change the connection string to Oracle from…
Vikora
  • 174
  • 1
  • 6
  • 19
5
votes
6 answers

UNIX(AIX) script to process a file using only awk or other file processing utilities

I have a task to write a script that will filter an input from an MQ runmqsc command and redirect the output into another file. I have been working around using many other Linux commands piped together and it seems to work just fine in Linux, but my…
Cristian Baciu
  • 133
  • 1
  • 2
  • 15
5
votes
6 answers

java.sql.SQLException: ORA-01005: null password given; logon denied

I'm getting the follwing exception while trying to connect to a database: java.sql.SQLException: ORA-01005: null password given; logon denied at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) at…
kkung
  • 715
  • 4
  • 10
  • 18
5
votes
1 answer

Can GCC cross-compile for AIX?

I'm trying to build GCC as a cross-compiler for AIX; the host and the build platforms are Linux x86_64, the target is powerpc-aix5.2.0. I've managed to cross-compile Binutils 2.20.1 and GCC 4.4.7 with native AIX 6.1 headers (from /usr/include) and…
SJU
  • 187
  • 1
  • 7
5
votes
4 answers

using backreferences regex in sed

I would like to remove multiple spaces in a file with a single character. Example cat kill rat dog kill cat I used the following regex, which seemed to matched in http://www.regexpal.com/ but wasn't working in sed. ([^ ])*([ ])* I…
jgua1
  • 127
  • 1
  • 1
  • 4
5
votes
3 answers

What happens if you ignore a X11 BadWindow error?

I have a legacy Motif application written in the early 1990s (I can't rewrite the UI in QT or even modify the app extensively without going through a time consuming safety assessment). This app used to run on AIX where it ran for weeks on end under…
os x nerd
  • 897
  • 1
  • 10
  • 18
5
votes
1 answer

Script to alert when Root Password Expiry in AIX

I am trying to build a script in AIX which I am planing to run as cron job. I want the script to check if the root password will expire with in 10 days and trigger an email. I have written a script to trigger mail but I am not sure how to write a…
Deepesh Shetty
  • 1,116
  • 3
  • 18
  • 43
5
votes
1 answer

Bespoke JCE Provider on IBM AIX

I'm writing a new JCE Provider for a client, because I need to expose some custom Cipher. After extending CipherSpi and ProviderSpi, I'm ready to build. So I asked the client which version of Java they were targeting. They responded with: # java…
belial
  • 321
  • 1
  • 8
5
votes
6 answers

Advanced grep unix

Usually grep command is used to display the line contaning the specified pattern. Is there any way to display n lines before and after the line which contains the specified pattern? Can this will be achieved using awk?
Sachin
  • 20,805
  • 32
  • 86
  • 99
5
votes
2 answers

What is the equivalent command for objdump in IBM AIX

I am not able to find objdump command in IBM AIX 5.1 machine. Actually I want to get the assembly instructions (disassemble) from a library generated in AIX. Linux has objdump command and solaris dis command to do this. What is the equivalent…
rashok
  • 12,790
  • 16
  • 88
  • 100
5
votes
1 answer

AIX 5.3 (ld-xlc) equivalent option Linux (ld-gcc) -rpath

My compiler:xlc version 10.1 Environment: AIX5.3 Linker: ld When i work on Linux , with gcc (4.4.1) i use the following option -Wl,-rpath (-Wl for the linker options) it adds a directory to the runtime library search path. What's the equivalent…
Nadir SOUALEM
  • 3,451
  • 2
  • 23
  • 30
5
votes
2 answers

GIT not tracking files

I have setup GIT on AIX 6.1 and am facing problems. The sequence of steps I followed are as shown: I create a folder. Go into the folder and initialise the non-bare repository Initialise the username and user email Create a file named index.html…
david.colais
  • 619
  • 2
  • 7
  • 17
4
votes
1 answer

java.lang.NoClassDefFoundError for a jar file downloaded at run time

My java app starts something like this: /usr/java6_64/bin/java -cp main.jar:updater.jar:jtapi.jar In some cases the jtapi.jar is not present and is downloaded at run time. The main.jar and updater.jar are designed to take care of this. This works…
Derrick
  • 323
  • 2
  • 10
4
votes
3 answers

Syntax Coloring Not Working as Expected in VIM Editor 6.3 on AIX 5.3

I enabled syntax highlighting for my C files by issuing the command :syntax on. I expected it to change the colors of keywords etc. But to my surprise, syntax highlighting is happening, but all keywords are being underlined instead of being…
Pavan Manjunath
  • 27,404
  • 12
  • 99
  • 125