in

SDT Community Server

SDT Forums, Blogs, Photos server.

Floating Heart

No description is bad.

April 2007 - Posts

  • SQL Server COLLATE

    如果SQL Server的Server Collation 和 Database Collation不一致的时候,使用临时表往往会出现如下错误
    Cannot resolve collation conflict for equal to operation.

    解决方法当然不是hard code一个Collation到创建语句,而是使用database_default 选项。
    Create Temporary Table ...
    (
       fieldname varchar(50) collate database_default
    )

    COLLATE

    A clause that can be applied to a database definition or a column definition to define the collation, or to a character string expression to apply a collation cast.

    Syntax

    COLLATE < collation_name >

    < collation_name > :: =

    { Windows_collation_name } | { SQL_collation_name }

    Arguments

    collation_name

    Is the name of the collation to be applied to the expression, column definition, or database definition. collation_name can be only a specified Windows_collation_name or a SQL_collation_name.

    Windows_collation_name

    Is the collation name for Windows collation. See Windows Collation Names.

    SQL_collation_name

    Is the collation name for a SQL collation. See SQL Collation Names.

    Remarks

    The COLLATE clause can be specified at several levels, including the following:

    Creating or altering a database.

    You can use the COLLATE clause of the CREATE DATABASE or ALTER DATABASE statement to specify the default collation of the database. You can also specify a collation when you create a database using SQL Server Enterprise Manager. If you do not specify a collation, the database is assigned the default collation of the SQL Server instance.

    Creating or altering a table column.

    You can specify collations for each character string column using the COLLATE clause of the CREATE TABLE or ALTER TABLE statement. You can also specify a collation when you create a table using SQL Server Enterprise Manager. If you do not specify a collation, the column is assigned the default collation of the database.

    You can also use the database_default option in the COLLATE clause to specify that a column in a temporary table use the collation default of the current user database for the connection instead of tempdb.

    Casting the collation of an expression.

    You can use the COLLATE clause to cast a character expression to a certain collation. Character literals and variables are assigned the default collation of the current database. Column references are assigned the definition collation of the column. For the collation of an expression, see Collation Precedence.

    The collation of an identifier depends on the level at which it is defined. Identifiers of instance-level objects, such as logins and database names, are assigned the default collation of the instance. Identifiers of objects within a database, such as tables, views, and column names, are assigned the default collation of the database. For example, two tables with names differing only in case may be created in a database with case-sensitive collation, but may not be created in a database with case-insensitive collation.

    Variables, GOTO labels, temporary stored procedures, and temporary tables can be created when the connection context is associated with one database, and then referenced when the context has been switched to another database. The identifiers for variables, GOTO labels, temporary stored procedures, and temporary tables are in the default collation of the instance.

    The COLLATE clause can be applied only for the char, varchar, text, nchar, nvarchar, and ntext data types.

    Collations are generally identified by a collation name. The exception is in Setup where you do not specify a collation name for Windows collations, but instead specify the collation designator, and then select check boxes to specify binary sorting or dictionary sorting that is either sensitive or insensitive to either case or accents.

    You can execute the system function fn_helpcollations to retrieve a list of all the valid collation names for Windows collations and SQL collations:

    SELECT *FROM ::fn_helpcollations()

    SQL Server can support only code pages that are supported by the underlying operating system. When you perform an action that depends on collations, the SQL Server collation used by the referenced object must use a code page supported by the operating system running on the computer. These actions can include:

    Specifying a default collation for a database when you create or alter the database.

    Specifying a collation for a column when creating or altering a table.

    When restoring or attaching a database, the default collation of the database and the collation of any char, varchar, and text columns or parameters in the database must be supported by the operating system.

    Code page translations are supported for char and varchar data types, but not for text data type. Data loss during code page translations is not reported.

    If the collation specified or the collation used by the referenced object, uses a code page not supported by Windows®, SQL Server issues error. For more information, see the Collations section in the SQL Server Architecture chapter of the SQL Server Books Online.

    Posted Apr 25 2007, 08:15 PM by wicky with no comments
    Filed under:
  • XtraGrid Column Header Click

    https://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=B968&searchtext=click+column+header&pgid=ecb3be56-c75a-4166-aa68-cb462cd2dd2b&pid=382e0f17-f133-4866-aa3f-aeb2f50b59b7

    Description

    Created by MarkSF at 12/8/2005 11:38:12 AM

    How can I capture mouse clicks on the column headers in a XtraGrid?

     

    Resolved (Answered) by Developer Express Team at 12/9/2005 5:43:41 AM

    You should use the CalcHitInfo method of your grid view to determine a grid element at a given position. Here is the code to process a click on a column header. Please use it for the Click, MouseDown or MouseUp event of your grid View.

    using DevExpress.XtraGrid;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraGrid.Views.Grid.ViewInfo;

    ...

    GridView view = sender as GridView;
    Point p = view.GridControl.PointToClient(MousePosition);
    GridHitInfo info = view.CalcHitInfo(p);
    if(info.HitTest == GridHitTest.Column) {
        ... // your code is here to process a click on info.Column
    }

    Posted Apr 24 2007, 09:31 PM by wicky with 1 comment(s)
    Filed under:
  • Stop sendmail from looking up DNS

    There is a special "hack" to disable DNS lookups in submit.mc
    (beside turing it off in sendmail.mc):

    define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl

    URL(s):
    http://anfi.homeunix.net/sendmail/dialup10.html

    OR

    in sendmail.cf

    O DirectSubmissionModifiers=C

    Posted Apr 20 2007, 05:26 PM by wicky with no comments
    Filed under:
  • 热烈庆祝200贴,前无古人,后无来者


    Nickelback

    From underneath the trees, we watch the sky
    Confusing stars for satellites
    I never dreamed that you'd be mine
    But here we are, we're here tonight
    Singing Amen, I'm alive
    Singing Amen, I'm alive
     
    If everyone cared and nobody cried
    If everyone loved and nobody lied
    If everyone shared and swallowed their pride
    We'd see the day when nobody died
    And I'm singing
    Amen I..., I'm alive
    Amen I..., I'm alive

    And in the air the fireflies
    Our only light in paradise
    We'll show the world they were wrong
    And teach them all to sing along
    Singing Amen I'm alive
    Singing Amen I'm alive
     
    [CHORUS (X2)]
    If everyone cared and nobody cried
    If everyone loved and nobody lied
    If everyone shared and swallowed their pride
    We'd see the day when nobody died
     
    And as we lie beneath the stars
    We realize how small we are
    If they could love like you and me
    Imagine what the world could be
     
    If everyone cared and nobody cried
    If everyone loved and nobody lied
    If everyone shared and swallowed their pride
    We'd see the day when nobody died
     
    We'd see the day, we'd see the day
    When nobody died
    We'd see the day, we'd see the day
    When nobody died
    We'd see the day when nobody died
     
    Posted Apr 19 2007, 05:22 PM by wicky with 1 comment(s)
    Filed under:
  • Oracle 10g - Managing a Physical Standby Database

    Posted Apr 19 2007, 03:24 PM by wicky with no comments
    Filed under:
  • Oracle - 10g Data Guard Scenarios

    Posted Apr 19 2007, 03:21 PM by wicky with no comments
    Filed under:
  • 微软正式发布SilverLight

    http://www.microsoft.com/silverlight/

      【搜狐IT消息】北京时间4月16日消息,微软日前在美国拉斯维加斯召开的全美广播协会会议上,宣布了其为Windows、Web以及设备上创建富媒体、丰富交互性的战略。并正式将WPF/E命名为Microsoft SilverLight。

      SilverLight是Windows PresentATIon Foundation的一个子产品,其利用了跨浏览器Web技术进行设计,以实现多操作系统,甚至是移动设备上的无缝运行。和Flash一样,WPF/E是作为一个浏览器的插件,可以显示矢量图形、动画和视频。

      Silverlight集成了多种现有Web技术和设备,它可以在Windows、Mac平台上运行,支持IE、Firefox,甚至Apple的Safari Web浏览器。而无需对现有的网站设计进行移植,甚至包括利用Adobe Flash设计的内容。

      至于SilverLight与Flash的区别,微软的一位高层人士曾这样描述:一个WPF/E程序“并不是传递给Flash播放器的一个编译好的二进制文件。”相反,所有的代码都是基于标准的,且图像都使用了XAML。

      同时,与Flash的内容不方便搜索引擎收录不同,SilverLight是以DOM型式公开它的元素树,内容能很好被搜索引擎收录。

      附:SilverLight产品介绍

      1、Silverlight通过小巧的浏览器插件将视频、交互性内容以及其他应用融合在一起。该解决方案集成了强大的图像及图层技术,支持任何尺寸图像的无缝整合,并提供适合广播的图层技术,可以在图像上添加按钮、标题或是其他交互性内容。

      2、 Silverlight允许利用WMV标准从高清设备向移动设备提供高质量视频和音频。此外,该工具通过Expression Media Encoder以及Tarari公司的内建平台,支持15X的快速视频编码及硬件加速。

      3、Silverlight支持多种平台,使用户能够方便的进行代码重用,并通过不同平台无缝的连接到Web。

      4、Silverlight集成了多种现有Web技术和设备,这意味着它可以在任何服务器和发布平台上使用,而无需对现有的网站设计进行移植,甚至包括利用Adobe Flash设计的内容。

      5、Silverlight采用了已在.NET 3.0和Vista中使用的XAML语言,这使得Web内容和桌面内容的开发语言一致,从而降低了开发费用。Silverlight还兼容大量其他标准和现有技术,包括ASP.NET、AJAX以及.NET 3.0,这使得开发者可以根据现有标准,或是采用微软已成熟技术来开发基于Web的内容。

      6、 此外,Silverlight为设计者和开发者提供大量的开发工具和开发环境支持。对设计者来说,Expression Design和Expression Blend软件可以创建可重用界面,Expression Web使得在符合W3C标准的网站开发中可以使用XHTML、XML、XSLT、CSS以及ASP.NET等工具。对开发者来说,基于Visual Studio的Web开发支持包括ASP.NET AJAX在内的技术,并支持JavaScript,C#,VB,Ruby以及Python等多种开发语言。

      7、 Silverlight浏览器插件的安装程序简单,体积约为2Mb。当用户遇到使用Silverlight开发的网页时,可以迅速的安装这一插件。Silverlight内建的视频及动画广告解决方案灵活性很高,当传输广播类型的视频或是动画广告时,不会影响视频的质量。而这一问题是现有技术普遍遇到的问题。

      8、通过获艾美奖的Windows Media技术,传输流量可降低46%,并且和现有的Windows Media流量配置方案兼容。如果采用下一代Windows Server系统中的IIS媒体包,流量还将进一步下降。

      9、Silverlight支持内容接入保护技术。无论在Windows还是Mac平台上,Silverlight都支持多种商业模型,包括订阅、租用、付费浏览或是预览等。
  • 制造成本

    参看附件。

    Posted Apr 16 2007, 04:07 PM by wicky with no comments
    Filed under:
  • MRPII-最经典的教材


    参看附件。

    Posted Apr 16 2007, 03:55 PM by wicky with no comments
    Filed under:
  • MRP 常用概念-----十一大量


    MRP 常用概念-----十一大量

    MRP 通用计算公式:净需求=毛需求+已分配量+安全库存-计划在途-实际在途-可用库存

    Posted Apr 16 2007, 03:49 PM by wicky with no comments
    Filed under:
  • Windows Update时svhost.exe占用100%CPU的解决方法

    http://blog.alwaysmylove.net/archives/72#more-72

    英文原文链接http://forums.microsoft.com/WindowsOneCare/ShowPost.aspx?PostID=906329&SiteID=2

    三种方法
    第一种,打微软的补丁,链接地址http://support.microsoft.com/kb/916089
    http://support.microsoft.com/kb/927891/

    第二种,关闭自动更新,重启电脑,然后上微软网站手动安装更新一次,再开启自动更新,重启电脑

    第三种,如果上面两种都没有作用(5555,我就是,命苦),进行以下操作

    • 1.点击开始->运行,输入services.msc,回车
    • 2.双击Automatic Updates服务,在弹出的窗口中,选择“登录”选项页,确保“本地系统账户”被选上,“允许服务与桌面交互”前面的选择框没打勾;下面的硬件配置文件状态为“已启动”,如果没有启动,请手工点击启动按钮;
    • 3.回到“常规”选项页,启动服务
    • 4.对Background Intelligent Transfer Service服务重复上面两步操作
    • 5.点击开始->运行,输入REGSVR32 WUAPI.DLL,回车,弹出对话框说“WUAPI.DLL中DllRegisterServer 的成功”,点击确定。
    • 重复步骤5,分别输入REGSVR32 WUAUENG.DLL
      REGSVR32 WUAUENG1.DLL
      REGSVR32 ATL.DLL
      REGSVR32 WUCLTUI.DLL
      REGSVR32 WUPS.DLL
      REGSVR32 WUPS2.DLL
      REGSVR32 WUWEB.DLL
    • 6.点击开始->运行,输入 net stop WuAuServ,回车,停止Automatic Updates服务
    • 7.点击开始->运行,输入%windir%,回车,在打开的文件夹中,找到SoftwareDistribution文件夹并改名为SDold。
    • 8.点击开始->运行,输入 net start WuAuServ,回车,启动Automatic Updates服务

    好了,其中SDold文件夹可以删除。

    Posted Apr 15 2007, 10:23 AM by wicky with no comments
    Filed under:
  • How to enable the word-wrap feature for the captions of columns for XtraGrid

    https://www.devexpress.com/Support/Center/ViewKBIssue.aspx?kbid=A250&searchtext=caption+wrap&pgid=ecb3be56-c75a-4166-aa68-cb462cd2dd2b&pid=382e0f17-f133-4866-aa3f-aeb2f50b59b7

    How to enable the word-wrap feature for the captions of columns

    Article ID: A250 ; Product Group: .NET ; Product: XtraGrid ; Version(s): 3, 6.x ; Modified On: 20 Dec 2006

    Description

    Can I make the grid display multiline text in column headers? A column's caption may be too long to fit the column's width.

    Solution

    Applies to:
    XtraGrid, XtraTreeList

    It's possible to do this. You should simply increase the ColumnPanelRowHeight property value of your grid view and set the TextOptions.WordWrap property of the HeaderPanel appearance.

    This approach is also applicable to the XtraTreeList control.

    If you need to adjust the styles of column headers on an individual basis, then please use the AppearanceHeader property of the GridColumn.

    Caret returns can be inserted in column captions, if the Caption property is set programmatically. For example:

    [C#]
    
    
    gridColumn2.Caption = "Line 1\nLine 2";
    

     

    By the way, you may wish to assign a short caption to your column, but specify a long ToolTip.

    See Also:
    Auto-height of grid rows and text WordWrap

    Posted Apr 13 2007, 09:24 AM by wicky with no comments
    Filed under:
  • Infor ERP LN6.1.3+Oracle 10.2.0.3 ASM RHEL5 (Tikanga)安装简要指南

    Infor ERP LN6.1.3+Oracle 10.2.0.3 ASM RHEL5 (Tikanga)安装简要指南
    http://www.itpub.net/752095.html

    Infor ERP LN 6.1.3
    Oracle 10.2.0.3 ASM
    Red Hat Enterprise Linux Server release 5 (Tikanga)
    安装简要指南
    Ver 1.0
    By looric@itpub.net

    一、安装Linux系统 1
    二、配置网络,以便使用ssh登录到系统 1
    三、补充安装RPM包以及检测所有必须的包是否具备 2
    四、增加oracle用户和设置安装目录 3
    五、用root用户登录,配置oracle必备的参数 3
    六、用oracle用户登录,修改.bash_profile 4
    七、安装oracle软件,打10.2.0.3的补丁包 5
    八、编译linux内核,升级到linux-2.6.20.4 5
    九、下载编译安装的ORACLEASM KERNEL DRIVER. 5
    十、创建ORACLE ASM 磁盘组 6
    十一、使用DBCA创建数据库 6
    十三、打开一些安装Infor ERP LN 6.1的必备服务 6
    十四、增加客户端机器的IP地址和机器名字 7
    十五、直接从windows机器上启动安装Infor ERP LN 6.1 7
    十六、根据INFOR 8204 文档进行后续设置 7

    一、安装Linux系统
    a) 不要启用任何防火墙。
    b) 选择安装默认软件包。

    二、配置网络,以便使用ssh登录到系统
    ### Network configuration
    ifconfig
    system-config-network
    ifdown eth0
    ifup eth0

    三、补充安装RPM包以及检测所有必须的包是否具备
    ### RPM installation
    rpm -ivh sysstat-7.0.0-3.el5.x86_64.rpm
    rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
    rpm -ivh lrzsz-0.12.20-22.1.x86_64.rpm
    rpm -ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5.i386.rpm
    rpm -ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5.x86_64.rpm
    rpm -ivh xorg-x11-libs-6.8.2-1.EL.13.37.5.x86_64.rpm
    rpm -ivh xorg-x11-libs-6.8.2-1.EL.13.37.5.x86_64.rpm
    rpm -ivh oracleasm-support-2.0.3-1.x86_64.rpm
    rpm -qpl oracleasmlib-2.0.2-1.x86_64.rpm
    rpm -ivh oracleasmlib-2.0.2-1.x86_64.rpm --nodeps

    rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \
    binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs \
    libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio ORBit glibc-devel compat-libstdc++-33 \
    oracleasm-support oracleasmlib lrzsz xorg-x11-deprecated-libs xorg-x11-libs
    binutils-2.17.50.0.6-2.el5 (x86_64)
    package compat-db is not installed
    control-center-2.16.0-14.el5 (i386)
    control-center-2.16.0-14.el5 (x86_64)
    gcc-4.1.1-52.el5 (x86_64)
    gcc-c++-4.1.1-52.el5 (x86_64)
    glibc-2.5-12 (i686)
    glibc-2.5-12 (x86_64)
    glibc-common-2.5-12 (x86_64)
    package gnome-libs is not installed
    libstdc++-4.1.1-52.el5 (x86_64)
    libstdc++-4.1.1-52.el5 (i386)
    libstdc++-devel-4.1.1-52.el5 (x86_64)
    libstdc++-devel-4.1.1-52.el5 (i386)
    make-3.81-1.1 (x86_64)
    package pdksh is not installed
    sysstat-7.0.0-3.el5 (x86_64)
    package xscreensaver is not installed
    libaio-0.3.106-3.2 (x86_64)
    libaio-0.3.106-3.2 (i386)
    package ORBit is not installed
    glibc-devel-2.5-12 (i386)
    glibc-devel-2.5-12 (x86_64)
    compat-libstdc++-33-3.2.3-61 (x86_64)
    compat-libstdc++-33-3.2.3-61 (i386)
    oracleasm-support-2.0.3-1 (x86_64)
    oracleasmlib-2.0.2-1 (x86_64)
    lrzsz-0.12.20-22.1 (x86_64)
    xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5 (i386)
    xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5 (x86_64)
    xorg-x11-libs-6.8.2-1.EL.13.37.5 (i386)

    四、增加oracle用户和设置安装目录
    ### Oracle user and directory
    /usr/sbin/groupadd oinstall
    /usr/sbin/groupadd dba
    /usr/sbin/useradd -g oinstall -G dba oracle
    passwd oracle
    mkdir -p /opt/app
    chown -R oracle困惑install /opt/app
    chmod -R 775 /opt/app

    五、用root用户登录,配置oracle必备的参数
    ### Kernel parameters
    /sbin/sysctl -p
    cat >> /etc/sysctl.conf <<EOF
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    EOF

    /sbin/sysctl -p
    cat >> /etc/security/limits.conf <<EOF
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
    EOF

    cat >> /etc/pam.d/login <<EOF
    session required pam_limits.so
    EOF

    vi /etc/profile
    ##insert
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    ## End insert

    vi /etc/redhat-release
    # change 5 to 4
    Red Hat Enterprise Linux Server release 4 (Tikanga)


    六、用oracle用户登录,修改.bash_profile
    cat >> /home/oracle/.bash_profile <<EOF
    # added by leo 20050106
    ORACLE_BASE=/opt/app; export ORACLE_BASE
    ORACLE_SID=BaanDB; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    # should add after installation
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/baandb
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    # For Exp oracle
    NLS_LANG=AMERICAN_AMERICA.AL32UTF8; export NLS_LANG
    EOF

    七、安装oracle软件,打10.2.0.3的补丁包
    cd /opt/app/oraInventory/
    ./orainstRoot.sh
    cd /opt/app/product/10.2.0/baandb/
    ./root.sh
    cd /opt/app/product/10.2.0/baandb/bin/
    ./localconfig add

    八、编译linux内核,升级到linux-2.6.20.4
    升级前:
    Apr 8 01:15:03 venus kernel: Linux version 2.6.18-8.el5 (brewbuilder@ls20-bc1-14.build.redhat.com)
    (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:15:14 EST 2007

    cd /usr/src/
    rz
    tar -xvjf linux-2.6.20.4.tar.bz2
    ln -s linux-2.6.20.4 linux
    cd linux
    make menuconfig
    make -j64
    make modules_install
    make install
    vi /boot/grub/menu.lst

    升级后:
    Apr 7 20:20:04 venus kernel: Linux version 2.6.20.4 (root@venus)
    (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Sat Apr 7 20:05:54 CST 2007

    九、下载编译安装的ORACLEASM KERNEL DRIVER.
    cd /home/oracle/
    mkdir asmlib372
    svn checkout http://oss.oracle.com/projects/oracleasm/src/trunk/ asmlib372/
    cd asmlib372/
    ./configure --with-kernel=/usr/src/linux

    需要注意修改linux源代码,增加一句话。
    vi /usr/src/linux/include/linux/slab.h
    ##add one line #define SLAB_KERNEL GFP_KERNEL
    make
    make install

    十、创建ORACLE ASM 磁盘组
    fdisk /dev/sda
    partprobe /dev/sda
    reboot

    /etc/init.d/oracleasm configure
    /etc/init.d/oracleasm createdisk /dev/sda5
    /etc/init.d/oracleasm createdisk ASM0 /dev/sda5
    service oracleasm listdisks

    十一、使用DBCA创建数据库
    netca &
    dbca &

    十二、增加Infor ERP LN 6.1用户和目录
    /usr/sbin/groupadd bsp
    /usr/sbin/useradd -g bsp -G oinstall bsp
    /usr/sbin/useradd -g bsp -G oinstall demo
    /usr/sbin/useradd -g bsp -G oinstall applic
    mkdir -p /opt/baan
    chown bsp.bsp /opt/baan
    mkdir -p /usr/baan/shared/
    chown bsp.bsp /usr/baan/shared/

    十三、打开一些安装Infor ERP LN 6.1的必备服务
    chkconfig rexec on
    chkconfig rsh on
    chkconfig rlogin on
    chkconfig vsftpd on
    cat >> /etc/securetty <<EOF
    rexec
    rlogin
    rsh
    EOF
    /etc/init.d/xinetd restart
    vi /etc/vsftpd/ftpusers
    vi /etc/vsftpd/user_list
    service vsftpd start
    chkconfig vsftpd on

    十四、增加客户端机器的IP地址和机器名字
    由于Infor ERP LN 6.1是从windows向linux远程安装的。
    vi /etc/hosts
    #add windows client hostname and address

    十五、直接从windows机器上启动安装Infor ERP LN 6.1
    安装过程中千万不要使用屏幕保护程序或者锁定屏幕,保证屏幕一直开着。
    这个过程大概需要2小时30分钟(依据机器配置不同会有所差异)。

    十六、根据INFOR 8204 文档进行后续设置
    Infor的文档很详细,按照步骤和截屏一字不漏的操作即可。
    Posted Apr 12 2007, 03:15 PM by wicky with no comments
    Filed under:
  • Product ID of SSA ERP LN 6.1 (Baan 6.1)

    For more, check below link:
    http://www.support.baan.com/asp/validation.asp?action=Information&Product=SSA%20License%20Manager%20(SLM)

    Baan ERP 5.x

    * Report Archive on SSA BaanIVc4/SSA ERP 5.0c is for free if BaanIV or ERP5.0c is running and OPS is active.

    Product name License type Product ID
    Infor Baan ERP 5.2 Named/Concurrent users 1005
    Infor Baan ERP 5.2 Development Tools Named/Concurrent users 1014
    Infor BaanERP 5 Application Named/Concurrent users 7099
    infor BaanERP 5 Application Sources Server 7098
    Infor BaanERP 5 Development tools Named/Concurrent users 7101
    Infor BaanERP 5 Runtime Tools Named/Concurrent users 7100
    Report Archive on BaanIVc4/ ERP 5.0c Server 7003
    Workflow Extension 6.2 for BaanIVc (enabling Kit) Server 7025


    Infor ERP LN


    Product name License type Product ID
    Business Data Entity Implementation Generator for ERP LN Named/Concurrent users 7034
    Business Data Entity Modeler Named/Concurrent users 7033
    Business Data Entity Repository Named/Concurrent users 7035
    Infor Enterprise Server Named/Concurrent users 10996
    Infor Enterprise Studio Named/Concurrent users 10146
    Infor ERP LN 6.1 Named/Concurrent users 10056
    Infor ERP LN Application Sources Server 7026
    Infor ERP LN Service Named/Concurrent users 10896
    Infor FMS Enterprise Edition Named/Concurrent users 7114
    Infor FMS Enterprise Edition Named/Concurrent users 7115
    Infor FMS Enterprise Edition Named/Concurrent users 7116
    Infor FMS Enterprise Edition Named/Concurrent users 7117
    Infor FMS Enterprise Edition Named/Concurrent users 7118
    Workflow Extension 6.2 for ERP LN (enabling kit) Named/Concurrent users 7047

    Webtop


    Product name License type Product ID
    Webtop Server 7002

    Integration (OpenWorldX)

    NB SSA OpenWorldX WebAccess 2.6 and SSA OpenWorldX Collaboration 2.4 are not mentioned on this page, because they are in fact SSA E-Enterprise products. Those products you can find on the page: SSA E-Enterprise (OWX Webaccess 2.6)

    Product name License type Product ID
    Migration Toolkit 1.0 for BCK to OpenWorldX Named User 6088
    OpenWorldX Adapter 2.2 for Baan ERP Server 6001
    OpenWorldX Adapter 2.3 for Baan ERP Server 6072
    OpenWorldX Adapter 2.4 for Baan ERP Server 6079
    OpenWorldX Adapter 2.5 for ERP Server 60795
    OpenWorldX BCK Migration Toolkit 1.1 Named User 60882
    OpenWorldX BOI Builder 2.4 Named User 6087
    OpenWorldX Broker 2.2 Server 60211
    OpenWorldX Broker 2.2 B2B extension Server 60212
    OpenWorldX Broker 3.0 Server 602113
    OpenWorldX Broker 3.0 B2B extension Server 602123
    OpenWorldX Broker 3.1 Server 6021131
    OpenWorldX Broker 3.1 B2B extension Server 6021231
    OpenWorldX Broker 3.2 Server 6021132
    OpenWorldX Connector 2.2 for Java Server 6003
    OpenWorldX Connector 2.3 for CORBA Server 6071
    OpenWorldX Connector 2.3 for Java Server 6069
    OpenWorldX Connector 2.3 for XML Server 6070
    OpenWorldX Connector 2.4 for COM Server 6085
    OpenWorldX Connector 2.4 for CORBA Server 6081
    OpenWorldX Connector 2.4 for Java Server 6080
    OpenWorldX Connector 2.4 for NET Server 6089
    OpenWorldX Connector 2.4 for OLE-DB Server 6084
    OpenWorldX Connector 2.4 for XML Server 6082
    OpenWorldX Connector 2.5 for .NET Server 60895
    OpenWorldX Connector 2.5 for COM Server 60855
    OpenWorldX Connector 2.5 for CORBA Server 60815
    OpenWorldX Connector 2.5 for Java-Server Server 60805
    OpenWorldX Connector 2.5 for JDBC Server 60905
    OpenWorldX Connector 2.5 for OLE-DB Server 60845
    OpenWorldX Connector 2.5 for XML Server 60825
    OpenWorldX Decision Manager 2.3 Server 5052
    OpenWorldX Diagnostic Analyzer 1.1 Server 5113
    OpenWorldX Gateway 2.2 Server 6007
    OpenWorldX Studio 2.2 Named User 6017
    OpenWorldX Studio 2.3 Named User 6077
    OpenWorldX Studio 2.4 Named User 6083
    OpenWorldX Studio 2.5 Named User 601725
    OpenWorldX Web Services Toolkit 1.0 Server 6091

    Posted Apr 12 2007, 09:59 AM by wicky with no comments
    Filed under:
  • How to use BW with SSA ERP LN 6.1 (Baan 6.1)?


    In BW Configuration->Bshell Environment->Command:

    -- -set NO_WORKTOP=1

    Note: this also bypass 30 days demo period checking Wink

    Posted Apr 12 2007, 09:56 AM by wicky with no comments
    Filed under:
  • Oracle 查看用户/表占用的空间

    查看用户占用的空间

    SELECT   owner, tablespace_name, ROUND (SUM (BYTES) / 1024 / 1024, 2) "USED(M)"
        FROM dba_segments
    GROUP BY owner, tablespace_name
    ORDER BY SUM (BYTES) DESC;

    SELECT   owner, tablespace_name, segment_name, segment_type,
                    ROUND (SUM (BYTES) / 1024 / 1024, 2) "USED(M)"
        FROM dba_segments
    GROUP BY owner, tablespace_name, segment_name, segment_type  
    ORDER BY SUM (BYTES) DESC

    其中owner是用户,segment_name是表/索引

    Posted Apr 07 2007, 08:52 AM by wicky with no comments
    Filed under:
  • 安装软件时不断要求重启

    在安装软件的时候,总是出现这样的提示:“安装程序检测到另一个程序要求计算机重新启动。必须重新启动计算机后才能安装。系统重新启动后,您需要重新启动安装程序。单击“确定”重新启动。单击“取消”退出安装程序,以后再安装。”然后我就单击“确定”重新启动电脑,待系统启动完毕后,重新启动安装程序,结果上述提示再次出现,又是重新启动电脑,然而还是这样的提示,无法安装。

    解决办法:

    在注册表删除HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\pendingfilerenameoperations 然后再装就可以!

    Posted Apr 06 2007, 03:34 PM by wicky with no comments
    Filed under:
Copyright SDT, 2006-2009. All rights reserved.