Racoon ERROR: failed select (Invalid argument)

I checked the console logs today (some unrelated problem) and discovered these being spammed every 5 seconds or so:
racoon[38] [38] ERROR: failed select (Invalid argument)
A quick review of the man page and the configuration files did not reveal anything extraordinary, except for the fact that /etc/cert does not exist. However, adding this directory did not fix it. The 'select' in the error message could point towards some socket related problem, but I don't know for sure.
Does anyone have an idea how to fix this?

I started getting them some time around midnight - didn't notice anything odd, but I was just poking around and opened up the Console log (which I try to do about once a week).
I killed everything I was running and it was still coming in.
I do run Time Capsule, but haven't noted any issues with it.
Here was my actual message:
racoon[87]: [87] ERROR: failed select (Invalid argument)
Google suggested a VPN issue someone had, but it was an old report.
I'm going to just reboot and keep an eye out for it.
Kill -15 (Kill process) was sufficient to get rid of the process.

Similar Messages

  • Lucreate 'ERROR: mount: /export: invalid argument' - Live Upgrade u8 to u9

    I'm trying to update several servers running solaris cluster 3.2 from u8 to u9 using live upgrade, first server (quorum server) worked just fine, next one (cluster member) goes down like this:
    # lucreate -n solaris-10-u9
    ERROR: mount: /export: Invalid argument
    ERROR: cannot mount mount point </.alt.tmp.b-pob.mnt/export> device </export>
    ERROR: failed to mount file system </export> on </.alt.tmp.b-pob.mnt/export>
    ERROR: unmounting partially mounted boot environment file systems
    ERROR: cannot mount boot environment by icf file </etc/lu/ICF.2>
    ERROR: Unable to mount ABE <solaris-10-u9>
    ERROR: Unable to clone the existing file systems from boot environment <s10x_u8wos_08a> to create boot environment <solaris-10-u9>.
    ERROR: Cannot make file systems for boot environment <solaris-10-u9>.I followed all the necessary steps, removed the installed live upgrade packages and installed the ones from the u9 iso...
    Any ideas would be greatly appreciated.
    Edited by: 801033 on Oct 8, 2010 5:11 AM
    Edited by: 801033 on Oct 8, 2010 5:28 AM
    Edited by: 801033 on Oct 8, 2010 5:33 AM

    The answer, at least in my case:
    When I originally installed this cluster, I apparently misread the part of the documentation which lead me to disable lofs. The documentation states that you need to disable lofs if BOTH of two conditions are met,
    1) You are running HA for NFS to server a locally available filesystem AND
    2) you are running automountd.
    In my case, I have no need for automountd, so I disabled the autofs service, reenabled lofs and am proceeding with the upgrade.

  • File Source Error [CrystalEnterprise.DiskUnmanaged] : [Invalid argument]

    Hello
    We have several reports scheduled with pdf or xls as outputs.
    Sometimes they are not refreshed due to the error : Source File Error [ CrystalEnterprise.DiskUnmanaged ] : [ Invalid argument ]
    But sometimes it's ok.
    And when we use the "refresh now" on the scheduled reports, it works.
    How can I fix it ?
    Thanks
    Edited by: VINCENT BARNIER on Jan 20, 2011 11:02 AM

    Hi Vince,
    Did you happen to find any solution for this?
    Because we seem to have come across the same error and it works absolutely fine when we run the report instantly, but when on the schedule, some of the reports are failing with this error.
    Any help/pointers would be greatly appreciated.
    Thanks,
    Jasmine.

  • Report fails with " Invalid argument for database." error.

    Hi All,
    Several of my reports deployed on Crystal Reports Server 2008 server fails everyday with the following error.
    Error in File ~tmp121c5dc747685036.rpt: Invalid argument for database.
    The error is not consistent, if report A fails today, it is Report B the next day. When I reschedule the reports, they run just fine. They fail only when the daily schedules run at 2:00 AM in the morning. 100 + reports are run at this time and some of the reports that fail run many times with different parameters. Is this error due to scheduling reports many times or is it something else? Appreciate any help with this.
    Thanks
    Bin

    Hi,
    can you please check under <BOBJ installation directory>\BusinessObjects Enterprise 12.0\logging in the log files created by the crystal reports job server for additionaly error messages?
    Regards,
    Stratos
    PS: Do you run CRS 2008 V0 or V1?

  • Petalinux-build error: setting ownership / Invalid argument

    Hi,
    I’m trying to use petalinux to generate a linux build for the Zynq ZC706 board.
    I have run the following commands according to all the online manuals:
    mbrainin-ws:~/zynq/tmp>> petalinux-create -t project -s /opt/Xilinx/Xilinx-ZC706-v2014.4-final.bsp
    INFO: Create project:
    INFO: Projects:
    INFO:   * Xilinx-ZC706-2014.4
    INFO: has been successfully installed to /home/mivanov/zynq/tmp/
    INFO: New project successfully created in /home/mivanov/zynq/tmp/
    mbrainin-ws:~/zynq/tmp>>
    mbrainin-ws:~/zynq/tmp>>
    mbrainin-ws:~/zynq/tmp>>
    mbrainin-ws:~/zynq/tmp>> cd Xilinx-ZC706-2014.4/
    mbrainin-ws:~/zynq/tmp/Xilinx-ZC706-2014.4>>
    mbrainin-ws:~/zynq/tmp/Xilinx-ZC706-2014.4>>
    mbrainin-ws:~/zynq/tmp/Xilinx-ZC706-2014.4>>
    mbrainin-ws:~/zynq/tmp/Xilinx-ZC706-2014.4>> petalinux-build
    INFO: Checking component...
    INFO: Generating make files and build linux
    INFO: Generating make files for the subcomponents of linux
    INFO: Building linux
    [INFO ] pre-build linux/rootfs/fwupgrade
    [INFO ] pre-build linux/rootfs/peekpoke
    [INFO ] pre-build linux/rootfs/uWeb
    [INFO ] build system.dtb
    [INFO ] build linux/kernel
    [INFO ] update linux/u-boot source
    [INFO ] generate linux/u-boot configuration files
    [INFO ] build linux/u-boot
    [INFO ] build zynq_fsbl
    [INFO ] Setting up stage config
    [INFO ] Setting up rootfs config
    [INFO ] Updating for armv7a-vfp-neon
    [INFO ] Updating package manager
    [INFO ] Expanding stagefs
    [ERROR]  error setting ownership of `./sbin/ldconfig': Invalid argument
    [ERROR]  error setting ownership of `./lib/libgcc_s.so.1': Invalid argument
    [ERROR]  error setting ownership of `./usr/bin/gdbserver': Invalid argument
    [ERROR]  error setting ownership of `./lib/libnss_nisplus-2.18.so': Invalid argument
    [ERROR]  error setting ownership of `./lib/libthread_db-1.0.so': Invalid argument
    [ERROR]  error setting ownership of `./lib/libcidn-2.18.so': Invalid argument
    [ERROR]  error setting ownership of `./usr/lib/gcrt1.o': Invalid argument
    [ERROR]  error setting ownership of `./lib/libgcc_s.so': Invalid argument
    [ERROR]  error setting ownership of `./usr/lib/libstdc++.so.6.0.19': Invalid argument
    [ERROR]  error setting ownership of `./sbin/shutdown.sysvinit': Invalid argument
    [ERROR] Errors were encountered while processing:
    [ERROR] E: Sub-process /opt/petalinux-v2014.4-final/tools/packagemanager/bin/dpkg returned an error code (1)
    [ERROR] make[2]: *** [.pkg_stagefs] Error 255
    [ERROR] make[1]: *** [sub_build_component_/none/packages-repo/single/plnx-repo] Error 2
    ERROR: Failed to build linux
    As you can see, I’m just using the BSP that came from Xilinx. When I run ‘petalinux-build’, I get the ‘ownership / Invalid argument’ errors.
    I have changed all my Xilinx and petalinux directories to be owned by me and changed all the files to be readable/writable/executable by all (chmod 777)
    I have also attached the verbose output from petalinux-build.
    Please advise.
    Regards,
    Misha
     

    I have worked with 2014.4 bsp and i don't see this issue.
    Can you try creating a project in /scratch location and see if the same scenario is seen?
    What linux distribution are you using?
    Regards,
    Achutha
     

  • What does This Error Message Mean? ***NSTask: Create for path '/tmp/KS0ut0fProcessFetcher.NG841Fted/ksfetch' failed: 22, "Invalid Argument". Terminating temporary process.

    So i started getting this message about every 2 hours or so and it had said something about ksfetch and i have no idea about what it means... It Was sent from somethhing called "GoogleSoftwareUpdateAgent.
    If anyone can help me with this...that would be great...
    Heres what it looked like...  file://localhost/Users/stephenweb4227/Desktop/Screen%20Shot%202013-11-13%20at%2 04.03.39%20PM.png
    Please help me...
    Thanks

    Yes, that was a hairy one to troubleshoot! But all is well now and we are putting CS5 into production...nice job adobe! Really like puppet warp and content-aware fill.
    btw, does anyone know how to change the Help preference back from "View in Browser" to "Community Help"? I clicked that but like the built-in help system that seems to be new, dunno, but it looked nicer. Cheers,
    jigs

  • Open Dataset fails with "Invalid Argument"

    From an ABAP program I can't write to a share folder on a windows 2000 box.  The share permissions are set to Everyone Full control.  I can write to a share on a windows 2003 box, but not windows 2000.  Here is my code:
    data: filename type string.
    data: open_message type string.
    filename = '
    servername\edi\test.txt'.
    open dataset filename for output
                            message open_message
                           in text mode.
                          encoding non-unicode.
    write: /1 open_message.
    I noticed that the kernel has the following info:
    ICU Version                 2.6.1 Unicode Version 4.0
    I was thinking there was a problem writing to a win 2000 box with an SAP Unicode Kernel.
    Anyone have a clue?
    Thank you,

    hi
    the shared folder must be accessible to the os user of your R3 installation. bcoz when u run the pgm this user will be used at the os level.
    for checking this logon to the R3 os and try to access the share path. it should be accessible without providing any logon credentials.
    rgds
    arun

  • Error message-DPMSSet: Invalid arugumanet

    I keep getting an error log that fills up with the error meassage
    DPMSSet: Invalid argument
    Power Management Problems
    I have been unable to figure it out.
    Does anyone know what this is about?

    I keep getting an error log that fills up with the
    error meassage
    DPMSSet: Invalid argument
    Power Management ProblemsI got this message after patching my Solaris8 install to "Generic_108528-10" and rebooting. I have the /etc/rc2.d/S85power rc script commented out to disable power management. However, it appears that DPMS is being set by my openwindows environment. To turn off DPMS issue the following command after starting x-windows:
    xset -dpms
    You can check all your settings by issuing the command:
    xset q
    If you run "xset q" before and after running "xset -dpms" you should see the change take effect. You should no longer get the error message. Keep in mind you also won't be in energy star mode either.
    Prior to the patch just doing "xset s noblank" was all I needed to do.
    -Doug

  • Fssnap fails by "fssnap: ioctl: error 22: Invalid argument" because of xntp

    Hi,
    on cluster node fssnap -F ufs -o bs=/xxxx /
    fails by "fssnap: ioctl: error 22: Invalid argument" because of xntpd_cluster service.
    Is there any workaround?
    Many thanks
    Ushas Symon

    I don't know if we support fssnap on anything other than the root file system because of its interaction with the system and potential to lock file systems for brief periods. If this is on the root file system then may be you could stop and start xntpd_cluster briefly while the snap is being taken.
    Of course, the better option would be to upgrade to SC3.2 01/09 and use ZFS for the root file system. I believe support for ZFS boot just squeezed in at the last minute thanks to some excellent work by some of my QA colleagues.
    Regards,
    Tim
    ---

  • Couldn't export schema because of invalid argument value and other errors.

    Hello, All.
    I am using an oracle 10g database, which is running on a Redhat9 linux server, to manage our lab information.
    I plan to export a schema (only tables, not the real data) into a file.
    First, I used the Enterprise Manager to export. I went through and complete the export job. After submitting, the system says:
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    So I just copy the PL/SQL code which would be send to the source database and comment the set_parallel procedure.
    The code is listed here:
    declare
    h1 NUMBER;
    begin
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000468', version => 'COMPATIBLE');
    end;
    --begin
    --dbms_datapump.set_parallel(handle => h1, degree => 1);
    --end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    end;
    begin
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    end;
    begin
    dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    end;
    begin
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    end;
    begin
    dbms_datapump.detach(handle => h1);
    end;
    end;
    I paste the code in an SQL*Plus session and execute it. The system says:
    declare
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
    ORA-06512: at line 23
    I am not very sure which part is wrong for I have exported another schema successfully using this method just now.
    Any advice is highly appreciated!
    Qian

    Well, I will list more details about how to complete the job here.
    1) Go to the Enterprise Manager, log in as FLOWLIMS (I just want to export the schema FLOWLIMS)
    2)Go to the "Maitenance"
    3)Under the "Utilities", select the "Export to files"
    4)in the next page: Export: Export Type, select "Schemas"
    5) in the next page, select the schema "FLOWLIMS"
    6) in the next page, select these parameters:
    Maximam Number of Threads in Export job: 1
    Estimate Disk Space: Blockes
    7) when I click the "Estimate Disk Space Now", it says :
    Export Estimate Failed
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    8) So I give up extimating
    9) Other options:
    I select "Generate Log file"
    The Directory Object is the default value "DATA_FILE_DIR"
    The Log File is the default value "EXPDAT.LOG"
    10) the advanced options are like these:
    Content: What to export from the Source Database: "Metadata only"
    Export content: "include all objects"
    Flashback: select "As the specified System Change Number (SCN)
    SCN: just accept the default number 28901412
    Query: select nothing. I need all fields of all tables.
    11) in the next page, I accept the default directory object "DATA_FILE_DIR" and the default File Name "EXPDAT%U.DMP". The Maximam File Size is blank, I just leave it blank.
    12) in the next page "Schedule" , I select to start the job immediatly.
    13) in the next page "Review", it shows:
    Export Type          Schemas
    Statistics type          Estimate optimizer statistics when data is imported
    Parallelism          1
    Files to Export          DATA_FILE_DIR EXPDAT%U.DMP
    Log File          DATA_FILE_DIR EXPDAT.LOG
    and the PL/SQL is like that:
    declare
    h1 NUMBER;
    begin
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000487', version => 'COMPATIBLE');
    end;
    begin
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    end;
    begin
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    end;
    begin
    dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    end;
    begin
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    end;
    begin
    dbms_datapump.detach(handle => h1);
    end;
    end;
    14) after I click the "submit" , it shows:
    Export Submit Failed
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    15) I copy the PL/SQL, comment this part:
    --begin
    --dbms_datapump.set_parallel(handle => h1, degree => 1);
    --end;
    I run it in an iSQL*Plus Release 10.1.0.2,
    It shows:
    declare
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
    ORA-06512: at line 23
    Could anybody help? Thanks a lot!
    Qian

  • Insert error SQLException: Invalid argument(s) in call:

    The following exception is produced because resultSet.next() was
    called on an empty resultSet why ??
    Driver = Oracle 8.1.7 thin (current version 8/30/01) for NT.
    Thanks
    try
         m_resultSet = m_statement.executeQuery("SELECT
    CODE_DECODE.* FROM CODE_DECODE WHERE 0 = 1");
         // NOTE If this statement is not called the code works
    fine.
         while( m_resultSet.next())
              // Does nothing as the resultset is empty
         // NOTE If the above statement is not called the code
    works fine
         // Insert a row
         m_resultSet.moveToInsertRow();
         m_resultSet.updateObject
    ("CODE_DECODE.CODE_DECODE_ID",new Double(100000001d));
         // Next statement causes the exception
         m_resultSet.insertRow();
    catch(Exception e)
    e.printStackTrace();
    gives the following stack trace
    java.sql.SQLException: Invalid argument(s) in call:
    setRowBufferAt
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:168)
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:210)
         at oracle.jdbc.driver.UpdatableResultSet.setRowBufferAt
    (UpdatableResultSet.java:1803)
         at oracle.jdbc.driver.UpdatableResultSet.setRowBufferAt
    (UpdatableResultSet.java:1785)
         at oracle.jdbc.driver.UpdatableResultSet.updateObject
    (UpdatableResultSet.java:1574)
         at oracle.jdbc.driver.OracleResultSet.updateObject
    (OracleResultSet.java:2787)
         at com.aceva.tool.toolbox.dbtool.JDBCAdapter.insertRow
    (JDBCAdapter.java:440)
         at com.aceva.tool.toolbox.dbtool.DBToolPanel.doInsert
    (DBToolPanel.java:289)
         at
    com.aceva.tool.toolbox.dbtool.DBToolPanel$4.actionPerformed
    (DBToolPanel.java:102)
         at javax.swing.AbstractButton.fireActionPerformed
    (AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
    (AbstractButton.java:1504)
         at javax.swing.DefaultButtonModel.fireActionPerformed
    (DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed
    (DefaultButtonModel.java:250)
         at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased
    (BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent
    (Component.java:3717)
         at java.awt.Component.processEvent(Component.java:3546)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl
    (Component.java:2595)
         at java.awt.Container.dispatchEventImpl
    (Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.LightweightDispatcher.retargetMouseEvent
    (Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent
    (Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent
    (Container.java:2125)
         at java.awt.Container.dispatchEventImpl
    (Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:912)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
         at java.awt.EventDispatchThread.pumpOneEvent
    (EventDispatchThread.java:103)
         at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run
    (EventDispatchThread.java:84)

    The stack trace was:
    06/09/06 09:02:52 java.sql.SQLException: Invalid argument(s) in call
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:189)
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:231)
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:294)
    06/09/06 09:02:52 at oracle.sql.CLOB.createTemporary(CLOB.java:527)
    After that I change a code little bit:
    clob = oracle.sql.CLOB.createTemporary(c, true, 1);
    Ant it pass through, but it fails with CastException. Then I upgraded JDBC driver, because I'm using Java 1.4
    So, now I have this kind of error:
    at oracle.jdbc.driver.OracleConnection.physicalConnectionWithin(OracleConnection.java:5174)
         at oracle.sql.CLOB.createTemporary(CLOB.java:1009)
         at oracle.sql.CLOB.createTemporary(CLOB.java:956)
         at my.pack.db.impl.ImportDatabaseDAO_JDBC.execute(ImportDatabaseDAO_JDBC.java:68)
    It fails when I'm creating temporaryClob:
    clob = oracle.sql.CLOB.createTemporary(c, true, 1);
    The problem occurs, because my connection driver is:
    com.evermind.sql.OrclCMTConnection and it can't be converted into oracle.jdbc.driver.OracleConnection.
    It is datasource config:
    <data-source location="jdbc/oooDS"
         class="com.evermind.sql.DriverManagerDataSource"
         password="iate"
         xa-location="jdbc/xa/oooXADS"
         connection-driver="oracle.jdbc.driver.OracleDriver"
         username="ooo"
         url="jdbc:oracle:thin:@192.168.45.14:1526:ooo"
         inactivity-timeout="30"
         name="oooDS"
         ejb-location="jdbc/oooDS"
         pooled-location="jdbc/oooPoolDS"
         min-connections="3"
         max-connections="200"/>
    Could you advise, how can I convert my Connection class?

  • I am getting an error [Microsoft][ODBC Driver Manager] invalid argument val

    My code is :
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Hashtable.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet
         Connection con;
         PreparedStatement ps;
         HttpSession session;
    public void init(ServletConfig sc) throws ServletException
    try
         super.init(sc);
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         }catch(ClassNotFoundException e)
    {System.out.println("SQLException"+e.getMessage());}
    try
         con=DriverManager.getConnection("jdbc:odbc:aaa","scott","tiger");
    }catch(SQLException e)
         System.out.println("SQLException caught" +e.getMessage());
    public void service(HttpServletRequest req, HttpServletResponse res)
         res.setContentType("text/html");
         try
         String ulogin=req.getParameter("login").trim();
         String upass=req.getParameter("pass").trim();
         ps=con.prepareStatement("select pass from Userdetails where login='"+ulogin+"'");
         session=req.getSession(true);
         session.putValue("n1",ulogin);
         ps.setString(1,upass);
         ResultSet rs=ps.executeQuery();
         if(rs.next())
              if(upass.equals(rs.getString(1)))
              res.sendRedirect("http://localhost:8080/Welcome.html");
              session.putValue("login",ulogin);
              else
              PrintWriter pw=res.getWriter();
              pw.println("Sorry your password is incorrect,Reenter your password
    <html><center>");
              pw.println(" <form input type=password name=pass>");
              pw.println("<input type=hidden name=login value="+ulogin+">");
              pw.println("<input type=submit value=submit>");
              pw.println("</form></center></html>");
         else
         System.out.println("your are not a registered user,please register");
         res.sendRedirect("http://localhost:8080/Register.html");
         rs.close();
         catch(Exception e)
              System.out.println(e);
    When i compile, it is well but when i run through displaying my html and passing the data to test,then i am getting an error [Microsoft][ODBC Driver Manager]invalid argument value,
    I was set all my DSN correctly,the same pieve of code worked in another program but now i am getting an error.can any one clear this.
    Thanks in advance

    You have created a PreparedStatement with zero parameters in this statement:
    ps=con.prepareStatement("select pass from Userdetails where login='"+ulogin+"'");so "ps.setString(1, ulogin)" fails because there is no place to put parameter 1. Try this instead:
    ps=con.prepareStatement("select pass from Userdetails where login=?");and your program will work better. Better still, create the PreparedStatement in your init() method, there's no reason for creating it more than once.

  • Airport extreme: Invalid Argument errors over satellite connection

    Question 1: Have you observed problems with Apple equipment getting high error rates over high latency connections such as satellite connections?
    Question 2: Do you know of any reason why Apple equipment is more likely to exhibit this behaviour?
    We have a shack in the country that has a 10Mb/sec satellite internet service.  The satellite in question is the Australian NBN service which I believe uses an Optus satellite.
    We get frustratingly large numbers of errors from Safari: "Safari can't open the page <insert random url here> The operation could not be completed. Invalid argument."
    The message in the browser is always the same.  It can take half-a-dozen retries to get a page to display.  On average, aroiund 30% of connection attempts yield this error.  It seems to be load dependent, and at the moment it is happening less often - maybe one in 10 requests are failing.  It is currently 2 Jan, around midday and most Australians near the coast will be at the beach, and those inland have 50 degree temperatures predicted so they will be wallowing in the mud-hole that was once the dam, so I expect the satellite load is rather low.
    My ISP says they have around a dozen customers reporting this problem and they all use Apple gear.
    Observations:
    I was able to open a VPN connection to one of my customers (after several attempts) and the VPN connection worked flawlessly for the duration of hte session which was several hours.  Meanwhile, the mrs was cussin' away about invalid argument errors.
    Once a page starts loading, it generally finishes.  This seems to be independent of the level of complexity.  So once a page gets going, it keeps going.  Selecting a link from it, however, will likely result in another error.
    Pings are returning in around 1 second.
    Transfer rate is good - close to the promised 10Mbit/sec.  Response time, of course, is aweful compared to a wired or 3G connection.  However it is acceptable provided a response is actually received.
    Gear is: A couple of netgear routers in point to point mode bridging to the Airport Extreme in the house which is the main router.  There are a couple of Airport expresses about the place doing other stuff.  Terminal equipment includes iPads x 2, macBooks x 2, iPhones x 2.  Everything gets a master reset periodically when the power goes off,  and the problem persists.  All devices experience the problem.
    Thank you for your help

    jone1101 wrote:
    I have had my airport extreme for over a year and comcast even longer than that. For some reason my airport now says it has a invalid ip address. I plugged my modem directly into my imac and the internet connection is fine. I have power cycled everything multiple times with the same result. I even reset my airport extreme and created a new network. Nothing is working please help!
    Does your cable modem have any sort of battery backup that would prevent it from resetting fully during a power cycle?

  • Invalid arguments error while executing oracle procedure

    Dear all,
    we have a table hr_emp with fields ecode, ename, edoj.
    the following procedure we created to return the table data to our .net app.
    CREATE OR REPLACE
    PACKAGE pname AS
    TYPE T_hr_cursor IS REF CURSOR;
    PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor);
    END HRPACK;
    create or replace PACKAGE BODY pname AS
         PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor)
         IS
         BEGIN
         OPEN P_hrlist FOR
              SELECT *
                   FROM Hr_Emp WHERE edoj>='01-jan-2009';
         END get_hr_list;
    END;
    these code edited in a single file [both package and package body] and created successfully.
    but, while executing, by typing execute get_hr_list, ORA-00304 error, invalid arguments, is coming. How to resolve this, please help.
    also, in sql developer 1.5.3, when we create this, another error is ciming like 'source doesnot have a runnable target'.
    Where is the issue? please help

    Yes, its great dear...
    sqlplus>
    declare
    hr_cursor hrmain.t_hr_cursor;
    begin
    pname.get_hr_list(hr_cursor);
    end;
    Its worked as i got 'pl/sql procedure successfully executed'.
    Also, then how i can call this get_hr_list procedure from .net? im using c# and i want to get the result of hr_emp to c#. how i can call the same from c#? any help please

  • Disk Utility create image error - "Invalid Argument"  - on USB drive.

    I wanted to use a USB 2.0 drive that I share with a Windows machine to backup my son's iBook. I divided the drive into two partitions and formatted the iBook backup partition as FAT32. I attempted to create a read-only disk image on the USB drive in order to backup the iBook, but it does not complete successfully - it terminates with an "Invalid Argument" error. I also tried creating a read/write disk image and that terminates with an error "File or Folder not found." Anyone have any tips or clues as to what may be the problem?
    iBook   Mac OS X (10.4.3)  

    I figured out my problem to some extent. I was not creating an empty image, but was trying to create a disk image without selecting a folder. Once I selected create an empty image from the File menu I did not get the error and was able to create an empty image on the USB drive.

