新足迹

 找回密码
 注册

精华好帖回顾

· 给老公做的点心--老婆饼 (2006-8-29) datou2z · 大家来推荐不太出名但好听的老歌吧,分分伺候(很多歌已贴视频) (2009-3-16) dorin
· 天天都是万圣节 (2006-11-1) AgeanSea · ASDFADS (2012-4-17) mohan29
Advertisement
Advertisement
楼主:lijun1227

[IT] 有没有DB6高手 [复制链接]

发表于 2006-12-13 11:21 |显示全部楼层
此文章由 rdcwayx 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 rdcwayx 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-13 11:14 发表



我想,我的学习能力也下降很多吧。以前,看书极快,现在不行了。

一样的,毕竟年龄大了,而且压力也小了。
Advertisement
Advertisement

退役斑竹

发表于 2006-12-13 11:28 |显示全部楼层
此文章由 月亮 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 月亮 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-13 11:14 发表

我想,我的学习能力也下降很多吧。以前,看书极快,现在不行了。


身有同感

退役斑竹 2007 年度奖章获得者 2008年度奖章获得者 特殊贡献奖章 参与宝库编辑功臣

发表于 2006-12-13 11:29 |显示全部楼层
此文章由 黑山老妖 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 黑山老妖 所有!转贴必须注明作者、出处和本声明,并保持内容完整
人过三十就不一样了。。。
像当年我也是一目十行,过目不忘的。。。

发表于 2006-12-13 11:33 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 rdcwayx 于 2006-12-13 11:13 发表
个人认为,你已经有十几年的oracle数据库管理经验,以后还要去德国培训DB6, 那么,就不用担心什么了,毕竟这些个都是相通的。只要有足够的时间,你自然会管好的。


因为,Asia Pacific的time zone,只有我一个人做,所以想找些DB6的高手问问问题,如果有什么事发生的话。在SAP里,没什么人做DB6.

退役斑竹

发表于 2006-12-13 11:33 |显示全部楼层
此文章由 baolqun 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 baolqun 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 黑山老妖 于 2006-12-13 11:29 发表
人过三十就不一样了。。。
像当年我也是一目十行,过目不忘的。。。



这个牛的...我看什么书都慢...不论是小说还是技术书籍...

发表于 2006-12-13 11:35 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 baolqun 于 2006-12-13 11:33 发表



这个牛的...我看什么书都慢...不论是小说还是技术书籍...



形容词嘛,不用深究。哈哈
Advertisement
Advertisement

退役斑竹

发表于 2006-12-13 11:36 |显示全部楼层
此文章由 月亮 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 月亮 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 baolqun 于 2006-12-13 11:33 发表

这个牛的...我看什么书都慢...不论是小说还是技术书籍...


好奇的问一句,你花了多久考出那个认证的

发表于 2006-12-13 11:40 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 月亮 于 2006-12-13 11:36 发表


好奇的问一句,你花了多久考出那个认证的


什么认证?

退役斑竹 2007 年度奖章获得者 2008年度奖章获得者 特殊贡献奖章 参与宝库编辑功臣

发表于 2006-12-13 11:42 |显示全部楼层
此文章由 黑山老妖 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 黑山老妖 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 baolqun 于 2006-12-13 11:33 发表
这个牛的...


我是用了夸张的手法写的。。。

发表于 2006-12-13 11:42 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
MDB-01052  Could not connect to database: DB6CliConnectUser(): [IBM][CLI Driver] SQL30082N  Attempt to establish connection failed with security reason "1" ("PASSWORD EXPIRED").  SQLSTATE=08001

谁能帮看看这个错吗?

发表于 2006-12-13 11:46 |显示全部楼层

time conversion

此文章由 dashaguaus 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 dashaguaus 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-12 20:52 发表
请问,你懂的是什么?不用谦虚。我只Oracle高手,懂SQL server,但不懂DB6.但公司要转oracle到DB6。晕倒

i have question need help.
how to covert timestamp in orcle to unix timestamp in GMT time.
for exsample, 1970-01-01 12:00:00 conver to 0, but if I am in australia, I have to consider the time zone. the most difficult thing is I have to consider the day light saving.(which is slightly different on some year).
Advertisement
Advertisement

退役斑竹 2007 年度奖章获得者 2008年度奖章获得者 特殊贡献奖章 参与宝库编辑功臣

发表于 2006-12-13 11:50 |显示全部楼层
此文章由 黑山老妖 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 黑山老妖 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 dashaguaus 于 2006-12-13 11:46 发表
i have question need help.
how to covert timestamp in orcle to unix timestamp in GMT time.
for exsample, 1970-01-01 12:00:00 conver to 0, but if I am in australia, I have to consider the time zone. the most difficult thing is I have to consider the day light saving.(which is slightly different on some year).

类似这样的:((sysdate)-to_date('01011970','ddmmyyyy'))*86400)

[ 本帖最后由 黑山老妖 于 2006-12-13 11:53 编辑 ]
Happy Wife = Happy Life

