[solved]tail -l invalid option. Audio on thinkpad x120e

so I am trying to get audio to work. I looked at the wiki for it: https://wiki.archlinux.org/index.php/IBM_ThinkPad_X120e
this is what it says:
$ tail -1 /etc/modprobe.d/modprobe.conf
options snd-hda-intel index=1
error:
[hei@myhost ~]$ tail -1 /etc/modprobe.d/modprobe.conf options snd-hda-intel index=1
tail: option used in invalid context -- 1
I have pulseaudio and alsa installed.  I checked the man of tail and l is not an option.Not sure what to do here.
edit: if this option is -1 then  i still get an error.
hei@myhost ~]$ tail -1 /etc/modprobe.d/modprobe.conf options snd-hda-intel index=1
tail: option used in invalid context -- 1
Last edited by cirnOS (2011-08-26 21:26:05)

anonymous_user wrote:Type just "tail -1 /etc/modprobe.d/modprobe.conf". Do not add anything else.
I figured that. Here is the input:
[hei@myhost ~]$ tail -1 /etc/modprobe.d/modprobe.conf
snd-hda-intel index=1
this is what i see in alsamixer ( with the exception of the hdn-intel card):
[hei@myhost ~]$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf0244000 irq 45
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xf0240000 irq 16
29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
ThinkPad Console Audio Control at EC reg 0x30, fw unknown
I can't choose the intel option for sound. If it does help I do have pulseaudio installed so im not sure if that is conflicting. With the speakertest -c 2 I can hear my speakers output the static like noise...
edit: I just removed pulse audio. My issue now is not being able to select the default intel audio card so I can hear audio.
[hei@thegate ~]$ mpd
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
alsa: Error opening default ALSA device: No such file or directory
output: Attempting to detect a oss audio device
oss: Error opening OSS device "/dev/dsp": No such file or directory
oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Attempting to detect a pulse audio device
Assertion 'm' failed at pulse/thread-mainloop.c:172, function pa_threaded_mainloop_lock(). Aborting.
Aborted
Last edited by cirnOS (2011-08-24 03:25:59)

