General :: Dump And Restore - Making Client And Server Identical

Jan 12, 2010

Need confirmation if the following scenario works for making my client and server as identical?

My local(source) Linux server @192.168.0.2
My remote Linux client @192.168.0.70
On the local system :
#df -m
Filesystem Mounted on
/dev/hda3 /
/dev/hda1 /boot
tmpfs /dev/shm

On the local system , issue the followings to make client and server as identical :
#dump -0uvf - /dev/hda3 | ssh root@192.168.0.70 -c "restore -rf - /"
#dump -0uvf - /dev/hda1 | ssh root@192.168.0.70 -c "restore -rf - /boot"
#dump -0uvf - /dev/shm | ssh root@192.168.0.70 -c "restore -rf - /tmpfs"

View 1 Replies


ADVERTISEMENT

Server :: How To Restore Dump Command

Sep 7, 2010

I am still new in linux (Redhat) i used dump command to backup the root of the linux server: #dump -0u -f /dev/st0 / the command is achieved. how to restore this dump.

View 2 Replies View Related

Ubuntu :: Can't Dump / Restore A File

Feb 18, 2010

I got a backup file which first 1000 bytes are as follows:

Code:

00000000 54 41 50 45 00 00 03 00 8c 00 0e 01 00 00 00 00 |TAPE............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000030 02 00 87 05 51 64 50 48 01 00 00 00 01 00 00 00 |....QdPH........|

[code]....

I tried to restore it:

Code:

$ restore -r -f zzz_labxxxx
Checksum error 32615101403, inode 0 file (null)
restore: Tape is not a dump tape

What application could I use or even try? The man who made the backup can't be reached anymore and we had been left with the backup.

View 1 Replies View Related

Server :: File Server Machine To Store All Data So Being That Have Got Four Identical SATA Hard Drives?

Jan 25, 2011

I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:

/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/)Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?

View 1 Replies View Related

Ubuntu :: Making Pidgin Main Client 10.04?

May 7, 2010

I am not 100% happy with empathy like I was with Pidgin. I am, however very happy with the indicator applet that sits next to the clock. My question is, how do I go about setting this system so that instead of 'chat' loading Empathy, it recognises that as Pidgin instead?

View 5 Replies View Related

Programming :: Incremental Backup Using DUMP Command - Error "DUMP: Only Level 0 Dumps Are Allowed On A Subdirectory"

Sep 6, 2010

I have used Dump Command to dump the application files. For Full backup the level 0 is working fine. For incremental backup I used the level 1 or 2 it is getting the error as

DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.

The code I used
===============================
#!/bin/bash
#Full Day Backup Script
#application folders backup
#test is the username
now=$(date +"%d-%m-%Y")
[Code]...

View 2 Replies View Related

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

Server :: LDAP Server Vs Client / Export Server's Home Directory To The Client?

Jun 11, 2011

I configured openLdap in RHEL5 on virtual achines,everything is working fine, I created a user called ldapuser,in LDAP server and i created a home directory for ldapuser in my LDAP client, now i can able to login to the both Server and client with ldapuser account....

Now here what am expecting is i want to export my server's home directory to the client, i dont want to create home directories manually in the client machine, i googled about that, and it can be done through autofs.....

what need to be done on the client and server side.

View 6 Replies View Related

Ubuntu :: Iptables-restore Server Does Not Restore At Boot?

Jan 27, 2010

what could this bei saved my correct iptables file @ Code: /etc/iptables.up.ruleswhere webmin is looking for it.webmin config is to automaticly boot this file and addes a line at.

Code:
/etc/network/interfaces
file

[code]...

View 4 Replies View Related

Server :: Dump Kernel - Discovering More Detail?

Jun 5, 2009

I need to discover more detail error kernel panic in my linux box, some body know any way do dump in kernel Linux?

View 1 Replies View Related

Server :: How To Create Kernel Dump On RHEL 4.7

Jan 11, 2011

My application team is asking me to generate the kernel-dump.

Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.

I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, I read the kernel-debuginfo rpm's version should match with the kernel version. In my case I couldn't even find the exact version of kernel-debuginfo version.

View 4 Replies View Related

General :: Making X Server Not Binding 0.0.0.0 Or Listening

Sep 2, 2010

I'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface. If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot). Also, Is there a way to make X server bind to 127.0.0.1(localhost) instead of 0.0.0.0(generic interface)? It should be in one of the configuration files or the start-up command to run X.

