[SOLVED] Hostname is "new-host" in router dhcp table

I've just installed Arch Linux on a machine for the first time since the systemd changeover. Now, when I look at my router's DHCP connections, the computer hostname is listed as "new-host". However, I've set the correct hostname in /etc/hostname and run the hostnamectl command, and when I issue the command 'hostname' it tells me that my hostname is correct (i.e. something else than "new-host").
So, where is my router getting this "new-host" hostname from? Is there another place where I should be configuring the hostname besides these?
Last edited by nordog (2013-01-18 22:13:53)

Saran: Thanks for the suggestion. I tried rebooting the router but it didn't do the trick.
Tharugrim:
tharugrim wrote:Try this: https://wiki.archlinux.org/index.php/Ne … e_problems
Thanks for pointing this out to me. I added
dhcp=dhcpcd
to /etc/NetworkManager/NetworkManager.conf and that took care of the issue.
Best regards

Similar Messages

  • [SOLVED] Hostname not showing in DHCP lease list

    This is a brand new installation using the new systemd base.
    Installed openbox as window manager and Network Manager.
    What did I miss that the hostname of this computer (opus) is not showing up in the DHCP Leases list?
    When I connect to the network using Network Manger(DHCP), hostname is not sent to the DHCP server (DNSmasq). It shows up as a "*":
    DHCP leases
    Hostname      IP-address                MAC-address            Lease expires
    *                     192.168.10.100        XX:XX:XX:XX:XX:XX    Nov 28th, 19:34
    *                     192.168.10.59          XX:XX:XX:XX:XX:XX    Nov 28th, 19:23
    alarmpi           192.168.10.69          XX:XX:XX:XX:XX:XX    Nov 28th, 16:56
    RM696            192.168.10.97          XX:XX:XX:XX:XX:XX    Nov 28th, 18:23
    (I blanked out the MAC-addresses.)
    The first entry is connecting through wireless. The second is wired.
    At the command line:
    hostname
    opus
    hostname -f
    localhost.localdomain
    /etc/hosts:
    # /etc/hosts: static lookup table for host names
    #<ip-address>    <hostname.domain.org>    <hostname>
    127.0.0.1    localhost.localdomain    localhost    opus
    ::1        localhost.localdomain    localhost    opus
    # End of file
    What file do I need to change and how?
    Updated:
    1) I created a /etc/dhclient.conf file and added:
    send host-name "opus";
    request subnet-mask, broadcast-address, time-offset, routers,
    domain-search, domain-name, domain-name-servers, host-name;
    and rebooted.
    This had no effect.
    2) Just for kicks, I uninstalled Network Manager and installed Wicd.
    This DID send the hostname and it displayed on the DHCP Leases List. But it also had the effect of turning off the WiFi radio.
    I did try to turn it back on: Went to the BIOS, made sure it was on (it was). Read some posts about power savings and what to do (tried them, didn't work).
    So I uninstalled Wicd, re-installed Network Manager and I am back to where I was.
    Last edited by dastagg (2012-11-29 11:15:11)

    Sorry, forgot to add this:
    https://bbs.archlinux.org/viewtopic.php?id=152376
    Follow the instructions on the bottom.

  • Which cisco command on router can show me specific hosts which have dhcp reserved IPs

    how can i get that which hosts of the network have reserved dhcp IPs as i know that dhcp reservation to be created when mac address will be assigned.
    so, which cisco command on router can show me specific hosts which have dhcp reserved IPs.thanks

    As said by Leo, the DHCP bindings will show the corresponding MAC addresses.
    Unless you have a list of all MAC addresses somewhere (which most people tend not to) then you can use the ARP cache combined with the CAM tables to trace which ports relate to which MAC address to get more information on the host if you need it.

  • Could not locate new host added from Solaris 10 Sparc servers

    Hi All,
    I am having difficulty finding a new host (Stallion terminal server. e.g. jodie - 10.56.4.7) using ping on our Sun Fire T5220 Solaris 10 on our network, even though jodie has been updated to the DHCP (10.56.19.157) server and can be located from other hosts that runs Red Hat Linux and Windows XP. By restarting nscd daemon with the following commands did not help:
    # svcadm disable system/name-service-cache
    # svcadm enable system/name-service-cache
    Below is the static IP address detail for the Solaris 10 server:
    $ showrev
    Hostname: angel
    Hostid: 4e2f56yu
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:
    Kernel version: SunOS 5.10 Generic_144488-12
    $ ifconfig -a                                                                  
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 10.56.120.12 netmask fffffe00 broadcast 10.56.121.255
    The same detail on a Red Hat Linux server that can locate jodie is:
    root@bobby /sbin>uname -a
    Linux bobby.abc.com 2.4.18-3 #1 ...... i686 unknown
    root@bobby /sbin/ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:20:ED:5D:2F:94 
              inet addr:10.56.8.218  Bcast:10.56.15.255  Mask:255.255.240.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:653366594 errors:0 dropped:0 overruns:698544 frame:0
              TX packets:5815250 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:2492338569 (2376.8 Mb)  TX bytes:1003467939 (956.9 Mb)
              Interrupt:10 Base address:0xd000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:145903 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145903 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:12496874 (11.9 Mb)  TX bytes:12496874 (11.9 Mb)
    Likewise, the IP configuration on my Windows XP PC that can also see jodie after having flushed its local dns cache with "ipconfig /flushdns":
    C:\Documents and Settings\crystal>ipconfig -all
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : BEATLE
            Primary Dns Suffix  . . . . . . . : musician.abc.com
            Node Type . . . . . . . . . . . . : Unknown
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : musician.abc.com
                                                abc.com
                                                abc.com
                                                com
    Ethernet adapter Local Area Connection:
            Connection-specific DNS Suffix  . : abc.com
            Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection
            Physical Address. . . . . . . . . : 00-19-BB-55-79-90
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 10.56.3.91
            Subnet Mask . . . . . . . . . . . : 255.255.240.0
            Default Gateway . . . . . . . . . : 10.56.0.1
            DHCP Server . . . . . . . . . . . : 10.56.19.157
            DNS Servers . . . . . . . . . . . : 10.56.0.2,10.56.0.33What I suspect is the DNS configuration on angel (Solaris 10) to lookup DNS server (10.56.0.2, 10.56.0.33) is not correct, or that it is on another subnet (10.56.120.0) and require additional setup to see other hosts that do not belong to its own subnet. angel has only recently been built and its likely that its DNS setup has not been configured correctly.
    Other Solaris 10 Sparc servers on the same subnet 10.56.120.0 also experienced the same issue even though they have been around for a while. Nevertheless, their DNS configuration may have been manually configured to see certain subnets and not 10.56.4.0 where jodie lives.
    Any idea on where the problem lies?
    Thanks in advance,
    Crystal

    Hi All,
    I am having difficulty finding a new host (Stallion terminal server. e.g. jodie - 10.56.4.7) using ping on our Sun Fire T5220 Solaris 10 on our network, even though jodie has been updated to the DHCP (10.56.19.157) server and can be located from other hosts that runs Red Hat Linux and Windows XP. By restarting nscd daemon with the following commands did not help:
    # svcadm disable system/name-service-cache
    # svcadm enable system/name-service-cache
    Below is the static IP address detail for the Solaris 10 server:
    $ showrev
    Hostname: angel
    Hostid: 4e2f56yu
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:
    Kernel version: SunOS 5.10 Generic_144488-12
    $ ifconfig -a                                                                  
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 10.56.120.12 netmask fffffe00 broadcast 10.56.121.255
    The same detail on a Red Hat Linux server that can locate jodie is:
    root@bobby /sbin>uname -a
    Linux bobby.abc.com 2.4.18-3 #1 ...... i686 unknown
    root@bobby /sbin/ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:20:ED:5D:2F:94 
              inet addr:10.56.8.218  Bcast:10.56.15.255  Mask:255.255.240.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:653366594 errors:0 dropped:0 overruns:698544 frame:0
              TX packets:5815250 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:2492338569 (2376.8 Mb)  TX bytes:1003467939 (956.9 Mb)
              Interrupt:10 Base address:0xd000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:145903 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145903 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:12496874 (11.9 Mb)  TX bytes:12496874 (11.9 Mb)
    Likewise, the IP configuration on my Windows XP PC that can also see jodie after having flushed its local dns cache with "ipconfig /flushdns":
    C:\Documents and Settings\crystal>ipconfig -all
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : BEATLE
            Primary Dns Suffix  . . . . . . . : musician.abc.com
            Node Type . . . . . . . . . . . . : Unknown
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : musician.abc.com
                                                abc.com
                                                abc.com
                                                com
    Ethernet adapter Local Area Connection:
            Connection-specific DNS Suffix  . : abc.com
            Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection
            Physical Address. . . . . . . . . : 00-19-BB-55-79-90
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 10.56.3.91
            Subnet Mask . . . . . . . . . . . : 255.255.240.0
            Default Gateway . . . . . . . . . : 10.56.0.1
            DHCP Server . . . . . . . . . . . : 10.56.19.157
            DNS Servers . . . . . . . . . . . : 10.56.0.2,10.56.0.33What I suspect is the DNS configuration on angel (Solaris 10) to lookup DNS server (10.56.0.2, 10.56.0.33) is not correct, or that it is on another subnet (10.56.120.0) and require additional setup to see other hosts that do not belong to its own subnet. angel has only recently been built and its likely that its DNS setup has not been configured correctly.
    Other Solaris 10 Sparc servers on the same subnet 10.56.120.0 also experienced the same issue even though they have been around for a while. Nevertheless, their DNS configuration may have been manually configured to see certain subnets and not 10.56.4.0 where jodie lives.
    Any idea on where the problem lies?
    Thanks in advance,
    Crystal

  • DHCP Client does not send host name to DHCP Server

    Hello,
    I installed Solaris 10 on VirtualBox and I cannot ping/ssh/telnet the virtual machine by its host name (even from the host computer) but only by it's ip.
    I tried everything I could find on internet with no success (I don't want to add the hostname in every hosts file on every computer because it's not really professionnal)
    I followed what said here: http://docs.oracle.com/cd/E26505_01/html/E27061/eyhuv.html#scrolltoc
    Can someone has an idea of what I can do or why this does not work.
    I installed a virtual Windows7 and an Ubuntu, and it worked perfectly.
    Any help would be grantly appreciated.
    Thank you
    Here is my current configuration:
    Oracle VM VirtualBox 4.3.8 (I choose "Oracle 10 10/09 and later (64 bit))
    Oracle Solaris 10 1/13
    Network: bridge with RealTek interface
    NB: I don't have access to dhcp server on my netgear router (access is disabled by my ISP)
    Files in /etc:
    dhcp.e1000g0 (empty)
    nodename (contains "thorgal")
    nsswitch.conf has following lines:
    hosts: files dns # Added by DHCP
    ipnodes: files dns # Added by DHCP
    networks:   files
    protocols:  files
    rpc:        files
    ethers:     files
    netmasks:   files
    bootparams: files
    hostname.e1000g0 (contains "inet thorgal")
    /etc/inet/hosts:
    ::1             localhost
    127.0.0.1       localhost loghost
    192.168.0.17    thorgal # Added by DHCP
    /etc/default/dhcpagent:
    REQUEST_HOSTNAME=yes
    PARAM_REQUEST_LIST=1,3,6,12,15,28,43
    .v6.PARAM_REQUEST_LIST=7,12,23,24,27,29
    I also try "ifconfig e1000g0 dhcp release" with no success
    the debugging of dhcpagent:
    # pkill -x dhcpagent
    # /sbin/dhcpagent -d1 -f &
    1088
    # ifconfig e1000g0 dhcp start
    /sbin/dhcpagent: debug: insert_pif: e1000g0: sdumax 1500, hwtype 1, hwlen 6
    /sbin/dhcpagent: debug: set_packet_filter: set filter 805869f (DHCP filter)
    /sbin/dhcpagent: debug: get_smach_cid: getting default client-id property on e1000g0
    /sbin/dhcpagent: debug: in state INIT; allowing start command on e1000g0
    /sbin/dhcpagent: debug: ipc_action_start: started start (command 4) on e1000g0
    /sbin/dhcpagent: debug: set_smach_state: changing from INIT to INIT_REBOOT on e1000g0
    /sbin/dhcpagent: debug: dhcp_selecting: host thorgal
    /sbin/dhcpagent: info: configure_v4_lease: setting IP netmask to 255.255.255.0 on e1000g0
    /sbin/dhcpagent: info: configure_v4_lease: setting IP address to 192.168.0.17 on e1000g0
    /sbin/dhcpagent: warning: configure_v4_lease: no IP broadcast specified for e1000g0, making best guess
    /sbin/dhcpagent: info: configure_v4_lease: using broadcast address 192.168.0.255 on e1000g0
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 acquired lease, expires Fri Mar 21 21:33:05 2014
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 begins renewal at Fri Mar 21 09:33:05 2014
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 begins rebinding at Fri Mar 21 18:33:05 2014
    /sbin/dhcpagent: debug: set_smach_state: changing from INIT_REBOOT to PRE_BOUND on e1000g0
    /sbin/dhcpagent: info: added default router 192.168.0.1 on e1000g0
    /sbin/dhcpagent: debug: set_smach_state: changing from PRE_BOUND to BOUND on e1000g0
    /sbin/dhcpagent: debug: configure_bound: bound e1000g0
    /sbin/dhcpagent: debug: ipc_action_finish: finished start (command 4) on e1000g0: 0

    During the Solaris installation process, you told it what the hostname was going to be and that you wanted that environment to exist with a dynamic IP address instead of a specific address that you desired.
    When Solaris boots it broadcasts that hostname and waits for a DHCP server to be quasi-intelligent enough to award an IP address based upon a pre-configured list inside that DHCP server.   Hostname ABC would always get IP address 123 on subnet rst, hostname DEF would always get IP address 456 on subnet xyz, and so on and so on.
    That's the fundamental process for proper (and thus secure) DHCP.
    All your other environments (Windows, Debian, Ubuntu) are what might be thought of as "hacked for convenience" to get around that sort of network configuration.  They take the lazy way to exist.  That partial networking setup is good enough for a home network but would be miserably insecure in a corporate environment.  Those choices are operating environments that are nice for end-user desktops but aren't Enterprise Class.
    My suggestion?
    Review the IP address range in your Netgear router's setup.
    It is likely something like 192.169.0.1 through 192.168.0.50 and can be customized.
    You probably don't have 50 devices on your network and probably will never have 50 simultaneous devices on your network.
    ... just do a reconfigure reboot and set your Solaris to use a static IP of 192.068.0.45
    Then reboot and I predict your issue that prompted this forum thread will be gone.
    That's how I've done it at home for many years, even when installing Solaris to bare metal (no virtualization).

  • Restore to new host from tape, can't find autobackups

    Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following:
    rman target /
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN> run
    2> {
    3> allocate channel t1 device type sbt;
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup;
    6> shutdown abort;
    7> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090514
    channel t1: looking for autobackup on day: 20090513
    channel t1: looking for autobackup on day: 20090512
    channel t1: looking for autobackup on day: 20090511
    channel t1: looking for autobackup on day: 20090510
    channel t1: looking for autobackup on day: 20090509
    channel t1: looking for autobackup on day: 20090508
    channel t1: no autobackup in 7 days found
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/14/2009 10:27:37
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Here is the log file from when the backup was taken on 5/10, that was the last backup of this db.
    RMAN> connect target *
    2>
    3> show all;
    4> run {
    5> shutdown immediate;
    6> startup mount;
    7> backup database;
    8> alter database open;
    9> }
    10>
    connected to target database: EDI (DBID=1600196320)
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' SEND 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/sapp/oracle/product/10.2/dbs/snapcf_edi.f'; # default
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    Starting backup at may-10-2009 08:00:19
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=157 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    input datafile fno=00007 name=/sdb4/oradata/edi/data01.dbf
    input datafile fno=00006 name=/sdb5/oradata/edi/indx01.dbf
    input datafile fno=00008 name=/sdb2/oradata/edi/undo01.dbf
    input datafile fno=00001 name=/sdb1/oradata/edi/system01.dbf
    input datafile fno=00004 name=/sdb2/oradata/edi/sysaux01.dbf
    input datafile fno=00002 name=/sdb4/oradata/edi/tools01.dbf
    input datafile fno=00005 name=/sdb4/oradata/edi/users01.dbf
    channel ORA_SBT_TAPE_1: starting piece 1 at may-10-2009 08:00:20
    channel ORA_SBT_TAPE_1: finished piece 1 at may-10-2009 08:08:55
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020 comment=API Version 2.0,MMS Version 5.0.0.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:34
    Finished backup at may-10-2009 08:08:55
    Starting Control File and SPFILE Autobackup at may-10-2009 08:08:55
    piece handle=c-1600196320-20090510-00 comment=API Version 2.0,MMS Version 5.0.0.0
    Finished Control File and SPFILE Autobackup at may-10-2009 08:09:50
    database opened
    Recovery Manager complete.
    Do I need to pass in the source host name when configuring the channel? So instead of
    send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    i would need,
    send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=newhost, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    ??

    Ok, problem solved. Here's the complete process for recovering a non-archivelog mode data base to a new host from a cold backup from veritas 6.5 tape library.
    I used the "until time 'SYSDATE-5'" option because the cold backup was taken 5 days ago, and while rman will look back up to 7 days, it was taking forever to search for the autobackup. This let it start searching on the day the backup was made. The original problem I was having was due to the fact that the backup was taken from one host and the restore was going to another and I wasn't sending the old host name as the NB_ORA_CLIENT parameter. So it was searching backups from the new host for the data.
    oracle_sandbox1> rman target /
    Recovery Manager: Release 10.2.0.2.0 - Production on Thu May 14 14:05:02 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN>run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup until time 'SYSDATE-5';
    5> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 15-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: SPFILE restore from autobackup complete
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> shutdown abort;
    Oracle instance shut down
    \/\/\\/\/\//\//\/\/\/\/\ edit pfile from another session to remove references to old host
    RMAN> startup force nomount pfile='/dbexport/oracle/bckup/test_restore/edipfile_new.ora';
    Oracle instance started
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    RMAN> run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore controlfile from autobackup until time 'SYSDATE-5';
    5> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: control file restore from autobackup complete
    output filename=/dbexport/oracle/bckup/test_restore/control01.ctl
    output filename=/dbexport/oracle/bckup/test_restore/control02.ctl
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> alter database mount;
    database mounted
    RMAN> @reco_2.rman
    RMAN> run
    2> {
    3> allocate channel t1 device type 'SBT_TAPE';
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> set newname for datafile 1 to '/dbexport/oracle/bckup/test_restore/system01.dbf';
    6> set newname for datafile 2 to '/dbexport/oracle/bckup/test_restore/tools01.dbf';
    7> set newname for datafile 4 to '/dbexport/oracle/bckup/test_restore/sysaux01.dbf';
    8> set newname for datafile 5 to '/dbexport/oracle/bckup/test_restore/users01.dbf';
    9> set newname for datafile 6 to '/dbexport/oracle/bckup/test_restore/indx01.dbf';
    10> set newname for datafile 7 to '/dbexport/oracle/bckup/test_restore/data01.dbf';
    11> set newname for datafile 8 to '/dbexport/oracle/bckup/test_restore/undo01.dbf';
    12> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo'' ";
    13> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo'' ";
    14> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo'' ";
    15> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo'' ";
    16> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo'' ";
    17> restore database;
    18> switch datafile all;
    19> recover database noredo;
    20> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo''
    Starting restore at 15-MAY-09
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /dbexport/oracle/bckup/test_restore/system01.dbf
    restoring datafile 00002 to /dbexport/oracle/bckup/test_restore/tools01.dbf
    restoring datafile 00004 to /dbexport/oracle/bckup/test_restore/sysaux01.dbf
    restoring datafile 00005 to /dbexport/oracle/bckup/test_restore/users01.dbf
    restoring datafile 00006 to /dbexport/oracle/bckup/test_restore/indx01.dbf
    restoring datafile 00007 to /dbexport/oracle/bckup/test_restore/data01.dbf
    restoring datafile 00008 to /dbexport/oracle/bckup/test_restore/undo01.dbf
    channel t1: reading from backup piece 2jkeljgl_1_1
    channel t1: restored backup piece 1
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020
    channel t1: restore complete, elapsed time: 00:04:55
    Finished restore at 15-MAY-09
    datafile 1 switched to datafile copy
    input datafile copy recid=8 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=9 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/tools01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=10 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/sysaux01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=11 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/users01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=12 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/indx01.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=13 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/data01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=14 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/undo01.dbf
    Starting recover at 15-MAY-09
    Finished recover at 15-MAY-09
    released channel: t1
    RMAN> **end-of-file**
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Edited by: PktAces on May 18, 2009 8:04 AM

  • Enterprise Manager Configin a new host after recovery from cold backup

    Dear friends ,
    we have recovered a DB in new host(windows) from the cold backup.
    Listener is configured and EM is also configured .
    I am able to login through the EM . In the front page i get an error like
    java.lang.exception:unknownhost exception sensding request ::<hostname>.<domain>
    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB.
    Also when i clicked the link for administration page or performance page
    i was taken to the login page which was showing as follows
    user name:
    password:
    Connect String : <old host name>.<domain name>
    Now i dont know where is parameter of old host details are stored and how it has to be replaced.
    Please reply if anyone can have the solution .
    Thanks in advance
    Madhu

    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB
    This is the call for trouble actually.EM repository stores the info of hostname/ipaddress of the machine where it is configured. So any change in that information will not let you use EM.There are couple of files which are there in which this information is stored and if needed, that information can be be manualy edited.But manual editing is not a good way to deal with repository.So the better option for you is to recreate the repository of your EM
    Follow the link for the description of the commands.
    You would have to use
    $emca -deconfig dbcontrol db -repos drop
    $emca -config dbcontrol db -repod createHTH
    Aman....

  • Migrating DSEE6 to new host

    In an attempt to move a DSEE 6.3 instance I inherited to a new host without having to do a fresh install (as I did not do the initial install and have no documentation on how it was done) I copied our /opt/ldap install directory from hostname auth01 to hostname uauth01. I made what I thought were all the appropriate 'find and replace' changes in the dse.ldif files for the DSC and ldap instances, but nothing being as easy as it sounds, I get this when trying to start up. Can I rename the certificate or how do I replace it ? I will appreciate any help or advice.
    Starting CACAO...Starting DSCC Registry...Directory Server instance '/opt/ldap/var/dscc6/dcc/ads' started: pid=3354
    starting LDAP server play-arced...Failed to start Directory Server instance '/opt/ldap/play-arced'
    ns-slapd wrote the following lines in the error log (/opt/ldap/logs/play-arced/errors):
    ##[23/Nov/2011:13:48:20 -0500] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0058 (64-bit) starting up
    ##[23/Nov/2011:13:48:20 -0500] - WARNING<4753> - SSL - conn=-1 op=-1 msgId=-1 - Security Initialization: Can't find certificate (uauth01) for family cn=RSA,cn=encryption,cn=config (error -8174 - security library: bad database.)
    ##[23/Nov/2011:13:48:20 -0500] - WARNING<4754> - SSL - conn=-1 op=-1 msgId=-1 - Security Initialization: Unable to retrieve private
    key for cert uauth01 of family cn=RSA,cn=encryption,cn=config (error -8174 - security library: bad database.)
    ##[23/Nov/2011:13:48:20 -0500] - ERROR<4756> - SSL - conn=-1 op=-1 msgId=-1 - None of the cipher are valid.
    ##[23/Nov/2011:13:48:20 -0500] - DEBUG - conn=-1 op=-1 msgId=-1 - SSL socket import or configuration failed.
    ##[23/Nov/2011:13:48:20 -0500] - DEBUG - conn=-1 op=-1 msgId=-1 - Failed to init daemon

    izkljuchitelno interesno zaqvlenie, koeto opredelno postavq mnogo vaprositelni

  • HH 2.0A "Unkown Host" on DHCP Table...

    Recently a family member bought a new Blackberry.  I set it up on our HH2.0A and it connects okay and can see the Internet through the Hub no problem.  However I wanted to name the device on the HH2 and set it to use the same IP address all the time.
    When I go to the "Home Network" / "Devices" page it never appears.  If I go to "Home Network" / "DHCP Table"  I can see the following entry:
    Unkown Host
    40:xx:xx:xx:xx:xx
    192.168.1.78
    00:22:49:39
    ...and yes "Unknown" is spelt wrong!!!  The MAC address matches the phone though.  If I click on the link "Unkown Host" it drops me back at "Home Network" / "Devices".
    Any ideas?
    Chris.

    Keith_Beddoe wrote:
    Its a while since I looked at the HH2, but on the HH1, there is a "devices" list, which shows which are active, and to the right, there is an "edit" button.
    I would have to unbox my spare HH2 to look at the menues, but its quite possible someone with a HH2 online, may give you the answer.
    Normally it would list the device on the "Home Network" / "Device" page as "Unknown" followed by the MAC address.  You can click on it and then go to a page which allows you to name the device and lock the IP address.  It is not appearing on the page though!
    Chris.

  • Showmount: new-host: RPC: Program not registered

    I always have problem shutting down my solaris system, anytime i issue the shutdown command i always get this error "showmount: new-host: RPC: Program not registered" and the system dows not shutdown instead reboots.
    bash-3.00$ su
    Password:
    # shutdown
    Shutdown started.    Wednesday, March  5, 2008 12:03:30 PM EST
    Broadcast Message from root (pts/3) on new-host Wed Mar  5 12:03:30...
    The system new-host will be shut down in 1 minute
    showmount: new-host: RPC: Program not registered
    Broadcast Message from root (pts/3) on new-host Wed Mar  5 12:04:00...
    The system new-host will be shut down in 30 seconds
    showmount: new-host: RPC: Program not registered
    Do you want to continue? (y or n):

    I think the shutdown command executes "showmount" as part of its execution process and if the nfs deamon is not running at that time, it produces this error. If you just execute "showmount", you'll see the same problem. Check this page:
    http://access1.sun.com/FAQSets/Solarisx86FAQs.html#14
    You should execute shutdown with some parameters:
    # shutdown -i0 -g0 -y
    -y : non-interactive shutdown
    -i0 : init state 0 (for shutdown)
    -g0 : grace period in seconds (0 for immediate, 60 by default)

  • [HELP] Problem with restore and recovery to new host

    Hi, guys!
    I have been trying for two days, but still cannot get it to work.
    I have taken a full hot(online) backup with archive logs as well as the control file and SPFILE, and then copied the backup to the new host with the same directory structure and settings. Finally, I have tried to restore & recover the database on the new host but failed during the restore process.
    Both the original host and the new host have the same Oracle installed down to the patch level. I couldn't figure out the proper solution to this problem base on my limited knowledge about Oracle DB.
    Could anyone help me out here? Any advice would be appreciated!
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATADATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 11:41:33
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Here is some extra information that you might want to know about:
    RMAN> list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 PRODDB 3774691295 PARENT 1 17-APR-07
    2 2 PRODDB 3774691295 PARENT 521803 06-OCT-11
    3 3 PRODDB 3774691295 PARENT 1595143 20-OCT-11
    4 4 PRODDB 3774691295 PARENT 1600974 20-OCT-11
    5 5 PRODDB 3774691295 PARENT 1952053 27-OCT-11
    6 6 PRODDB 3774691295 CURRENT 2146951 07-NOV-11
    RMAN> list backup recoverable;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 822.34M DISK 00:29:47 07-NOV-11
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20111107T175037
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSTEM01.DBF
    2 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\UNDOTBS01.DBF
    3 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSAUX01.DBF
    4 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\USERS01.DBF
    5 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA01.DBF
    6 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA02.DBF
    7 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX01.DBF
    8 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX02.DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    SPFILE Included: Modification time: 07-NOV-11
    BS Key Size Device Type Elapsed Time Completion Time
    39 18.46M DISK 00:00:05 08-NOV-11
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093359
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_.BKP
    List of Archived Logs in backup set 39
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1 2146951 07-NOV-11 2149493 07-NOV-11
    1 2 2149493 07-NOV-11 2149519 07-NOV-11
    1 3 2149519 07-NOV-11 2149565 07-NOV-11
    1 4 2149565 07-NOV-11 2149641 07-NOV-11
    1 5 2149641 07-NOV-11 2172859 07-NOV-11
    1 6 2172859 07-NOV-11 2197851 07-NOV-11
    1 7 2197851 07-NOV-11 2220349 08-NOV-11
    1 8 2220349 08-NOV-11 2222621 08-NOV-11
    1 9 2222621 08-NOV-11 2222729 08-NOV-11
    1 10 2222729 08-NOV-11 2223088 08-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
    SPFILE Included: Modification time: 08-NOV-11
    Thanks in advance!
    Jay

    Thank you for your reply,Hemant K Chitale!
    >
    a) Does the directory structur exist on the new server :
    D:\DBDATA\PRODDB\ --- for files 1 to 4
    D:\ --- for file 5
    D:\ORA_DATA\ --- for files 6 to 8
    >
    Yep, I have doubled check the directory structure that get in the way, and they are all exist.
    Would it be something to do with the folder permissions?
    >
    b) Apparently a RESETLOGS has been issued on 07-Nov. Which controflile backup do you have restored and mounted on the new server ? It should be the one after the RESETLOGS.
    >
    I restored the one included with the backup. Should I take another backup of controlfile seperately and restore from it instead?
    >
    (I assume that you did a RESTORE CONTROLFILE followed by sql "alter database mount" before the attempt to RESTORE DATABASE)
    >
    Yep, that's exactly what I did.
    //executed @ RMAN prompt of the new host
    startup nomount; 'the new host has the right SPFILE to start with so i didn''t bother to RESTORE SPFILE first.
    restore controlfile from autobackup;
    alter database mount;
    restore  database sequence 10 thread 1;
    //get stucked here with RMAN-06026, 06023
    //...the following is not executed yet.... :-(
    recover database until sequence 10;
    alter database open resetlogs;Edited by: HappyJay on 2011/11/08 13:25
    I have made several attemps with your advice, but still get the same type of errors.
    Here is the output:
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    +\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP+
    Control File Included: Ckp SCN: 2223097      Ckp time: 08-NOV-11
    as you suggested, this backup piece of controlfile should be right one to be restored.
    RMAN> shutdown;
    database dismounted
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 364907424 bytes
    Database Buffers 121634816 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 08-NOV-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    recovery area destination: C:\oracle\product\10.2.0\flash_recovery_area
    database name (or database unique name) used for search: PRODDB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
    EA\PRODDB\AUTOBACKUP\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=D:\DBDATA\PRODDB\CONTROL01.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL02.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL03.CTL
    Finished restore at 08-NOV-11
    tried shutdown normally and mount again instead.
    RMAN> shutdown;
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    C:\>rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Nov 8 13:49:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 369101728 bytes
    Database Buffers 117440512 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    Starting implicit crosscheck backup at 08-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 08-NOV-11
    Starting implicit crosscheck copy at 08-NOV-11
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 08-NOV-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP\2011_11_
    08\O1_MF_S_766661651_7CJY84LK_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATA\DATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    //however, still get the same results(ended up with errors)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 13:50:29
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Edited by: HappyJay on 2011/11/08 13:59

  • My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

    My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

    Maybe I've spoken to quickly, see this thread https://discussions.apple.com/thread/320663?tstart=0

  • Listener error while restoring to new host

    I'm trying to restore a production database to a new host using a complete RMAN backup following these instructions:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
    I'm trying to force the database to start in NOMOUNT so I can restore the control files, then the data files. I took a crack at editing the initialization file, but I'm not sure I got things right, as I'm trying to restore a single-node RAC to a non-RAC system. Both servers are Windows.
    I'm getting the following error:
    RMAN> startup force nomount pfile='D:\Oracle\product\10.2.0\TSBAK\database\initt
    sbak.ora';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/21/2010 14:01:19
    RMAN-04014: startup failed: ORA-01078: failure in processing system parameters
    RMAN-04017: startup error description: ORA-00119: invalid specification for syst
    em parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_TSBAK'This is the listener (I just ran the net configuration wizard)
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\TSBAK\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER_TSBAK =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.2.0\TSBAK)
          (PROGRAM = extproc)
    LISTENER_TSBAK =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = TSSQL2008B)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )This is the init.ora file
    *.__db_cache_size=343932928
    *.__java_pool_size=209715200
    *.__large_pool_size=8388608
    *.__shared_pool_size=209715200
    *.__streams_pool_size=8388608
    *._optimizer_connect_by_cost_based=false
    *.audit_file_dest='D:\Oracle\product\10.2.0\admin\TSBAK\ADUMP'
    *.background_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\BDUMP'
    *.cluster_database=FALSE
    *.cluster_database_instances=1
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/tsbak/controlfile/current.260.591973329'
    *.core_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\CDUMP'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_file_multiblock_read_count=16
    *.db_files=1024# INITIAL
    *.db_name='TS'
    *.global_names=FALSE
    ##clustdb1.instance_name='TS1'
    *.instance_number=1
    ##clustdb1.instance_number=1
    *.java_pool_size=209715200
    *.job_queue_processes=10
    *.large_pool_size=8388608
    ##clustdb1.local_listener='LISTENER_TSBAK'
    *.local_listener='LISTENER_TSBAK'
    *.log_archive_dest_1='LOCATION=+DATA/TSBAK/'
    *.log_archive_format='ARC%S_%R.%T'
    *.log_buffer=8192# INITIAL
    *.log_checkpoint_interval=10000
    *.max_dump_file_size='10240'# limit trace file size to 10 K each
    *.nls_timestamp_format='YYYY-MM-DD HH24:MI.SS.FF'
    *.open_cursors=300
    *.open_links=4
    *.parallel_max_servers=5
    *.pga_aggregate_target=203423744
    *.processes=250# INITIAL
    *.remote_listener='LISTENER_TSBAK'
    *.remote_login_passwordfile='EXCLUSIVE'
    ##clustdb1.remote_login_passwordfile='exclusive'
    *.sga_max_size=1317011456
    *.sga_target=788529152
    *.shared_pool_size=209715200
    *.smtp_out_server='mail.mt.net:25'
    *.thread=1
    ##clustdb1.thread=1
    *.undo_management='AUTO'# For automatic undo management
    *.undo_tablespace='UNDOTBS1'
    ##clustdb1.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\UDUMP'I am not sure which piece has the error, but would appreciate some help. This is one of the few steps that there isn't much mention of in the guide.

    okay moving on. I got previous error corrected (the directories hadn't been created yet). Now, I'm facing a new one and I did a copy/paste of the directory string, so I know it's valid.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/22/2010 12:13:34
    RMAN-04014: startup failed: ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsedthe parameter is:
    *.log_archive_dest_1='D:\Oracle\product\10.2.0\TSBAK\database\archive'Can someone see what I'm doing wrong here?

  • Creating a new host in Tomcat 4.1

    I am trying to create new hosts within tomcat that are outside of the "webapps" directory, but with no luck.
    I am aware that i have to edit the server.xml in the "%Tomcat Home%/conf" directory to add my new host in, and i am then also spoofing the address through Windows' host file (C:\WINDOWS\system32\drivers\etc)
    the code i have added is below:
    Server.xml (including the localhost that was already present) :
    <Host name="localhost"
    debug="0"
    appBase="webapps"
    unpackWARs="true"
    autoDeploy="true">
    </Host>
    <Host
    name="development"
    debug="0"
    appbase="development">
    <Context
    path=""
    docBase="C:\Program Files\Apache Group\Tomcat 4.1\development\WEB-INF\"/>
    </Host>
    and in the Windows host file:
    127.0.0.1 localhost
    127.0.0.1 development
    the directory i am pointing to in the "docBase" contains an "index.jsp" and a WEB-INF folder containing and standard web.xml file, similar to the one that is contained within the "webapps" dir for the Tomcat test page.
    Do i need to apply a different IP or port for the development host? I was wondering whether this would work as Tomcat is obviously only working from the IP of my machine.
    Is there something that i am missing?
    Thanks in advance
    SteveW

    Hello Abdul,
    Javahar is right. Default configuration works this way only.
    Still if you want to confirm, please create one test user and login to BI Launchpad and see if you can do admin related tasks.
    If YES...then you need to create few Custom Access Levels as per requirement and break the inheritance while mapping them with the users, so it will not inherit anything from its Parent/Top-Level.
    Regards,
    Mahesh

  • SLD/JCo Migration to new host

    Dear Experts,
    I have gone through many posts but still not able to understand fully the procedure to migrate SLD from one host to another. So its my humble request you to read my issue and guide me.
    We have a situation that we have moved from physical to virtual host on our SLD. But when I shutdown the previous host, my ESS/MSS on Portal stops functioning.
    My Landscape is : Portal 7.1  - Old SLD -- Was serving as both Solution Manager and SLD (for around 20-30 systems)
    Now we want to move the OLD SLD to a new host, -- New SLD -- Will serve as SLD for all systems.
    There is one production Portal system which has ESS/MSS with Jco's, it is currently pointing to OLD SLD. When I login to OLD SLD and search for my Production Portal, I can see that it has few Jco Destinations and few "deployed objects" as shown in screenshot below
    These are the steps I have followed in my new SLD.
    1. Went to Visual Admin of my Portal system -- Changed SLD Data Supplier (CIM) to NEW SLD. Restarted Portal
    2. Logged in to new SLD and created JCO Destinations (exactly same as in OLD SLD)
    This is my NEW SLD, I cant see the "deployed objects" but i have created the JCO destinations (manually)
    But then, I am getting errors in ESS/MSS Applications for Jco related.
    Can someone please help me in figuring out what I am missing ??
    1.     Importing CIM data in new SLD from old SLD ??
    Any guidance on this will be helpful.
    Thanks,

    Hi Rajat,
    Take a look at More on System Landscape Directory. There are several blogs there that talk about migrating from one SLD to another. (Especially Switching between 2 SLD Systems in Sync with an LMDB or a 3rd SLD).
    It sounds to me like you changed the setup for the data supplier side, (so your new SLD has the correct data) but you haven't changed the SLD-client setup of the portal (so your portal doesn't know to look at the new SLD for data). Take a look at this SAP help document, Synchronizing the System Landscape Directory with the Portal, and see if you can find what you need there.
    I hope this helps!
    Best regards,
      --Tom

Maybe you are looking for

  • 4.0 to 4.5 plug in upgrade

    I have a version of MyEclipse installed/configured. When I got to Help->Serach for Flashbuilder updates it says I have the most current update.  I do not, it's version 4.0 When I download the installer for 4.5 there's no option to just install the pl

  • How to replace the printhead for the Officejet Pro L7580

    I need a video for first cleaning the printhead and the replacing(if necessary) the printhead(s) for the L7580.  I found a video for the 8500, but it did not help. I do not  see a release latch  for my printhead

  • Hashtable locks after cgiscope.resolve in cfapplication tag

    Hi, Running (IIS 6, Windows 2003, coldfusion 7.02) I have been trying to tune our servers already for a while and fixed quite a few bottlenecks. At the moment i trying to solve a problem which delays (Running requests shoot up till maximum, requests

  • XI to jdbc error:  No more data to read from socket

    i have a XI to JDBC scenario, where a receiver JDBC communication channel sends a query to the database, i get an error in the response (from database) as: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:Err

  • Iphone update failed and now it's not recognized in itune at all

    itune prompted the latest update. 4.3.x (not sure)... so I follow the prompt and did the latest update... Well, it failed to update correctly and now my phone is not working at all. All I see on the phone is the itune icon with the USB port connectio