Database.sqlite3 ??? refuses to delete

I have a file in the trash I can't get rid of called:
Database.sqlite3
I think its something to do with Safari, I occasionally seem to be able to delete it, but most if the time the mac says its being used and can't be deleted - even when nothing but the finder is running.
Even if it has been deleted, it seems to come back again!
Do I need this file? where should it go?
If I don't need it, how can I stop it regenerating?
Thanks!

The desktop ist a strange place for this kind of file to appear. This database file could have been created by any program (the name doesn't give any hints to the application that might have created it).
Close all your programs (as far as you can) and then try to delete this file. If you get an error message about the file still being used you'll have to dig deeper from inside the terminal. (I'll explain below) If the system lets you delete this file then you can launch your apps again one after the other and look when this file gets recreated. That way you can try to figure out which application keeps recreating that file on your desktop.
Ok, this is going to be a bit harder. If you closed all your applications and you still can't delete the Database.sqlite3 file then there is one way to find out, which application is keeping this file open.
Open the terminal and enter the following line:
lsof | grep Database.sqlite3
You should (ideally) see just one line that will look similar to this one:
Safari 1006 fastjack 9u REG 14,2 207872 938604 /Users/fastjack/Library/PubSub/Database/Database.sqlite3
This line tells me that on my computer the Database.sqlite3 file (which is located in ~/Library/PubSub/Database) is opened by Safari. The number right after the application name is the so-called process id. If you open the activity monitor you'll find those process ids at the leftmost column. Find the process the activity monitor and them quit the application. Then try deleting that pesky Database.sqlite3 again.

