Fedora :: Upgrading 10 To 11 - File System Got Changed
Aug 28, 2009
i heared that in fedora 11 with new kernel version comes ext4 as default file system. when i was upgrading fedora 9 --> 10, i just changed repos in /etc/yum.repos.d. now the question, if i upgrade my system, will my file system got changed, and if it does, will my data got damaged?
I have asked this over on Launchpad and have found bugs filed on the eclipse bug tracker but it seems to be going nowhere so I guess ill ask here.
I am using Eclipse for some development work and having saved a file, defocus the eclipse window (to test changes in a browser) when I refocus the eclipse window I get the following error...
The file 'path omyfile' has been changed on the file system.Do you want to replace the editor contents with these changes?
I have searched and searched and this seems to be a CIFS/SAMBA problem. I even found one solution suggesting that changing his mounts from cifs to smbfs fixed his problem however that would appear not to be an option for me since using smbfs in the fstab causes cifs mounts. This problem would seem to occur in Bluefish as well as some other IDE's so it is not an Eclipse issue.
---------- LINKS TO RELATED ---------- Launchpad Question Eclipse Bug --------------------------------------
All of a sudden my production system changed to read only. Ran fsck and it ran for about 5-10min before it crapped out. Now when rebooting, getting an ext3-fs error, attached is an image. The system is on an ESX environment.
I am using the default CVS available in Fedora 9. I initiated the CVS server by cvs -d /usr/local/cvsproj init To check-in and check-out the following exports commands are used export CVS_RSH=ssh export CVSROOT=:ext:swathi@SERVER:/usr/local/cvsproj
I shall explain problem by taking an example. A project was checked in long before (for example the checkin date is 25 Feb 2010). And today (i.e. 21 June 2011) I checked out the project from the repository. After checkout, the date of the project in the repository is changed from 25 Feb 2010 to 21 June 2011. This date is set to all the subfolders in that project. But the files in the project retains the checking date i.e. 25 Feb 2010. Why the check-in dates are getting updated/changed to the system time after doing check-out.
now my system does not connects automatically when fedora start's to eth0 i have to connect it manually by pull down menu in the beginning hostnname was dbe272b22.dslam-172-17-161-245-0532-474.dsl.cantv.net i do not remember if the last part ".cantv.net" was there.... i changed hostname "dbe272b22.dslam-172-17-161-245-0532-474.dsl" maybe ending with ".cantv.net" with system-config-network for hostname "edicta" i modified /etc/hosts by hand twice, now do not remember what i did exacly but here you can see /etc/hosts
When I was trying to upgrade my fedora 13 system to fedora 14 through preupgrade,there was an error message as show below: Cannot retrieve metalink for repository: fedora. verify its path and try again How to upgrade my system to fedora 14.
I am using fedora 8. I want to upgrade my system but I don't have internet connectivity I cannot use yum can any body tell me from which site I can get all the rpm packages specially gcc, glibc so that I can take them in my pen drive and install in my f8.
I upgraded my Fedora Core distribution from 12 to 14. Everything worked fine, except for SQUID which refused to upgrade. I then went to rescue and installed SQUID using yum and then restarted the upgrade. It did finally upgrade the system and then asked for a reboot. Well, when I selected the new kernel option in the GRUB options, since I also have Winduhs, it gave a kernel panic. I tried booting into the older kernel and it worked. Now I see the users that are there in the system in the Graphical GUI login greeter screen. But none of the users get authenticated. I used the rescue option and removed graphical login and changed boot level to 3. I also enabled the root user. In the rescue mode, if I do a startx, everything works fine.
I logged off rebooted the system. When I login, I see the version is shown as Fedora Core 14, but the kernel was still the older one with Core 12. I again went to rescue and checked out GRUB and saw that it had no initrd for the new kernel. I created a initrd image with the mkinitrd command and then added it to grub. I again rebooted. This time it shows the correct kernel, but still the system does not allow any of the users to login. All the Logins fail. I have tried going to rescue and going to the system using 'chroot /mnt/sysimage' and doing a startx for Graphical. Everything works, but only with the Rescue mode in the DVD. The normal boot/login sequence does not work.
Incidentally when I do a 'yum distro-sync', I get something like this :
---> Package dialog.i686 0:1.1-9.20080819.fc12 set to be downgraded ---> Package dialog.i686 0:1.1-11.20100428.fc14 set to be erased ---> Package diffstat.i686 0:1.51-1.fc12 set to be downgraded ---> Package diffstat.i686 0:1.51-2.fc14 set to be erased ---> Package diffutils.i686 0:2.8.1-25.fc12 set to be downgraded ---> Package diffutils.i686 0:2.8.1-29.fc14 set to be erased
It still seems to believe its a Fedora Core 12 system. Another information is that when I leave rescue mode and do a normal boot without installation media, it starts doing some SELinux relabelling and reboots. Any pointers on how I can get the system working. I am able to work with the rescue mode way, with any user, as it does not ask for any password. I can even do startx and work on the GUI. All my data is also there. I just am unable to get the user authenticated using normal boot/login. I have tried using passwd -d username, but it gives an error : passwd: libuser initialization error: could not open configuration file `/tmp/libuser.ElY0r9': No such file or directory In fact, I am now in rescue mode only when I am writing and sending this.
I upgraded from Fedora 10 to Fedora 11, and it seems that when I saved my main.cf file, something changed in the versions and it no longer works. I've tried going through the file and tweaking it, but it's not working. Here is the postconf
After preupgrading without problems, I did not reboot the computer inmediatly. I was surprised that, although preupgrade had finished, the terminal window was yet active and I closed it. On reboot, in the Grub window, one of the options is "Actualizar a (upgrade to) Fedora 14". If I select it I get: "Booting 'Actualizar a Fedora 14 (Laughlin)'
kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=02f7302b-aa56-4c33-b533- fa1549aa0860:/upgrade/ks.cfg stage2=hd:UUID=02f7302b-aa56-4c33-b533-fa1549aa0860:/upgrade/install.img initrd /upgrade/initrd.img Error 15: File not found Press any key to continue....."
and pressing a key it returns to the Grub window. The /upgrade directory doesn't exist, but it does the /boot/upgrade where the vmlinuz is. uninstall and reinstall the preupgrade, rebooting inmediatly, but I don't know how to uninstall and if this is the solution. How can I uninstall the preupgrade?
On installation of my OEL (Oracle Enterprise Linux), I've made a mistake, and set the date and time wrong. It's pointing to a date far in the future. So I change the date (and time), all looks OK. But when I boot, all is back to the same date (in 2015). I'm running this OS in VMware, I don't know if this issue relates to VM or not.
I need to write a small application which needs to detect if the system time is changed by an another application/user and perform some action as soon as it is detected (maybe log the data that time has changed, along with info about which application/user changed it).
How can this be achieved?
I have good programming experiences in shell script, c and beginner level in python. I don't need to know when it was changed, just need to know who/what changed it. The system uses NTP to sync the time, but it is also possible for anyone/any application to change the time(for eg: using the simple "date" command as well).
Vista Recovery Windows 7 GRUB Extended -->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
I am using a backup system with cron + tar. Since the server is very busy, I get often the cron-email: "The file XYZ has changed while reading". This message is a bit annoying and I see it as critical point in my backup system. I believe that this file is then not in my backup. (Is that correct?) Let's imagine the hard disk dies and I have to recover the system and my personal data, and in the night the mysql-table XYZ was not in the backup, because it was in read-usage. I would then have lost this table forever. Is there any way to tell TAR, that it should force the file to be included (if in read-usage, then wait 2 seconds and try again)?
I've made a really critical and simple mistake and now I am trying to recover my computer. I accidentally logged into root and was trying to change permissions for the current directory with "." but instead used a "/" which started changing permissions of everything from / recursively. I quickly realized the mistake I made after it started and aborted the process by pressing ctrl+C. However I know many things are still not right because, even though I tried to reboot and change the permissions back to 0755 from the recovery mode root console. I still get errors when gnome tries to start..Here is the exact error I am getting. "There is a problem with the configuration server (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256". I'm pretty sure because of the way I aborted or because of the time the filesystem was running with 644 permissions, some amount of damage was done. Any way to recover it to normal? Or is there a way to recover it from the Ubuntu CD?
How do I monitor which files have been changed after, say, I run the passwd command? (I know, depending on the options used, it changes /etc/shadow and/or /etc/passwd). But I would like to if there is any clever ways of monitoring this. This is how I do it which is a bit crude, and I have to know which directory to monitor. Before running the command, I run
for i in $(ls -A) do; md5sum $i >> /tmp/before; done
And after running the command, I run
for i in $(ls -A) do; md5sum $i >> /tmp/after; done
Then I do a diff to see if any file has been changed
Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.
I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.
I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?
I am running a Fedora 10 Virtual Server and get have a feeling I have been hacked. I needed to fix a source file that I had definately not changed myself. It was a PHP file concerned with usernames and passwords so that made me even more suspicious. I have been investigating and found the following. If you need other information give me the command I should run and I will update, I am no expert in this area and use the server to host my website and SVN. I am the only person that has access to the server.
Code: # lsof -u nobody COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
It seems I had some kind of intrusion and I found 6 files changed its ownership to user 1035 and group 1035, I don't know how but I need to change them back to its original owner (root) because one of them is the ls command and the other is the ifconfig how can I revert them to its original state? I cant do it with chown.
I am trying to install True Combat: Elite on my Fedora 14 machine, but when I try to install it, it tells me there is an error in the md5 checksum of the binary installer. Output:
[alex@sofy01 Desktop]$ sudo linux32 ./true.combat.elite_0.49-english.run Verifying archive integrity...Error in MD5 checksums: 3723510cf281bc315a9009cd1ca4f0e4 is different from 7cd28449f1231ff747e08fb76d4615c3
This file was copied from a flash drive onto my hard drive. Is there any way to skip md5 checks because I really do not want to download this 200+ MB file again.
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
Need to track which users are making changes to production files. I have a small number of administrators with access to su, but need to be able to identify which administrator is making changes to which files after they have su.I have read several post and articles regarding auditd tool, but it is not clear to me whether this tool can generate a log that shows the original user and file being altered.
I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.
command chown -R myusername * in the base directory /
Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.