Similar Messages

  • Can't install AUR packages(makepkg: invalid option '--asroot')[SOLVED]

    I've been unable to install any AUR packages with either packer or yaourt since a couple days ago possibly after a system update.
    For example if I try to install kodi-standalone-service:
    sudo packer -S kodi-standalone-service
    (Type - y, n, n)
    makepkg: invalid option '--asroot'
    The build failed.
    This happens to all packages I tried including ones that I installed  before with the same command. I installed yaourt after I started to get this error but fails just like packer. I tried running as root or normal user with same results.
    In case it matters, these are the steps I used to install packer.
    I am at a loss as to why it suddenly stopped working, any ideas?
    Last edited by dominicm (2015-01-04 01:41:15)

    slithery wrote:
    dominicm wrote:
    slithery wrote:
    The --asroot option has been removed from makepkg, which you would know if you searched the forum before posting...
    https://bbs.archlinux.org/viewtopic.php?id=191635
    I googled the error with no relevant results, then I searched the forum to make sure it wasn't solved with no relevant results returned for the search term "makepkg: invalid option '--asroot')". It's ironic that you accused me of not searching when you haven't bothered to search the error message yourself. If you had you would know the search does not return useful results until this post.
    Sorry, I only searched for --asroot which brought up several relevant threads.
    No big deal, but in general you shouldn't post things like "search the forum" as it's rarely helpful, and when it is the thread should probably be closed it those cases anyways...

  • GGS ERROR 101 Invalid Option for MAP

    Hi,
    When i start a replicat process for online synchronisation it abends with the following error
    GGS ERROR 101 Oracle GoldenGate Delivery for Oracle, EMP_REP.prm: Invalid option for MAP: <TARGET TABLE NAME>.
    I am trying to synchronize two tables(with same structure) of same database(Oracle) but different schemas.
    Some one please solve this for me.
    Thanks,
    Kamal
    Edited by: Kamal Dheeraj on 03-Jun-2010 01:03

    Hi,
    Solved the problem.
    The error was due to a space missing between the comma (,) and TARGET (keyword) in the Replicat params file.
    eg: my params line was MAP sourcetable,TARGET targettable;
    instead of MAP sourcetable, TARGET targettable;
    Hence the error
    Thanks,
    Kamal

  • While creating Table it shows error as 'missing or invalid option

    I had log on to ap/ap@vis in sqlplus and try to create table but showing error.....here below is the table
    Create table Purchase_Order
    (Item varchar2(10),
    Item_Desc varchar2(100),
    Item_Cost Number(7),
    Item_Qty Number(7),
    Item_Date Date,
    Need_by_date date,
    Last_updated_date date,
    last_updated_by number(10),
    creation_date date,
    created_by number(10),
    Attributed_category varchar2(100),
    attribute1 varchar2(100),
    attribute2 varchar2(100),
    attribute3 varchar2(100),
    attribute4 varchar2(100),
    attribute5 varchar2(100),
    attribute6 varchar2(100));
    But it showing error as ORA-00922:missing or invalid option

    It works for me
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Create table Purchase_Order
      2  (Item varchar2(10),
      3  Item_Desc varchar2(100),
      4  Item_Cost Number(7),
      5  Item_Qty Number(7),
      6  Item_Date Date,
      7  Need_by_date date,
      8  Last_updated_date date,
      9  last_updated_by number(10),
    10  creation_date date,
    11  created_by number(10),
    12  Attributed_category varchar2(100),
    13  attribute1 varchar2(100),
    14  attribute2 varchar2(100),
    15  attribute3 varchar2(100),
    16  attribute4 varchar2(100),
    17  attribute5 varchar2(100),
    18  attribute6 varchar2(100));
    Table created.
    SQL>

  • ORA - 00922 Missing or Invalid option error while creating table

    I am tryin to create a table with the following syntax
    1 CREATE TABLE TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5* @storage_parms_table_cmn
    6 /
    @storage_parms_table_cmn
    ERROR at line 5:
    ORA-00922: missing or invalid option
    Here, storage_parms_table_cmn.sql reads like this
    tablespace DBK_CMN_DATA
    Can anyone please guide me how to overcome this error.

    What is your Oracle Version?
    i can do it exactly what you did without error
    sql> CREATE TABLE vd.TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5 @test1.sql
    6 /
    Table created.
    Cheers
    http://fiedizheng.blogspot.com/

  • Failed to create DNS with ODBC Datadirect Driver - error missing or invalid option

    Dear All,
    I tried to post a first time and get my post thrown away. So please just tell me if that's not the place to post such questions. I tried this forum because I didn't find any revelant information yet on internet.
    I installed Informatica and Oracle 11g, tried to create my DSN with the Driver DataDirect Oracle Wire Protocol. I keep bumping into the message " [Informatica][ODBC Oracle wire protocol driver][Oracle] ora-00922: missing or invalid option".
    Can you please help to understand where the error comes from?
    Here are my current status :
    * My table in the Oracle database is created with every field followed by NOT NULL option, the table is successfully created.
    * The connection to the Oracle database using Oracle TNSNames Connection server name and TNSNames files seem to work, I tried to connect with another driver Oracle in OraDB 11g_home1. This one succeeds.
    * Listener.ora:
    # listener.ora Network Configuration File: C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\ql186003\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ql186003\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\ql186003
    * Running lsnrctl STATUS:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                22-FEB-2014 21:43:22
    Uptime                    0 days 1 hr. 8 min. 33 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\ql186003\diag\tnslsnr\WBEQL186003-Q4G\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TESTDBXDB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "TEST_DB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "orcl.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thank you very much for any guidance.
    Qiong

    Hi,
    Try this :
    While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
    CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
    /

  • IFS Install (Config) Fails with "ORA-00922: missing or invalid option"

    Greetings:
    Thanks for your help in advance...
    Towards the end of IFS installation, I get the following error in my
    IfsConfigOut.log file (This happens towards the end of the installation). I
    am Installing IFS on Oracle 9i (9.0.1.1 version) instance on Win 2K (P-III,
    800Mhz, 512Mb) . After this installation error, all the 9iFS directories
    and nodes are detected under OEM but when I start the domain I get no
    response for the same.
    ConfigOut File pasted below
    CONFIGURATION: SCHEMA CREATION TYPE
    Configuring Oracle Internet File System 9.0.1.1.0 configuration started on:
    Mon May 20 09:45:28 GMT+05:30 2002
    saving user configuration settings to file:
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    saving:
    E:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties\IfsDefault.proper
    ties
    Old schema name in IfsDefault.properties file = ifssys
    New schema name pointing to now = IFSSYS
    Create Schema = true
    Upgrading Schema = false
    Pointing to same schema as the old entry in IfsDefault.properties file =
    true
    Checking DC entries
    RUN DC = true
    Adding section for DC as there does not exist a section already
    Checking Node entries
    RUN NODE = true
    Adding Node section = Node
    saving: E:\oracle\ora90\9ifs\settings\Node.def
    saving: E:\oracle\ora90\9ifs\settings\HttpNode.def
    saving: E:\oracle\ora90\9ifs\settings\DomainController.def
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    creating database user (schema): IFSSYS
    java.sql.SQLException: ORA-00922: missing or invalid option
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java,
    Compiled Code)
         at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    , Compiled Code)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java,
    Compiled Code)
         at oracle.ifs.utils.sql.SQLCommands.createUser(SQLCommands.java:352)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.createIfsSchema(Ifs
    Configuration.java:546)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:476)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    recording that configuration failed
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    iFS configuration failed; the following error occurred:
    oracle.ifs.utils.action.ActionFailedException: java.sql.SQLException:
    ORA-00922: missing or invalid option
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:526)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    configuration failed on Mon May 20 09:45:35 GMT+05:30 2002

    Problem is Fixed !!!
    We were having this problem because IFS installation was not recognising a separate tablespace which we created for IFS, so we started using default USERS tablespace after which the installation was successful.
    Thanks.

  • ORA-00922: missing or invalid option

    I am using oracle 10g datbase.
    and trying to create a list of tables of 300 tables - a sampel is given below
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    when I executed this in sql window i get the error:
    ORA-00922: missing or invalid option
    when I run it from command prompt ,
    i get error like
    SP2-0734: unknown command beginning "USING INDE..." - rest of line ignored.
    SP2-0734: unknown command beginning "STORAGE(IN..." - rest of line ignored.
    SP2-0734: unknown command beginning "PCTINCREAS..." - rest of line ignored.
    SP2-0734: unknown command beginning "TABLESPACE..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    and it doesn't create the table. CAn someone let em know how I to create log of errors on execution so taht the session can be resumed and also
    help me in finding the error in this.
    Cheers
    Edited by: user1000979 on 02-Sep-2009 06:50

    Hi!
    there is just missing a sql terminator between the statements ...
    it is not a internal sql language ...
    i have no problems when execute it in sql*plus.
    tested with oracle 8i and XE
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    /Regards

  • ORA-00922: missing or invalid option in create seq, trigger

    Hi All,
    I am trying to create a table, sequence, and trigger with the following SQL and am getting the error:
    ORA-00922: missing or invalid option
    CREATE TABLE "DATA_INVENTORY"
    (     "ID" INTEGER NOT NULL ENABLE,
         "COE_CONTRACT_NUM" VARCHAR2(30),
         "PROJ_AREA" VARCHAR2(30),
         "STATE" VARCHAR2(30),
         "DATA_DATE" VARCHAR2(30) NOT NULL ENABLE,
         "NUM_OF_MEDIA" NUMBER,
         "DATA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "MEDIA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "EXTERNAL_DRIVE_DESCR" VARCHAR2(200),
         "ROOM_NUM" VARCHAR2(10)NOT NULL ENABLE,
         "DRAWER_NUM" VARCHAR2(30),
         "PROJ_CODE" VARCHAR2(30),
         "COMPANY" VARCHAR2(30),
         "DESCRIPTION" VARCHAR2(200),
         "NOTES" VARCHAR2(500),
         "INDEX" VARCHAR2(30),
         "INDEX_LINK" VARCHAR2(75),
         "DATA_LINK" VARCHAR2(75),
         "METADATA" VARCHAR2(75),
         "METADATA_LINK" VARCHAR2(75),
         "DISTRIBUTE" VARCHAR2(30)NOT NULL ENABLE,
         "CORPORATE" VARCHAR2(1)NOT NULL ENABLE,
         CONSTRAINT "DATA_INVENTORY_PK" PRIMARY KEY ("ID") ENABLE,
         CONSTRAINT "DATA_INVENTORY_UK1" UNIQUE ("COE_CONTRACT_NUM", "PROJ_AREA") ENABLE
    CREATE SEQUENCE "DATA_INVENTORY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 324 CACHE 20 NOORDER NOCYCLE
    CREATE OR REPLACE TRIGGER "BI_DATA_INVENTORY"
    before insert on "DATA_INVENTORY"
    for each row
    begin
    select "DATA_INVENTORY_SEQ".nextval into :NEW.ID from dual;
    end;
    ALTER TRIGGER "BI_DATA_INVENTORY" ENABLE
    Does anyone see anything wrong with this?
    The create table part is alright but when I add the create sequence etc it causes the error
    Thanks,
    Kirk

    Hello Kirk,
    Your code work likes a charm. Check your privileges for creating sequences and triggers.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Cannot open registry key and /usr/bin/lib: invalid option --N patch 7237313

    Hi,
    I am trying to install autoconfig TXK patch 7237313 for cloning an EBS 12 on windows server 2003.
    When I run adpatch it returns 2 errors:
    *1 -*
    setEnvAdrelink: Error: Cannot open registry key:
    SOFTWARE\ORACLE
    *2 -*
    Relinking module 'CONCSUB.exe' in product fnd ...
    gnumake -f E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk E:/o
    racle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe
    Starting link of fnd executable 'CONCSUB.exe' on Fri Feb 5 09:25:07 SAST 2010
    /usr/bin/lib: invalid option -- N
    Try `/usr/bin/lib --help' for more information.
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:2901: warning:
    overriding commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/
    CMDCART.dll'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:752: warning: i
    gnoring old commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin
    /CMDCART.dll'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:2948: warning:
    overriding commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/
    FNDRTR45.exe'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:1333: warning:
    ignoring old commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bi
    n/FNDRTR45.exe'
    link.exe -MAP:E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.map -NODEF
    AULTLIB -NOLOGO -SUBSYSTEM:CONSOLE -ENTRY:mainCRTStartup -OUT:E:/oracle/PROD/app
    s/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe E:/oracle/PROD/apps/apps_st/appl/fnd/1
    2.0.0/lib/fdpocr.obj \
    E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/lib/FNDCORE.lib E:/oracle/PR
    OD/apps/tech_st/10.1.2/precomp/lib/msvc/orasql10.lib E:/oracle/PROD/apps/tech_st
    /10.1.2/precomp/lib/msvc/orasqx10.lib E:/oracle/PROD/apps/tech_st/10.1.2/RDBMS/l
    ib/oraclient10.lib E:/oracle/PROD/apps/tech_st/10.1.2/RDBMS/lib/oracommon10.lib
    E:/oracle/PROD/apps/tech_st/10.1.2/NETWORK/lib/oranro10.lib E:/oracle/PROD/apps/
    tech_st/10.1.2/NETWORK/lib/oran10.lib E:/oracle/PROD/apps/tech_st/10.1.2/NETWORK
    /lib/oranl10.lib E:/oracle/PROD/apps/tech_st/10.1.2/lib/oranls10.lib E:/oracle/P
    ROD/apps/tech_st/10.1.2/lib/oracore10.lib /LIB/MSVCRT.LIB /LIB/OLDNAMES.LIB /P
    latformSDK/LIB/KERNEL32.LIB /PlatformSDK/LIB/USER32.LIB /PlatformSDK/LIB/ADVAPI3
    2.LIB /PlatformSDK/LIB/WINSPOOL.LIB /PlatformSDK/LIB/COMDLG32.LIB /PlatformSDK/L
    IB/GDI32.LIB /PlatformSDK/LIB/VERSION.LIB
    link: invalid option -- M
    Try `link --help' for more information.
    gnumake: *** [E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe] Error
    1
    Done with link of fnd executable 'CONCSUB.exe' on Fri Feb 5 09:25:08 SAST 2010
    Relink of module "CONCSUB.exe" failed.
    See error messages above (also recorded in log file) for possible
    reasons for the failure. Also, please check that the Unix userid
    running adrelink has read, write, and execute permissions
    on the directory E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin,
    and that there is sufficient space remaining on the disk partition
    containing your Oracle Applications installation.
    egrep version is 2.5.1 and gnumake is 3.80.
    please help,
    regards,
    Hassane Cabir

    Hi,
    Are the application services down?
    setEnvAdrelink: Error: Cannot open registry key:
    SOFTWARE\ORACLEyes, the services are down, using adstpall.cmd and Maintenance mode enabled using adadmin.
    Get the version 3.80-1 of the make file -- See (Note: 414992.1 - Using Cygwin to Maintain Oracle E-Business Suite Release 12 on Windows).The make is already 3.80-1.
    regards,
    Hassane Cabir

  • ORA-02248: invalid option for ALTER SESSION when logging in from client

    Hi,
    I am a junior dba and I was hoping if someone could help me out with a problem I am having. I recently installed on oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix box but I am getting the below error when trying to connect from the client.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I've done some digging around on this and I think it might be something to do with the NLS_LANG setting maybe. I'm not sure though and to be honest I'm a bit lost on this.
    Any help would be greatly appreciated. Cheers.
    Rgs,
    Rob

    Please see below
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • Invalid option for MAP: MAP.

    Hi ,
    My replication file is running fine with below contents
    MAP PROD.f0911, TARGET PROD.f0911, &
    REPERROR (21000, EXCEPTION), &
    SQLEXEC (ID lookup, ON UPDATE, &
    QUERY "select count(*) conflict from PROD.f0911 where ID_NO = :p1 and &
    UPDT_DT > :p2", &
    PARAMS ( p1 = ID_NO, p2 = UPDT_DT ), BEFOREFILTER, ERROR REPORT, &
    TRACE ALL),&
    FILTER (lookup.conflict = 0, ON UPDATE, RAISEERROR 21000);
    MAP PROD.f0911, TARGET PROD.f0911_EI, EXCEPTIONSONLY, &
    INSERTALLRECORDS, &
    COLMAP (USEDEFAULTS ,
    dberr = @GETENV ("lasterr", "dberrnum");
    REPERROR (-1403, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911_EI,
    EXCEPTIONSONLY,
    INSERTALLRECORDS,
    COLMAP (USEDEFAULTS,
    dberr = @GETENV ("lasterr", "dberrnum");
    But when I am adding
    MACRO #exception_handler
    BEGIN
    ,TARGET PROD.f0911
    ,UPDATEINSERTS
    ,EXCEPTIONSONLY
    END;
    REPERROR (-1, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911;
    MAP PROD.f0911 #exception_handler()
    It is throwing error ---- ERROR OGG-00212 Invalid option for MAP: MAP.
    Can somebody please help how can I proceed with all the conditions.
    Thanks

    As per our requirement if there is "0001 -unique constraint violated" error while replication the insert record should be update in target table .So I have used
    UPDATEINSERT statement iin macro and it goes to the same main table but for others it has mapped to EXCEPTION table prodf0911_EI , so the record will go to exception table .But we need the record should go to main table and insert record should update in target table only in case of 0001 - unique key constraint violated error.

  • Error ORA-02248 invalid option for ALTER SESSION

    Hi All,
    I'm using windows vista.I have installed oracle database 11g.Now, SQL Developer is working fine in this.I gave the sid as orcl and gave my username and password in sqldeveloper and it works.
    But the host string is not working in forms and sql plus.How do i know which host string i should give??I came to know that the tnsnames.ora which is present in the oracle home directory should be copied to forms directory also.I did that too but still forms,reprorts and sql plus are not working.I get two errors namely ORA-02248 invalid option for ALTER SESSION and TNS could not resolve service name .Pls suggest how to proceed.Thanks in advance....
    Regards,
    Gowtham

    Unfortunately you forgot to mention forms/reports version. Currently only one Developer Suite version is certified on Vista running 11g,don't ignore software/hardware requirements.
    It's 10.1.2.0.2 and that package requires additionally patch 6153263.
    Werner

  • Global Address Transform: Invalid Option Name

    Hi,
    Does anyone know how to resolve this error?
    "Transform <Canada_AddressCleanse>: Global Adress Transform: Invalid Option Name: The option name "DISABLE_CERTIFICATION" is invalid. 
    Tranform Canada_AddressCleanse: DLL <libgactransformu.so> runtime function <PerThreadInit> failed with error <4>"
    We have installed DS 3.1 on HP-UX and can't use the GAC at all.
    TIA.
    Lynne

    Can you try this
    1. Within the designer, in the local object library - click on the transforms tab
    2. Expand Data Quality / Global_Address_Cleanse
    3. Double click on the Global address cleanse Transform configuration that you are using within your dataflow .
    Let me know if you are seeing any error when you open the configuration. I want to make sure that  Transform configuration ATL is not corrupted.
    Edited by: Venkat Madireddi on Aug 18, 2009 8:56 PM

  • SP2-0306:Invalid option.Usage:CONN[ECT][logon][AS{SYSDBA|SYSOPER}]where log

    Hi
    Anyone can help me with the following error we are getting
    SP2-0306:Invalid option.Usage:CONN[ECT][logon][AS{SYSDBA|SYSOPER}]where<logon>::=<username>[<password>][@<connect_identifier>]|/
    We just upgrated to R12 and the shell script that we run is returning the above error message.
    Below is the script
    # Determine employee ID of send-to
    echo "Determine employee ID of send-to"
    if [ $8 ]
    then
    EID=`echo "${CONNECT} \n
    set heading off \n
    set feedback off \n
    select employee_id from FND_USER where upper(user_name) = '${USRNAME}';" |
    ${ORACLE_HOME}/bin/sqlplus -s`
    echo "CONNECT values " ${CONNECT}
    echo "Connected to DB " $EID
    echo "employee fax "
    # employee fax
    EFAX=${11}`echo "${CONNECT} \n
    set heading off \n
    set feedback off \n
    select fax_number from POS_PO_EMPLOYEE_DETAILS_V where employee_id=${EID};" |
    ${ORACLE_HOME}/bin/sqlplus -s |
    sed s/-//g`%[email protected]
    echo "Employee Fax "$EFAX
    EFAX2=`echo $EFAX|sed s/' '/'%91'/`
    EFAX=$EFAX2
    # employee email
    EEMAIL=`echo "${CONNECT} \n
    set heading off \n
    set feedback off \n
    select email_address from HR_EMPLOYEES_ALL_V where employee_id=${EID};" |
    ${ORACLE_HOME}/bin/sqlplus -s`
    EEMAIL2=`echo $EEMAIL|sed s/' '//g`
    EEMAIL=$EEMAIL2
    echo "Employee Email "$EEMAIL
    fi
    thank you

    I ended up rewriting the shell script and it works fine now
    if [ $8 ]
    then
    EID=`${ORACLE_HOME}/bin/sqlplus -s ${CONNECT} <<EOF
    set heading off;
    set feedback off;
    select employee_id from FND_USER where upper(user_name) = '${USRNAME}';
    exit;
    EOF`
    echo "Connected to DB " $EID
    echo "employee fax "
    # employee fax
    EFAX=${11}`${ORACLE_HOME}/bin/sqlplus -s ${CONNECT} <<EOF
    set heading off;
    set feedback off;
    select replace(fax_number,'-') from POS_PO_EMPLOYEE_DETAILS_V where employee_id=${EID};
    exit;
    EOF`%[email protected]
    echo "Employee Fax "$EFAX
    EFAX2=`echo $EFAX|sed s/' '/'%91'/`
    EFAX=$EFAX2
    # employee email
    EEMAIL=`${ORACLE_HOME}/bin/sqlplus -s ${CONNECT} <<EOF
    set heading off;
    set feedback off;
    select email_address from HR_EMPLOYEES_ALL_V where employee_id=${EID};
    exit;
    EOF`
    EEMAIL2=`echo $EEMAIL|sed s/' '//g`
    EEMAIL=$EEMAIL2
    echo "Employee Email "$EEMAIL
    fi
    thank you for your help!
    Edited by: user618218 on May 20, 2013 2:39 PM

Maybe you are looking for

  • The new USB cable chargers

    I have over 5 USB cable chargers from apple products that I have brought this year. All the USB cables have started to fray at both ends and all are Not working and they look old like I have had them for years. I am using a USB cable that I have had

  • Home screen icons darkening

    Has anyone seen there home screen icons darkening slightly? As if they were being pushed? Sometimes my calendar and phone icons do it.

  • Moved by Moderator - insufficient information.

    i have unlimited skype for $6.99 per month paid for on my credit card

  • Reading large number of similiar parameters problem

    I have a servlet that is being sent a number of parameters that are called q1,q2,q3 etc. When activated the number of parameters sent could be "q1" on its own or "q1,q2,q3" all the way upto "q20". Is there a way of making the servlet read in only the

  • Howto create/change DB jobs when SQLSrv resides on different hardware

    Hi to all you SQLServer geeks I need to know whether I have to implement a SAP gateway instance on a remote DB/DSQLServer host running the db for a distributed SAP system in order to create/change the DBA jobs within transaction DBACOCKPIT. Or...is t