General :: Restoring /usr/bin/php File?
Sep 13, 2010
I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content
View 14 Replies
ADVERTISEMENT
Jun 13, 2010
I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly. I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.
Here is my autostart.sh file: Code: # Autostart file for openbox nitrogen --restore & sleep 2s && tint -c /home/john/.config/tint/.tintrc) & (sleep 2s && trayer --expand true --transparent true --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) & I do have proper content in the .tintrc file located in /home/john/.config/tint/tintrc. Am I doing something wrong here?
View 4 Replies
View Related
Aug 27, 2011
I turned my laptop in for repairs. I used someone else's USB drive to hold my pictures etc from that computer. I may have replaced the "pictures" folder tat was already on there, but I'm not sure if it was there in the first place. (Doesn't remember the "Are you sure you want to replace..." warning <.< >.>) I enabled hidden files, and there was a folder called .Trashes, instead of what you'd normally get. I copied my pictures onto my desktop, and then cleared the ones on the USB drive (left the folder). There was a folder named .000Trash-, or whatever it usually is. Only my pictures are in there. I'm confused, and don't tell me the pictures that were originally on the USB are gone forever.There's a tool for Windows, called Glary's Uilities that can get them back, supposedly. Not running windows, though
View 4 Replies
View Related
Aug 3, 2011
I was using Ubuntu, installed over Wubi in WindowsXP. Due to some hard disk issues, I was having some problems booting into Windows. But Ubuntu was working fine. So i backed up all my data from Ubuntu and somehow managed to back up the 'root.disk' from Windows.That hard disk turned out to have some bad sectors. Now I am over a new hard disk with all my data and WindowsXP freshly installed. I want to have my old copy of Ubuntu back as I have the 'root.disk' file with me. How shall I proceed?I tried installing a fresh copy of Ubuntu using Wubi and then replace the 'root.disk' file. But it showed some Grub error.
View 1 Replies
View Related
Jun 13, 2010
I may have posted this in the wrong section before. I had it in General Questions and wasn't getting any feedback there, so I'll try here. Okay, onto the problem...I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly.I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.
Here is my autostart.sh file:
# Autostart file for openbox
nitrogen --restore &
[code]....
View 11 Replies
View Related
Jan 20, 2011
I did a backup of /photos /documents /downloads and /music with mintbackup creating backup on /dev/sdb1
I cannot get mintbackup to restore the file, and I was able finally to get /music file restored. Below is error from cli
Code:
BoredOOMM@ursa-major ~/temp $ sudo tar xzvf 2011-01-16-1424-backup.tar.gz
[sudo] password for BoredOOMM:
.mintbackup
Music/TheWhistler1947.zip
Music/SUSPENSE6.zip
Music/TheWhistler1946.zip
[Code]...
View 7 Replies
View Related
Jul 7, 2011
I've been using 11.04 Unity, & quite like it. I fired up Blender 2.49b the other day (not used it for a long time) & its behaviour was very erratic. Due to this I decided to reinstall 10.10 for the time being, until October or maybe even the 12.04 LTS. I backed everything up & reinstalled 10.10. I then tried to restore my Evolution from the Natty backup file, which simply didn't work. The message was something about it not being a valid file. I'm assuming this is a non backwards compatibility issue.
Any way getting Blender to work or restoring Evolution? With regard to Blender (in Natty); I've not tried proprietary drivers for my GPU yet as the open source defaults have always been fine, so that's an option. It means another reinstall (of Natty), but that really isn't such a big deal at this point. With regard to Evolution (in Maverick); I found a ppa but I'm unsure how to proceed once I've added it. Would I do an apt-get update & an apt-get install evolution?
View 8 Replies
View Related
Jun 18, 2010
I have performed the tar backup in my linuxbox by using the commandtar -cvpzf ring.tar.gz /m01/fordb/sqlThe ring.tar.gz is stored in /m01Now i need to restore the particular directory sql into the /m01/fordb/where i have deleted the sql directory
View 3 Replies
View Related
Aug 17, 2010
error at restoring dumped sql
I have backuped sql by mysqldump on mysql version 5.1.41. But when I restore this sql by command "mysql -uroot --default-character-set=utf8" my-db < my-sql.sql" I've got this error message.
Quote:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'barunarum',1,1,1,1,1,1,1,1,1,1,3,3,-1,5,1,-20,0,'','script|iframe',0,0,0,0,0,0,0' at line 1
View 4 Replies
View Related
Jan 21, 2010
im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.
But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?
I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?
View 7 Replies
View Related
Jun 4, 2010
If I want to restore an full backup of AMANDA, will it restore the OS along with the files or does it just restore all the files in /
View 2 Replies
View Related
Feb 16, 2010
can i do a complete system restore on a toshiba netbook with linux op system, as ive bought one with admin name and password still on it, and i dont know the password to use the admin side of the netbook?
View 10 Replies
View Related
Oct 14, 2010
on a Linux pc I want to restore the contents of the DLT tape to /mnt directory,how to do itIf I just want to see the contents of the files, is it possible to read the contents irectly from tape without restoring to hard disk?
View 4 Replies
View Related
Feb 22, 2011
I mistakenly deleted the repo directory in the yum folder. Now my yum command does not work.i tried to rpmfusion but i couldnt find the rpm for fedora 7. How can i restore my repos. I didnt do any modifications. Only rpmfusion repo would do.
View 5 Replies
View Related
Jul 11, 2011
at work place I have an HP ProLiant DL580 with RedHat Enterprise Server 5.4 x64. Today I cloned this machine using clonezilla. What I would like to do is restore the image to VMWare machine for personal purpose (I cannot perform tests on production machine). But after restoring on VMWare I got "Kernel Panic". That's normal due to different hardware.
Now, is there a way to remove the Kernel Panic and correctly boot the machine? I ask our tech department for the RedHat CD1 to enter the "linux rescue" enviromnent, then try to re-read the hardware list with
# chroot /mnt/sysimage
# kudzu
View 3 Replies
View Related
Oct 14, 2010
in my fedora machine i gave
mysqldump <database-name> > bakup.sql
in my solaris machine i gave
mysql <newly created dbname> < bakup.sql
it shows the below error
ERROR 1064 at line 25: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 7
mysql version in my fedora machine is
mysql Ver 14.14 Distrib 5.1.47
mysql version in my solaris machine is
mysql Ver 12.22 Distrib 4.0.24
View 4 Replies
View Related
Feb 3, 2010
I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD.The laptop's HDD is unformatted and has no partitions.I expected this to work:$ sudo dd if=/path/to/backup.img of=/dev/sdaBut I'm tolddd: opening `/dev/sda': Permission denied.
View 1 Replies
View Related
Mar 20, 2010
Due to my inattention, tiredness (and probably stupidity) i've run "chown -R someuser:someuser /" and now all your base are belongs to us the files on the server belong to one user (lol).After system restart, apache, bind9, mysql, and adozen other applications don't start and fill their log files with permission errors.I haven't done any backups on system files, only on the db and website files.Please suggest some ways to revive my web server. I have only 2 month experience with linux,
View 1 Replies
View Related
Jun 30, 2010
I backed up my laptop months ago. Today i repartition the drive and used sysresccd with partimage to restore the HDD. I got a success msg after restoring however when booting i get a bootmgr missing error. How do i fix this?
View 2 Replies
View Related
Jan 27, 2010
I was having trouble creating a USB Startup Disk in Ubuntu and used the command:
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1
This was a mistake as my USB flash drive was on /dev/sdc. If I am understanding this correctly, the command above deleted the MBR and the partition table. This disk had a single "/storage" partition on it. I googled a solution and found that the "testdisk" program seems to be the most popular solution for things like this. I ran it, selected an "Intel/PC partition" type, set the partition to a non-bootable primary Linux partition, wrote it, and rebooted.
Whenever I run:
sudo mount -t ext3 /dev/sdb1 /storage
I get:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Dmesg shows the following:
[20246.273941] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[20246.279376] EXT3-fs: group descriptors corrupted!
When I run:
sudo fdisk -l /dev/sdb
I get:
Disk /dev/sdb: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 4 Replies
View Related
Jan 2, 2010
I'm trying to restore an image from a 40gb partition(6gb used) to a 100gb partition. I set everything up in gparted and and restored the partition image with clonezilla. In gparted, the partition shows the full 100gb partition with 6gb used, however when I boot windows and open the properties on the C: partition, it shows that it's only 40gb. Is there some setting to restore the partition image and use the full 100gb?
View 7 Replies
View Related
Apr 30, 2010
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
View 9 Replies
View Related
May 24, 2010
Several months back I backed up a windows hard drive using an ubuntu live cd and this commanddd if=/dev/hdx | gzip > /path/to/image.gzI now want to restore that image but so far have not been successfulI have tried to restore using this commandsudo dd if=/path/to/file.gz of=/dev/sdb1After some time has passed, the terminal reads23568129+1 records in23568129+1 records out12066882348 bytes (12 GB) copied, 1327.65 s, 9.1 MB/sIf I reboot to windows with the 2nd hard drive connected as a slave. I go to my computer to try and browse the files of the restored HD but when I double click the drive, windows saysthe disk is not formatted.I have also tried sudo dd if=/path/to/file.gz of=/dev/sdbAnd when I do this, the disk does not show up in places/my computer but it will show up in gparted and Disk Management
View 4 Replies
View Related
Oct 1, 2010
I took a backup of a guest OS running in an LVM.When I took the backup I created a snpashot of LVM and mounted thatsnapshot in some location.Used rsnc to copy its contents to a USB drive.Can I boot "somehow"from this copy of Guest OS which is now in USB drive?I am using KVM on 64 bit 10.04.
View 1 Replies
View Related
Mar 8, 2011
I save my whole system to a .tar.gz file weekly except for the /proc content. I have used this backup a few times to restore my system without issue.
Last time I restored, I discovered the following 2 issues I home somebody can explain:
#1: while extracting the .tar.gz using tar xzvf filename.tar.gz, I get the following error near the end of the restore process "tar: Incorrect Length". This error only occurs when I boot the system with the slackware 12.1 disc 1 CD. It does not occur if I try to restore from my working system, same file. Other than this, everything seems to be restored properly and the system boots up properly. I am just concerned by the meaning of this error.
#2: After restore, I do lilo -C /mnt/etc/lilo.conf to make sure the systems boots up properly. This works... however, I have discovered that just this won't make module autoloading work after the restore. When booting the restored system, no module autoload !
I have correct this by just entering setup when booted up using the slackware 12.1 disk 1 CD and going thru addswap, set target without format and the going thru the configuration menu and cancelling all question.
Why would modules not load automatically ?
View 4 Replies
View Related
Jul 19, 2009
We are doing some disaster recovery exercises with CentOS 5. One of the things we want to do is be able to restore to our old production server. However, after restoring the partitions the boot loader starts and then does nothing other than displaying the location of the kernel image at the top of the screen.
If I use the installation CD to boot and chroot into the system everything appears to work fine. I am not sure why the system isn't working right.
View 1 Replies
View Related
Jan 23, 2010
the links are my stage of backing up my / and /home, both on different partitions.
short-sum up: with rsync, 2-weekly, manual on an external disk.
viewtopic.php?f=10&t=47836&start=0
viewtopic.php?f=10&t=48582
all my test restores in vbox worked fine. i may use the backup as a second OS, so it works. but there i first deleted the old OS and than ran cp -a /media/backup_partition /media/restore_parititon.
yesterday i ran into trouble and had to restore my system.
mount /dev/sda1 /media/restore
mount /dev/sdb1 /media/backup
rsync -auv /media/backup/ /media/restore
that did work, but not so good. dpkg-errors, all non-repo-apps, like opera and some old thrash, were a mess. i had to reinstall them with dpkg to delete them. besides that the system is up and running, but it was a lot of work.
View 12 Replies
View Related
Jun 15, 2010
I'm really into desktop customization so today while i was changing a couple of things here, i did the stupidity of changing the recycle bin icon (right click on the icon> properties> basic tab). I obviously regreted it and now i'm trying desperatly to restore it to the default icon. I'm not a total noob when it comes to customization
View 2 Replies
View Related
Dec 20, 2010
The HD containing my main F14 install is suddenly failing with many unreadable blocks. So I booted a different F14 installation I have on another disk.
Then I run dump, for example, as following:
Code:
dump -0 -a -q -v -A sdb1_home.arc -f sdb1_home.dmp -L F14_sdb1_home /dev/sdb1
as, for what I can recall, I've often done to create full backups.
The problem is that running restore with this command:
Code:
restore -i -A sdb1_home.arc -f sdb1_home.dmp
(as, for whatI can...) and using the add and extract commands, only the directory are created. But files are listed using ls. If I add just a file, only dirname is extracted.
View 9 Replies
View Related
Sep 19, 2010
I currently backup my database using MySQL Administrator. I wanted to test out restoring the database, so on my test server I deleted the database and restored the .sql file to a new schema with the same name as the old. one. It appears to complete the process just fine. But I noticed that the number of rows for the restored database is slightly less than what was backed up.
Is this normal or should the numbers be exactly the same? It's only a difference of about 28 rows. I seem to be able to view the data just fine in the query tool.
View 4 Replies
View Related