发表于 2006-12-13 17:59 |显示全部楼层
此文章由 袁氏行 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 袁氏行 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-13 11:42 发表
MDB-01052  Could not connect to database: DB6CliConnectUser():  SQL30082N  Attempt to establish connection failed with security reason "1" ("PASSWORD EXPIRED").  SQLSTATE=08001
...


I didn't encount this error before, but it looks quite specific. It may be due to the Password expired in AIX.

发表于 2006-12-14 11:42 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 sunnyy 于 2006-12-13 17:59 发表


I didn't encount this error before, but it looks quite specific. It may be due to the Password expired in AIX.


昨天中午前,我已经搞定了。你是对的,DB6太“安全”了,安装程序,预设的密码,不能直接用,所以有上面的错误。在AIX上logon后,改一下,就可以了。
奇怪的是,SAP notes里,没有提起这件事。

发表于 2006-12-14 12:54 |显示全部楼层
此文章由 清水胖头鱼 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 清水胖头鱼 所有!转贴必须注明作者、出处和本声明,并保持内容完整
Nothing to do with your DB6 太“安全”

log in to your Aix server, run the following command
$ grep -ip <User ID> /usr/security/user

by default, password will expire every 4 weeks. When it happen, you won't be able to run your application with this user id or connect to local/remote DB with this user id.

you'd better append a line to /etc/security/user, and update your Security Doc, explain to Security team & internal auditor.
# vi /etc/secuirty/user
Append a line like this
maxage = 0
; which means password never expire.

发表于 2006-12-14 13:44 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
You explanation may be correct on the other issues, but not for mine.

I ran BW installation on DB6, and one user id was created by installation script. And the password of this user ID was set when it was created. And the subsequent steps needed to use this user ID to do the database load. But the user ID could not be used. This user was created on the date, which is same date as the installation scrip ran.
Advertisement
Advertisement

发表于 2006-12-14 14:17 |显示全部楼层

time zone nd day light saving

此文章由 dashaguaus 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 dashaguaus 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 黑山老妖 于 2006-12-13 11:50 发表

类似这样的:((sysdate)-to_date('01011970','ddmmyyyy'))*86400)

I dont think it is as easy as that if you take time tone and day light saving  into account,

发表于 2006-12-14 14:25 |显示全部楼层
此文章由 清水胖头鱼 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 清水胖头鱼 所有!转贴必须注明作者、出处和本声明,并保持内容完整
That is interesting.

In Unix, after create a user, you have to login at least once and change the initial password to activate it. Otherwise it is only created, can't do anything with it.

Although there are several tricks to get by, like this
You can put su - <user id> in script to bypass this login restriction, read the password from somewhere else you store and run pwdadm command to clear security bits.

But only root & security group users can run "pwdadm -c". From what you said, i don't think that is the case.
Anyway, be careful with that 4 weeks password expiration.

发表于 2006-12-14 14:27 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
对不起,我不做应用开发的,没有能力回答你的问题。你可以去www.cnoug.org试一下。或者找一下Oracle reference manual,或者,create message in metalink, 或者,用ask tom in oracle.com

发表于 2006-12-14 14:34 |显示全部楼层
此文章由 清水胖头鱼 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 清水胖头鱼 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 dashaguaus 于 2006-12-14 14:17 发表

I dont think it is as easy as that if you take time tone and day light saving  into account,


just run
$ echo $TZ
If you are in NSW, the output should be like this
EET-10EETDT,M10.5.0,M3.5.0
which means Day light saving will start at the last Sunday on Oct, and stop at the last Sunday on March.

Any daemon and process will pick this change automatically. So you don't have to take day light saving into acount at all.

发表于 2006-12-14 14:43 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 清水胖头鱼 于 2006-12-14 14:25 发表
That is interesting.

In Unix, after create a user, you have to login at least once and change the initial password to activate it. Otherwise it is only created, can't do anything with it.

Alt ...


Thanks a lot for sharing your experience. In this installation, root was used, and same version, BW on Oracle installation was OK. Most of installations are on UNIX, and this was the first time I got this issue. So, I suspect that the problem was on the combination of AIX and DB6. BTW, as this is the application server, we don't have anybody, except SAP Basis and UNIX administrator, to use UNIX, and we don't have expiry on password, there are a bunch of users created years ago, and they are still being used by SAP systems everyday. Anyway, good to know the expiry date.
Advertisement
Advertisement

发表于 2006-12-14 15:10 |显示全部楼层
此文章由 清水胖头鱼 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 清水胖头鱼 所有!转贴必须注明作者、出处和本声明,并保持内容完整
That is interesting.
It seems auditor never harasses your Sys admin.

If this user just get created, shouldn't have that expiration message. I suspect DB6 tried to use some user id, which created by your previous SAP or whatever else installation. Can tell this by uid, # more /etc/passwd
# pwdck -y
# usrck -y
Will fix those password expiration issue.

Anyway, good luck.