View 1 Replies View Related

General :: Making File Server With Web GUI Functionality

Jan 27, 2011

I had a external HD from Lacie that just made me mad because you could only log into it from a windows or mac machine. So I took the 250 HD out and through it in my P3 733Mhz Processor, 128 Ram Dell optiplex. Now My Lacie HD had a Network function on it where It had a webserver and a GUI to manage users to it. But it couldn't never get the HD to turn on for Network. It would only turn on when plugged into a USB. So I want to turn my Dell optiplex into a file server with web gui functionality. How should I start.

View 11 Replies View Related

Server :: Disk Dump - Creating Virtual Directory

Apr 14, 2010

I'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.

Code:
dd if=/dev/zero of=/home/disk-img/25GB.ext3 bs=1G count=25

Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.

View 13 Replies View Related

Server :: Create Core Dump When My Application Crashes?

Dec 29, 2010

I am using RHEL 4.7 (32bit) on HP Proliant 380G6 series server. We are using Electric Cloud Agents on these servers. Nowadays we are facing some memory issues and its creates some kernel panic and then restarts the server. When i reported the issue to my application team, they asked me to come with the core dump. I googled it enough, then i set ulimit value as unlimited. (previously it was 0, then i made a entry in /etc/profile file as follows
ulimit -c unlimited) But still whenever my server restarts due to that kernel panic, it couldnt generate the core dump. My application was installed on /opt

The attached document has the kernel panic logs

View 3 Replies View Related

Server :: Dump All Users To The Same Sftp Starting Directory?

Jul 7, 2010

Using CentOS 5.5. I have a handful of users that I need to have connect to my server via sftp and start in the same directory. for example, user1, user2, user3, etc.. will connect via sftp and upon connection will all be in the /some/dir/path/ftp-root directory.I know one way is to create these users all with the same 'home' directory, since by default a user starts in their home directory when connecting via sftp, but before just doing that, I wanted to find out if that is really the appropriate method to use? alternatives? Is there some setting on the sftp server end that could direct all users to one starting directory so that these users don't have to have the same 'home' dir? I'm using the sshd daemon that comes with CentOS 5.5 (with all current updates/patches)

View 4 Replies View Related

Server :: Nonzero Characters In Hex Dump After Zeroing Drive?

Mar 15, 2010

Having done a short DoD wipe of hard drive (Dareks Boot & Nuke),I installed Windows XP on the first half of the drive and again zeroed the other half of drive for installing Debian.Please see attachment of screen shot for command lines input and output.After doing a grep for non zero characters on the second half of the drive(sda2)I was puzzled to find a grep command line search for non zero characters actually turned some up. I have no idea why they are there or what if anything they mean

View 4 Replies View Related

CentOS 5 :: Reading Server Crash Dump Files

Oct 18, 2010

Is there any command available inorder to read the server crash dump files?

View 4 Replies View Related

General :: Making Mail Server Lost In Config

Apr 17, 2010

I have installed the following successfully.
Ubuntu Server 9.10
MySQL
Apache

Now I wish to make my own mail server for my organisation we already have a ISP server but would like to act this for our local delivery and store mails something like what a daemon does. For this I did the following:
Installed fetchmail
Installed send mail
Installed exim
Installed squirell

And now I am completely lost. How do I setup from here. So that I can configure the server.
My server spec are:
PIV 2.8GHZ, 512MB ram, 80GB HDD, HIS MOtherboard, lan card. I don't have any DNS or other stuff here in our office.

View 4 Replies View Related

Server :: Backup Of Svn Repository Using Svnadmin Dump Dumpfile Location

Apr 14, 2011

One of my clients needs a backup of his svn repository. I see that this is possible using svadmin dump command. I see where the location of the source repository is, but I don't see anything in documentation as to where the actual dump file is located. I need to know where the dump file is so I can scp or rsync the file to another server for backup.

View 5 Replies View Related

General :: Making Server Completely Transparent To Speed Up Network

Apr 8, 2010

I am just checking in I know a lil about linux looking to learn more I know forums are the best way to go. I recently installed centos 5.3 on a machine we are going to be using as a squid server. Just a couple quick ?s and just wanted to pick your alls brains. What I am trying to do with the server is use it for caching to speed up our network t but I don't want to go around to all the our customers to setup their browser for proxy. What all is involved with making this server completely transparent. So the end user will does not need to enter in proxy information.

