aix

Jurisdiction policy files are not signed by trusted signers…?

拈花ヽ惹草 提交于 2020-01-05 11:00:36
问题 We have next exception during starting of our application under JBoss on AIX: Caused by: java.lang.SecurityException: Cannot set up certs fo 12:56:25,055 INFO [STDOUT] r trusted CAs at javax.crypto.b.<clinit>(Unknown Source) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) ... 83 more Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers! at javax.crypto.b.a(Unknown Source) at

What Privileges does vfork() child possess ?

岁酱吖の 提交于 2020-01-04 05:41:10
问题 Does the process created with vfork() has same the same level of privileges that of a creator process i.e parent process ? example : If I run a process as root does vfork() child possess the same execution privileges? 回答1: Open Group (POSIX) specification of fork() says: The fork() function shall create a new process. The new process (child process) shall be an exact copy of the calling process (parent process) except as detailed below: As there is no mention of UIDs/GIDs below that text, you

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

只谈情不闲聊 提交于 2020-01-03 11:59:09
问题 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 oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:938) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:480) at oracle

GIT not tracking files

三世轮回 提交于 2020-01-02 04:29:17
问题 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 with some data in the file. Create a subfolder named newfolder Go into the newly created folder. Create a new file named index-2.html with some data in it. After performing all the steps above and give the git status command I'm getting the foll

AIX操作系统的CPU、Memory、Filesystem、Paging、I/O监控

大憨熊 提交于 2020-01-01 12:42:18
项目地址: https://github.com/zhangrj/Aix-Monitor 1、CPU使用率 CPU使用率 = 100% – CPU idle time CPU ilde time可取4秒内的平均值。例如: root@**:/ # vmstat 1 4 System configuration: lcpu=32 mem=63488MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 0 0 9247706 3838878 0 0 0 0 0 0 3 321 300 0 0 99 0 0 0 9247706 3838876 0 0 0 0 0 0 10 145 302 0 0 99 0 0 0 9247706 3838876 0 0 0 0 0 0 2 54 279 0 0 99 0 0 0 9247706 3838876 0 0 0 0 0 0 3 78 285 0 0 99 0 写成脚本: #!/bin/ksh cpu_idle_list=$(/usr/bin/vmstat 1 4 | egrep -v '[a-z,A-Z]

How to overcome an incompatibility between the ksh on Linux vs. that installed on AIX/Solaris/HPUX?

久未见 提交于 2019-12-30 04:58:08
问题 I am involved in the process of porting a system containing several hundreds of ksh scripts from AIX, Solaris and HPUX to Linux. I have come across the following difference in the way ksh behaves on the two systems: #!/bin/ksh flag=false echo "a\nb" | while read x do flag=true done echo "flag = ${flag}" exit 0 On AIX, Solaris and HPUX the output is "flag = true" on Linux the output is "flag = false". My questions are: Is there an environment variable that I can set to get Linux's ksh to

AIX—日常运维命令总结

半腔热情 提交于 2019-12-30 03:40:01
1、 查看AIX服务器的物理构造信息,包括服务器网络配置信息 # prtconf # ifconfig -a # lsattr -E -l mem0 :查看系统内存大小 # netstat -in :显示系统各网卡的配置信息 2、 开启和关闭AIX服务器 # shutdown -F :快速关机 # shutdown -I :采用交互式模式关闭系统 # shutdown -K :避免关闭系统 # shutdown -m :关闭AIX系统服务后,安装维护模式运行 # shutdown -r :关闭服务器后,并立刻重新启动 3、 设置网络IP # smit tcpip 4、 查看系统中的设备信息(板卡,适配器,磁盘,磁带机,光驱,网卡,处理器等信息) # lscfg 5、 查看某个设备信息,如查看磁盘信息 # lscfg -l hdisk0 6、 查看AIX主机型号 # uname -M 7、 查看产品部件号,序列号和设计更改级别等信息,可以使用 –v 选项 # lscfg -v | more 8、 查看设备信息同时显示标题行 # lsdev -P -H 9、 查看网卡信息 # lsdev -Cc adapter # lsdev -Cc adapter | grep ent 查看CPU个数: # smtctl 10、查看磁带机的设备属性等信息 # lsattr -l tmt0 -D 11

How to runtime debug shared libraries?

北城余情 提交于 2019-12-28 08:07:31
问题 Can anyone tell me how to do runtime debugging on shared libraries? I need to runtime-debug a function in my shared library, but its called by another program. How can I do something like dbx with shared libraries? I m using dbx on AIX. is gdb better than dbx for what I m trying to do?. 回答1: You just need to call gdb with the executable (it does not matter if it is yours or a 3rd party one). Here is an example where I debug the ls command and set a breakpoint in the (shared) c library . This

Getting error while linking an OCCI program on AIX

▼魔方 西西 提交于 2019-12-25 18:09:20
问题 I have written one sample program for connecting Oracle in C++ using OCCI.. It is giving me a runtime error . ld: 0711-317 ERROR: Undefined symbol: .oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode,void*,void*(*)(void*,unsigned long),void*(*)(void*,void*,unsigned long),void(*)(void*,void*)) ld: 0711-317 ERROR: Undefined symbol: .oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*) I have given the following command to execute it g++ -o occi

errors when I excute AIX kernel extension program

谁说胖子不能爱 提交于 2019-12-25 04:02:38
问题 Im newbie at AIX. I got many errors when I compiled kernel extension. After then, finally I compiled and Linked. But When I excuted the binary, I got this error. bash# ./sysconfig_1 load ./question.exp Could not load program ./sysconfig_1: The program does not have an entry point or the o_snentry field in the auxiliary haeder is invalid. Examine file headers with the 'dump -ohv' command Could anyone help me? //sysconfig_1.c #include <sys/types.h> #include <sys/sysconfig.h> #include <sys