Installation using a virtual host created .dbenv with wrong hostname

Discovered that during the installation of a Solution Manager on Solaris that the .dbenv_<hostname>.sh and .dbenv_<hostname>.csh and were created with <hostname> = Virtual name. However the .profile uses the 'hostname' to determine which .dbenv to use. Since 'hostname' returns the actual server name and not the virtual name the db environment is not set.
This is easily resolved by renaming the .dbenv to the actual host name. My concern and question is whether this will cause me issues down the road and also I cannot seem to find anyone else or SAP note that reflects this issue.
Please advise...Thanks...
David

Hello David
We always install using virtual hostnames here, using seperated ip addresses (physical host X with IP Y and virtual host S with IP T) using sapinst option SAPINST_USE_HOSTNAME=<shortname virtual hostname> and we have those profiles with the virtual hostname after installation.
Kind regards
Tom

Similar Messages

  • Installing phpMyAdmin using a virtual host

    The situation:
    Apache services are running (Windows XP SP2).
    Virtual host has been successfully created and works both
    with Dreamweaver php pages and pages entered directly in the
    browser address bar (e.g.
    http://mysite/folder/foo.php.
    Server root is d:\htdocs.
    Sites stored in this server root: d:\htdocs\mysite.
    phpMyAdmin folder stored in the server root
    d:\htdocs\phpMyAdmin.
    My problem:
    I have successfully installed MySql and try to configure
    phpMyAdmin according to the reccomendations in David Powers
    book "PHP solutions". When I start to load the setup php
    using the address:
    http://phpmyadmin/scripts/setup.php
    I am
    automatically connected to the internet and this page is
    loaded
    http://www.phpmyadmin.net/home_page/index.php
    I have then manually modified the config.inc.php and stored
    in the phpMyAdmin root. If I try to launch phpMyAdmin by
    entering
    http://phpmyadmin/ the same page is
    loaded from the
    internet but not phpMyAdmin.
    What have I missed and how can I get phpMyAdmin to work
    properly?
    Paul

    David Powers schrieb:
    > Have you added phpmyadmin 127.0.0.1 to your hosts file?
    Oh no, I should known better ;-) Didn't think of that.
    > Have you set up the virtual host definition for
    phpmyadmin in httpd.conf?
    No, but have done it now. Now I can load phpMyAdmin into my
    browser but I am getting the error "Cannot load mysqli
    although this extension is in my php5/ext folder and it is
    added to config.inc.php
    $cfg['Servers'][$i]['extension'] = 'mysqli'; // The
    php MySQL extension to use ('mysql' or 'mysqli')
    > Quite honestly, though, I don't see any value in
    creating a virtual host
    > for phpmyadmin in your testing environment. The value of
    virtual hosts
    > is mainly to enable the use of site-root-relative links.
    You don't need
    > that for phpmyadmin.
    Ok. So having installed the virtual host for phpMyAdmin just
    lets me test if its running on my PC? Withougt a virtual
    host how can I see if phpMyAdmin works?
    Thanks for your help.
    Paul

  • How to use ora:processXSLT to create HTML with BR tags included?

    I am using a .xsl to create HTML for use as part of a notification process. The issue is that if in the .xsl I include the
    tag, when the transform engine runs to make the HTML it creates <br> tags with out the maching </br> tags. (in doing some reading this seems to be a feature of most XSLT engines) But the result is invalid XML, so when I attempt to assign the output to a variable the process faults and I get the following error:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT("XML_PURCHASE_ORDER_to_HTML.xsl", bpws:getVariableData("inputVariable", "payload", "/ns1:XML_PURCHASE_ORDER"))", the reason is The XML data is invalid.
    The XML data is invalid; the reason is "Error on line 100 of document : The element type "br" must be terminated by the matching end-tag "
    ". Nested exception: The element type "br" must be terminated by the matching end-tag "
    Message was edited by:
    mlutze
    Message was edited by:
    mlutze
    Message was edited by:
    mlutze

    You can probably set the output format in the stylesheet, like:
    <xsl:output method="txt" indent="no" omit-xml-declaration="yes" />
    if you really don't want to use xhtml. The result might have to be wraped in a cdata block in the bpel flow?
    cheers
    /Stig

  • How to use Oracle Virtual Private Database (VPD) with EclipseLink JPA

    My project required to use VPD in database to isolate data access based on different user type. How can I use EclipseLink JPA with VPD? For instance, how I could set up server context in database for each database session? Thanks for any help.

    There is some information on Oracle proxy authentication here,
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Oracle/Proxy
    VPD usage would be very similar.
    James : http://www.eclipselink.org : http://en.wikibooks.org/wiki/Java_Persistence

  • OracleCommandBuilder create InsertComman with wrong parameters

    I have a simple table:
    CREATE TABLE test_b (a NUMBER);
    Then I create command for inserting data to this:
    DbProviderFactory factory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
    using (DbConnection connection = factory.CreateConnection())
    connection.ConnectionString = "User Id=apolyakov;Password=oracle;Data Source=OPE";
    connection.Open();
    using (DbDataAdapter adapter = factory.CreateDataAdapter())
    adapter.SelectCommand = connection.CreateCommand();
    adapter.SelectCommand.CommandText = "select * from test_b";
    using (DbCommandBuilder builder = factory.CreateCommandBuilder())
    builder.DataAdapter = adapter;
    using (var command = builder.GetInsertCommand())
    command.Parameters[0].Value = 1;
    command.ExecuteNonQuery();
    ExecuteNonQuery throw OracleTruncateException "truncated result".
    System: ODAC 11.1, .NET 2.0, WinXP, Database 10g2

    I've encountered the exact same problem. The issue seems to be with inserting into a column of type "NUMBER". Despite the fact that System.Decimal is actually a smaller type, and there's no danger of truncation, the Update command of OracleDataAdapter seems to be unable to handle this conversion.
    What's worse, even if you convert the column in the datatable and all the data to Oracle.DataAccess.Types.OracleDecimal, the result is the same. Right now OracleDataAdapter.Update seems hopelessly broken for inserting into NUMBER columns.
    .NET 4.0 Oracle 11g
    Edited by: 903858 on Dec 21, 2011 1:16 PM
    Edited by: 903858 on Dec 21, 2011 1:18 PM

  • When importing, creates folder with wrong date

    I found a curious bug in Lightroom 4.2.
    If I have pictures taken after 23:00, Lightroom creates an import folder in the next day, but the dates in the files are correct.
    Example:
    The file's date is: 29/11/2012 23:19.
    However if I hover my mouse over the image in the import dialog:
    The date that appears is 30/11/2012 00:19. Here's the detail:
    After you import, you get the image in the wrong import folder, but the meta on the image is correct:
    I've started to notice this before, but always thought of a wrong date on my camera. Just noticed that this happens with my camera, iPhone, and any other photo that has a time after 23:00.
    Do you know if there is a solution for this?
    Thank you in advance,
    Manuel Azevedo

    Does your computer time match with your camera time? Summer-/winter-time apart?
    The reason, why I am asking this: the map module auto-assumes that these times match (rather than asking you in which UTC-time zone your image time stamps should be interpreted when tagging from a gpx-track).
    Could be that something similar is happening in import module if you let LR auto-create destination folders based on date-time.
    I have no experience with this as I prefer to explicitely give the names of the new destination folders myself.
    Cornelia

  • User home directories create but with wrong permissions

    Create user in OD.
    User account shows up in the assigned Users directory, but with owner root and group admin. Users is on an Xsan volume. I get this in the log:
    Nov 13 20:49:18 fsserver2 DirectoryTools[341]: copyDirectory(en, /Network/Servers/fsserver2.xxxxxxxx.com/Volumes/uservol/Users/mondtruong) failed with 1
    Anyone?

    Seems that this is only set at the Root folder, sub folders have the following.
    This partly answers my question, but how can I see what those "custom" levels are.
    I will be wanting to move my Home folder to another drive and want to make sure the permissions are set so that only the authorized user has access, without causing any issues with system access. So need to make sure I have all the permissions set right.
    Thoughts?

  • Using SSL with Apache Virtual Hosts

    I am configuring Apache to use 3 virtual Host(Named base virtual Host).
    I would like to run SSL on two of the 3 virtual host.
    Do I need to gen a certificate for each virtual host or can I just use 1?

    William,
    I thought I'd give my 2 cents on this...
    Is there any particular reason as to why you are using named based virtual hosts?
    Apache recommends using IP based virtual hosts over name based virtual hosts.
    Go to http://httpd.apache.org/docs/dns-caveats.html and read the discussion on IP based virtual hosts and name based virtual hosts. The document describes the drawbacks to using the name-based approach.
    Hope this helps!
    -Manjeet

  • Need Help with Virtual Host

    a quick Explaination of what I'm trying to do.
    We have a DNS name, "our_intranet.com". This DNS points to a load balancer which routes the call to "our_weblogic_server:7015". When a request with this DNS comes in, we really want to go to our_weblogic_server:7015/portal/site/our_intranet. Can this be acheived using a Virtual Host? And if so, could give an example of creating a virtual host?
    Thanks,
    Tom.

    Thank you James for your reply,
    I do appreciate you taking a moment to respond and include some suggestions. At this point I feel 90% certain that the answer lies within WebLogic configuration somewhere.
    Discoverer is a J2EE application as I understand it and based on that belief it is probably using the standard J2EE servlet API calls such as ServletRequest. getScheme() (the protocol portion of the URL such as http, https, ftp), ServletRequest.getHostname(), and ServletRequest.getPort(). Those API calls return values derived by the server either from the connection itself or from server configuration.
    The URL's being returned by the web application are not static either. Although the protocol and the port never change (always http://...:80/) the server hostname does. If I add an entry to my host file for fred.somewhere.com and then hit the server using that server name then the URL's returned by the web application are http://fred.somewhere.com:80/, and if I use barney.somewhere.com I get a similar result. Now, the web application could be reading the "Host" HTTP header out of the request itself to derive that information but why go through all that trouble when the Servlet API gives you a standard way to do it.
    For this reason I believe Discoverer (the web app causing our grief) is getting this information from WebLogic even though I cannot verify that with absolute certainty. I wish someone from the Disco area could verify that. I have had a support request open with Oracle for over a week but so far they haven't been able to tell me where they get that information from (which I'm sure is just because I'm not speaking with a developer). I may actually in fact pass on this question to the Discoverer forums you suggested. If someone can at least tell me if Discoverer is getting this information from the application server then I can at least pass that along as confirmation to WebLogic folks.
    I have set up an Apache web server as a reverse proxy server for http and https in front of this particular server as an experiment and get similar results with the server name. Whether I hit Apache via http or https I always get back http://servername:80/ from the back-end WLS. The fact is WebLogic isn't even running on port 80 which makes it even more interesting why the URL's we get back should point at 80 instead of the port WLS is listenning on. Since there is no port or protocol information contained within the HTTP request sent by client browsers (only the Host header which just has the hostname) that may have something to do with why the server doesn't know how to provide correct values, but that doesn't explain why it would choose to tell the web application port 80 instead of the port it is actually listening on.
    As far as tracking down how to configure this beast it might be complicated by the fact that I don't think this is just WebLogic Server. This is Fusion Middleware. I didn't think that included Apache HTTP Server, but actually I can see there is a directory for Apache on the server identified as ohs (stands for Oracle HTTP Server). Some of the help in Enterprise Manager (or maybe it was in the WebLogic administration web console) actually talks about Oracle HTTP Server which they say is based on Apache HTTP Server and in fact the configuration files are consistent with Apache. That doesn't mean I don't believe WebLogic folks like yourself that say Apache is not a part of WebLogic server (which seems like a pure Java application) but maybe it is a part of Oracle Fusion Middleware. They might just have it there for other stuff working together with WLS (such as Oracle Web Cache) or for load balancing as you mentioned. If it is there then it might either complicate things, or might provide a possible solution. If it really is running there in front of WLS and we can use some Apache configuration values to override URL information that the server passes on to the web applications maybe it could help. I did see some processes running on the same server with a name something like HTTPD.worker. My Apps DBA's (who are also learning as they go with WLS) said they did zero Apache configuration as part of the install however and I know zero about how (or if) Apache is working together with WLS.
    I tried going down the path of setting up a custom Network Channel and Virtual Host because a) it seemed like a logical place to look and b) I had seen some references to them on the web but as I tried to step through the configuration I admit I never saw any settings that related to protocol overrides. I have seen host and port overrides somewhere along the way but never a protocol override.
    I'm confused that this seems so complicated. I mean, aren't there a lot of people out there running their servers behind a hardware load balancer with SSL termination at the load balancer (it handles the https decryption and then forwards the requests unencrypted to the back-end servers)?
    Your link to the "Corecoreserverserverprotocolshttptitle.html" looks like just the right place (almost). If it only had Frontend Port and Frontend Protocol as well as Frontend Host (and instead of Frontend HTTP Port and Frontend HTTPS Port). So frustrating to be so close but miss. I do appreciate the pointer though.
    Funny that you should bring up the post on WebLogic Wonders because that is actually the example I tried to follow when I attempted to set up a network channel and virtual host. I aborted before the deploy because the deploy wasn't working quite how I expected and I had little confidence it was going to help me at that point (because I hadn't been presented with any setting that allowed me to override the protocol (http/https) value for a front-end system. I'm still not quite sure how the Network Channel works together with the server/domain/virtual host so perhaps I need to do a little more reading.
    If anyone understands exactly what I am trying to achieve though and can give me some direction it would be much appreciated. It seems straight forward to me:
    We have an F5 hardware load-balancer that runs here:
    https://external-servername:443/....
    It uses hardware SSL accelleration to decrypt the incoming request and if it sees /discoverer/ in the URL it then forwards the request unencrypted to a back-end WLS here:
    http://internal-servername:8888/...
    We would be happy if any connection that server recieved it always overrides the scheme (https instead of http), server (external instead of internal...it actually does this properly already), and port (443 instead of 80). In a perfect world it might behave differently if we connect internally directly to the server (in other words if we don't access it through the load balancer then it provides URL information to continue accessing it directly) but that is just icing on the cake which probably would require virtual host configuration to differentiate the two. We'd be ecstatic if we could simply override those values all the time for the entire server to some constant values that we set.
    Thanks,
    Eric R.

  • Accessing portal server with virtual host via web dispatcher

    Hi,
    I have portal installed at http://hostname.com:50000. A web dispatcher is installed in front of it which uses port number 80 and redirects to http://hosname.com:50000.
    so when i say http://hostname, my web dispatcher redirects to http://hostname.com:50000/ from where i can access my portal.
    now I want to create an alias for my hostname, say when user types http://mydev, it should redirect to http://hostname.company.com thru webdispatcher.
    so i created virtual host for my portal server . how to use this in my virtual hosts in my webdispatcher.
    I have already gone throug this..
    http://help.sap.com/saphelp_erp2005/helpdata/en/fe/cda776f2f64d5287c614b2f715c25f/frameset.htm
    would be great if some one can help me in this regard.
    Thank you
    P.S: I dont want to create a DNS alias with name mydev, then i think virtual host concept doesnt make sense, atleast in java engines..which has different concept in SAP systems.

    HI Jacob,
      Thank you for the reply.. I am little bit confused.could you please clarify the followint to me.
    My requirement is when user types "http://epdev", it should redirect to http://hostname.company.com:50000
    1. To do that, according to what you said, I will create a DNS alias epdev to the IP address where my portal is hosted. so when the user types http://epdev, I have set up a parameter in web dispatcher profile to redirect to http://hostname.company.com:50000/.. so my requirement is fulfilled now..I hope this the correct proc for what I intended to achieve. am I right?
    2. As said above, I am using web dispatcher only for redirection to a fully qualified name, as portal requires as fully qualified domain name. Is there a possibility other than web dispatcher for redirection.
    3. if the above procedure works, I got a question like..what is the use of "virtual hosts".
    How is it different from creating for instance, creating as many DNS aliases to IP address.
    Although, it was explained at http://help.sap.com/saphelp_erp2005/helpdata/en/0b/fbf5a47928f84e8d0beba8371508e6/frameset.htm
    I didnt clearly understand it.
    I would really appreciate, if you could clarify these to me.
    Thank you

  • Security problem with virtual host

    Hello,
    I am using flex builder3 and php5 to run an application built
    in codeIgniter 1.6.3 and flex. Problem is that I am using a virtual
    host to run codeigniter in browser. My doc root is
    htdocs\projects\FlexPHP . Here my flex files resides. In browser I
    can access it by giving following url :
    http://localhost/projects/FlexPHP/bin-debug/FlexPHP.html
    and I am accessing my php application in
    http://flexphp/ (path :
    htdocs\projects\FlexPHP\src\server-script)
    I am calling http service from flex ...
    <mx:HTTPService id="phpService"
    url="
    http://flexphp/profile/ProfileMngr"
    resultFormat="e4x" result="showResult()" useProxy="false"
    showBusyCursor="true" />
    <mx:Button label="Call PHP"
    click="phpService.send()"/>
    and getting following error
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()
    I have placed cross-domain policy file in server-script
    folder as the urls are different but it didnt solve my problem.
    I have tried it with another virtual host which is not a
    codeigniter application , a simple php page returing a xml..working
    properly.
    Any help is appreciated. Thanks in advance.

    no problem from flex side.. need to escape crossdomain.xml
    file in htacess for codeigniter i.e RewriteCond $1
    !^(index\.php|images|application|uploads|robots\.txt|crossdomain\.xml)
    in htaccess file.

  • Problem Virtual Hosts phpmyadmin

    I’ve been using WAMP for testing purposes for about one year now.
    Recently I purchased Dreamweaver CS5, and the Dreamweaver CS5 with PHP book from David Powers.
    According to the instructions in this book, I’ve set up a couple of virtual hosts so it is possible for me to work with site relative links. So far so good, the virtual hosts works.
    But now I can’t get to phpmyadmin through the WAMP icon and get the 404 error.
    The Alias for phpmyadmin ( standard configuration in WAMP) seems not to be working anymore.
    I’ve no idea if an alias will function with the use of virtual hosts.
    A pity that David Powers doesn’t tackle this problem in his book as well.
    Any ideas on how to solve this problem? Without creating new problems as for example no connection with the database! I’ve been searching the web for a couple of days now, so any help is more than welcome.

    While googling "apache virtual host phpmyadmin" I stumbled across this possibly helpful thread on the sitepoints.com forums.

  • Which J2EE servers and shared virtual hosting

    We currently host our clients websites on an IIS server., using sharded virtual hosting
    I am looking to transfer these clients to a new dedicated server option made available by our hosting supplier. I would like to transfer those sites to a J2EE server that would then run on the new dedicated server.
    My question is, which server to use? I have most expereince with the Sun App Server 8.1 - would the platform edition suffice for this task? i.e. for hosting multiple domains on a single hardware server?
    Is it possible to setup virtual domains for use on the Sun platform edition server? I couldnt find any doc for this kind of thing anywhere.
    Ive trawled google and yahoo and cant seem to find the answers I'm loking for.
    Many thanks.
    C.

    Can I ask what kind of applications you're using
    Tomcat for? The sites I have are all shopping cart
    based, product catalogue etc - nothing too extreme.
    If it were you would you just use servlets for the DB
    accesses?I also have shopping cart and catalog applications. I'm using Hibernate for my database access. The servlets call into Hibernate to read and write to the DB.
    I had read somewhere that using Entity EJBs resulted
    in many more DB hits that were really neccessary, so
    maybe I should just stick to JSPs and servlets.I feel that EJBs have a place but that for smaller sites it can be a bit of overkill. If you're running an amazon.com and you have a cluster of 20 machines upfront with some mongo database in the back then EJBs would be essential. But if you have an installation like I do with a single server talking to a single database and managed by a single person then I feel that the added complexity is more than it is worth.
    For the begginer, J2EE can be a bit of a minefield!Yeah - there is alot to it. And, as we're talking about, the API's are just the first step.

  • Virtual Host change doesnt update discoverer portlet provider image locatio

    We have recently created a virtual host for our oracle portal. Original was CUKPORTAL.cseu.root.local and the new virtual hosts created were bi.portal.uk (bi tier) my.portal.uk and sso.portal.uk (for IMT).
    All pages, images , portlets were updated to reflect the new URL's except for the discoverer portlet provider. Actually , it works fine except for the lcoation of the portlets reference to the original icons for the list of worksheets portlet. When we see the page source behind the html page where the portlet is on , I can see that the images (like the expand workbook image) , still reference the old URL ie CUKPORTAL.cseu.root.local:7780.....etc
    We have re-registered the provider with the new URL , ie bi.portal.uk:7779 etc but although the portlets can be called and placed in pages , the images do not appear as a result of the location to the images.
    Any help would be greatly appreciated as this is the last problem before we go live.
    Francois

    Hi,
    Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
    And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
    Run dropupg.sql
    Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
    Later you re-run the upgrade tool and let me know the status.
    Good luck
    Tanmai

  • Virtual Hosts and CF Server Install

    CF8
    FC8 (yes I know it really has to be RHEL for support)
    Apache 2.2.6
    I am testing out a new webserver for a client. We are trying
    to use apache virtual hosts with a single instance of CF8. This
    will just be a few virtualhosts, not a large amount.
    After some difficulty with installations and the connector I
    was able to get CF8 running with apache. After setting up the
    virtualhosts I only could get to the CFIDE directory after adding
    it as an alias in the virtualhost config.
    If I try to pull up a test cfm file in a virtualhost site CF
    reports file not found. Yet it will pull up the administrator site.
    I assume thats because the /CFIDE path matches that in the main
    webserver root directory.
    Can I run a single instance of CF across apache and its
    virtualhosts? I know CF is running in the VirtualHosts as its an
    error screen from CF. However it just seems like CF is very
    confused when it comes to directory paths.

    I've been fighting the issue all day long. I was so glad to
    come across your post. Unfortunately, there was no answer attached.
    :-( I've figured it out in my install. Hopefully it will be of
    benefit to you.
    Turns out the problem was a permissions error. When
    Coldfusion couldn't read my virtualhost's directory it defaulted to
    the standard wwwroot. To fix it I did a "chmod -R a+rX
    /home/jason/public_html. Then I tried loading the page again and
    all was good.

Maybe you are looking for