aix

vsql writes CRLF at the end of output

泄露秘密 提交于 2019-12-24 22:50:37
问题 I'm using vsql to load vertica table into csv file: vsql -c "select * from ..." ... -o file.csv I was surprised when I saw windows-like CRLF symbols at the end of the output file. It doesn't match to record or field separators because I use other symbols for it. Is there any way to change behavior of vsql? In the ideal case, I would like the file to end with the last value of the last column, without any CR or LF symbols at the end. NB Question is about setting vsql, without using other

Unable to create Subversion repository with compiled binaries(version 1.10.2) on AiX 7.2 machine

*爱你&永不变心* 提交于 2019-12-24 21:00:32
问题 We have compiled subversion 1.10.2 on AiX machine using the compile command :- ./configure CFLAGS="-I/temp1110/subversion/zlib" --without-berkeley-db --with-apr=/temp1110/subversion/apr --with-apr-util=/temp1110/subversion/apr-util --with-lz4=internal --with-utf8proc=internal --disable-nls Whereas, after generating the required files using "make" command. We are unable to create a repository. After passing the command ./svnadmin create /temp1110/home/Repo_test" , we get the error: svnadmin:

Is make utility that comes with IBM AIX compatible with gnu make

◇◆丶佛笑我妖孽 提交于 2019-12-24 15:22:54
问题 I have to port a project from IBM AIX to Linux. It is using make that comes IBM AIX on AIX. My question is whether the syntax of IBM AIX make utility compatible with syntax of gnu make ? I mean can I use same makefiles with gnu make too without any changes? Thanks 回答1: No, they're incompatible in general. However, if the IBM AIX Makefile uses only features mandated by POSIX make, there might be a chance to get it working unmodified on Linux with GNU make . It is impossible to tell without

hosts.allow和hosts.deny支持哪些服务

ⅰ亾dé卋堺 提交于 2019-12-24 14:45:41
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> hosts.allow和hosts.deny支持哪些服务 一、背景简介 在linux上多用iptables来限制ssh和telnet,编缉hosts.allow和hosts.deny感觉比较麻烦比较少用。 aix没有iptables且和linux有诸多不同,多种因素导致默认hosts.allow和hosts.deny在aix也是没用。 但今天反馈说有堡垒机不能ssh某台机器请求放行,查看是aix,向其反馈aix没有iptables,得到反馈hosts.allow的截图,感觉愰然大悟。 确实没人说过aix不能用hosts.allow和hosts.deny限制ssh,只是自己习惯性认为。 aix上能用hosts.allow,又追究起以前想过的问题:hosts.allow能支持哪些服务?如果能支持所有服务那可以替代iptables来处理aix白名单的问题。 (据说其实aix有类似iptables的东西的,只是我不会用大部份人应该也都不会用) 二、hosts.allow和hosts.deny支持哪些服务 2.1 hosts.allow和hosts.deny支持哪些服务 hosts.allow和hosts.deny规则的执行者为TCP wrappers,对应守护进程为tcpd

Removing blank spaces in specific column in pipe delimited file in AIX

不羁的心 提交于 2019-12-24 11:40:53
问题 Good morning. Long time reader, first time emailer so please be gentle. I'm working on AIX 5.3 and have a 42 column pipe delimited file. There are telephone numbers in columns 15 & 16 (land|mobile) which may or may not contain spaces depending on who has keyed in the data. I need to remove these space from columns 15 & 16 only ie Column 15 | Column 16 **Currently** 01942 665432|07865346122 01942756423 |07855 333567 Column 15 | Column 16 **Needs to be** 01942665432|07865346122 01942756423

how i can execute windows batch file from UNIX-AIX?

╄→гoц情女王★ 提交于 2019-12-24 10:38:32
问题 How can I execute windows batch files from UNIX-AIX, where I installed copssh? 回答1: Does this work? From the Unix box: $ rsh -l user_name windows_host_name "C:\scan.bat" 回答2: You can't unless it's very basic, i.e. it doesn't call any Windows specific programs, in which case you're probably better off transcoding it to bash or similar. 回答3: The best way will be translating it into bash. 回答4: Check out winexe. 来源: https://stackoverflow.com/questions/3830966/how-i-can-execute-windows-batch-file

Weblogic doesn't close files (but does close connections)

ε祈祈猫儿з 提交于 2019-12-24 06:04:18
问题 Dears, we're running into a 'too many open files' issue. We've made some progress but the issue is still there... We use cxf on weblogic on aix. relevant cxf configuration: <http-conf:conduit name="*.http-conduit"> <http-conf:client Connection="close" /> </http-conf:conduit> When executing this code: for(int i=0;i<1300;i++){ response = callService(request).call(); } (we don't intend to use this code in production but it's to troubleshoot the issue) -> the first run succeeds; -> the second run

Error launching C++ executable in AIX

点点圈 提交于 2019-12-24 01:19:43
问题 I am facing a unique problem as part of our application migration from HP to AIX. The following simulated code produces different results in HP and AIX. library.C ** #include <stdio.h> #include "mylib.h" int libimgclientFNXXX() { int check = 100; check = FileNetDeleteDoc(check); return check; } int libimgclientFN() { int check = 1; printf("In lib "); return check; } * main_func.C * #include <stdio.h> int libimgclientFN(); int libimgclientFNXXX(); int main() { int one = 0; if (1 == 1) { one =

AIX: using grep command to log two lines from a file

拟墨画扇 提交于 2019-12-23 19:22:00
问题 Basically oracle audit entries stored as .aud files in my AIX system /oracle/SBX/saptrace/audit/ The entries of these files looks something like this : Tue Jul 2 08:41:53 2013 +02:00 LENGTH : '159' ACTION :[6] 'COMMIT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'orasbx' CLIENT TERMINAL:[5] 'pts/0' STATUS:[1] '0' DBID:[10] '1854349635' Tue Jul 2 08:41:53 2013 +02:00 LENGTH : '159' ACTION :[6] 'COMMIT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'orasbx'

AIX: IBM Java: java.net.SocketException: Connection timed out:could be due to invalid address

孤街醉人 提交于 2019-12-23 15:25:48
问题 We have seen the following exceptions very frequently on IBM AIX when attempting to make an SSL connection to our server: java.net.SocketException: Socket closed at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275(Compiled Code)) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275(Compiled Code)) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java(Inlined Compiled Code)) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java(Compiled Code)) at