Error executing sudo command

When I try to execute a sudo command I get the following message:
"sudo: /etc/sudoers is mode 0644, should be 0440
Segmentation fault"
What does it mean?
Thanks for all the help.

When I try to execute a sudo command I get the following message:
"sudo: /etc/sudoers is mode 0644, should be 0440
Segmentation fault"
What does it mean?
It means someone has incorrectly modified the /etc/sudoers file, and as a side effect its permissions were changed to an insecure form, so sudo refuses to use the file. It is also possible that the /etc/sudoers file syntax is also invalid, which might also cause the segmentation fault.
'visudo' should be used to edit the /etc/sudoers file, which would have properly preserved the permissions, as well as verified that the updated /etc/sudoers file contained valid syntax so that sudo would continue to work. See 'man visudo'.
You now have a problem, in that you can no longer use sudo to fix the permissions.
You should first try booting your installation DVD. Via the Menu, you can run Disk Utility and run Repair Permissions. Hopefully this will repair the /etc/sudoers file. You could try running Applications -> Utilities -> Disk Utility, however, if it wants to use sudo to elevate its privileges, that would fail, as a broken /etc/sudoers file is still a broken /etc/sudoers file.
If you have by any chance enabled the 'root' account, you could try logging in as root and fixing the /etc/sudoers file's permissions.
You should also run visudo, so that the file's syntax is valid.
I think you can use the Installation DVD to enable the root account. that might be another way to login as root.
If repair permissions does not work, then maybe you can put your Mac into firewire target mode, mount your Mac's disk on another Mac via firewire, and repair the /Volume/Macintosh HD/etc/sudoers permissions from the working Mac.
If that failes, the next step is booting your Mac in Single User mode. Search for "Single User Mode" in the forums, and you should find instructions on both booting, as well as how to make the root file system writable so you can change the permissions from single user mode.
And if that does not work, I think you are left with reinstalling the OS.
Message was edited by: BobHarris

