Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi.. I'm working on IBM Websphere Commerce for Ldap integration at OS RHEL 5.9.
While trying to run one .sh file I'm getting below error.
Code:
[wcsuser@CTSINMBPVPCC13 bin]$ ./WCIntegrationWizard.sh
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag.
WARNING: could not write using log service: ServiceException: (error code = 200; message = "/wcp_ismp_install.log (Permission denied)"; severity = 0; exception = [java.io.FileNotFoundException: /wcp_ismp_install.log (Permission denied)])
(May 9, 2013 6:17:56 PM), Install.product.install, com.installshield.wizard.StandardWizardListener, err, could not initialize interface swing
Other graphical utilities related to this s/w are running fine in GUI mode. But this only providing me error.
I tried with exporting DISPLAY but no use.
Content of WCIntegrationWizard.sh
Code:
[root@CTSINMBPVPCC13 bin]# cat WCIntegrationWizard.sh
#!/bin/sh
# Licensed Materials - Property of IBM
# WebSphere Commerce
# (c) Copyright IBM Corp. 2000, 2006
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
BINDIR=`dirname $0`
. $BINDIR/setenv.sh
TEMP=`(/usr/bin/id | grep $CMSTARTUP_USER)`
if [ $? -ne 0 ]
then
echo "You must be $CMSTARTUP_USER user to run this."
exit 1
fi
jarpath=$WAS_HOME/plugins/*
CLASSPATH=$WCS_HOME/lib:$WCS_HOME/lib/Enablement-BaseComponentsLogic.jar:$WCS_HOME/lib/wcsdepchecker.jar:$WCS_HOME/lib/ConfigManager.jar:$WCS_HOME/lib/icu4j.zip:$jarpath
LIBPATH=$WCS_HOME/bin:$LIBPATH
${JAVA_EXE?} -cp $CLASSPATH:$WCS_HOME/lib/WCIntegrationWizard.jar -Dcommerce.installLocation=$WCS_HOME -Dcommerce.user.installDir=$WCS_HOME -DWAS_HOME=$WAS_HOME run -W Debug.systemValue="false" $*
you can make a copy of this script and add set -xv at the beginning - to see how it is running.
Next, you can try to execute xterm in the same window (just test if it was really successful). If xterm works it could not be a DISPLAY issue.
so as root you need to execute xhost +
not a safe solution but hopefully works
Hi pan64, Need your help. Got the below error with xhost
Code:
[root@CTSINMBPVPCC13 bin]# xhost +
access control disabled, clients can connect from any host
---------- Post added 05-22-13 at 02:03 AM ----------
Quote:
Originally Posted by chrism01
Code:
Try running the installer with the -console ... flag
I'd use that option; much simpler
hi chrism01
tried with console option also. not successfull. Please see the error below:
Code:
[wcsuser@CTSINMBPVPCC13 bin]$ ./WCIntegrationWizard.sh -console
The wizard cannot continue because of the following error: Invalid command line option: console is not supported (1001) (403)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.