Maybe you are looking for

  • How do I remove a credit card from my itunes account?

    How do I remove a credit card from my itunes account? I called and got an e-mail with instructions but it did not help me at all.

  • HP officejet 6500 E709n driver runtime error

    I am trying to download the driver for the following printer from your site on Windows 7 (64-bit): HP Officejet Full Feature Software and Driver 2010-08-26 , Version14.0.0, 332.49M. The file name is: OJ6500vE709_Basic_14.exe However, once the downloa

  • Internet works on pc but not on mac

    Hey everyone,, my internet that always bene working fine with my PC does not work so well with my powerbook, many pages that is working 100% correctly on my PC can not be seen in Safari. I would like to point out that internet does work on my mac but

  • Load balancing on 2 pair outdoor AP1300 and 1 switch C3560 each end

    Hi, i will configure four AP1300 and two C3560G with load balancing can you help me. this my design: 1. (AP1300#1 on switch A) <-----trunk via AP1300------> (AP1300#2 on switch B) 2. (AP1300#3 on switch A) <-----trunk via AP1300------> (AP1300#4 on s

  • IO delay causes buffered streams to hang

    I'm writing an application that uses the network and in order to test under slow conditions I created custom input/output streams that just puts in a delay in the basic read() and write(int b) methods before calling the method for the stream passed i