Ajax connector error in Gentoo Linux

Discussion in 'Programming' started by ashl1, Feb 24, 2008.

  1. #1
    The ColdFusion 8 server is starting up and will be available shortly.
    ======================================================================
    Running the ColdFusion 8 connector wizard
    ======================================================================
    Configuring the web server connector (Launched on the first run of the
    ColdFusion 8 start script)
    Running apache connector wizard...
    =======================================
    There was an error while running the connector wizard
    Connector installation was not successful
    =======================================
    ======================================================================
    ColdFusion 8 has been started.
    ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log
    When I rename "cf-connectors.sh" to "cf-
    connectors.sh.txt" ColdFusion startup normally. But it not
    linkage with Apache, I think. Because I am not seing ColdFusion
    Administrator page on "http://localhost/CFIDE/administrator/
    index.cfm".
    In "cf-connectors.sh":
    $CONNECTOR_JAVA -Dtrace.ci=1 -jar $CF_DIR/runtime/lib/wsconfig.jar -
    server coldfusion -ws apache -dir /etc/apache2 -bin /usr/sbin/apache2 -
    script /etc/init.d/apache2 -coldfusion -v > /opt/coldfusion8/
    ConnectorInstall0.txt 2>&1
    In "connectors/apache_connector.sh":
    #!/bin/sh
    #
    # Configure the Apache connector.
    # -dir should be the *directory* which contains httpd.conf
    # -bin should be the path to the apache *executable*
    # -script should be the path to the script which is used to
    # start/stop apache
    #
    ../../runtime/bin/wsconfig \
    -server coldfusion \
    -ws apache \
    -dir /etc/apache2 \
    -bin /usr/sbin/apache2 \
    -script /etc/init.d/apache2 \
    -coldfusion
    exit $#
    When i do:
    # /etc/init.d/apche2 restart
    it says:
    apache2: Syntax error on line 165 of /etc/apache2/httpd.conf: Cannot
    load /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so into
    server: /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so: wrong
    ELF class: ELFCLASS32
     
    ashl1, Feb 24, 2008 IP
  2. dshuck

    dshuck Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What happens when you run this?
    #/opt/coldfusion8/bin/connectors/apache_connector.sh

    To me it sounds like you might have give the connectors some incorrect information when it is asking for the binary file/startup file, etc., but I am not certain. If it were me, I would see what happens when you try to re-run that connector manually.
     
    dshuck, Feb 25, 2008 IP
  3. ashl1

    ashl1 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm edit this file because it say that ../../runtime/bin/wsconfig not be found (but this file really exists).
    I change this path to "/opt/coldfusion8/runtime/bin/wsconfig".
    Then i see this:
    /opt/coldfusion8/bin/connectors/apache_connector.sh
    No configuration directory was specified
     
    ashl1, Feb 25, 2008 IP