Simplest import-excel example fails  - beginner question

Help! I can't get import-excel to behave reliably even in the simplest case:
1 New table with the default one column
2 Add data to one row "hello"
3 Export to excel
4 New table with the default one column
5 Import from excel
6 Error message:
--IMPORT into table TABLE2 complete
--Inserted 2rows.
--Failed to insert 0rows.
I don't know if this detail helps:
Step 2's message was:
--INSERT INTO "TABLE1" (COLUMN1) VALUES ('hello')
--Commit Successful
Step 3's resulting excel file looks OK, though it has a null column to the right (as revealed by excel's control-end key). Nevertheless, deleting that null column didn't change the outcome.
Step 5's DML says:
--insert into TABLE2 (COLUMN1) VALUES(' ');
--insert into TABLE2 (COLUMN1) VALUES(' ');                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Oops, I forgot to mention these details:
--Oracle9i Enterprise Edition Release 9.2.0.8.0
--OracleBI Discoverer Version 10.1.2.2
--SQL Developer 1.1.2.25
--Excel 2003                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Nsf database imported in Excel but failed in PowerPivot

    I have Excel 2010 and PowerPivot 2010 version 32 bit and I would like to import into PowerPivot a nsf database. I did the following steps:
    1.created the datasourse with Lotus Notes via ODBC 32 bit
    2.created with Excel a new connection via connection > add > new source > Other Advanced > use data source name (reference to the datasource created at step1) + user name and password
    (the datasourse is on domino server). I tested the connection and it was successful.
    3.opened the connection in Excel, I was prompted for the password and entered again and the database was imported very well
    4.in PowerPivot window Design > Existing Connection. In the displayed list of connections, I selected the connection created at step 2. I tested the connection and it was again successful. But
    at the final step I have got the error “No tables were found in the data source. Check the connection information and login credentials”. I was not prompted for any password.
    The connection string is displayed below (it is the same string that worked in Excel but failed in PowerPivot):
    Provider=MSDASQL.1;Persist Security Info=True;User ID=UserID;Data Source=TEST1;Extended Properties="DSN=TEST1;UID=UserID; Database=act_ch4\AHinvoices.nsf;Server=domino/name;UserName=;EncryptPWD=;MaxSubquery=20;MaxStmtLen=4096;MaxRels=20;MaxVarcharLen=254;KeepTempIdx=1;MaxLongVarcharLen=5
    12;ShowImplicitFlds=0;MapSpecialChars=1;ThreadTimeout=60;Pwd=**********";Initial Catalog=(Default);Password=**********
    Do you have any idea what did I do wrong and what can be done to be able to import the database in PowerPivot too?
    Thanks a lot,
    Florian

    Florian, is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • EData - Import Excel

    I am trying to run an import from an Excel sheet and am getting the following error messages:
    [Selection]
    XLFILE=\HO\FINANCE\DataManager\DataFiles
    SAPSAMPLE.xls
    SHEET=SAPSAMPLE
    COLUMNS=Account,CostCentre,Time,Product,Project,LoB,Version,Chanel,Entity,Measure
    TRANSFORMATION=\HO\FINANCE\DataManager\TransformationFiles
    T_FR01.xls
    CLEARDATA= No
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Package Error Events:
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450996
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073594105
    Source = ExcelToText
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073450996
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
    Package Error Events:
    ErrorCode = -1073594105
    Source = ExcelToText
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
    Does anyone have any ideas ?
    Thanks
    Si

    Joost is right, the original Metadata issue you were having with the Example Import Excel package is due to a mapping error within the package.  The package is built assuming the following columns (ie: Dimensions and Column names) for the input spreadsheet:
    Category
    Time
    Datasrc
    Intco
    Account
    Entity
    Rptcurrency
    Amount
    It also has a flat file with the same fields that it maps the excel columns to then just does a standard flat file import. 
    If your input excel spreadsheet has different columns names (Cat instead of Category) or different columns (missing or additional dimensions), then the internal mappings will be wrong.  And all the package needs you to do is to give it the new mappings.
    Open it in VisualStudio, go to the Excel file connection and connect it to a valid version of your input spreadsheet with the correct columns.  Next you'll have to add/delete/modify the columns for the TextFile connection to match.  After fixing the connection you'll have to open the EXCELTOTEXT data flow task, in there, double click on the ExcelFile task to force it to reconstruct the metadata for the new Excel file connection, correct any errors (ie: Remove fields that are not longer valid).  You need to do the same to the TextFile task and add the correct mappings between the Excel columns and the Text fields.
    Last, save it back to your webfolders either as the same package name or a new name, I'd suggest a new name in My Folders keeping the original Example in tack, and then go to BPC Organize Packages to add it in.
    I haven't actually done this to this specific package, but I've had issues with metadata changing in an external source being retrieved into custom packages I wrote.  So let me know if this worked.
    The other problem with the standard flat file import is curious to me, you see a package status of success but the detail shows a failed step.
    Sara

  • Import Excel file into SQL, using bulk copy - date issues

    Hello. I have a VB project where I need to import multiple excel files with lots of rows and columns into SQL 2012. Currently the import is set up, using OleDbConnection and insert commands and it takes up to 10 minutes to process all the spreadsheets.
    I'm trying to switch the code to use SQLBulkCopy, but experienced issues with dates columns. Some rows have Null dates and those are interpreted as strings and won't import into SQL tables. Is there a way to format the column prior to import programmatically?
    Any advice is appreciated.
    Note -
    If I add column mapping and exclude all dates columns - import works fine. All excel files have date fields, excel files are reports from other vendor and change on weekly bases, manual formatting of the excel files prior to import are out of the question...
    The code is just basic:
    Public Sub ImportFormExcelSample()
    Dim ExcelConnection As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyExcelSpreadsheet.xlsx;Extended Properties=""Excel 12.0 Xml;HDR=Yes""")
    ExcelConnection.Open()
    Dim expr As String = "SELECT * FROM [Sheet1$]"
    Dim objCmdSelect As OleDbCommand = New OleDbCommand(expr, ExcelConnection)
    Dim objDR As OleDbDataReader
    Dim SQLconn As New SqlConnection()
    Dim ConnString As String = "Data Source=MMSQL1;Initial Catalog=DbName; User Id=UserName; Password=password;"
    SQLconn.ConnectionString = ConnString
    SQLconn.Open()
    Using bulkCopy As SqlBulkCopy = New SqlBulkCopy(SQLconn)
    bulkCopy.DestinationTableName = "TableToWriteToInSQLSERVER"
    Try
    objDR = objCmdSelect.ExecuteReader
    bulkCopy.WriteToServer(objDR)
    objDR.Close()
    SQLconn.Close()
    Catch ex As Exception
    MsgBox(ex.ToString)
    End Try
    End Using
    End Sub
    The error I get is System.InvalidOperatiomException: The given value of type String from the data source cannot be converted to type date of the specified target column. System.FormatException: Failed to convert parameter value from String to a DateTime...
    Thank you!
    Alla Sanders

    Hi Alla,
    This issue might be caused because the field contains a NULL value, but the date/time columns in your table does not allow NULL values. Furthermore, please aslo take a look at "Data Type Issues" session in the article below:
    http://odetocode.com/blogs/scott/archive/2013/02/08/working-with-sqlbulkcopy.aspx
    Here is a similar thread about this topic for your reference, please see:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/2d99181c-fc2b-4caf-9530-3bd6ae1745f1/sqlbulkcopy-column-validation-not-working?forum=sqldataaccess
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Error while importing excel sheet in Import manager

    Hi Experts,
    Please find below error while importing Excels sheet as a source into import manger and advice.
    logon error: failed to open table Text Table for insertion
    Error: Query must have at least one destination filed in sap MDM Import manager
    Regards,
    MFH

    Hi,
    Its clear now.
    Merci
    MFH

  • How do I import Excel cell data in to an already built custom list.

    I have a custom list that we are using as an End Of Shift Report.
    I would like to expand the list to incorporate some of our process data. (We are a paper mill). We have a data historian, PI Process Book, that has an Excel add-in, that allows us to import the process data in to Excel.
    I am able to do the "import spreadsheet" function and get the data in to a new list. What I can't figure out is either how to import directly in to the custom list I have already created, or how to import from the new list to the custom list.
    I could use the "new list" as a container for several different process points if I could figure out how to load the process data in to the custom list.
    We are currently using WSS3, but are upgrading in either the 4th Q this year, or Q1 2014.
    Any other suggestions on how to display single point data (End of Shift Inventory calculations for example) in a custom sharepoint list are welcome.
    I want to take a tank level reading, which we monitor and multiply it by X gallons per foot, then load the total gallons in to the custom list

    1) Open WSS List, and Export it to Excel
    2) Open the Excel file you want to import
    3) Copy the cells in the source and paste them into the Excel file openned from the WSS List (only highlight one row to paste, it will fill down)
    4) You will see vaildation errors (yellow triangles), if there are any, correct them
    5) In the menubar go Data --> List --> Sync List
    6) You will see a blue status bar fill in the bottom left as data is copied up to the List   
    Or you can try the below tools
    > SharePoint Excel Import 2.5
    http://www.boostsolutions.com/sharepoint-excel-import.html
    > Import Excel data to SharePoint List.
    http://spreadsheet2splist.codeplex.com/
    Regards MuSa

  • Import Excel with mutiples sheets into Oracle

    Hi,
    I got a few questions here, I did some google-ing but I would like get clarifications:
    1. In order to make Excel "talks" to Oracle with External Table, do I need to convent the Excel file into .csv?
    2. Apparently my Excel has mutiple sheets (20+), do I need to save each sheet individually as 1 single .csv before they "talk"?
    (sounds like it...but I "hope" there is another way...-_-)
    3. I am using TOAD and the tool "Import Table Data" can read .xls and .xlsx directly, however I will have to do 20+ times for each sheet... beside that, is there any other quicker way to read the Excel files?
    (even if I use External Tables I have might have to save each sheet into a .cvs for 20+ times...-_-)
    Thanks everyone in advance...
    My questions sounds stupid.....=_=!!

    Which DW are you using - DMX on Mac? It didn't have that
    option. This is
    not an Educational version issue - it's a Mac issue.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Terry_Straehley" <[email protected]> wrote
    in message
    news:fm85u9$5ec$[email protected]..
    > From a 11/06 post
    > <<Hi, My Dreamweaver MX Education Version does NOT
    have the Import to
    > Excel
    > option. I am using "Excel 2003 (11.6560.6568) SP2, Part
    of Microsoft
    > Office
    > Professional Edition 2003". If I start with a blank page
    in Dreamweaver,
    > click
    > on File, Import, I only have the options "XML into
    Template", "Word HTML,
    > and
    > "Tabular Data". Does anyone know why I don't have the
    "Import Excel" >>
    >
    > This was not answered in the thread I copied it from. I
    have the same
    > problem.
    > Can some one answer the question?
    >

  • Import Excel 2007 into SQL Server 2005

    Hi
    When importing Excel 2007 data into sql via Import wizard:
    choose "Microsoft Office 12.0 Access Database Engine OLE DB
    Provider" as the data source in SQL Server Import and Export Wizard, then click Properties, switch to the All tab, input your excel file path to the Data source field and input "Excel 12.0" to the Extended Properties field and then click OK to follow the wizard.
    I get the following error:
    Error 0xc0202009: Source An OLE DB error has occurred. Error code: 0x80004005
    Error 0xc02020e8: Source Opening a rowset for failed
    Exception from HRRESULT: 0xc02020e8 (Microsoft.sqlserver.dtspipelinewrap)
    I have recently upgraded to Vista and did not have this problem in XP, does anybody know how to fix this, as I really need to get the data into SQL server 2005 (without using SSIS)
    Thanks!

    Hi Jin
    This is not a problem in SSIS, this is a problem occuring when I try to import data via the Import/Export wizard in Management studio.
    This is the exact error I get:
    Error 0xc0202009: Source 
    - <table_name>[1]: An OLE DB error has occurred. 
    Error code:
    0x80004005
    Error 0xc02020e8: Source 
    - <table_name>[1]: Opening a rowset for “<table_name” failed.
    Check that the object exists in the database.
    Additional information:
    Exception from HRRESULT: 0xc02020e8 (Microsoft.sqlserver.dtspipelinewrap)
    Many thanks!!

  • BPC 7 SP3 and Import Excel package

    Hi,
    I use VPC 7 SP3 (with SQL Server 2005) and I have some problems with the standard package named "Import Excel". The following error is returned:
    Package Error Events: 
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    Here is the parameters:
    %XLFILE%     /ECOS/COMPTABILITE/DataManager/DataFiles//EXPORT_COMPTABILITE.XLS
    %SHEET%     COMPTABILITE_CIBLE
    %COLUMNS%     
    %TRANSFORMATION%     /ECOS/COMPTABILITE/DataManager/TransformationFiles//Transf_JDE_Compta_Actual.xls
    %CLEARDATA%     1
    %RUNLOGIC%     0
    %CHECKLCK%     0
    Any ideas?
    thanks,
    Romuald

    Hi,
    here is more information. The Excel file I try to load has different columns from the standard ones (I have an HYP dimension and no INTCO dimension). I have specified the list of columns in the package parameters interface. It seems that these values are not used by the package. I think that the package waits for a file with the standard columns, no less, no more. It works fine with BPC 4.2 (I use the standard Import Excel package and the file is well loaded).
    thanks for your help,
    Romuald

  • Import excel graphs into illustrator

    When I try to import the graphs from excel into Illustrator the text converts into a gibberish. Is there any proper way to import excel graphs into illustrator?

    Obviously it helps if you have got the same fonts in the Excel and the Illie files. But I believe that this is not the whole answer – or at least there is a nice difference between gibberish and utter gibberish.
    For example if you try to open a .docx  or .xlsx file in TextEdit you will get totally mind-boggling utter gibberish, whereas .doc and .xls files usually behave more or less normally even if there is a font conflict.
    Now Auntie Illie is very fussy about her fonts, so do what dandidotcom says first and if you still get utter gibberish even with the right fonts, try downsaving the Excel file to .xls.

  • Import Excel events, dates info to iCal

    I cannot seem to find the easy way to import excel events, dates, birthday, games etc. into iCal. There has to be an easy way.

    Hi jkuyio
    1. Regarding the connection string and the provider, are you using 64 bit or 32 bit?
    2. By the way, Your question is not related to this forum i think. I mean you can use SSIS for this and work with SQL Server database as well but i think this is not the right way to do it!
    In any case you can check this link for more information on connecting the MySQL from SSIS:
    http://blogs.msdn.com/b/mattm/archive/2008/03/03/connecting-to-mysql-from-ssis.aspx
    * Basically you can connect to any data source that you have the right data provider.
    ** Data from Excel spreadsheet can be exported to a new MySQL database table directly, by using the Export Excel Data to New Table optionhttp://dev.mysql.com/doc/refman/5.6/en/mysql-for-excel-export.html
    ** Data can be import into the MySQL as well:
    http://www.w3resource.com/mysql/exporting-and-importing-data-between-mysql-and-microsoft-excel.php
    I hope this is useful :-)
    [Personal Site] [Blog] [Facebook]

  • Missing Font in Imported Excel File

    I keep getting a "missing font" preflight error on an imported Excel chart placed into Indesign.  Indesign CS4 wants me to apply a different font to the original file in Excel.  The font in the original file is Arial.  And Arial has been "installed" correctly.  Not sure exactly why I keep getting this error.  I've also tried changing the font to something else and I get the same error.  Its as if the "Arial" Excel uses is not the same "Arial" that Adobe uses.
    This is how I'm importing the Excel chart.  I used the Adobe Acrobat distiller to convert the XLS to a PDF.  Then I place the PDF file where I need it in my Indesign document.  I export the file as a PDF because its easier to work with since I don't need to make any changes to the chart itself.  I also find that Indesign doesn't like working with bigger Excel files for example, the selection box doesn't include the entire chart and its difficult to adjust the cells since Indesign adjusts the cell widths to be more narrow.  If I import it as an unformated table, everything looks terrible and I end up spending so much time trying to get the chart to look the way I want it to.
    Anyone having the same issues?  I'll thinking about just ignoring the preflight warning as I can't find a way around this.

    Basically I create the chart in Excel with the font "Arial", I then use the "Convert to Adobe PDF" button on the top of the toolbar.  It does it's process of converting it then acrobat will open and show me the converted file.  The file looks just the way it did in Excel which is what I want.  I'm not exactly sure how to embed the font during this process.  To me it seems that it should automatically do that when acrobat converts the file.  I then "Place" the file into my Indesign document.  Once placed the chart looks perfect and there are no highlighted missing font fields.  Its just when I do a preflight check is when the error message appears.

  • Beginner Question

    Hello all, hopefully I have posted this to the correct LiveCycle board!
    I'm new to Acrobat and LiveCycle in general. I'm working out of windows LiveCycle Designer 8.x  and my question is as follows....
    I'm working off of the "Quote" Form Template and what I am looking for is a way to make the rows of the Table expand as needed.  I will be converting this Template into a "Purchase Order" form, and there will be many occassions where I will need to increase the table rows - perhaps onto a second or even third page - due to the volume of different items I will be seeking prices on at a given time.
    Long story short I would like to take this "QUOTE" form template and make it such that if needed, I can expand the table size one row at a time, pushing the content beneath (Comments, subtotal, etc) onto the next page....
    Hoping I have explained my query well enough,  Could anyone provide me a solution or point me in the correct direction?
    Many thanks!

    As a followup, so as not to clog the board with numerous threads I have another beginner question
    For the sake of hypotheticals I am creating a dynamic PDF form.  This pdf is a Purchase Order Form, with a table in the Body that will expand/contract as the form user needs.  (EXA-  Default table size is 5 items, however user is creating an order for 12 items, he/she can increase the table rows to desired capactiy.) It will be a very simple layout. All data for the form will come from manual entry, no XML data binding going on.
    My new question is as follows:    Is there a way I can have this user's Adobe reader or Adobe acrobat software remember previous data entries, so that if 4 weeks after ordering widget X he/she needs to place another order for widget X, the software will autofill the table as he/she types into the table cell?
    This would be similar to how Excel will start to autofill if it recognizes a previously entered value from some other cell in the worksheet (workbook?)
    EXA-
    [NAME]   [MODEL]   [QTY]   [PRICE]
    Widget           A            433        $30.00
    Would it be possible for the software to notice that I'm typing the word "widget" somewhere after typing "wid" ???
    Many thanks for any and all followups, I'm a teenager trying to help out in my father's small business. They are in the darkages here and I'm doing my best to self teach.
    Thanks.

  • Zfs-import-cache.service fails on startup

    I have been using zfs for a couple of days now.
    It's only for storage purposes, not for root system.
    I installed it, and enabled zfs.target for startup, but since a couple of reboots ago, I noticed zfs-import-cache.service fails resulting in sometimes, the pool not getting mounted.
    ● zfs-import-cache.service - Import ZFS pools by cache file
    Loaded: loaded (/usr/lib/systemd/system/zfs-import-cache.service; static)
    Active: failed (Result: exit-code) since sáb 2014-07-05 23:42:21 CEST; 44min ago
    Process: 174 ExecStart=/usr/bin/zpool import -c /etc/zfs/zpool.cache -aN (code=exited, status=1/FAILURE)
    Main PID: 174 (code=exited, status=1/FAILURE)
    jul 05 23:42:21 7thHeaven zpool[174]: Unable to open /dev/zfs: No such file or directory.
    jul 05 23:42:21 7thHeaven zpool[174]: Verify the ZFS module stack is loaded by running '/sbin/modprobe zfs'.
    jul 05 23:42:21 7thHeaven systemd[1]: zfs-import-cache.service: main process exited, code=exited, status=1/FAILURE
    jul 05 23:42:21 7thHeaven systemd[1]: Failed to start Import ZFS pools by cache file.
    jul 05 23:42:21 7thHeaven systemd[1]: Unit zfs-import-cache.service entered failed state.
    Any idea why would this happen?
    Thanks.

    Xi0N wrote:BTW, I'm trying to setup zed so it would send me an email on every event, but I don't seem to get it working. I installed and started postfix, but I still don't really know how to configure it so the mails get sent. Any tips?
    You need to create a script in /etc/zfs/zed.d/ - see the zed man page.
    Use the existing scripts in that dir for examples (e.g. scrub.finish-email.sh).
    The existing scripts use /etc/zfs/zed.d/zed.rc; in that you need to set “ZED_EMAIL” to the email address to mail to in order to make the existing mailer scripts do something. Your script could instead hard code the email address.
    cmtonkinson wrote:I've got a related problem I just posted about yesterday, I wonder if this busywait tactic would work in my scenario as well - although isn't there a way to do this with Require/After instead of an ExecStartPre wait script?
    If you look at zfs.target et al, you'll see they already use Require/After/Before to order things. Xi0N's problem is not the ordering, but that the kernel module hasn't always created the zfs device when systemd runs the .service.
    I use ZFS as my root, and the zfs hook runscript has a similar wait in it - so for me the zfs device exists by the time systemd runs the .service.
    I don't know if your problem is the slowness of the zfs kernel modules or something else. My first port of call would be to check the journal for errors.

Maybe you are looking for

  • IMac 21,5 2010 3,06GHz Second screen no max resolution

    Hi there, I have an iMac 21,5 3,06Ghz 2010-model. And an LG Flatron w2261VP. I want to connect this LG to my iMac, but when i do it gives a max res. of 1600x1200. This is not the native res. for this screen, the native one is 1920x1080. But when i se

  • Payment Run - Error code 033

    Dear Expert, After run Payment proposal, I have a report with error like this: 033  -  Unconfirmed change to master record I think that my account cannot confirm the change in vendor master record so the payment proposal cannot run correctly. Thanks

  • Trapping - "Do you want to save changes" alert button pressed

    When exiting a data block with unsaved changes, the user is prompted with "Do you want to save the changes you have made ?" The possible button click responses are "Yes", "No", "Cancel" Is there a way to programmatically catch the click on the "Cance

  • Updated to 10.4.11 Won't boot

    I'm on a macbook pro with no modification. I attempted to update to 10.4.11 and recived a message that the install failed the computer wanted a restart anyway due to a quicktime update. Clicked restart and it droped to just my background and nothing

  • Compaq proliant install help

    Can someone please give me some tips as i need to install Arch on my Compaq Proliant server. I know i need the cpqarray , tlan , sym53c8xx_2 , sd_mod , scsi_mod But i still cant see the dev files for ida blah blah so Arch cant see my drive. I have th