发表于 2006-12-14 15:14 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
All the systems are in Sweden, and I don't know the audit part in Sweden. Anyway, it's very safe as we do audit the user logons.

You seem be a very experienced AIX or UNIX administrator. Good to know you.

发表于 2006-12-17 12:48 |显示全部楼层
此文章由 浪淘沙 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 浪淘沙 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-12 20:49 发表
在IBM内,DB2指DB2 on mainframe, DB4 is DB2 on AS400, DB6 is DB2 on UNIX and Windows.



不知道楼主从哪里得来的IBM数据库发展规划?到目前为止,IBM的拥有的数据库产品有DB2,Informix,IMS。其中DB2适用于main frame, AS400, and open system。不过main frame, AS400上的DB2一般包含在OS内。只有open system上的DB2和其他数据库产品一样,是一个独立于OS的产品。DB2是它唯一的名称。

很久以前,曾经有一个客户开玩笑得问,IBM有DB2,那什么时候推出DB3呀?

发表于 2006-12-17 12:52 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 浪淘沙 于 2006-12-17 12:48 发表



不知道楼主从哪里得来的IBM数据库发展规划?到目前为止,IBM的拥有的数据库产品有DB2,Informix,IMS。其中DB2适用于main frame, AS400, and open system。不过main frame, AS400上的DB2一般包含在OS内。只 ...


你去找个IBM的做数据库的人,问一下。DB6,不是发展规划命名。这是别名,可以迅速交流,而不用讲一长串。因为这些系统architecture是不同的。

发表于 2006-12-17 12:57 |显示全部楼层
此文章由 浪淘沙 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 浪淘沙 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 jungle 于 2006-12-13 10:43 发表
哈,恐怕是上面有人吃了IBM的回扣,决定用IBM的服务器,那么自然,软件也就要跟着换过来了。。。

坦白说,DB2是我见过的最烂的数据库系统。。。当然,我只用过WINDOWS和LINUX版,也许它的AIX版很好也不一定。。。



Frankly, DB2 is not as good as Informix and Oralce. But IBM and SAP is global strategic partner. There is a chance for DB2 to replace Oracle as main database of SAP.
Advertisement
Advertisement

发表于 2006-12-17 13:00 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 浪淘沙 于 2006-12-17 12:57 发表



Frankly, DB2 is not as good as Informix and Oralce. But IBM and SAP is global strategic partner. There is a chance for DB2 to replace Oracle as main database of SAP.


是的。

但Oracle也是SAP的global strategic partner. 在SAP的Oracle developer也很多,可能比IBM的人多。

发表于 2006-12-17 13:15 |显示全部楼层
此文章由 浪淘沙 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 浪淘沙 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-17 12:52 发表


你去找个IBM的做数据库的人,问一下。DB6,不是发展规划命名。这是别名,可以迅速交流,而不用讲一长串。因为这些系统architecture是不同的。



As far as I know, no one in IBM SW and DB2 lab calls it DB6. It's the first time I heard this nickname.

BTW, the problem of yours might be a small bug of installation script. Since DB2 and SAP are 2 products. iinstallation scripts is created to ease of installation by user. But sometimes, bugs lies in it, because the person of SAP lack strong skill of DB2, and those of DB2 technician have not strong skill of SAP.

Anyway, it's a user authenication problem. An easy way to test it is:
1) login in Unix with that user.   
  if OS asks you to change password, or something, that will be a system problem.

2) connect to db2 with 'db2 connect to <dbname> user <username> using <password>
  If the same problem occurs here, then it's purely related to authentication of DB2 server.

3) then check connection from client (similar as what is done from your script, cos the error is reported from CLI).

Last, IBM DB2 center number is 1-800-IBM-serv.

But never tell them you need support for DB6.

Good luck.

发表于 2006-12-17 13:22 |显示全部楼层
此文章由 浪淘沙 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 浪淘沙 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 lijun1227 于 2006-12-17 13:00 发表


是的。

但Oracle也是SAP的global strategic partner. 在SAP的Oracle developer也很多,可能比IBM的人多。


I can not remember when SAP signed WW partnership with IBM, probably 2002. Why SAP tried to intruduced IBM to replace Oracle is because Oracle invades ERP market at that time, which is treated by SAP as its back yard. SAP doesn't want to rely on Oracle again.

发表于 2006-12-17 13:24 |显示全部楼层
此文章由 lijun1227 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 lijun1227 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 浪淘沙 于 2006-12-17 13:15 发表



As far as I know, no one in IBM SW and DB2 lab calls it DB6. It's the first time I heard this nickname.

BTW, the problem of yours might be a small bug of installation script. Since DB2 and ...


This problem had already been solved on that day. Thanks for your steps, but obviously you hadn't read all the information here.

IT'S EASY TO FIND 'IBM DB6' INFORMATION ON THE IBM WEBSITE USING GOOGLE. YOU DON'T KNOW, BUT IT DOESN'T MEAN IT DOESN'T EXIST. OK?

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部