Similar Messages

  • Error executing RDS command. Status Code : 503 , Reason : Service Unavailable

    Hi,
    I am being trying to connect a Flex desktop application with a Java application running in Tomcat (6.0.29), and I get this error message when trying to use the Data wizard to connect with Blaze DS.
    I have read all the tutorials and everything looks good from the server side. This is what appears in the server log:
    2011-01-27 16:02:33,030 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'accounts'
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'accounts' has been started started successfully.
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'customers'
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'customers' has been started started successfully.
    2011-01-27 16:02:33,061 [ INFO] - FrameworkServlet - FrameworkServlet 'flex': initialization completed in 3887 ms
    2011-01-27 16:02:50,813 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
    2011-01-27 16:43:42,897 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
    (The last two lines appears when I put the AMF channel's URI in a browser).
    Below is what appears in the Event log from Eclipse.
    java.lang.RuntimeException: java.lang.RuntimeException: RDS server message:
    Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:149)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1171)
    at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
    at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizardDialog.nextPressed(ServiceWizardD ialog.java:93)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
    at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
    at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
    at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
    at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    Caused by: java.lang.RuntimeException: RDS server message:
    Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.initialize(J2EEServicePage.jav a:187)
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:136)
    ... 61 more
    Any help wolud be appreciated.
    Thanks

    Hi There,
    I am getting the same error. can anyone tell me what could be problem?

  • ERRORs executing CWM commands in SQL Plus

    Hi,
    I tried to execute following command in SQL Plus:
    execute cwm_olap_dimension.set_plural_name('olapdata', 'OLAP_APARAT_DIM', 'OLAP_APARAT_DIM');
    And in response I got following result:
    BEGIN cwm_olap_dimension.set_plural_name('olapdata', 'OLAP_APARAT_DIM', 'OLAP_APARAT_DIM'); END;
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "OLAPSYS.CWM$UTIL", line 535
    ORA-06512: at "OLAPSYS.CWM$OLAP$DIMENSION", line 17
    ORA-06512: at line 1
    Can anyone explane me what am i doing wrong ?
    I would really appreciate any help!
    Thanks

    check SQL*Plus user's guide
    e.g column REMARK format a30
    set linesize 2243
    etc etc etc

  • Trouble Executing Sudo Commands

    I am trying to execute a sudo command on the terminal, everytime I try to do it it asks me for my password but when I attempt to type it in nothing happens (it does not even type it). Does anybody know why this is happening and how to fix it?
    Thanks!

    JavaFan2 wrote:
    In fact, I help supervising a student project who is supposed to write an admin application to offert graphical interfaces for some security and system tools under Linux (like fdisk, iptables etc) using J2EE, ... something like Webmin.
    As I said, I know that is has a huge security risk but this app has the only purpose of learning J2EE, no security issues are treated.If you want to say "I will leave my office door open because there's no security risk in doing that" then that's a valid statement. But what you are trying to do here isn't the equivalent of leaving your office door open. It's the equivalent of finding a master key for all the offices in the world. And as such it is in fact a serious security risk which should not be circumvented.
    And no, it's no good saying "But I'm only going to use this all-powerful master key to open my own office door". If you get the key then anybody else can get the key too.

  • Terminal automatically executes sudo command on opening?

    I am running Lion 10.7.5. I tried to execute a sudo command but remembered i did not have sudo privleges on my account so i logged onto the root user and executed it there. Getting back on my regular account i opened terminal but it automatically executed the sudo command again and if i exceeded the password attemp limit it just re executed the command and looped infinently. I now cannot use terminal on my account. I have deleted com.apple.Terminal.plist from its location and still nothing.

    Did you accidentally put a sudo command into one of the following files?
    .bash_profile
    .bash_login
    .profile
    .bashrc
    Or does one of the above files run a script that tries to execute sudo?
    If you cannot get a command prompt you can use Terminal -> Shell -> New Command to issue one command at a time.
    Message was edited by: BobHarris

  • CPIC error executing SNDDST command

    Hello All!
    We are using SNDDST command to send messages to user mailboxes for simple notification in a process. These are the steps that I did:
    - create an external OS command in SM49;
    - create an entry in WRKDIRE to user R3P02 (user SID+System number -> it starts R3 system);
    - change user profile R3P02 to limit capabilities -> *PARTIAL;
    I made a copy os user profile R3P02 to test sending messages from OS/400. From OS sends normally but when the command is called from R/3 occurs a timeout of connection. (by function module SAPXPG_START_XPG)
    I have extracted this portion of dev_rfc trace file:
    ======> CPIC-CALL: 'ThSAPCMRCV'                                                
    Excesso de tempo na estrutura de conexão (existe parceiro ?)                   
    ABAP Programm: SAPLSXPT (Transaction: ZME28A)                                  
    Called function module: SAPXPG_START_XPG                                       
    User: LOLIVEIR (Client: 400)                                                   
    Destination: %_TCPIP_%1 (handle: 2, convid , {464D7A0F-6E92-15A0-E100-0000800101
    Error RFCIO_ERROR_SYSERROR in /build/bas/46D/gen/opt/abrfcpic.c : 2963         
    CPIC-CALL: 'ThSAPCMRCV'                                                        
    Thanks for all help.
    Best Regards,
    André Koji Honma
    Support Analyst
    FUJIFILM da Amazônia Ltda.

    Hello André,
    A Question to determin where the problem lies.
    Is the SNDDST command working from a 5250 session command line ?
    If not please have a look at the following link:
    http://www-1.ibm.com/support/docview.wss?rs=0&context=SWG60&dc=DB520&dc=D900&dc=D800&dc=DA900&dc=DA800&q1=SMTPRTEANDAS400KBXXYYZZRCH&uid=nas134879f5e413aa5cd8625697b0053f36a&loc=en_US&cs=UTF-8&lang=all
    Regards, Rudi van Helvoirt

  • Error executing RDS command. Status Code:404

    The following problem really made crazy. I worked it for a whole day and still didn't figure it out. could someone help me ? Thanks a million.
    I created a project using this way:
    and select a tomcat server 6.0.*
    and my RDS configuration in my web.xml is this:
    part of my web.xml
    <servlet>
            <servlet-name>RDSDispatchServlet</servlet-name>
            <display-name>RDSDispatchServlet</display-name>
            <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
            <init-param>
                <param-name>useAppserverSecurity</param-name>
                <param-value>false</param-value>
            </init-param>       
            <load-on-startup>10</load-on-startup>
        </servlet>
        <servlet-mapping id="RDS_DISPATCH_MAPPING">
            <servlet-name>RDSDispatchServlet</servlet-name>
            <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
        </servlet-mapping>
    when I created my flex project, and added it to the server using the way of Add web module... . After that, I started my server, and changed to this view:
    I clicked "Connect to Data/Service..." and selected the service type "BlazeDS". When the Flash  Builder popped up a Authentication window, I checked "No password required" and clicked the OK button, and then, the problem comes out.
    Any clues for this problem? Thank you.

    With all the problems people have with this error, you'd think there would be a FAQ about it. is this it? no answers?
    no one knows why this happens with eclipse/FB4 on a windows xp system? is this the kind of support you get from Adobe?
    this is EXTREMELY frustrating!!!!!!! please Adobe,HHHEELLPPP!!!!!

  • Error executing RDS command. Status Code : 404 , Reason : Not Found

    Anyone know how I would resolve this error?

    There can be any number of reasons. First would if the RDS feature is disabled on the server you’re connecting to. Second, that web server (if you are using one) could be configured to block RDS requests (or perhaps even all requests to url’s with CFIDE in them). You could address those, but before you do, please do share more about your use of CFB.
    To be clear, are you meaning to intentionally use the feature in CFB where you define a server (and optionally connect a project to that server), so that you can use features to allow you to access server resources (database info, CFC, and more) from within CFB? You would typically only do that in connecting to a development server. Just want to know what your intentions are before leading you to enable something on a server that you don’t really need.
    And while we await those answers, and whether the first paragraph may get you going to a solution, is this CF server something you’re connecting to (the RDS url) using the server’s external web server (like IIS or Apache, such as is typical if you have no port in the URL), or via CF’s built-in web server (such as is typical when you have a port like 8500 in the URL)? That may be important in helping to solve your problem.
    For instance, if the server (and the URL you’re using) uses IIS, then if you visited the URL for RDS in a browser on the server itself, you may get a much more clear explanation of the problem (since by default, IIS shows more details for requests made ON the sever itself than it does for requests from off the server). The RDS URL (which is generated by the RDS feature in CFBuilder, not something you normally type) is /CFIDE/main/ide.cfm, so append that to the domain or IP address of the server you have configured CFBuilder to use, and see what more detail you may get in your browser.
    /charlie

  • Error executing RDS Command Status Code 504

    Hi,
    I'm new to the flex world & was trying out the testdrive application at http://www.adobe.com/devnet/flex/testdrive/articles/1_build_a_flex_app2.html
    I've installed Flex Flash builder 4 on top of my eclipse installation and I'm using Tomcat as the servlet container for deploying the testDrive WAR file (which contains the remote services).
    When I try to connect to the 'BlazeDS' from Data-> Connect to BlazeDS option; I get a Status code - 504, Reason: Connect Error.
    Can anyone please point me to the right direction, I've tried everything I could but no luck.
    Thanks in advance for your time.
    Cheers,
    J

    With all the problems people have with this error, you'd think there would be a FAQ about it. is this it? no answers?
    no one knows why this happens with eclipse/FB4 on a windows xp system? is this the kind of support you get from Adobe?
    this is EXTREMELY frustrating!!!!!!! please Adobe,HHHEELLPPP!!!!!

  • Error durig FTP Command Execution

    Hi All,
    I run the SE38 --> RSFTP002
    and putting below parameters
    User: ENGO
    Pass: xxxxx
    Host: 195.212.13.22 10001
    Command: put c:/ftp.txt /In_test/ftp.txt
    it takes 10 minutes when execute and got bellow error.
    Execute FTP Command
    put c:/ftp.txt  /In_Test/ftp.txt
    NIECONN_BROKEN:TCP/IP Network Connection Broken in getreply()
    TCP/IP error, connection terminated
    FYI .... i m facing this issue in my office LAN while it is working fine when i execute it from my home mean
    different connection(DSL).
    how can i resolve this issue and where is fault?
    advance thanks,
    majamil

    Hi ,
    Dear, there are execution and output following:
    put c:\ftp.txt \In_test\ftp.txt
    and
    put c:/ftp.txt  /In_Test/ftp.txt
    Execute FTP Command
    put c:\ftp.txt  \In_Test\ftp.txt
    NIECONN_BROKEN:TCP/IP Network Connection Broken in getreply()
    TCP/IP error, connection terminated
    and some time i got this error,
    Execute FTP Command
    put c:/ftp.txt  /In_Test/ftp.txt
    open c:/ftp.txt errno 22: Invalid argument
    about your workstation firewall.
    Firewall is Disable in client end and also server end.
    Is it allowing the program SAPFTP to execute
    when i put SAPFTP in run then i executed mean it display FTP prompt.
    Did you check your SAPFTP RFC using RSFTP005?
    SA38 --> RSFTP005
    SAPFTP check
    Check RFC destination SAPFTP..
    ... OK.
    Ping RFC destination SAPFTP...
    ... OK.
    Check RFC destination SAPFTPA.
    ... OK.
    Ping RFC destination SAPFTPA..
    ... OK.
    and also check from SM59 where connection test completed successfully.
    regards,

  • I am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found

    i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.

    "command not found" means ... there is no such thing.
    Has the .rpm been installed?
    http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122

  • Getting a fatal relocation error while using a sudo command.

    I am getting the following error while trying to execute a sudo command:
    ld.so.1: sudo: fatal: relocation error: file /usr/local/bin/sudo: symbol closefrom: referenced symbol not found
    the sudo version I use is: 1.6.8p9
    the SUNWcsu package that contains the ld.so.1 library is version: 11.8.0,REV=2000.01.08.18.12
    any ideas?

    Just had the same error
    ld.so.1: sudo: fatal: libintl.so.8: open failed: No such file or directory
    Killed
    was solved by adding the Dependances
    libintl-3.4.0-sol10-sparc-local.gz Libintl is used with gettext and is needed by a few programs when libintl in not in /usr/lib - installs in /usr/local/lib. The 3.4.0 package number indicates that this provides /usr/local/lib/libintl.so.3.4.0 (and also the new /usr/local/lib/libintl.so.8.0.2). Dependencies: libiconv and to have /usr/local/lib/libgcc_s.so.1 and /usr/local/lib/libstdc++.so.6, either the libgcc-3.4.6 or gcc-3.4.6 packages.
    http://www.sunfreeware.com/indexsparc10.html

  • Getting an error while executing ddl commands using dblink

    Hi,
    i am using Oracle9iR2 Version.
    i have created a procedure like below to execute ddl commands on remote database through dblink using dbms_sql.
    CREATE OR REPLACE PROCEDURE run_remote_ddl (p_dblink VARCHAR2, qry VARCHAR2)
    AS
    c_handle NUMBER;
    feedback INTEGER;
    stat VARCHAR2 (2000);
    BEGIN
    stat := 'select DBMS_SQL.open_cursor' || p_dblink || ' from dual';
    EXECUTE IMMEDIATE stat
    INTO c_handle;
    stat :=
    'begin DBMS_SQL.parse'
    || p_dblink
    || ' ('
    || c_handle
    || ','''
    || qry
    || ''', DBMS_SQL.v7); end;';
    EXECUTE IMMEDIATE stat;
    stat :=
    ' select DBMS_SQL.EXECUTE' || p_dblink || '(' || c_handle
    || ') from dual';
    EXECUTE IMMEDIATE stat
    INTO feedback;
    stat :=
    'declare x integer; begin x:= :1; DBMS_SQL.close_cursor'
    || p_dblink
    || '(x); end;';
    EXECUTE IMMEDIATE stat
    USING c_handle;
    END;
    when i run this procedure like below
    begin
    run_remote_ddl ('@dblink', 'create table scott.ttt(num number)');
    end;
    got an error:
    ORA-06553: PLS-103: Encountered the symbol ".2" when expecting one of the following:
    . ( * @ & = - + ; < / > at in is mod not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like
    between ||
    The symbol ". was inserted before ".2" to continue.
    ORA-06512: at RUN_REMOTE_DDL", line 9
    ORA-06512: at line 2
    Please tell me how to resolve this.
    Thanks in advance.

    Hi,
    >
    ORA-06553: PLS-103: Encountered the symbol ".2" when expecting one of the following:
    . ( * @ & = - + ; < / > at in is mod not rem
    <an exponent (**)> or != or ~= >= <= <> and or like
    between
    >
    Hope you are not typing 2 instead of @ as both are on the same key
    Can you run the following and see what is happening
    CREATE OR REPLACE PROCEDURE run_remote_ddl (p_dblink VARCHAR2, qry VARCHAR2)
    AS
    c_handle NUMBER;
    feedback INTEGER;
    stat VARCHAR2 (2000);
    BEGIN
    dbms_output.put_line(p_dblink);
    stat := 'select DBMS_SQL.open_cursor@dblink from dual';
    --stat := 'select DBMS_SQL.open_cursor from dual';
    EXECUTE IMMEDIATE stat
    INTO c_handle;
    END;
    exec run_remote_ddl('@dblink', 'create table scott.ttt(num number)');Regards
    Edited by: yoonus on Feb 20, 2013 3:47 AM

  • Error while executing jdbc commands but getting connection pool

    I was not able to make a simple oracle connection and that hurts me.
    The program(jsp) is...
    <%@ page language="java" import="java.sql.*,java.io.*,
    java.util.*,pac1.*,javax.naming.*,javax.sql.*"%>
    <html>
    <body>
    <%
    Context ctx= new InitialContext();
    DataSource dsindogulf1=(DataSource)ctx.lookup("jnindogulf1");
    Connection conn=dsindogulf1.getConnection();
    if(conn!=null)
    System.out.println(conn.toString());
    else
    System.out.println("sorry");
    Statement st=conn.createStatement();
    String string1="CREATE TABLE Authorr(col1 CHAR(10));";
    st.executeUpdate(string1);
    %>
    </body>
    </html>
    If i delete the
    st.executeUpdate(string1); then there is no problem I get the connection pool. That means i am getting the connection. But when i include the
    st.executeUpdate(string1); there is an error which i cannot understand.. the error is
    Error 500--Internal Server Error
    java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-00911: invalid character
         at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(I[Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)
         at weblogic.jdbc.oracle.OracleImplStatement.execute()V(Optimized Method)
         at weblogic.jdbc.base.BaseStatement.commonExecute()V(Optimized Method)
         at weblogic.jdbc.base.BaseStatement.executeUpdateInternal()I(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeUpdate(Ljava.lang.String;)I(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeUpdate(Ljava.lang.String;)I(Statement.java:360)
         at jsp_servlet.__test._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__test.java:149)
         at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Optimized Method)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    the steps which i have followed are... I have made a connection pool using weblogic type 4 driver in the administrative console... then i have created the data source using jndi name jnindogulf1..... but although i am getting the connection pool i am receiving error ehice executing jdbc commands
    please help
    thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    babuli nayak wrote:
    I was not able to make a simple oracle connection and that hurts me.
    The program(jsp) is...
    <%@ page language="java" import="java.sql.*,java.io.*,
    java.util.*,pac1.*,javax.naming.*,javax.sql.*"%>
    <html>
    <body>
    <%
    Context ctx= new InitialContext();
    DataSource dsindogulf1=(DataSource)ctx.lookup("jnindogulf1");
    Connection conn=dsindogulf1.getConnection();
    if(conn!=null)
    System.out.println(conn.toString());
    else
    System.out.println("sorry");
    Statement st=conn.createStatement();
    String string1="CREATE TABLE Authorr(col1 CHAR(10));";
    st.executeUpdate(string1);
    %>
    </body>
    </html>
    If i delete the
    st.executeUpdate(string1); then there is no problem I get the connection pool. That means i am getting the connection. But when i include the
    st.executeUpdate(string1); there is an error which i cannot understand.. the error is
    Error 500--Internal Server Error
    java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-00911: invalid character
         at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(I[Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)
         at weblogic.jdbc.oracle.OracleImplStatement.execute()V(Optimized Method)
         at weblogic.jdbc.base.BaseStatement.commonExecute()V(Optimized Method)
         at weblogic.jdbc.base.BaseStatement.executeUpdateInternal()I(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeUpdate(Ljava.lang.String;)I(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeUpdate(Ljava.lang.String;)I(Statement.java:360)
         at jsp_servlet.__test._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__test.java:149)
         at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(Optimized Method)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Optimized Method)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    the steps which i have followed are... I have made a connection pool using weblogic type 4 driver in the administrative console... then i have created the data source using jndi name jnindogulf1..... but although i am getting the connection pool i am receiving error ehice executing jdbc commands
    please help
    thanks
    Hi. Remove the semicolon from your SQL string:     stmt.executeUpdate("CREATE TABLE Authorr(col1 CHAR(10))");Joe                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Adobe Muse CC crash with error #2063 - failure to execute IME command

    Is there any reason I am getting the following:
    Adobe Muse encountered an unexpected error and will have to be terminated.
    IME$/set enabled-Error: Error #2063: Error attempting to execute IME command.??
    Running on OSX 10.6.8 on Mac Pro

    Hello,
    Please uninstall Adobe Air from your computer, and reinstall the same from here: http://get.adobe.com/air/
    Once done, run Muse and check if you get the error again. You'll find the uninstaller for Adobe Air in the "Utilities" folder in your MAC.
    Hope this helps.
    Cheers
    Parikshit

Maybe you are looking for

  • Automatic font in footnote from iphoto calendar

    I made a calendar on iphoto and placed the order. But to bad, it is being cancelled 3 times. There is a ' inconsistente lettertypen'  (in duch) or a inconsistent font. There is a really small footnote with month and year in de right corner at the bot

  • Forms builder 6i starts in minimized window

    Hello! After a properly working installation of Forms builder I suddenly got Forms Builder (version 6.0.8.18.3 on win 2000) as a minimized window (just an icon on the taskbar/Quick Launch) when starting ifbld60.exe. Unable to maximize it to a window

  • Does the "The Project Owner has the same RBS value as the User" dynamic category rule include Status Managers?

    I tested the following scenario in Project Server 2010 and 2013: Assume you have three users: User1, User2, and User3. User1 has RBS value Org.UnitA User2 and User3 both have RBS value Org.UnitB User3 belongs to a group that gets permissions to view

  • Change the Standard Installation Directory of SMD Agent

    Hi Everyone, Standard Installation Directory of SMD Agnet is /usr/sap/SMD which I want to change & Install the SMD Agent under /usr/sap/<SID>/SMD directory I dont want maintain soft link way Is it possible , If yes then How ?? Thanks in advance Regar

  • Can I use CallableStatement in JSTL?

    Is it possible to use CallableStatements in JSTL? I would like to be able to do something like this: <sql:update var="res" sql="{ ? = call rms.campaigns.s_code_update(?, ?, ?, ?) }" > <sql:param value="${item1}" /> <sql:param value="${item2}" /> <sql