Oracle 10gr2 XE. - Custom Install - Need Help Install Apex Package

Hello Experts,
I built a CUSTOM install script for Orage 10gR2 XE with a different dbname. dbblock, ...
After a lot of issues (seed db, tns errors, no autostart db, ...) and solved by posts found here,
The new database is mounted and working in console mode and Ole DB/Odbc.
In the custom script, here are the two Data Dictionnaries packages I've used :
-- Create Datas Dictionaries
@%ORACLE_HOME%\rdbms\admin\catalog.sql ;
@%ORACLE_HOME%\rdbms\admin\catproc.sql ;
I'm looking for the package name to install for using Apex (http://locahost:8080/apex) like initial instance XE.
I've tried installing package DBMSXDB.sql (connect / as SYDBA) ... but getting lot of errors
Thanks for help,
AlxK

kfakfa wrote:
Hello Experts,
I built a CUSTOM install script for Orage 10gR2 XE with a different dbname. dbblock, ...Not a very smart thing to do. XE software supposedly has the SID hard-coded and your action may result in some incorrect operation of the code.
>
After a lot of issues (seed db, tns errors, no autostart db, ...) and solved by posts found here,
The new database is mounted and working in console mode and Ole DB/Odbc.Yes, that is possible. But at some time, it may not work correctly.
>
In the custom script, here are the two Data Dictionnaries packages I've used :
-- Create Datas Dictionaries
@%ORACLE_HOME%\rdbms\admin\catalog.sql ;
@%ORACLE_HOME%\rdbms\admin\catproc.sql ;
I'm looking for the package name to install for using Apex (http://locahost:8080/apex) like initial instance XE.
I've tried installing package DBMSXDB.sql (connect / as SYDBA) ... but getting lot of errorsExpect errors and expect inconsistent operation after you get it installed.
But the instructions for installing Apex are in the Apex home page. Go to http://otn.oracle.com and drill to the Apex home page by going to Products:Development Tools (left edge) and finding Application Express on that resulting page.
If you are going to potentially violate your agreement or leave the system in an unreliable state, why not simply use the Enterprise Edition?

