Recover from hotbackup without archivelog-for help

Because user error, three tables are deleted on may 1,2007. so, I restore db datafiles from tape, which is hot backup on apri 21,2007.
Copy the datafiles to other os,and recover.
But, the archivelog required is lost.as follows:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jun 15 09:54:50 2007
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 79408828 bytes
Fixed Size 102076 bytes
Variable Size 22364160 bytes
Database Buffers 56762368 bytes
Redo Buffers 180224 bytes
Database mounted.
SQL> select to_char(checkpoint_change#) from v$database;
TO_CHAR(CHECKPOINT_CHANGE#)
9216842117529
SQL> select file#,to_char(checkpoint_change#) from v$datafile_header;
FILE# TO_CHAR(CHECKPOINT_CHANGE#)
1 9216842117530
2 9216842117572
3 9216843490042
4 9216843490496
5 9216843490502
6 9216843490513
7 9216843490525
8 9216842117536
9 9216842117548
10 9216843490536
10 rows selected.
SQL> show parameter _all
NAME TYPE VALUE
allowresetlogs_corruption boolean TRUE
fast_start_parallel_rollback string LOW
optimizer_percent_parallel integer 0
parallel_adaptive_multi_user boolean FALSE
parallel_automatic_tuning boolean FALSE
parallel_broadcast_enabled boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_max_servers integer 5
parallel_min_percent integer 0
parallel_min_servers integer 0
NAME TYPE VALUE
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
recovery_parallelism integer 0
SQL> alter session set events '10015 trace name adjust_scn level 10';
Session altered.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 9216842117530 generated at 04/21/2007 05:42:05 needed for
thread 1
ORA-00289: suggestion : /home/newdb/newdb_arch/arch_1_12320.arc
ORA-00280: change 9216842117530 for thread 1 is in sequence #12320
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/disk1/oradata/orcl/system01.dbf'
ORA-01112: media recovery not started
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Alert_orcl.log as follows:
SMON: enabling cache recovery
Fri Jun 15 11:10:23 2007
Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
Fri Jun 15 11:10:23 2007
ARC0: Completed archiving log# 1 seq# 2
Fri Jun 15 11:10:24 2007
Errors in file /home/newdb/admin/orcl/udump/orcl_ora_20312.trc:
ORA-00600: internal error code, arguments: [2662], [2145], [4137307620], [2145], [4138639964], [12582914], [], []
Fri Jun 15 11:10:24 2007
Error 600 happened during db open, shutting down database
USER: terminating instance due to error 600
Instance terminated by USER, pid = 20312
ORA-1092 signalled during: alter database open.
Can you give some suggestion?

I have used hidden parameter:_allow_resetlogs_corruption.but,it is not usefull.
the datafiles have been consistent.
i have used command as follows:
alter session set events '10015 trace name adjust_scn level 10';
why not can open the db?
Message was edited by:
[email protected]

Similar Messages

  • Apache Compilation Problem: makes pointer from integer without a cast -HELP

    Every time I try to compile apache with ssl I get this error message below. I'm pulling my hair out over it! I've installed current versions of gcc, libgcc, glib, make, m4, & flex.. which havent helped. I am running Solaris 9 sparc.
    I'm honestly baffled by this error and have found no help on the web. Does anyone know what I need to do in order to fix this? Any specific libraries I need to install etc??
    <apache compiles up to this point>
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=290 -DMOD_SSL=208116 -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fPIC -DSHARED_MODULE -DSSL_COMPAT -DSSL_ENGINE -I/tmp/web/sweeney/Third_Party/apache/openssl-0.9.7d/include -DMOD_SSL_VERSION=\"2.8.16\" ssl_expr_scan.c && mv ssl_expr_scan.o ssl_expr_scan.lo
    lex.ssl_expr_yy.c:1900: parse error before numeric constant
    lex.ssl_expr_yy.c: In function `ssl_expr_yy_scan_string':
    lex.ssl_expr_yy.c:1901: number of arguments doesn't match prototype
    lex.ssl_expr_yy.c:293: prototype declaration
    lex.ssl_expr_yy.c:1903: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
    lex.ssl_expr_yy.c:1903: warning: passing arg 1 of `ssl_expr_yy_scan_bytes' makes pointer from integer without a cast
    make[4]: *** [ssl_expr_scan.lo] Error 1
    make[3]: *** [all] Error 1
    make[2]: *** [subdirs] Error 1
    make[2]: Leaving directory `/tmp/apache_1.3.29/src'
    make[1]: *** [build-std] Error 2
    make[1]: Leaving directory `/tmp//apache_1.3.29'
    make: *** [build] Error 2
    they key being, "makes pointer from integer without a cast"
    Help me Obi Wan Kenobi, you're my only hope! Thank you much!

    I retried, here is the screen output:
    util.c: In function `ap_find_token':
    util.c:1367: error: `test_char_table' undeclared (first use in this function)
    util.c:1367: error: (Each undeclared identifier is reported only once
    util.c:1367: error: for each function it appears in.)
    util.c:1367: error: `T_HTTP_TOKEN_STOP' undeclared (first use in this function)
    util.c: In function `ap_escape_logitem':
    util.c:1444: error: `test_char_table' undeclared (first use in this function)
    util.c:1444: error: `T_ESCAPE_LOGITEM' undeclared (first use in this function)
    util.c: In function `ap_escape_errorlog_item':
    util.c:1496: error: `test_char_table' undeclared (first use in this function)
    util.c:1496: error: `T_ESCAPE_LOGITEM' undeclared (first use in this function)
    util.c: In function `ap_escape_shell_cmd':
    util.c:1567: error: `test_char_table' undeclared (first use in this function)
    util.c:1567: error: `T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
    util.c: In function `ap_escape_path_segment':
    util.c:1671: error: `test_char_table' undeclared (first use in this function)
    util.c:1671: error: `T_ESCAPE_PATH_SEGMENT' undeclared (first use in this function)
    util.c: In function `ap_os_escape_path':
    util.c:1700: error: `test_char_table' undeclared (first use in this function)
    util.c:1700: error: `T_OS_ESCAPE_PATH' undeclared (first use in this function)
    *** Error code 1
    make: Fatal error: Command failed for target `util.o'
    Current working directory /source/apache_1.3.33/src/main
    *** Error code 1
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /source/apache_1.3.33/src
    *** Error code 1
    make: Fatal error: Command failed for target `build-std'
    Current working directory /source/apache_1.3.33/
    *** Error code 1
    make: Fatal error: Command failed for target `build'
    Current working directory /appl/apa_ssl/apache_1.3.33/src
    *** Error code 1
    make: Fatal error: Command failed for target `build-std'
    Current working directory /appl/apa_ssl/apache_1.3.33
    *** Error code 1
    make: Fatal error: Command failed for target `build'
    root@host #
    the include-line in util.c is:
    #include "test_char.h" (vi: line 43)
    file exists:
    -rw-r--r-- 1 root other 0 Nov 8 16:02 test_char.h
    but, as you can see, it is empty

  • How can I retrieve a deleted app from iTunes without paying for it again?

    My kids keep deleting my apps off the iPad accidentally. How can I retrieve these apps from iTunes without paying for them again?

    How to redownload purchased apps from the App Store

  • E90 user from mainland China asking for help!!PLEA...

    Dose the FREE OVI map(3.03 version) fit for E90??
    Thanks for helping anyway!!!!
    Solved!
    Go to Solution.

    mihua451 wrote:
    So, which version of OVI map can be used on E90? 
    Nokia_maps_3.01_09wk44_b01_s60_3.1_lm_rom.sis
    Happy to have helped forum with a Support Ratio = 42.5

  • HOW to recover photos from deleted iPhoto crying for help!!!

    PLEASE HELP MEEEEE!!!
    i was so dumb deleted iPhoto (moved whole thing to bin) a month ago without realising it.
    now I moved back iPhoto from the bin and trying to open it to get back all my photos.
    but Ive update Ox s system before so for the old vision iPhoto 9.2.1 is no longer unable to open on my mac
    anymore. there is a cross sign on iPhoto.
    is there any way i can reopen iPhoto and get all my old pics back?????
    please help me out of this.
    really appreciate.

    Run software update from the AppStore. You need to update iPhoto to version 9.5.1. Launch the App Store and sign in with your AppleID from the "Store" menu. The update from 9.2.1 to 9.5.1 isa free update.
    iPhoto needs to be installed in the Applications folder for the AppStore to see it.

  • Storing Music on External Drive Access from iTunes without using HD HELP !!

    I have a 160 gb external drive that I store all my music on, I have a 30gb HD on my computer, I am trying to update my iPod with the files that are on my External HD and not use up HD space on my computer, I cant get it and keep either using up all the HD space and getting error messages, I hate it right now and I cant even email apple as they just keep sending you round and round, I am about to bucket my iPod unless I get some help, please somone help me !!!!
    60gb i{Pod   Windows XP  

    Hi GL,
    Your a Star, it was in General Tab but in the Advanced option, iTunes was set to my previous on my laptop which had the local HD capacity to hold the volume of info, I have now directed iTunes to look at the External drive and the folders with the music and it seems to be fine , I,m so happy as I need my ipod to keep sanity, cheers for your help, dont hesitate if you have any problems to ask!, Regards Kevin
    Hi Kevin,
    I can empathize with your frstrations. If I
    understand your question, you want to be able to play
    your music on your pc, but not copy the files to your
    local HD? I can only tell you what I did... maybe
    there is an easier way, if you can figure it out, I
    only hope that youll share it with me when you do.
    Here goes:
    First, open itunes on your PC, and go to
    (edit/preferences)
    Click on the (general) tab, and you will see a box
    entitled (itunes music folder location)
    Click on (change) and select the drive that you want
    to have your music read from - NOTE this drive will
    have to be connected for you to be able to hear your
    music then click ok ONCE
    BEFORE CLICKING OK THE SECOND TIME----- DESELECT the
    (copy files to itunes music folder when adding to
    library)tab
    Now you can click ok
    NEXT... go to (file/add folder to library)
    select the folder you want to add to your PC library
    - ideally your library should be empty or it will be
    VERY DIFFICULT to determine which songs are on which
    drive if you are using multiple drives for storage -
    and click ok
    what happens next is that itunes will scan the folder
    and add all the titles to your library without adding
    them to your HD.
    I hope this helps.
    GL

  • I have lost over 69 dollars worth of store credit and i tunes is not helping me recover it is anyone responcible for helping me????

    Is i tunes out there????????????????? why have you not helped me in retrieveing my money?????????????

    You need to contact Apple regarding this issue. This is a user to user forum, not Apple.
    Apple - Support - iTunes Store - Contact Us

  • Recover from disable without restore?

    My daughter's friend disabled her phone enough times it is no longer giving her a time limit before she can get back into her phone.  She has never backed up her phone AND she knows her passcode.  Please tell me there is a way to gain access without having to restore and thus lose all her information.

    Sorry Brayton,
    If the device has been disabled then the only way to gain access will be to restore it. 
    Cheers,
    Ross

  • How to recover from renaming a drive?

    I was running Pro Tools on my G5 internal drive with OSX 10.4 . I did a CC clone of the entire drive to an external firewire drive, and then upgraded the internal drive to OSX 10.5.8. My version of PT won't run with OSX 10.5.8 so I decided to dual boot (by holding down the C key) to run PT on the external drive.
    Unfortunately, I changed the name of the external drive so I could tell it from the internal drive when dual booting. (I know, dumb move)
    Now I can't get PT to run on my external drive, and I think it's because for the drive name change. Problem is, I don't remember what the name was to change it back. Is there some log or file I can look at to tell what the drive name used to be? Or am I totally off base here, and is there another way for me to recover from my stupidity?
    Any help is greatly appreciated.
    Thanks,
    Ray

    I can't imagine that the HD name change is the cause of your problem. As far as I know, there is no log or file that would show the prior name.
    If you depress the Option key at startup which opens the Startup Manager window, does your external drive appear as a bootable choice?
     Cheers, Tom

  • Best way to recover from "drop user; drop table space"

    Hello,
    I am practicing several different RMAN recovery senarios on oracle 11g windows 2003.
    The senario that I am stuck on is.
    drop user MYUSER cascade;
    drop table space MYUSER including contents and datafiles;
    Originally, I was trying to do this with RMAM. From further reading, it seems that RMAN fit for this type of recovery.
    What is the best approach to recover from this?
    thanks for any tips.

    DBPITR did not bring backup my tablespaces.
    break database
    drop user PWRPLANT CASCADE
    drop role PWRPLANT_ROLE_USER
    drop role PWRPLANT_ROLE_DEV
    drop role PWRPLANT_ROLE_ADMIN
    alter tablespace PWRPLANT_IDX offline
    alter tablespace PWRPLANT offline
    drop tablespace PWRPLANT_IDX INCLUDING CONTENTS AND DATAFILES
    drop tablespace PWRPLANT INCLUDING CONTENTS AND DATAFILES
    recover with BDITR
    RMAN> run {set until sequence 56; restore database; recover database;}
    executing command: SET until clause
    using target database control file instead of recovery catalog
    Starting restore at 28-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=317 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to I:\ORACLE\ORADATA\PWRGAME\SYSTEM
    01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to I:\ORACLE\ORADATA\PWRGAME\SYSAUX
    01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to I:\ORACLE\ORADATA\PWRGAME\UNDOTB
    S01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to I:\ORACLE\ORADATA\PWRGAME\USERS0
    1.DBF
    channel ORA_DISK_1: reading from backup piece I:\ORACLE\FLASH_RECOVERY_AREA\PWRG
    AME\BACKUPSET\2011_04_28\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6VMMSSXV_.BKP
    channel ORA_DISK_1: piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRGAME\BACKUPSET
    \2011_04_28\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6VMMSSXV_.BKP tag=DATABASE_FULL_BAC
    KUP
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:07:06
    Finished restore at 28-APR-11
    Starting recover at 28-APR-11
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 55 is already on disk as file I:\ORACLE\
    PRODUCT\11.1.0\DB_1\RDBMS\ARC00055_0748950531.001
    archived log file name=I:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00055_0748950531.0
    01 thread=1 sequence=55
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 28-APR-11
    Did I miss something?

  • Since icloud, my emails in my inbox have drastically reduced and important old ones i had left in my inbox have vanished! Can these be recovered from somewhere?

    since icloud, my emails in my inbox have drastically reduced and important old ones i had left in my inbox have vanished! Can these be recovered from somewhere?
    Can anyone help?

    Is this an iCloud email address, or some other?

  • Urgent help : Need to recover a database without backup and archivelogs

    Hi,
    We are in urgent need to recover a database without backup and archivelogs
    one datafile seems corrupted
    SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
    ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
    thread 1
    ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
    ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
    ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'

    N Gasparotto wrote:
    bsac14 wrote:
    my database is in no archive mode
    can you please tell how to restore
    yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
    I just need to bring the database up,no need any exact data
    I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
    Nicolas.Hi,
    How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
    Regards .....

  • I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.

     I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.  
    I am currently using Photoshop Elements 8 on Windows 7.  After several years of use, I am self taught and adequately proficient for an amateur.  What I didn't realize (until I started researching my upcoming migration on the Internet) is that I actually use PE8 for two functions: digital asset management and digital editing. 
    Regarding Digital Asset Management: My research leads me to understand that PE on MAC does not provide the same level of organizational capability that I am used to having on Windows, instead providing Adobe's Bridge which does not look very robust.  Furthermore, iPhoto, which come on MAC will not support the hierarchical keyword tagging that I require to organize my library of photos. The two SW applications which I am thinking of switching to are either Aperture or Adobe's Lightroom.  Frankly, I'm thinking that it would be smoother to stay within the Apple product line. 
    So the remaining question is whether Aperture will support my digital editing needs. The tweaks that I do to my photos are not very complex (no, I do not want to put people's heads on other animal bodies).  But could someone who uses Aperture tell me whether It will allow me to do the following kinds of edits?:
    - If I have a photo where someone's face is too shadowed, can I lighten just that person's face, and leave the rest of the photo as-is?  
    - if I have a photo where the background is cluttered (eg, 2 people in front of the Parthenon which is undergoing renovation), can I remove just the construction cranes?  
    - Can it splice together several separate photos to give a panoramic?  
    If, once I get Aperture, I find that it cannot enable the kinds of editing that I do, I would probably get PE11 in the future. However, if people in this forum tell me that Aperture will definitely not  support the kinds of editing which I've described in the previous paragraph, I would prefer to get PE11 with my initial configuration (since someone will be helping me with my migration).  
    Thanks in advance for your consideration and help! 

    I am concerned, however,  about using a non-Apple Digital Asset Manager in OSX. I would really like to avoid integration problems. Is using PE11 to import and catalog my digital photos likely to cause conflicts?
    Thanks for any insight on this
    Amy,
    Not so much conflicts as maybe a little less seamless integration with Apple software and perhaps some third-party software providers in the Mac App Store where some programs build in direct access to iPhoto and Aperture libraries for getting images into those programs easily. Typically, there is a manual command to go to Finder (think Windows Explorer) to browse folders.
    One caution to mention however, is that the organization you set-up in PE Organizer is unlikely to transfer over to either iPhoto or Aperture if you decide to change at some point.
    The only real stumbling block that I see in your opening comment is that you want hierarchical keywording (Kirby or Léonie can go into the details on keywording limitations as I stay at one level). If you can work with the keywording schemes of either iPhoto or Aperture, then using PE for your external editor (either program supports setting an external editor) would probably be ideal since you know PE well. This is the idea with the Mac App Store version of PE (editor with no organizer).
    Note - I use Photoshop CS6 (full version) with Aperture and it works really well. The only downside is that Aperture has to make either a TIFF or PSD file to send to an external editor so that the original file is protected by not sending it to the pixel editor. While TIFF or PSD files protect the integrity of the image information without degrading it, they are typically much larger file sizes on disk than either RAW or JPEG files. Therefore, your library size (iPhoto or Aperture) will balloon quite a bit if you send a lot of files to external editors.
    One other possibility for an external editor would be a program called Pixelmator. It is pretty similar to early versions of Photoshop, but built for Mac. Other than the panoramics you want, it will do most pixel editing that PE can do. It is not an organizer, so it is built to go with either iPhoto or Aperture. It does have differences in how you complete certain procedures, so there is bit of a learning curve when you are used to doing it the Adobe way.

  • I am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going of

    i am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going off. Can some one help?

    Hi Jay,
    Be aware that "Freeze Header Rows" and "Freeze Header Columns" apply only to rows and columns that are Header rows or Header columns. You can have up to five Header rows, Five Header Columns (and five Footer rows) on a Numbers Table.
    "Header rows" is a special designation. Besides being able to be frozen, Header and Footer rows are not included in formulas referencing whole columns, making it possible to place formulas such as =SUM(B) at the top (or bottom) of column B without causing a self-reference error, These designated rows are also not included in sorts of the rows in a table.
    Regards,
    Barry

  • Need help recovering from glibc upgrade [SOLVED]

    I recently did pacman -Syu on a system because I was having trouble with a softphone utility. I installed Arch on this laptop perhaps 6 months ago and have not done many upgrades since that time. Of course I've been waylaid by the recent glibc changes and I'm trying to recover. I think I've gotten a good deal of the way there by researching the issue and attempting a few solutions. But I'm quite confused by what I'm now seeing, so I want to ask for help here.
    First, let me point out that I posted in this forum yesterday about certain events that led to my problems--see that thread at https://bbs.archlinux.org/viewtopic.php?pid=1186089. Essentially, I followed the wrong set of instructions and did pacman -Syu --ignore glibc pacman -Su before doing pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz. That broke pacman, which, being the most current version, was expecting that glibc version to be on the system.
    To remedy the problem I followed the procedure outlined in that thread--namely booting from a USB drive on the affected system and running pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz --root /mnt/brokenRoot. Things kinda started to work then: pacman would run, but I noted that my mouse cursor was not responding. I decided to try and finish the upgrade and so ran pacman -Syu again using the --ignore glibc switch as suggested at https://wiki.archlinux.org/index.php/De … iki:usrlib.
    Things started to get really weird after that. For example, at a certain point during the boot process--I believe when the console is getting ready to switch to framebuffer (or whatever point that's called where screen resolution changes from vga)--and the screen just freezes. The laptop won't accept any keyboard or mouse input and just appears to be hung. I was able to chroot in to the system and cause the sshd daemon to start though, and have discovered that I can ssh in and do things.
    I upgraded the kernel again today in an ssh session, which gave some quite strange results: mkinitcipio is searching for modules under /lib, whereas as I understand it, /lib is now supposed to contain nothing and is to be simply a symlink to /usr/lib. But I can't build an init image on this system unless a /modules directory is present under /lib. Well, the /lib directory was there, so I symlinked /usr/lib/modules to /lib and mkinitcpio ran fine after that. So what's up here? Why is mkinitcpio expecting the /modules directory to be under /lib?
    Just as weird, there seems to be a newer glibc version. But I can't upgrade to it: I get the message "glibc: /lib exists in filesystem." Now, having read https://wiki.archlinux.org/index.php/De … iki:usrlib I know that there are suggestions for remedying this. But when I run the commands suggested there to try and find out what packages own files in /lib, it looks to me that all files there are owned by glibc 2.16.0-1:
    find /lib -exec pacman -Qo -- {} +
    error: cannot determine ownership of directory '/lib'
    /lib/libthread_db.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_files-2.16.so is owned by glibc 2.16.0-1
    /lib/libc-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_nisplus.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_dns-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_nisplus-2.16.so is owned by glibc 2.16.0-1
    /lib/libanl-2.16.so is owned by glibc 2.16.0-1
    /lib/libnsl-2.16.so is owned by glibc 2.16.0-1
    /lib/libcidn-2.16.so is owned by glibc 2.16.0-1
    /lib/librt.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_nis.so.2 is owned by glibc 2.16.0-1
    /lib/libBrokenLocale-2.16.so is owned by glibc 2.16.0-1
    /lib/libc.so.6 is owned by glibc 2.16.0-1
    /lib/libpthread-2.16.so is owned by glibc 2.16.0-1
    /lib/libcrypt.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_db.so.2 is owned by glibc 2.16.0-1
    /lib/libutil-2.16.so is owned by glibc 2.16.0-1
    /lib/libm-2.16.so is owned by glibc 2.16.0-1
    /lib/libpthread.so.0 is owned by glibc 2.16.0-1
    /lib/libnss_files.so.2 is owned by glibc 2.16.0-1
    /lib/ld-linux-x86-64.so.2 is owned by glibc 2.16.0-1
    /lib/libcidn.so.1 is owned by glibc 2.16.0-1
    /lib/libSegFault.so is owned by glibc 2.16.0-1
    /lib/libnss_nis-2.16.so is owned by glibc 2.16.0-1
    error: No package owns /lib/modules
    /lib/librt-2.16.so is owned by glibc 2.16.0-1
    /lib/libthread_db-1.0.so is owned by glibc 2.16.0-1
    /lib/libnss_hesiod-2.16.so is owned by glibc 2.16.0-1
    /lib/libdl-2.16.so is owned by glibc 2.16.0-1
    /lib/libanl.so.1 is owned by glibc 2.16.0-1
    /lib/libpcprofile.so is owned by glibc 2.16.0-1
    /lib/libnss_compat-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_compat.so.2 is owned by glibc 2.16.0-1
    /lib/libmemusage.so is owned by glibc 2.16.0-1
    /lib/libm.so.6 is owned by glibc 2.16.0-1
    /lib/libresolv-2.16.so is owned by glibc 2.16.0-1
    /lib/libBrokenLocale.so.1 is owned by glibc 2.16.0-1
    /lib/libutil.so.1 is owned by glibc 2.16.0-1
    /lib/libcrypt-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_hesiod.so.2 is owned by glibc 2.16.0-1
    /lib/libdl.so.2 is owned by glibc 2.16.0-1
    /lib/ld-2.16.so is owned by glibc 2.16.0-1
    /lib/libnsl.so.1 is owned by glibc 2.16.0-1
    /lib/libresolv.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_dns.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_db-2.16.so is owned by glibc 2.16.0-1
    Long story short, I'm quite confused by this. And I have a barely-working system I need to fix.
    Can anyone please offer input on what might be going on with this system? And perhaps offer suggestions for straightening out the mess?
    Thanks,
    James
    Last edited by jamtat (2012-11-02 23:55:10)

    Ok. So I'm officially dumb--in case that wasn't already apparent. I thought I'd tried upgrading glibc after I'd deleted the symlink to /usr/lib/modules (I deleted it a couple of times). But I was apparently wrong: after just now deleting it upon reading your post, I see that the upgrade has worked and that  the system reboots into its former normal state. So. it looks like it's fixed and like this thread can be marked solved. Still I'm curious: will mkinitcpio continue looking for modules in /lib?
    Thanks,
    James
    Last edited by jamtat (2012-11-03 16:22:09)

Maybe you are looking for