aix

Java Not working in AIX

断了今生、忘了曾经 提交于 2019-12-12 02:28:46
问题 I recently installed git in my AIX Server and git works fine. But java is not working now. If i do a java --version I'm getting the foll output. admin:stud:/webapps/WEB-INF/classes> java --version exec(): 0509-036 Cannot load program java because of the following errors: 0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4_64.o) could not be loaded. 0509-152 Member shr4_64.o is not found in archive How can I fix this. Previouly the below java version was installed. admin:stud:/demo>

How to get list of users not in a particular group - unix aix

此生再无相见时 提交于 2019-12-12 02:19:28
问题 I am trying to retrieve the list of users who are not present in a particular group. We are trying to validate an application with the user credentials through unix AIX server and the user should be present in a particular group. For now, we need to get the list of users who are not in the group ( for our testing with various test scenarios ). I tried the below command to list users in a group. " lsgroup -a users groupname " Please help me how to use NOT ! operator for the above command or

How to tell ANT-exec, the location of git executable

浪子不回头ぞ 提交于 2019-12-11 21:47:19
问题 I am trying to run git clone from ANT. But seems like ANT is not able to find git executable. I have tried following options. <exec executable="/opt/freeware/bin/git"> <exec executable="/usr/bin/git"> <exec executable="git"> 回答1: A more robust option is to use the jgit ANT task: <project name="demo" default="clone"> <target name="bootstrap"> <mkdir dir="${user.home}/.ant/lib"/> <get dest="${user.home}/.ant/lib/jgit.jar" src="http://search.maven.org/remotecontent?filepath=org/eclipse/jgit/org

how to pass xml data to perl script without import xml parser module?

三世轮回 提交于 2019-12-11 20:15:30
问题 Background: A perl script need to be run on various servers (all AIX unix). The perl script need the data from a xml script. Just read the data, no write or other modify action. The contents of xml script changes sometimes. Problem: I can not use xml parser module (like XML::LibXML) in the perl script, since the aix server does not install the module, and I don't want to install them one by one. There are many aix servers. There is one linux server(red hat linux) that installed the xml module

AIX: remove the last symbols (CRLF) from a file

倖福魔咒の 提交于 2019-12-11 14:44:37
问题 There is a large file where the last symbols are \r\n . I need to remove them. It seems to be equivalent to removing the last line(?). UPD : no, it's not: a file have only one line, which ends with \r\n . I know two ways, but both don't work for AIX: sed 's/\r\n$//' file # I don't why it doesn't work head -c-2 # head doesn't work with negative numbers Is there any solution for AIX? A lot of large files must be processed, so performance is important. 回答1: Usually, if you need to edit a file

Crash in std::locale::operator=(std::locale const&) on AIX

不羁岁月 提交于 2019-12-11 10:17:34
问题 I am a bit new to AIX and stuck up with a weird issue. I have two AIX machine and my C++ application is running on one and crashing on the other. When I checked packages installed (rpm -qa), I observed one difference, for 1st machine all the rpm's are ending with .ppc extension and for 2nd it's not. My cpp app is perfectly running on 2nd machine. I suspect this can be a cause for this issue but not sure. PS: Showing the difference between two. Stack Trace: Program terminated with signal

Perl WWW::Mechanize methods not working in AIX

旧时模样 提交于 2019-12-11 08:09:11
问题 I have a simple requirement of screen scraping a web-page (simple URL based reports) and direct the HTML response to an output file. The URL will however redirect to an authentication (HTTPS Login) page with "form based" authentication (no javascript) and upon authentication the report I am trying to view should show up in the $response (as HTML). Interestingly, my code is working just fine in a Windows machine, however the same code below is not working in AIX machine and it looks like the

Multiple OS-COMMAND calls from procedure are conflicting

…衆ロ難τιáo~ 提交于 2019-12-11 06:23:20
问题 I have a procedure which is writing a file, emailing it using mail_files , and then an OS-DELETE statement to delete the file after it is sent. The call to the external procedure which calls mail_files or the actual OS-COMMAND itself are asynchronous. The OS is AIX 6 and the version of Progress is 102B. Here's an example below: Here is the main procedure: DEFINE STREAM outStr. OUTPUT STREAM outStr TO foo.txt. FOR EACH customer NO-LOCK: EXPORT STREAM outStr customer. END. OUTPUT STREAM outStr

Creating RPM spec file from compiled binary files

限于喜欢 提交于 2019-12-11 05:09:31
问题 Environment is AIX 7.0 RPM Version 3.0.5 . I am very new to Unix world, Please be patient with my ignorance. We have 3 different types of files to be packaged as RPM. • Source/binary/*.bainaryfiles (around 160 of them) • Source/ui/*.mm (No of files 2) • Source/scripts/*.sh (10 to 20) These files are compiled for the target server and these are in binary form and we don’t want to compress these files to tar. When the install happens on the Generated RPM using rpmbuild the .binaryfiles ,.ui and

How to collect directory listing along with each file CRC checksum?

怎甘沉沦 提交于 2019-12-11 04:48:07
问题 I use the following command to get dir listing in nix(Linux, AIX, Sunos, HPUX) platforms Command ls -latr Ouput drwxr-xr-x 2 ricky support 4096 Aug 29 11:59 lib -rwxrwxrwx 1 ricky support 924 Aug 29 12:00 initservice.sh cksum command is used for getting CRC checksum. How can the CRC Checksum be appended after each file something (including directory listing too) like below, maintaining the below format in these nix(Linux, AIX, Sunos, HPUX) platforms? drwxr-xr-x 2 ricky support 4096 Aug 29 11