Similar Messages

  • What is "database.sqlite3"? It's keeping me from deleting my trash.

    What is "database.sqlite3"? It's keeping me from empting my trash can.

    Hello:
    I have no clue how you got that on your computer - it is not installed by OS X.
    http://www.fileinfo.com/extension/sqlite3
    In any event, try emptying the trash while holding the option key down.
    I use a little utility called "Cocktail" for really tough trash problems (be careful if you use Cocktail, it has very powerful capabilities).
    Barry

  • IPhoto on Mountain Lion refusing to delete and constantly crashing

    When I upgraded to Mountain Lion (last month),iPhoto began crashing every other time I used it AND it also refused to delete any of my photos! For instance, I will drag an individual picture over to the trash, drop it when it is highlighted, but the picture will still be there with nothing in the trash! This deleting problem happened the first time I started Mountain Lion on my computer. After I updated to OSX 10.8.1, it finally resolved itself until about a couple days ago, when the problem came back. The trash refusal problem appeared again after my entire computer restarted while I was deleting pictures off (instant shut off and automatic restart). No message or anything though. Really strange. There doesn't seem to be any problem like this on the web. Any solutions?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • Database.sqlite3 in Trash

    I keep finding a file named Database.sqlite3 in the trash which I am unable to empty. I am aware (from reading the file itself) and from other messages, that this is connected to the RSS feeds. Does anyone have any idea (or suggestions) why this cannot be deleted apart from logging out and back in? Any other ideas about this might be helpful. From the looks of things, these files take up a fair amount of space.

    Well, I'll be. . .
    Hi, H_S, I wondered if you might answer this as the search showed your name once or twice. Good call on that Secure Empty Trash. Got it in one, although it took some time. Size?
    The word broken could not be found either in the two of these that were in the trash, nor with the one that was right where you said it would be -->PubSub.
    So are these created new when I restart Safari (RSS sometimes gets a little slow here and the numbers indicating the unread feeds sometimes do not change as the feeds are read)?
    My thanks for the prompt (and accurate) response.
    Graham

  • Database.sqlite3   is what exactly?

    A folder called database, with a file inside it called database.sqlite3 just showed up in my trash. I found it by emptying the trash and getting a message that this file was in use. I've Googled it and found old posts saying its related to RSS feeds in Mail.
    Searching it here gets 0 hits.
    What is it and what should I do with it? It refuses to be thrown out so I've dragged it to my desktop.

    Ok I rechecked the Google list and did find an old post here. Closing Mail and Safari did let me throw it out, but what is it and is it coming back?
    I did reopen Mail and my RSS feeds all updated, over updated to be precise. I just glanced because there were so many showing. It seems a rather random sampling of feeds posted going back to early March in some folders. Apple Hot News for example posted 17. The earliest from April 2, the latest from today. I'm fairly sure there have been more than 17 posts in the feed since April 2, thus my "random sampling" comment.

  • Operation can't be completed because the item "Database.sqlite3" is in use?

    "The operation can’t be completed because the item “Database.sqlite3” is in use."
    Every so often when I go to empty my trash I get this pop-up message from the Finder - any clues as to where this file is being generated? I can't figure out where this file is coming from - and google didn't have much on what that file even is. Is it something in the OS, or perhaps a third party app doing it? Anyone else ever have this message? Thanks.

    The Database.sqlite3 file (SO related) is here:
    ~(yourUserName)/Library/PubSub/Database/
    This link explains the purpose:
    http://www.schollnick.net/wordpress/2009/05/what-is-pubsub-agent/
    What is in your trash when you get this dialog?

  • File 'boot.efi' refuses to delete from Trash

    I recently deleted some of the Time Machine backups from my external hard drive.
    I then went to empty the trash and load refused to delete.
    After following the instructions from allot of the other discussions I got rid most of them, bar one.
    The file is within several folders entitled 'boot'efi', if the path's any help its
    /Volumes/Iomega HDD/.Trashes/501/2008-09-11-221342/Macintosh HD/System/Library/CoreServices
    It is locked, which I think is the problem but I cannot unlock it as its greyed out.
    I know it probably wont hurt to leave it there, it's just annoying because I know it should.
    Did I make a mistake in deleting files from Tie Machine in the first place?

    In that case visit The XLab FAQs and read the FAQ on resolving Trash problems. You will find a method for removing the file.

  • Database: Listener refused the connection -please help

    middlegen:
    [middlegen] Database URL:jdbc:oracle:thin:@localhost:1521:PUSSDB
    BUILD FAILED
    C:\cvs-1-11-17\middlegen\samples\build.xml:232: middlegen.MiddlegenException: Couldn't connect to database: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:PUSSDB
    Total time: 8 seconds
    C:\cvs-1-11-17\middlegen\samples>

    Did you try a tnsping to see if it can provide name resolution? Can you connect to the database using the connect string service name such as sys@pussdb? These would indicate whether the database has been properly defined in your databse names resolution method (e.g. tnsnames).

  • My iPad has started refusing to delete some hotmail emails.  What can be done to remedy this?

    On my ipad 2, hotmail is refusing to delete some  emails.  What can be done to remedy this?
    It will not allow movement to any other folder outside inbox.
    I have already deleted them on my pc hotmail
    Thank u for any assiststance

    I concur with Meg; having a number of iPads with the Smart Cover, I can say without a doubt that there is no possible way the case could bend the machined-alumnium case of iPad. The force exerted by the magnets is not anywhere near sufficiently powerful; if they were, not only could you not remove the cover, it would be attracting magnetic objects to the iPad. It's not even easy to bend the iPad yourself, much less the weak magnets of the case, which aren't even strong enough so you can pick up the iPad by the case without it coming off.
    Something else has bent your iPad, if it indeed is bent (confirm with a verified straightedge; there's an optical illusion that makes the iPad appear to be bent when looked at edge-on, but it's not actually bent). If it is really bend, have you been carrying it it a backpack, attache case or other item with other objects? Set anything heavy on the iPad? I bet you, or someone, has, or something like that, and in such a case the damage will not be Apple's fault and hence not covered by the warranty.
    But as Meg suggested, you can take it to an Apple Store and discuss the matter with them. The cover, though, again cannot possible have bent the iPad.
    Regards.

  • Database Adapter using Logical Delete Polling Strategy not updating field

    I have an ESB database adapter defined against a table. The adapter is set to use the Logical Delete Polling Strategy, and the table has an extra column defined as the "delete" field. When I register the adapter to the ESB and add a record to the table, the adapter reads the contents of the record as expected. However, 15 seconds later (that being the polling interval) it reads it again, and again 15 seconds after that, ad infinitum.
    I have defined the logical delete field as a single character field and set the Read value for "T" (a record is normally inserted with that field having a null value). Results as outlined in the previous paragraph. I redefined the field as a number and set the Read value to "1" (with a record normally inserted with that field having a value of "0"). Results as outlined in the previous paragraph.
    Apparently the update of the logical delete value to the Read value is not occurring. My question (obviously) is: Why?
    Thanks for your time.

    Here is the adapter WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="Poll_PM_LOG"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Poll_PM_LOG/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Poll_PM_LOG/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPMLOG"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPMLOG"
    schemaLocation="PollPMLOG_table.xsd"/>
    </schema>
    </types>
    <message name="LogCollection_msg">
    <part name="LogCollection" element="top:LogCollection"/>
    </message>
    <portType name="Poll_PM_LOG_ptt">
    <operation name="receive">
    <input message="tns:LogCollection_msg"/>
    </operation>
    </portType>
    <binding name="Poll_PM_LOG_binding" type="tns:Poll_PM_LOG_ptt">
    <pc:inbound_binding/>
    <operation name="receive">
    <jca:operation
    ActivationSpec="oracle.tip.adapter.db.DBActivationSpec"
    DescriptorName="PollPMLOG.Log"
    QueryName="Poll_PM_LOG"
    PollingStrategyName="LogicalDeletePollingStrategy"
    MarkReadFieldName="PROCESSED"
    MarkReadValue="T"
    SequencingFieldName="ID"
    MaxRaiseSize="1"
    MaxTransactionSize="unlimited"
    PollingInterval="15"
    NumberOfThreads="1"
    UseBatchDestroy="false"
    ReturnSingleResultSet="false"
    MappingsMetaDataURL="PollPMLOG_toplink_mappings.xml" />
    <input/>
    </operation>
    </binding>
    <service name="Poll_PM_LOG">
    <port name="Poll_PM_LOG_pt" binding="tns:Poll_PM_LOG_binding">
    <jca:address location="eis/DB/PM"
    UIConnectionName="PM"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    />
    </port>
    </service>
    <plt:partnerLinkType name="Poll_PM_LOG_plt" >
    <plt:role name="Poll_PM_LOG_role" >
    <plt:portType name="tns:Poll_PM_LOG_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    The field PROCESSED is defined as CHAR(1), and is normally null when a record is inserted. The value of the field is to be set to 'T' when the record is read by the polling adapter.

  • DB Adapter Locking Database Rows in Distributed Delete Polling Strategy

    I am stuck with an issue. To explain the issue in simple steps
    I am creating a Database Polling Adapter with Distributed Delete Polling Strategy in OSB for running in Clustered Environment.
    We are custom SQL so that the records are not deleted after they are fetched but only a column Status Column is getting Updated.
    The Polling query and Delete SQL is as follows
    <query name="ReqJCAAdapterSelect" xsi:type="read-all-query">
    <criteria operator="equal" xsi:type="relation-expression">
    <left name="Status" xsi:type="query-key-expression">
    <base xsi:type="base-expression"/>
    </left>
    <right xsi:type="constant-expression">
    <value>READY</value>
    </right>
    </criteria>
    <reference-class>ReqJCAAdapter.ItemTbl</reference-class>
    <refresh>true</refresh>
    <remote-refresh>true</remote-refresh>
    <lock-mode>lock-no-wait</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    <delete-query>
    <call xsi:type="sql-call">
    <sql>update ITEM_TBL
    set STATUS = 'IN_PROCESS'
    where ID = #ID</sql>
    </call>
    </delete-query>
    In case of any error in Service Error handler the Status is being updated to ERROR.
    Now the problem which I am facing is in the request Pipeline if we want to do any update on the same record we detect that in ROW is locked and is not allowed to do an update and because of this the process can not proceed.
    Also if any error occurs in Request pipeline then from the Service Error handler we are supposed to Update the status as ERROR, but the same thing is happening and the process can not proceed.
    but In the response Pipeline we can successfully update the status of the same record.
    We have tried to use both XA and NON-XA Datasource but no luck.
    Any help in this is appreciated.
    Regards,
    Dilip

    I am stuck with an issue. To explain the issue in simple steps
    I am creating a Database Polling Adapter with Distributed Delete Polling Strategy in OSB for running in Clustered Environment.
    We are custom SQL so that the records are not deleted after they are fetched but only a column Status Column is getting Updated.
    The Polling query and Delete SQL is as follows
    <query name="ReqJCAAdapterSelect" xsi:type="read-all-query">
    <criteria operator="equal" xsi:type="relation-expression">
    <left name="Status" xsi:type="query-key-expression">
    <base xsi:type="base-expression"/>
    </left>
    <right xsi:type="constant-expression">
    <value>READY</value>
    </right>
    </criteria>
    <reference-class>ReqJCAAdapter.ItemTbl</reference-class>
    <refresh>true</refresh>
    <remote-refresh>true</remote-refresh>
    <lock-mode>lock-no-wait</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    <delete-query>
    <call xsi:type="sql-call">
    <sql>update ITEM_TBL
    set STATUS = 'IN_PROCESS'
    where ID = #ID</sql>
    </call>
    </delete-query>
    In case of any error in Service Error handler the Status is being updated to ERROR.
    Now the problem which I am facing is in the request Pipeline if we want to do any update on the same record we detect that in ROW is locked and is not allowed to do an update and because of this the process can not proceed.
    Also if any error occurs in Request pipeline then from the Service Error handler we are supposed to Update the status as ERROR, but the same thing is happening and the process can not proceed.
    but In the response Pipeline we can successfully update the status of the same record.
    We have tried to use both XA and NON-XA Datasource but no luck.
    Any help in this is appreciated.
    Regards,
    Dilip

  • XSQL-007: Database connection refused

    I am running Demos on JavaWebServer, IE 5.0, Oracle Lite database. When I am trying to access http://Computer:port/xsql/demo/helloworld.xsql
    it is giving me this error, any thoughts...
    XSQL-007: Cannot acquire a database connection to process page.
    Connection refused
    null

    Now my XSQLConfig.xml settings are:
    <connectiondefs dumpallowed="no">
    <connection name="demo">
    <username>SYSTEM</username>
    <password>234khan</password>
    <dburl>jdbc:Polite:POlite</dburl>
    <driver>oracle.lite.poljdbc.POLJDBCDriver</driver>
    </connection>
    <connection name="lite">
    <username>system</username>
    <password>manager</password>
    <dburl>jdbc:Polite:POlite</dburl>
    <driver>oracle.lite.poljdbc.POLJDBCDriver</driver>
    </connection>
    </connectiondefs>
    and I am getting this error:
    500 Internal Server Error
    The servlet named oracle.xml.xsql.XSQLServlet at the requested URL
    http://nw601250:8080/xsql/demo/helloworld.xsql
    reported this exception: java/util/HashMap. Please report this to the administrator of the web server.
    java.lang.NoClassDefFoundError: java/util/HashMap at oracle.lite.poljdbc.OracleConnection.(Unknown Source) at oracle.lite.poljdbc.POLJDBCDriver.connect(Compiled Code) at java.sql.DriverManager.getConnection(Compiled Code) at java.sql.DriverManager.getConnection(DriverManager.java:126) at oracle.xml.xsql.XSQLConnectionPool.newConnection(XSQLConnectionPool.java:256) at oracle.xml.xsql.XSQLConnectionPool.(Compiled Code) at oracle.xml.xsql.XSQLConnectionManager.getPool(XSQLConnectionManager.java:270) at oracle.xml.xsql.XSQLConnectionManager.getPool(XSQLConnectionManager.java:250) at oracle.xml.xsql.XSQLConnectionManager.getConnection(XSQLConnectionManager.java:63) at oracle.xml.xsql.XSQLPageRequestImpl.setConnectionName(XSQLPageRequestImpl.java:189) at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code) at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(Compiled Code) at com.sun.server.ServletState.callService(Compiled Code) at com.sun.server.ServletManager.callServletService(Compiled Code) at com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code) at com.sun.server.http.HttpProcessingState.execute(Compiled Code) at com.sun.server.http.stages.Runner.process(Compiled Code) at com.sun.server.ProcessingSupport.process(Compiled Code) at com.sun.server.Service.process(Compiled Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at com.sun.server.HandlerThread.run(Compiled Code)
    I hope this would be the final step. Please reply thanks
    null

  • Database Auditing to record DELETE operation on a schema for all tables.

    Hi,
    I am using ORACLE DATABASE 11g. I want to apply the AUDIT feature to record all the DELETE operations happening on the schema tables.
    I did the following steps but dint got the proper output :-
    I logged into the SYS as sysdba user and set
    alter system set audit_trail=DB,EXTENDED scope=spfile;then i executed this command to record the sql which will use the DELETE privileges
    AUDIT DELETE ANY TABLE;Then i bounced back my DB and for testing purpose i created a table in SCOTT schema and inserted 10 rows in it and then DELETE all the rows from it.
    As per expectation i check the view
    select * from aud$
    where spare1 like '%MACHINE1%'
    and USERID='SCOTT'
    order by ntimestamp#;The output i got is :-
    34     168368     1     1          SCOTT     I-DOMAIN\MACHINE1     MACHINE1     100     0                                                                      Authenticated by: DATABASE; Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2565))          MACHINE1                    5          21-DEC-11 07.02.58.621000 AM               0     928:5024     0000000000000000               983697018     <CLOB>     <CLOB>     But here i don't see the SQL generated in the last column.
    What i was expecting is that if i fire a DELETE statement in the schema it will get logged here and with the help of this view i will be able to see that which user from which machine executed a DELETE statement and what that statement was?
    Please let me know what step i have missed here.
    PS:- The ACTION# column shows 100 , is it the code for DELETE action. I also accessed the DBA_AUDIT_TRAIL view but din't found any usefull info their.
    Thanks in advance.

    Try instead:
    audit delete table;AUDIT DELETE ANY TABLE is auditing use of DELETE ANY TABLE privilege.

  • Non Archivelog Database- Undo Data files Deleted-How to Open Database ??

    I am doing some test in Lab server.
    Unforunately Undo Tablespace datafiles are deleted from the server.
    Database is running in No archivelog Mode and I don't have any any type of Backup.
    Last one week, i was doing only read only work with database. So Not really concern how much i will loose.
    The biggest worry is How can I open the database with existing datafiles ????
    Regards ,
    Sumit
    Edited by: Sumit2 on Aug 27, 2009 12:57 PM

    If any active transaction or data needed by any of the session for rollback then it will be difficult to recover those transaction and your database data will be in inconsistent state. As you were doing only read only activity you can safely recover the database.
    just comment undo tablespace and undomanagement parameters init.ora file and restart the database.
    Once database is up create new undo tablespace and assigning it as default undo tablesapce tablespace.

  • Firefox refuses to delete cookes

    Ref, firefox not opening homepage (google search).
    Secondary problem is firefox refuses to remove cookies under Options/Advanced/show cookies/Remove all cookies.
    Any suggestions??

    Do you have an extension like TACO (Abine) that maintains a set of OPT-OUT cookies?
    * Targeted Advertising Cookie Opt-Out (TACO): https://addons.mozilla.org/firefox/addon/11073
    <blockquote>TACO with Abine prevents over 100 different online advertising networks (including Google, Microsoft and Yahoo) from displaying highly targeted advertisements using the detailed information on your web surfing habits. TACO disables most behavioral advertising by setting 100+ permanent, generic, non personally identifiable "opt-out" cookies directly into the browser.<br>
    <br>
    Unlike other opt-out solutions, this tool will make the opt out cookies completely persistent. That is, clearing the browser's cookies will delete all other installed cookies, except these.
    </blockquote>

Maybe you are looking for