Similar Messages

  • Red light on new HH3- New custome,r need help trye...

    Hi new bt broadband customer need help getting connect for the very first time. Iv got  RED broadband light on all the time and have tryed everything to get it working. Any ideas why its not connecting  please. Activation dat was 17th February 2011 .
    Many thanks

    suggest you mail the board mods they are good at solving your sort of problem forum.moderation.team@bt .com including a link to this post and your bt phone number and bt account number they normally get back to you within 72hours as all emails are dealt with in turn
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Oracle web site - Your site needs help

    I somewhat new Oracle and being a developer for years and using software vendor web sites to get things can be challenging.
    However, Oracle is one of the worst web sites I have ever seen.
    I am trying to download the Oracel Client (Yeah...where the heck is it??) and haven't found it for over 30 minutes.
    Searching your site really stinks...it's awful!!!!!
    Finding anything is like...well...you can't!
    Do yourself AND especially your client(s) a favor...Make your web site easy to use...it really needs help.

    I have too very really frustated by Oracle Website for several years. Just today I was trying to download the Oracle personal edition, and putting 'download' or 'oracle personal edition' in the search box, and the results are mainly white papers and tech docs. The menu option also are not really hepful, neither the site-map.
    So after 30 mins, i finally got to what i was looking for. The thing is that while trying to get to the page, you get lost in the Oracle 'labyrinth' web-site and come across several interesting docs ( which i wont understand everything anyway). Its like going to the supermarket for an advertised product at $10 and you get out of the supermarket with lots of stuff at $300 you were not aiming to buy at first.
    Got my point ...well, I think Oracle wants to keep its website as it is. A company like Oracle does not lack resources to develop a more modern, easy-to-use and quick web-site. Certainly, the website handles a lot of info and lays on Oracle Portal ( if am right) but am sure Oracle does not lack database /application server and expertise to make it quicker and better !!
    Oliver

  • Please i need help for Webutil Package

    Please I need help Friends .
    I have already installed oracle developer 10g . and i don't know how to configure and use WEBUTIL Package .
    So , please anyone tell me how to Configure this package to be ready to use > Step By step Please .
    Thank You

    Hello,
    The step by step installation guide is available in the /webutil folder of your Developer Suite installation.
    Francois

  • I need help with apex send mail

    I have created a apex send email, I tried to make it work I need help
    DECLARE
    v_Message VARCHAR2(4000);
    v_MsgHTML VARCHAR2(4000);
    v_CRLF VARCHAR2(6) := CHR(13) || CHR(10);
    begin
    v_Message := 'Your request has been sent to the Help Desk team:' ||
    v_CRLF || v_CRLF;
    v_Message := v_Message || 'YOUR_NAME: ' || :P10_YOUR_NAME || v_CRLF;
    v_Message := v_Message || 'COMPANY_Name: ' || :P10_COMAPNY_NAME || v_CRLF;
    v_Message := v_Message || 'ADDRESS: ' || :P10_ADDRESS || v_CRLF;
    v_Message := v_Message || 'CITY: ' || :P10_CITY || v_CRLF || v_CRLF;
    v_Message := v_Message || 'STATE: ' || :P10_STATE || v_CRLF;
    v_Message := v_Message || 'ZIP: ' || :P10_ZIP || v_CRLF;
    v_Message := v_Message || 'DAYTIME_PHONE: ' || :P10_DAYTIME_PHONE || v_CRLF;
    v_Message := v_Message || 'EVENTING_PHONE: ' || :P10_EVENTING_PHONE || v_CRLF || v_CRLF
    v_Message := v_Message || 'MOBILE_PHONE: ' || :P10_MOBILE_PHONE || v_CRLF;
    v_Message := v_Message || 'FAX: ' || :P10_FAX || v_CRLF;
    v_Message := v_Message || 'EMAIL_ADDRESS: ' || :P10_EMAIL_ADDRESS || v_CRLF;
    v_Message := v_Message || 'OCCASION: ' || :P10_OCCASION || v_CRLF || v_CRLF
    v_Message := v_Message || 'TYPE_OF_PARTY: ' || :P10_TYPE_OF_PARTY || v_CRLF;
    v_Message := v_Message || 'DATE_OF_EVENT: ' || :P10_DATE_OF_EVENT || v_CRLF;
    v_Message := v_Message || 'TIME_OF_EVENT: ' || :P10_TIME_OF_EVENT || v_CRLF;
    v_Message := v_Message || 'LOCATION_OF EVENT: ' || :P10_LOCATION_OF EVENT || v_CRLF || v_CRLF
    v_Message := v_Message || 'ESTIMATED_GUEST_COUNT: ' || :P10_ESTIMATED_GUEST_COUNT || v_CRLF;
    v_CRLF := '
    v_MsgHTML := 'Your request has been sent to the Help Desk team:' ||
    v_CRLF || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'YOUR_NAME: ' || :P10_YOUR_NAME || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'COMPANY_Name: ' || :P10_COMAPNY_NAME || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'ADDRESS: ' || :P10_ADDRESS || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'CITY: ' || :P10_CITY || v_CRLF || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'STATE: ' || :P10_STATE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'ZIP: ' || :P10_ZIP || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'DAYTIME_PHONE: ' || :P10_DAYTIME_PHONE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'EVENTING_PHONE: ' || :P10_EVENTING_PHONE || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'MOBILE_PHONE: ' || :P10_MOBILE_PHONE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'FAX: ' || :P10_FAX || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'EMAIL_ADDRESS: ' || :P10_EMAIL_ADDRESS || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'OCCASION: ' || :P10_OCCASION || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'TYPE_OF_PARTY: ' || :P10_TYPE_OF_PARTY || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'DATE_OF_EVENT: ' || :P10_DATE_OF_EVENT || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'TIME_OF_EVENT: ' || :P10_TIME_OF_EVENT || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'LOCATION_OF EVENT: ' || :P10_LOCATION_OF EVENT || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'ESTIMATED_GUEST_COUNT: ' || :P10_ESTIMATED_GUEST_COUNT || v_CRLF;
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => :P16_EMAIL,
    P_BODY => v_message,
    P_BODY_HTML => v_MsgHTML,
    P_SUBJ => :P16_CHURCH_NAME || ' Help Request');
    APEX_MAIL.PUSH_QUEUE;
    end;
    YOUR_NAME,
    COMPANY_NAME,
    ADDRESS,
    CITY,
    STATE,
    ZIP,
    DAYTIME_PHONE,
    EVENTTIME_PHONE,
    MOBILE_PHONE,
    FAX,
    EMAIL_ADDRESS,
    OCCASION,
    TYPE_OF_PARTY,
    DATE_OF_EVENT,
    TIME_OF_EVENT,
    LOCATION_OF EVENT,
    ESTIMATED_GUEST_COUNT

    DECLARE
    v_message VARCHAR2 (4000); v_msghtml VARCHAR2 (4000); v_crlf VARCHAR2 (6) := CHR (13) || CHR (10);BEGIN v_message := 'Your request has been sent to the Help Desk team:' || v_crlf
    || v_crlf; v_message := v_message
    || 'YOUR_NAME: ' || :p10_your_name
    || v_crlf; v_message := v_message
    || 'COMPANY_Name: ' || :p10_comapny_name
    || v_crlf; v_message := v_message
    || 'ADDRESS: ' || :p10_address
    || v_crlf; v_message := v_message
    || 'CITY: ' || :p10_city
    || v_crlf
    || v_crlf; v_message := v_message
    || 'STATE: ' || :p10_state
    || v_crlf; v_message := v_message
    || 'ZIP: ' || :p10_zip
    || v_crlf; v_message := v_message
    || 'DAYTIME_PHONE: ' || :p10_daytime_phone
    || v_crlf; v_message := v_message
    || 'EVENTING_PHONE: ' || :p10_eventing_phone
    || v_crlf
    || v_crlf; v_message := v_message
    || 'MOBILE_PHONE: ' || :p10_mobile_phone
    || v_crlf; v_message := v_message
    || 'FAX: ' || :p10_fax
    || v_crlf; v_message := v_message
    || 'EMAIL_ADDRESS: ' || :p10_email_address
    || v_crlf; v_message := v_message
    || 'OCCASION: ' || :p10_occasion
    || v_crlf
    || v_crlf; v_message := v_message
    || 'TYPE_OF_PARTY: ' || :p10_type_of_party
    || v_crlf; v_message := v_message
    || 'DATE_OF_EVENT: ' || :p10_date_of_event
    || v_crlf; v_message := v_message
    || 'TIME_OF_EVENT: ' || :p10_time_of_event
    || v_crlf; v_message := v_message
    || 'LOCATION_OF EVENT: ' || :p10_location_of_event
    || v_crlf
    || v_crlf; v_message := v_message
    || 'ESTIMATED_GUEST_COUNT: ' || :p10_estimated_guest_count
    || v_crlf;
    v_crlf := '
    '; v_msghtml := 'Your request has been sent to the Help Desk team:' || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'YOUR_NAME: ' || :p10_your_name
    || v_crlf; v_msghtml := v_msghtml
    || 'COMPANY_Name: ' || :p10_comapny_name
    || v_crlf; v_msghtml := v_msghtml
    || 'ADDRESS: ' || :p10_address
    || v_crlf; v_msghtml := v_msghtml
    || 'CITY: ' || :p10_city
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'STATE: ' || :p10_state
    || v_crlf; v_msghtml := v_msghtml
    || 'ZIP: ' || :p10_zip
    || v_crlf; v_msghtml := v_msghtml
    || 'DAYTIME_PHONE: ' || :p10_daytime_phone
    || v_crlf; v_msghtml := v_msghtml
    || 'EVENTING_PHONE: ' || :p10_eventing_phone
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'MOBILE_PHONE: ' || :p10_mobile_phone
    || v_crlf; v_msghtml := v_msghtml
    || 'FAX: ' || :p10_fax
    || v_crlf; v_msghtml := v_msghtml
    || 'EMAIL_ADDRESS: ' || :p10_email_address
    || v_crlf; v_msghtml := v_msghtml
    || 'OCCASION: ' || :p10_occasion
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'TYPE_OF_PARTY: ' || :p10_type_of_party
    || v_crlf; v_msghtml := v_msghtml
    || 'DATE_OF_EVENT: ' || :p10_date_of_event
    || v_crlf; v_msghtml := v_msghtml
    || 'TIME_OF_EVENT: ' || :p10_time_of_event
    || v_crlf; v_msghtml := v_msghtml
    || 'LOCATION_OF EVENT: ' || :p10_location_of_event
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'ESTIMATED_GUEST_COUNT: ' || :p10_estimated_guest_count
    || v_crlf;
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => v_message,
    P_BODY_HTML => v_message,
    P_SUBJ => 'Application Comments!!');
    APEX_MAIL.PUSH_QUEUE;
    end;

  • Installing Oracle iLearning....Need Help!!!!

    Anyone know what I need to install to get Oracle iLearning working on Windows 2000? Any help is needed and appreciated.

    The main Downloads index http://www.oracle.com/technology/software/index.html has a section called Applications with a link to the E-delivery site, where you could find both iLearning and EBS with Oracle Learning Management.

  • Deploying Forms with Forms6i/Oracle Internet Application Server 8i - need help!

    Hi Gurus!
    I am trying to setup the Oracle Internet Application Server 8i (Release 1.0)and deploy the forms to the web. The server is on Solaris. I have installed and configured the application server. I used the 'runform.htm'and 'test.fmx' to test the installation of the application server on the Server machine. In that case it works fine and shows the message 'Application Server is up and running'. Where as if I tried to access the same 'runform.htm'and 'test.fmx' from another client machines through a web browser it is not executing the 'test.fmx' and throws the following error:
    " FRM-92060:Failed to connect to the Server. Bad machine specification:'hostname':9001"
    Details...
    oracle.forms.engine.RunformException:FRM-92060: Failed to connect to the Server.
    I am using the default port#9001 to run the Forms server (i tried using another port and i got the same error). The web server is listnening on the port 7777.
    I am not sure what needs to be fixed. Can someone please through some light on this?
    Thanks!
    null

    The Oracle 8i jvm component (formerly known as JSERVER) was designed to support server side java.
    This component was initially developed and included in the Oracle 8i rdbms 8.1.5.
    Enhancements continued to be implemented with the 8.1.6 and 8.1.7 releases
    IAS uses the same oracle 8i JVM from the rdbms to support java code on the middle tier.
    Here's how the IAS version and the RDBMS version match up on the Oracle 8i jvm's features.
    RDBMS 8.1.6 with IAS 1.0.0 (unix) / 1.0.1(NT)
    RDBMS 8.1.7 with IAS 1.0.2 (new name IAS 9i)
    8.1.6 / IAS 1.0.0 / IAS 1.0.1 supports :
    session EJB's(1.0 spec), corba objects and java stored procedures
    8.1.7 / IAS 1.0.2 (aka IAS 9i) supports :
    The 8.1.7 implementation will support the 8.1.6 features listed above plus the ejb 1.1 spec (entity ejb's -- see below), servlets and java server pages.
    note : in another thread Mr. Devin clarified the current status of the EJB 1.1 spec (entity beans)in the 8.1.7 solaris release and the future win nt release.
    If I remember correctly, Mr. Devin reported a last minute issue has delayed the support for the entity bean feature but ejb spec 1.0 / 1.1 session beans are in place.
    When the entity bean issue is resolved, a software patch needed to support the entity bean feature will be provided in a rdbms patch.
    for additional technical info, please review :
    http://otn.oracle.com/products/oracle8i/pdf/8iR3_nfs.pdf
    http://otn.oracle.com/products/ias/listing.htm#tech
    i hope this helps ...

  • Oracle XE 10g database offline need help getting it back in 11g EE

    Our server crashed...completely crashed...lightning took it clean out. It was older hardware running server 2003, oracle xe 10g, so we replaced it with a newer better server running 2008r2 (64bit I might add).
    I need to bring the old database, tablespaces and datafiles back online with the new server and the new instance of Oracle.
    I have sucessfully installed oracle 11g EE and can create new a new database (all is online with this), but I need my old data back for PCM 13.1. I cannot find any good online documentation regarding this issue, and we are down until its corrected. Obviously just copying the data over isnt going to work, so any help is much appreciated.
    I have good copies of the old hard drives with the folder structures intact, but there is no chance of getting the old OS back online without purchasing old matching hardware and just slamming the drives into it.
    Basically how do I get the new instance of Oracle to open and run my older database...how do I restore it?

    I did it...yay! Here's what I did...I installed a fresh copy of oracle 10g xe in my virtual xp mode. Stopped the database after installation...deleted and replaced the oradata and fast_recovery_area folders with my old data. Started the database and everything worked so far. In the server with 2008 r2 I installed 11g xe, same system password. I then installed SQL Developer on both computers (easier for me than typing out the scripts). In the XP mode 10g xe computer I did a FULL data pump export to a dump directory. I then moved the dump file to the new server and ran a data pump import, appending data if existing. First time, failed....checked the log and obviously I missed the fact the folder structure MUST be the same for the datafiles or I would have to remap (too much work). The default oradata folder is different in 10g than 11g. I created the oradata folder in 11g xe in the same location as 10g would put it and ran the import script again. BAM, it worked this time...I have my data back in 11g xe and my software was able to find it like it should. Thank you for your consideration and help...hope this helps someone else down the road.

  • Inactive Customer Report - need help!

    I need to create a report to show inactive customers based on their invoice and order history.
    It needs to show a list of customers that:
    1. havent got an invoice on thier account between a certain set of dates
    2. have no open orderr
    We use queries and XL reporter. Anyone have any ideas?
    Thank
    Lucie

    Hi Lucie,
    how about something like this:
    select distinct t1.Cardcode, t1.cardname from OCRD t1
    inner join OINV t2 on t1.cardcode=t2.cardcode
      inner join ORDR t3 on t1.cardcode=t3.cardcode
    where t2.createdate not between '2011-03-01' and '2011-03-02' and
    (select count(t3.docentry) from ordr t3 where t3.docstatus='O' and t3.cardcode=t1.cardcode)=0
    just add SAP user inputs (sorry, i'm lazy for that right now), and i if i understood correctly what you are looking for, this may just as be it
    Regards,
    D

  • Adobe customer service needs help

    I bought a subscription last Thursday.  My card was charged.  My account says I have the service until 2015.  It doesnt work.

    Mr. Rice:
    I would guess if it is an annual subscription, it is a service I have leased from Adobe.  It is for converting PDF to Word and vice versa, etc. 
    Your Adobe ID: <removed email address>
    Your Case Number:0212315715
    Case Description:renew subscription
    This is what is in my account:
    My products
    The following products are associated with your Adobe ID, through either registration or product download and installation. We use this information to tailor the page content you view on this site and in our support section. Use of these products is subject to the terms of the license agreements <https://www.adobe.com/products/eulas/>  you have already accepted.
    Products in use
    Version
    Platform
    Registration date
    <https://www.adobe.com/account/my-products-services.html>
    <https://www.adobe.com/account/my-products-services.html> Creative Suite 5.5 Master Collection
    Mac
    November 18, 2012
    Serial:
    You have no registered products.
    Register new products <https://www.adobe.com/account/my-products-services.html>
    Enter your product serial number
    Where do I find my serial number? <http://kb2.adobe.com/cps/152/tn_15290.html>
    Cancel
    Add product
    `
    Find and add your products to the list <https://www.adobe.com/account/my-products-services.html>
    Select your product
    Product Version
    Platform
    I have my serial number
    Cancel
    Add product
    `
    Show product archives <https://www.adobe.com/account/my-products-services.html>
    Show products here `
    To the top <https://www.adobe.com/account/my-products-services.html#top> 
    My subscriptions and services
    Your Adobe ID is associated with the following online services:
    Product subscriptions
    Next bill date
    Commitment end date
    Dreamweaver CS5 <https://www.adobe.com/account/my-products-services.html> 
    3 days until renewal
    Manage
    You have no product subscriptions.
    Service subscriptions
    Next bill date
    Commitment end date
    Adobe ExportPDF Annual <https://www.acrobat.com/exportpdf/en/home.html> 
    Jan 31, 2015
    11 months until renewal
    Manage <https://www.adobe.com/cfusion/store/html/index.cfm?event=displaySubscriptionDetail&subscri ptionAccountID=5913588&store=OLS-US>
    Dreamweaver CS5 <https://www.adobe.com/account/my-products-services.html> 
    3 days left
    To the top <https://www.adobe.com/account/my-products-services.html#top> 
    Thank you for your help,
    John L. Smith

  • Need help with Nagios package

    I'm attempting to build a Nagios package, and I'm pretty close, actually have it installed and running, BUT...
    when I run the web interface, it calls some CGI files, and I get an error that it can't find them.  It can't find them because it's looking for them in /repo/packages/nagios/usr/sbin/nagios/sbin  (with '/repo/packages/nagios' being our local repo where the package was built, and '/usr/sbin/nagios/sbin' being where it should be looking for the CGI files.)
    I cheated by setting up that path and copying the files over, just to get it working, but obviously my PKGBUILD needs some help.  I think the problem is pretty simple (just like me) and probably has to do with a configure prefix (with 'cgiurl' being the likely culprit.)
    Here's my package build, any help would be greatly and fantasticly appreciated.
    pkgname=nagios
    pkgver=1.2
    pkgrel=6
    pkgdesc="host and service monitor designed to inform of network problems"
    url="http://nagios.org/"
    license=()
    depends=()
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=('http://internap.dl.sourceforge.net/sourceforge/nagios/nagios-1.2.tar.gz')
    md5sums=('414d70e5269d5b8d7c21bf3ee129309f')
    build() {
    mkdir $startdir/pkg/usr
    mkdir $startdir/pkg/usr/sbin
    mkdir $startdir/pkg/usr/sbin/nagios
    mkdir $startdir/pkg/etc
    mkdir $startdir/pkg/etc/rc.d
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=$startdir/pkg/usr/sbin/nagios --with-cgiurl=/nagios/cgi-bin --with-html=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=$startdir/pkg/etc/rc.d
    make all
    make install
    make install-init
    make install-config
    Thanks much

    manica wrote:
    When you have a Nagios PKGBUILD ready, could you please make it available to others?  That would be great.
    Thank you,
    Darin
    Definitely, if I ever get it working properly.  However, since I have it working it working well enough for our purposes, I won't be putting a whole lot of time in the PKGBUILD.
    Thanks to Cactus for the advice above, but the build failed (don't have the error message handy.)
    This was for Nagios 1.2, I may try building a package for Nagios 2.0b4 and see if I have any luck.

  • Repo-add [custom] database need to REMOVE old packages ? script to do?

    I believe it is still needed to create the custom database to use local packages and not have to do pacman -U [full-file-name]
    Doing this with repo-add (as mentioned in wiki 'pacman tips' will have old packages added sometimes if there are duplicates.
    How to remove older duplicates reliably?
    Or is there a way to sync without creating custom database with repo-add. The wiki speaks of: Installing packages from a CD/DVD/iso
    without mentioning any requirement of needing a database. I didn't understand how that would be possible just because the files are on DVD etc. I would expect the same 'old files in database' likelihood to exist also and as well cannot see how pacman would sync without a database.
    Basically I have tons of duplicate files in my huge copy of files locally. Not really sensible to try to keep it with only current versions so I thought there would be a guru's script to do this.

    Two things I attempted to touch on tomk.
    http://wiki.archlinux.org/index.php/Pacman_Tips
    Installing packages from a CD/DVD/iso
    I thought there appeared to be no mention of need for a custom database infering that the dvd/CD/iso would sync with pacman -Syu however the files were on there I guess it would be.
    Custom local repository
    Where this wiki page says in this Custom local repository 'repo-add' paragraph, that there's no way to assure that the latest packages will be added.
    The last argument will add all pkg.tar.gz files to the repository, so be careful. If having multiple versions of a package in the directory, it is unclear which one will take precedence and end up in the repository.
    As I had a not so understood experience I wondered if there were old packages in there as I got a message saying that local was newer than database or something when I tried to pacman -Syu with this local database I'd created. Something like that anyways, definitely not working right though not assuming I'm accurate in describing or guessing or methodology.
    I could be half asleep so apologies for not been my detail-freak self here.
    P.S. I started out with TONS of older version when I tried to create a good database.
    Last edited by yvonney (2010-06-28 09:01:35)

  • Need help with function (package)

    HI,
    Here is my scenario
    I have a package (stored procedure), and 3 functions and 1 procedure. Procedure calls all the functions to fetch data. I am having a trouble in accessing one of the functions. I need to count the number of records satisfy my where clause. Following is my example.
    FUNCTION S_LEVEL (ME_NO IN VARCHAR2, STDATE IN DATE, ENDATE IN DATE) RETURN NUMBER AS LEVEL NUMBER;
    SELECT COUNT(*)
    FROM --- xS, -- SP
    WHERE XS.SRVNBR = SP.NBR
    AND XS.MEMBER_NBR = ME_NO
    AND ((XS.DIR IN ('2824','28241','28242','5173','28952')
    and xs.date between stdate and endate;
    RETURN LEVEL;
    END s_level
    Now when I call this function from procedure (through a Crystal report), it never return anything and just freeze. Could someome please guide me what I am doing wrong or how it is supposed to be done?
    Please help me, I will really appreciate your time and efforts.

    Khurram,
    It's always a bad idea to use a reserved word to name something, regardless whether Oracle allows it or not.
    Sooner or later you'll run into trouble.
    SQL> create or replace
      2  FUNCTION S_LEVEL RETURN NUMBER
      3  AS
      4    v_cnt NUMBER;
      5  --  level NUMBER := 999;
      6  begin
      7    SELECT level
      8    INTO   v_cnt
      9    FROM   dual
    10    CONNECT BY rownum < 2;
    11
    12    RETURN v_cnt;
    13
    14  END s_level;
    15  /
    Function created.
    SQL> select s_level from dual;
       S_LEVEL
             1
    SQL> create or replace
      2  FUNCTION S_LEVEL RETURN NUMBER
      3  AS
      4    v_cnt NUMBER;
      5    level NUMBER := 999;
      6  begin
      7    SELECT level
      8    INTO   v_cnt
      9    FROM   dual
    10    CONNECT BY rownum < 2;
    11
    12    RETURN v_cnt;
    13
    14  END s_level;
    15  /
    Function created.
    SQL> select s_level from dual;
       S_LEVEL
           999
    SQL>

  • Help! Need help with preflight package script

    I am trying to write a package with Iceberg to push Office 2004 to 250 Macs. I need a preflight script with a condition that will stop my script if /Applications/Microsoft Office 2004 exists OR if OFFICE 2004 exists. Don't know if searching on the folder name is the best or if there is better way
    If it doesn't exist I want it to continue with with placing Office 2004 in the /Applications folder.
    I don't know how to do conditions (If, then, end)
    PREFLIGHT SCRIPT
    IF /Applications/Microsoft Office 2004 folder exist = STOP
    IF /Applications/Microsoft Office 2004 folder doesn't exist continue with laying down files/folder in the package.
    LAYDOWN FILES
    LAY DOWN FILES IN ICEBERG FILE SECTION OF THE PACKAGE
    POSTFLIGHT SCRIPT
    #!/bin/sh
    #Change to root directory
    cd /
    # Move Microsoft Office X folder to Messages Received folder
    mv /Applications/Microsoft\ Office\ X /Messages\ Received
    #Open Office 2004 Installer
    open /Applications/Utilities/Installers/Office2004Installer
    ALL Mac OS X (10.4.6)
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  

    A simple condition (not using iceberg) would be:
    #!/bin/sh
    if [ -e "/Applications/Microsoft Office 2004.app" ]
    then
    echo "Microsoft Office 2004 exists, aborting installation"
    exit 1
    fi
    open -a "/Applications/Utilities/Installers/Office2004Installer"
    If Microsoft Office 2004 is installed then the script will exit with a message. If Microsoft Office 2004 is not there then the last line will be executed and the installer will open.
    PowerBook G4   Mac OS X (10.4.8)   MacBook Pro

  • Need help about class package

    Hi All,
    I need one help.
    I have one java class under package com.abc and other java class under default package.
    How do I access java class under default package from java class under com.abc package?.
    Waiting for reply.
    Thanks

    Just add default package in your CLASSPATH seting.
    But it is recommened that all classes must belong to any package. You should avoid to use default package.

Maybe you are looking for

  • Strange behavior with Zoom and Image control

    HELP - I have a strange behavior (bug?) with using Zoom effect on an Image that has been placed on a Canvas. I am using dynamically instantiated images which are placed on a canvas inside a panel. I then assign a Zoom IN and Zoom Out behavior to the

  • Macbook very slow, Beach ball !!!

    I've tried disk repair and alsorts but to no avail. Is there any way of curing the beachball and speeding up my Mac ? Thanks

  • ManagedBean and Bind Variables in ADF applications

    Situation with Target Unreachable, 'TestBean'. ManagedBean: TestBean, parameter objectId ViewObject: sql-based: select * from someobject where id = :objectId Unbounded taskflow with the one page: Start.jspx Bounded TaskFlow "TestTaskFlow" with pagefr

  • Lock Tabs with Tab Control

    Hi all, I am working on a LabVIEW program with a tab control that creates five tabs with questions on each tab page.  I would like to lock the tabs such that the user could not move on to the second tab by clicking on the next tab, but only by clicki

  • 5800 does not save WLAN 'Advanced Settings', a bug...

    Hi My E90 and 5800 both were working just fine day before but now they only connect to my router and give an error "No gateway reply". I read some discussions and fixed my E90 by specifying 'advanced settings' of my WLAN in 'access points' but when I