General :: Sustain Data After Reboot?

Feb 1, 2011

i want to sustain some contents in a particular directory say /usr/bin/dir1 after reboot

View 5 Replies


ADVERTISEMENT

Slackware :: Data Loss After Sudden Reboot On Xfs

Oct 25, 2010

I have a laptop running slackware-current. The disk is /dev/sda and the root 'sda1' is xfs formatted (there is also linux swap at sda2).

recently I was trying to setup openvpn and had to copy a folder with configuration files from /usr/doc/openvpn_<version>/easy-rsa to /etc/openvpn.

I am sure the copying completed cause I got a prompt, but a few seconds later the battery died on me. When I got mains and powered it up, I could see the directory I copied under /etc/openvpn, and the files where all there too. but they all contained nothing. i.e. they had a size of 0.

I read [URL] Fthat an external journal filesystem for root is not supported. I am not sure If it applies to my situation though. As in does it use an internal journal instead?

and the bottom line is: shouldn't the copying have completed successfully? shouldn't I be worried, that this copy failed?

View 7 Replies View Related

Fedora :: 12 Installed On USB Disk, And Save User Data After Reboot?

Dec 9, 2009

use fedora system, and installed fedora 12 on my usb disk by live-usb creator.Now, the problem is everytime i reboot the computer, the user data and software i installed will disappear.When installing, i choose persistent space which is described for user data and software, but it seems not work now.What can i do if i want my fedora on usb disk is just like the system installed on hard disk

View 1 Replies View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.

View 6 Replies View Related

General :: Mount: /dev/mapper/gegevens-Data Already Mounted Or /data Busy

Jul 14, 2010

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee

[code]....

Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:

umount /data/
umount: /data/: not mounted

If I want to mount the volume I get the following error:

mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy

View 3 Replies View Related

General :: [FYI] "last -f <old Wtmp> -x Reboot Shutdown" Incorrect For Last Reboot And Shutdown?

Mar 25, 2010

Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.

The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration

Code:

shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.

When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.

The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.

So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown

Code:

[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]

The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.

View 1 Replies View Related

General :: Conversion Of Big Endian Data From Unix To Little Endian Data

Aug 8, 2011

Currently we have migrated data from Unix linux. The data in Unix is in Big endian byte structure. Where are as Linux (suse linux) byte structure us little endian. This byte order mismatch is creating problem when data is read again in microfocus cobol.

Is there any way to set byte order in Linux is big endian?

Is there any utility to convert data in big endian byte structure to little endian byte order.

View 4 Replies View Related

Red Hat / Fedora :: Identify Reboot Source Or Cause Of Reboot?

Feb 16, 2011

last -a shows server rebooted, how to identify the source or cause of reboot? thx reboot system boot Wed Feb 16 08:52 (02:0 2.6.21.7-2.fc8xen

View 2 Replies View Related

General :: Last Uptime After Reboot?

Dec 3, 2010

I want to know if there is a way to know the uptime for a server after a reboot process, I need that information for a statistic, but I forgot to take the uptime before reboot the server, so I am looking for that information after the server is power on.

View 1 Replies View Related

General :: What Really Does 'reboot -f ' Command Does

May 17, 2010

What is the exact way 'reboot -f' command operates? How does it differ from regular reboot/shutdown? Is it proper to restart pc using 'reboot -f', if not why? The reason why I'm asking this: After installing live-distros via USB, I usually do this 'reboot -f' for restarting.

View 1 Replies View Related

General :: Can't Reboot Server

Jul 2, 2011

I login to my server and when I open new console I get:

-bash: /etc/profile: Input/output error
-bash: /root/.profile: Input/output error

and nothing is working I tried to reboot or top command but not working also I can't open SFTP the server says The server has rejected the SFTP request.

View 2 Replies View Related

OpenSUSE :: Does KMail Account Data - Such As Login Data / Names Of Pop / Smtp Servers

Oct 6, 2010

Where apart from ~/.kde4/share/apps/kmail does kmail keep account data, such as login data/names of pop/smtp servers? I wanted to install an entirely clean version of kmail, so I uninstalled/re-installed kmail via YAST. I manually deleted ~/.kde4/share/apps/kmail. After installing kmail I found that the account data of my Yahoo account were still listed in the kmail configuration panel. Shall I delete the Yahoo account within kmail prior to uninstalling the kmail package?

View 4 Replies View Related

Debian :: Network Manager Overwrite Resolvconf Vpn Data With Eth0 Data

Jan 23, 2010

I'm trying to connect to the VPN of my employer; after fix various minor issues I reach this point in which the DNS entries and the default gateway of the VPN are overwritten with the values of the eth0 device that appears by default. Therefore the vpn is not useful.

View 1 Replies View Related

Networking :: Serial Port : Read Data, Not Reading Complete Data?

Mar 5, 2010

I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port

Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)

[code]...

View 5 Replies View Related

Programming :: Get Data From Serial Port Function Read() Blocks When Data Not Available?

Jun 11, 2009

I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:

//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;

[code]...

View 1 Replies View Related

Ubuntu :: Excel Data Shrinks To The Small Scale - Unreadable When Copy Data From Another Spreadsheet Onto The New One

Jan 17, 2011