View 3 Replies View Related

General :: Script To Remove Identical Items From Folders?

Jun 15, 2011

I am trying to do a comparison of two folders, let's call them dir1 and dir2 and remove any items that have the same file name in both folders from dir2.

View 4 Replies View Related

General :: Finding And Remove Block Of Identical Strings?

May 16, 2011

i have a problem in finding block of identical strings...i solved the problem in finding consecutive identical words and now i want to expand the code in order to find and remove consecutive identical block of strings... for example the awk code removing consecutive identical word is:

Code:
#!/usr/bin/awk -f
BEGIN{
RS="[[:space:]]+";
ORS=""

[Code].....

View 2 Replies View Related

General :: Vmware Server 2.0.2 Installation On 12 - Making Sure Services For VMware Server Are Stopped

May 19, 2010

I have installed fc12 on my core2due machine, and I have installed the vmware server on it, its rpm is installed successfully with out any error, after that a message is displayed

The installation of VMware Server 2.0.2 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "rpm -e VMware-server".

Before running VMware Server for the first time, you need to configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl".

I tried this command and find the this message

[Akram@localhost Downloads]$ su -c "/usr/bin/vmware-config.pl" Password: Making sure services for VMware Server are stopped.

None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.4.2", while you are trying to use "/usr/bin/gcc" version "4.4.3". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.4.3" anyway? [no] yes

What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include]

Now it asks me in last lines that "What is the location of Directory of C header files that match your running kernal?"

View 1 Replies View Related

General :: Connecting From A Windows7 Client To A Server Through Vnc Server?

Jul 29, 2011

i tried to connecting from a windows7 client to a linux server through vnc server.But its very slow , is there any alternative for vnc . i heard that samba can be used as a remote desktop tool if its true please reply with configuration details.

View 2 Replies View Related

General :: Confirm That Two Filesystems Are Identical Ignoring Special Files

Jun 15, 2011

/media/A and /media/B should be identical, but I want to confirm before deleting one.

Duplicate file finders don't work, because they'll find two copies of the same file within B, for instance. I only want to confirm that every file in one is identical to the other.

diff -qr /media/A/ /media/B/ seems to work, but the output is cluttered with garbage like

diff: /media/A//etc/alternatives/ControlPanel: No such file or directory

and

File /media/A//dev/tty8 is a character special file while file /media/B//dev/tty8 is a character special file

I can suppress the former with 2> /dev/null, but I don't know about the latter.

rsync -avn /media/A/ /media/B/ also produces a bunch of clutter, like "skipping non-regular file".

How can I compare the two trees and just make sure that all the real files exist in both and are identical?

View 2 Replies View Related

General :: SMP Scheduler Support For Identical Cores At Different Clock Speed?

Jan 17, 2011

I am new to the forum and new to Linux.

I am trying to explore if Linux can be run on a multicore platform when the max frequency of one the cores is less than the others.

please give me some pointers or let me know if you have tried such HW configuration.

View 1 Replies View Related

General :: How To Get BGP Table Dump

Jan 18, 2011

Recently I tried to get BGP table dumps from public route servers. I telnetted into one of those public route servers and ran "show ip bgp" command. My question is: how to save the command output to my local machine? I cannot run "show ip bgp > tmp.txt" on the remote route server.

View 1 Replies View Related

General :: Doubt Regarding 389 Server Client

Jan 5, 2010

I have a doubt regarding the 389 Server Client Architecture. Say, I have 389 Server working and I have few Linux Clients. Now you say that if 389 client is configured it will login through credentials which is configured in Server. So what about the local Users on that Client.How will normal users in the Client login?

View 1 Replies View Related

Server :: Nis Client On Centos Not Working With Suse Server / But Works With Suse Nis Client

Jun 25, 2009

I have a Nis server on Suse 11 which is configured using Yast and nis clients on Suse and CentOs .All clients which is on the Suse Os is working fine. But on CentOs , users couldn't login using nis username.I have mounted home directory using nfs in fstab . I can switch to nis users homedirectory only when i am root. But nis users could'nt login on reboot.' ypcat passwd username ' is showing the output . No selinux is enabled in the client .Is there is any problem with Suse server to Centos Client in nis ??

View 2 Replies View Related







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