I've been using Excel from OpenOffice with moderate success for the last year. Now I've just tried to open a new spreadsheet and I'm suddenly getting a highly condensed view. The cells are about 1mm X 4mm. If I expand them by selecting and dragging, then try to copy data from another spreadsheet onto the new one, the data shrinks to the small scale -- unreadable.

View 4 Replies View Related

Ubuntu :: Recovering Data - This Directory Has Been Unmounted To Protect Your Data

Jun 3, 2010

Ubuntu 9.10 64bit. Acer Laptop

Using ubuntu 9.10 cd to access laptops hard drive.

foun readme file in /media/disk/mark

opened with openoffice. THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on: "Access Your Private Data"

or

From the command line, run: $ ecryptfs-mount-private

So I tried a couple of ways...

View 9 Replies View Related

Ubuntu :: 3TB HD (with Data) Expanding To 3x3TB RAID (without Losing Data)?

Jul 27, 2011

Right now I have a 320GB system drive and 3TB data drive. I want to add two more 3TB drives and do a software RAID5 3x3TB. Is that possible without losing the data that is already on the data drive?Just want to make sure before I bought the 2 two drives. Not looking for instructions on how to do it,but if you want to include some that would be great too Just making sure it will work.

View 1 Replies View Related

General :: Reboot From Windows With Grub?

May 6, 2010

I have machine with Windows and Linux with GRUB, only with remote access. Is there any way to chage default OS in grub from windows? I know how to achieve it from linux, something like

echo "savedefault --default=2 --once" | grub --batch; sudo reboot

should work. Is there any way to achieve it from windows?

View 1 Replies View Related

General :: Changes To /etc Files Revert Changes After Reboot?

Nov 22, 2010

I've been messing around with a Verizon Hub trying to see if I can get it to register with my Asterisk server. I have been able to telnet into the phone with the root username. I can change files in every other folder on the device except in the /etc folder. I have tried mounting many different ways, changing file permissions but everytime I change the file and reboot it goes back to its default configuration.

View 2 Replies View Related

General :: Possible UUIDs Changing Every Reboot?

Aug 1, 2011

I have installed CrunchBang, then I moved the /tmp and /var to different partitions (I like to put these on reiserfs) the reason I did it after the install is because CrunchBang's installer doesn't give me the options to create reiserfs partitions during install (but does recognise reiserfs as I can manually mount them). Also these two partitions are logical.Anyway I have Windows 7 and Ubuntu 10.04 already installed and working fine but CrunchBang always changes the UUIDs of /var and /tmp when I reboot. Is that even possible I have also tried using the old method of /dev/sd** but of course that gets changed as well.

View 3 Replies View Related

General :: Need To Be Able To Set Cron To Reboot System Every 5 Min

Jul 19, 2010

I have a friend who needs a script to reboot a system every 5 min... not sure how to set cron to do this every 5 min.

View 1 Replies View Related

General :: ASM Will Not Start Automoatically After A Reboot

Nov 3, 2010

Running close to a go live date of 11/10/10 and need to have this fixed. DBA is pointing to the OS which is RedHat Enterprise Release 5.3. with Oracle RAC 10G

Oracle works fine it just won�t start up automatically after a reboot. After a reboot a person with root access has to increase the number of semaphores and then oracle will start and function. The next time the machine is bounced the same issue will arise and the semaphores need to be increased again by hand. Every time the machine is bounces the semaphores need to be increased by hand. This is not normal for a Unix machine. Semaphores are not part of the oracle install, it is a kernel parameter on Unix machines. Eventually after several reboots the semaphore parameter will be too high for the box to function. Once the semaphores have hit their peak, we reset them back to the original value and the whole process starts over again. This is a Unix build issue that has only surfaced on the production machines. The DAS development machines have the exact same oracle build and do not have this issue.

View 1 Replies View Related

General :: Get Black Screen After Reboot?

Mar 6, 2011

I just installed Ubuntu and after the restart all I get is a black screen. Sounds like the program booted up but I can't see any thing.

Using a Gforce 9400 vid card.

View 1 Replies View Related

General :: Can't Force Reboot From Program?

Jul 7, 2011

running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:

system("shutdown -r");
or
sync();

[code]....

View 4 Replies View Related

General :: E2fsck For Only One Volume On Reboot?

Feb 9, 2011

I know if I do a shutdown -rF now, it will perform an e2fsck on all my volumes with the -y switch. But if I just want to check one of the volumes rather than all of them, and have it use the -y switch so it will automatically answer yes to everything, how can I do that?I'm using RHEL, and have a huge volume I need to run a check on, and I dont want to sit there for the next 24 hours hitting the Y key every time it finds a problem ;-)

View 1 Replies View Related

General :: How Do You Clear Reboot History

May 24, 2011

I don't mind a few lines of reboots, but this is getting rather long:

How can I clear (or reduce) the history that comes up when ssh to my host?

View 9 Replies View Related

General :: How To Bypass FSCK At Reboot

Jul 23, 2010

I have a server that said a volume was dirty and to check it at reboot, so someone did a shutdown -rF now. Only problem is the other volumes are HUGE and it will take forever, which I cant have happen. The volume with the trouble is non-critical so I could take it offline and check it that way if i can get this to boot quickly. How can I do that if its going to auto check every volume on reboot now?

View 2 Replies View Related

General :: Detect Ip Address From Last Reboot Done?

Feb 22, 2011

How would i detect the ip address from where the reboot command been given to linux host.

My linux host details are as below.

Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved