How to fsck /usr with LVM?

Wasn't sure where to post this:
I just applied a pile of updates to my Arch+MythTV PVR. Not necessarily related to my problem, but this update included the replacement for mtab. On reboot, I get dumped into single-user because /usr is dirty. Dirty dirty /usr. Of course, I cannot fsck it because I cannot unmount it. I'm using LVM: two 2TB drives mirrored, two VGs defined (rootvg and datavg). /usr is it's own filesystem within rootvg.
Any suggestions on how to get this fixed? I assume I'll have to boot from a liveCD. Preferably something that will recognize the LVM stuff at boot and take care of all that mess. Recommendations?
- Mark

Gusar wrote:Two similar targets? Interesting. I just found Fedora's sysvinit to systemd cheat sheet - adding emergency gets you the emergency target. All the others I mentioned get you the rescue target. Now I'll have to go figure out what the difference between those two targets is
[Unit]
Description=Emergency Mode
Documentation=man:systemd.special(7)
Requires=emergency.service
After=emergency.service
AllowIsolate=yes
emergency.target only launches emergency.service, which is a root shell (sulogin) on your primary console. No udev, no journald, no nothing.
[Unit]
Description=Rescue Mode
Documentation=man:systemd.special(7)
Requires=sysinit.target rescue.service
After=sysinit.target rescue.service
AllowIsolate=yes
[Install]
Alias=kbrequest.target
This launches sysinit.target, thus udev and journal are running and file systems are mounted. Then it launches rescue.service, which is almost identical to emergency.service.
Last edited by brain0 (2012-10-19 15:21:47)

Similar Messages

  • [SOLVED] How to fsck+badblocks with systemd?

    Before systemd I could boot into single mode, then "mount / -o remount,ro" and then "fsck.ext4 -c ...". Now I can't since it says / is in use and I can't remount as read-only. What do I do?
    Last edited by Butcher (2012-10-22 09:54:22)

    Gusar wrote:Two similar targets? Interesting. I just found Fedora's sysvinit to systemd cheat sheet - adding emergency gets you the emergency target. All the others I mentioned get you the rescue target. Now I'll have to go figure out what the difference between those two targets is
    [Unit]
    Description=Emergency Mode
    Documentation=man:systemd.special(7)
    Requires=emergency.service
    After=emergency.service
    AllowIsolate=yes
    emergency.target only launches emergency.service, which is a root shell (sulogin) on your primary console. No udev, no journald, no nothing.
    [Unit]
    Description=Rescue Mode
    Documentation=man:systemd.special(7)
    Requires=sysinit.target rescue.service
    After=sysinit.target rescue.service
    AllowIsolate=yes
    [Install]
    Alias=kbrequest.target
    This launches sysinit.target, thus udev and journal are running and file systems are mounted. Then it launches rescue.service, which is almost identical to emergency.service.
    Last edited by brain0 (2012-10-19 15:21:47)

  • How to setup grub2 with arch linux and xen, lvm on luks

    OK, so I tried downloading this package from AUR:  https://aur.archlinux.org/packages/xen-git/ , but that has patching problems as noted in the comments.  It looks like the packagebuild sets up all the xen stuff for you, but I can't seem to get the package to install because of the error's while patching.  If anyone can point me in the right direction on what all the extra files in the PKGBUILD are for or how to debug problems with PKGBUILDs not working because of patches.
    So next I just tried to compile the latest xen from git://xenbits.xen.org/xen.git (with ./configure, make, make install) and that seemed to go fine, but I'm a bit confused:
    1.  Do I have to do any additional configuration for xen when working with arch linux?  On ubuntu I could just compile the source, update grub, and make sure to start the x services at runtime.
    2.  How do I set up grub to load xen with this setup?  Right now this is my /boot/grub/grub.cfg:
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda3:vgStorage"
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    ~
    I've tried throwing in a line like: XEN_HYPERVISOR_CMDLINE="cryptdevice=/dev/sda3:vgStorage", but nothing new shows up on the grub boot menu.
    First time trying to set up a non-ubuntu system, please help!

    As for XEN.... well you could always try QEMU/KVM or LXC.
    As for the LVM2-on-LUKS/dm-crypt
    My /etc/mkinitcpio.conf looks like this...
    MODULES="aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect block keymap encrypt lvm2 filesystems keyboard fsck shutdown"
    /etc/defaults/grub
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root:allow-discards"
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    GRUB_TERMINAL_INPUT=console
    GRUB_GFXMODE=auto
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_DISABLE_RECOVERY=true
    The running grub config looks like this
    /boot/grub/grub.cfg
    9 insmod part_gpt
    10 insmod part_msdos
    53 if loadfont unicode ; then
    54 set gfxmode=auto
    55 load_video
    56 insmod gfxterm
    57 set locale_dir=$prefix/locale
    58 set lang=en_US
    59 insmod gettext
    60 fi
    61 terminal_input console
    62 terminal_output gfxterm
    63 set timeout=3
    84 menuentry 'Backup, Arch Linux grsec kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-grsec kernel-true-12341234-8080-8080-8080-332200882255' {
    85 load_video
    86 set gfxpayload=keep
    87 insmod gzio
    88 insmod part_msdos
    89 insmod ext2
    90 set root='hd1,msdos2'
    91 if [ x$feature_platform_search_hint = xy ]; then
    92 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    93 else
    94 search --no-floppy --fs-uuid --set=root BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    95 fi
    96 echo 'Loading Linux grsec kernel ...'
    97 linux /vmlinuz-linux-grsec root=/dev/mapper/VolGroup00-lvroot rw cryptdevice=/dev/sda2:root:allow-discards quiet
    98 echo 'Loading initial ramdisk ...'
    99 initrd /initramfs-linux-grsec.img
    100 }
    Things to note:
    Numerical UUID is the UUID of the ROOT partition.
    Alphabetical UUIS is the BOOT partition
    hd1,msdos2 AND ahci1,msdos2 are how the Grub Bootloader numbers the drives not Linux.
    I have my BOOT partition on a USB stick, and it is the Second partition.
    So, that would make it, Device 2 and Partition 2
    Device numbering starts at 0
    Partition numbering starts at 1
    Oh, and note that you don't need ":allow-discards" ... at all but certainly if you don't have an SSD. Also note that I included the line numbers so it is very clear that I didn't post the whole thing, but instead what I thought was relevant. Finally, I am loading modules that I don't even need, but what the hell... if it ain't broke, don't fix it
    Last edited by hunterthomson (2013-12-04 08:31:45)

  • How to use /usr/bin/gcc  with Accelerate?

    Hi,
    After upgrading Mac to OSX10.9, C compiler has been changed to LLVM.
    Using gcc4.9(http://hpc.sourceforge.net), /usr/local/bin/gcc -framework Accelerate xxx.c works well.
    Using /usr/bin/gcc, how to compile it with Accelerate?

    Put the line, #include <Accelerate/Accelerate.h>, in your program,
    cc -framework Accelerate xxx.c

  • Problem (?) with LVM snapshots since Feb 12 updates

    After the update, I'm seeing some LVM snapshot errors during boot. In context:
    :: running hook [udev]
    :: Triggering uevents
    [ x.xxx ] device-mapper: table: 254:9: snapshot: Snapshot cow pairing for exception table handover failed
    [ x.xxx ] device-mapper: table: 254:14: snapshot: Snapshot cow pairing for exception table handover failed
    :: running hook [keymap]
    :: performing fsck on <root LV>
    arch: clean ...
    :: mounting '<root LV>' on real root
    :: running cleanup hook [shutdown]
    :: running cleanup hook [lvm]
    :: running cleanup hook [udev]
    Welcome to Arch Linux!
    The number of errors varies between zero and three, the latter being the number of snapshots I have. 
    The corresponding info in the journal is:
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: table: 254:9: snapshot: Snapshot cow pairing for exception table handover failed
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: ioctl: error adding target to table
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: table: 254:14: snapshot: Snapshot cow pairing for exception table handover failed
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: ioctl: error adding target to table
    Since the errors seem to occur during initramfs, here's some info on that:
    # cat /etc/mkinitcpio.conf
    MODULES="nouveau ext4"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect block keymap lvm2 keyboard fsck shutdown"
    COMPRESSION="xz"
    COMPRESSION_OPTIONS="-e -9"
    # lsinitcpio -a /boot/caddywhompus.img
    ==> Image: /boot/caddywhompus.img
    ==> Created with mkinitcpio 0.13.0
    ==> Kernel: 3.7.7-1-ARCH
    ==> Size: 3.29 MiB
    ==> Compressed with: xz
    -> Uncompressed size: 12.37 MiB (.265 ratio)
    -> Estimated extraction time: 0.402s
    ==> Included modules:
    ahci dm-mirror ehci-hcd libahci pata_marvell usb-common
    ata_generic dm-mod ext4 [explicit] libata scsi_mod usbcore
    button dm-region-hash hid mbcache sd_mod usbhid
    cdrom dm-snapshot i2c-algo-bit mxm-wmi sr_mod usb-storage
    crc16 drm i2c-core nouveau [explicit] ttm video
    dm-log drm_kms_helper jbd2 pata_acpi uhci-hcd wmi
    ==> Included binaries:
    blkid cp findmnt fsck.ext4 lsblk lvmetad switch_root udevd
    busybox dmsetup fsck kmod lvm mount udevadm
    ==> Early hook run order:
    udev
    lvm2
    ==> Hook run order:
    udev
    keymap
    ==> Cleanup hook run order:
    shutdown
    lvm2
    udev
    Initially I missed the news to enable lvm-monitoring.service. I have since enabled the service, rebooted to another install of Arch which doesn't use LVM (all lvs are prevented from being activated with empty auto_activation_volume_list), and deleted and recreated the snapshots in case they had gotten borked. FWIW, the SSs now only exist for the purpose of troubleshooting this issue, so I'm not worried about their integrity.
    I've done numerous boots and seen instances where both lvm-monitoring.service and dmeventd.service start, where both fail, and where one starts but the other fails. This doesn't seem to correspond with the occurence of the errors during boot. On my most recent boot both failed:
    # systemctl status lvm-monitoring.service dmeventd.service
    lvm-monitoring.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
    Loaded: loaded (/usr/lib/systemd/system/lvm-monitoring.service; enabled)
    Active: failed (Result: exit-code) since Fri 2013-02-15 09:49:25 EST; 2min 10s ago
    Docs: man:dmeventd(8)
    man:lvcreate(8)
    man:lvchange(8)
    man:vgchange(8)
    Process: 237 ExecStart=/usr/sbin/lvm vgchange --monitor y (code=exited, status=5)
    Feb 15 09:49:18 caddywhompus lvm[237]: 2 logical volume(s) in volume group "VG1" monitored
    Feb 15 09:49:25 caddywhompus lvm[237]: No input from event server.
    Feb 15 09:49:25 caddywhompus lvm[237]: VG0-ss_var: event registration failed: Input/output error
    Feb 15 09:49:25 caddywhompus lvm[237]: VG0/snapshot1: snapshot segment monitoring function failed.
    Feb 15 09:49:25 caddywhompus lvm[237]: 8 logical volume(s) in volume group "VG0" monitored
    Feb 15 09:49:25 caddywhompus systemd[1]: lvm-monitoring.service: main process exited, code=exited, status=5/NOTINSSTALLED
    Feb 15 09:49:25 caddywhompus systemd[1]: Failed to start Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
    Feb 15 09:49:25 caddywhompus systemd[1]: Unit lvm-monitoring.service entered failed state
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    dmeventd.service - Device-mapper event daemon
    Loaded: loaded (/usr/lib/systemd/system/dmeventd.service; static)
    Active: failed (Result: core-dump) since Fri 2013-02-15 09:49:35 EST; 2min 0s ago
    Docs: man:dmeventd(8)
    Process: 469 ExecStart=/usr/sbin/dmeventd (code=exited, status=0/SUCCESS)
    Main PID: 470 (code=dumped, signal=SEGV)
    CGroup: name=systemd:/system/dmeventd.service
    Feb 15 09:49:25 caddywhompus systemd[1]: Starting Device-mapper event daemon...
    Feb 15 09:49:25 caddywhompus dmeventd[470]: dmeventd ready for processing.
    Feb 15 09:49:25 caddywhompus systemd[1]: Started Device-mapper event daemon.
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_var
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_root
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_home
    Feb 15 09:49:35 caddywhompus systemd[1]: dmeventd.service: main process exited, code=dumped, status=11/SEGV
    Feb 15 09:49:35 caddywhompus systemd-coredump[676]: Process 470 (dmeventd) dumped core.
    Feb 15 09:49:35 caddywhompus systemd[1]: Unit dmeventd.service entered failed state
    But in all cases, lvdisplay seems to indicate that the snapshots are working fine:
    # lvdisplay VG0/ss_root VG0/ss_var VG0/ss_home
    --- Logical volume ---
    LV Path /dev/VG0/ss_root
    LV Name ss_root
    VG Name VG0
    LV UUID jQo9aS-392r-VEX4-36ra-LNS8-BfIJ-0d8NyL
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:31 -0500
    LV snapshot status active destination for lv_root
    LV Status available
    # open 0
    LV Size 5.00 GiB
    Current LE 1280
    COW-table size 5.00 GiB
    COW-table LE 1280
    Allocated to snapshot 0.01%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:5
    --- Logical volume ---
    LV Path /dev/VG0/ss_var
    LV Name ss_var
    VG Name VG0
    LV UUID SPEFKY-nOYY-3B2L-GpAq-3eSe-aLtY-jlGLQJ
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:32 -0500
    LV snapshot status active destination for lv_var
    LV Status available
    # open 0
    LV Size 5.71 GiB
    Current LE 1462
    COW-table size 5.71 GiB
    COW-table LE 1462
    Allocated to snapshot 0.51%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:14
    --- Logical volume ---
    LV Path /dev/VG0/ss_home
    LV Name ss_home
    VG Name VG0
    LV UUID MzJVwN-i49J-1nto-6UM4-bq0P-6jD9-F21ok2
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:32 -0500
    LV snapshot status active destination for lv_home
    LV Status available
    # open 0
    LV Size 10.00 GiB
    Current LE 2560
    COW-table size 10.00 GiB
    COW-table LE 2560
    Allocated to snapshot 0.25%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:7
    I made the suggested change to global_filter in lvm.conf, though I never had any problems booting; I just saw the occasional warning about fd0 and/or cdrom when running lvscan after boot, and figured it couldn't hurt.
    And... I have no idea where to go from here.

    Hi,
    I've had the same problem for a few months now and the computer has been rebooted many times. This time an endpoint engine has been updated so requires a reboot.
    I've rebooted now and still don't see any updates for this windows 8 machines. On some of the W8 machines I have seen working, the updates don't appear in software centre, but when I go to view updates in programs and features, they do
    appear there which is also a bit strange.
    All the windows 7 machines work fine.
    Jaz

  • How to use CVS with JDeveloper

    Hi all!
    I'm starting a new project and I would like to know how to use CVS with JDeveloper. This is my first project where I will have two more people working with me and I don't know what the better approach is. Should I use CVS that come with JDeveloper (option Internal to Oracle JDeveloper 10g) or should I configure an external repository? In both cases, I don't know what I have to do to have CVS working properly with JDeveloper. Actually I tried to create a new CVS connection in CVS navigator (using the access method Password Server), but when I test I receive the message: Could not open connection to CVS server: general socket failure, sure I must doing something wrong.
    I'm using JDeveloper 10.1.3.0.4
    Thanks in advance.

    Thanks for you help John!
    I installed cvsnt and when I try to create a new CVS connection inside JDeveloper I receive the message: authorization failed: server adminf29786.dixamico.com.br rejected access to /Diversos/DownLoad/CVS/usr/local/cvsroot for user JMartins
    I using pserver method and JMartins is my user in windows
    There is something that I'm curious about, when I was installing CVSNT I didn't configure any user and password, is there any default user/password?
    Thanks!

  • How to use jdeveloper with linux?

    how to use jdeveloper with linux?
    Hello, i've download jdeveloper, and i have java1.4 installed. But i can't run jdeveloper i have jdev.exe and jdev but when i put /usr/local/jdev/bin/jdev a have a message like file not found. I don't know what to do.
    Help please!!!
    Ori.

    You need to go to the directory where you unzipped JDeveloper, for example:
    cd opt/jdev/jdevj2eebase1013/jdev/bin
    Once there, do this:
    chmod +x jdev
    chmod +x ojc
    Now you can try this:
    nohup ./jdev &
    or simply
    ./jev
    I usually create a soft link in ~/bin

  • [SOLVED] Newbie asks how to suggest edits to LVM Luks Wiki page...

    I'm a newb to Arch. I've been using Fedora for about four years, so Arch is a fun challenge. And I wish to contribute to the clarity of the Wiki page. Having set up LUKS with LVM for Fedora twice, and now Arch, one or two points might benefit the following wiki pages.
    First, The instructions for kernel parameters on Kernel parameter configuration of the bootloader refers to the kernel parameter as:
    cryptdevice=<device>:<dmname>
    <device>
        The path to the raw encrypted device. Usage of Persistent block device naming is advisable.
    <dmname>
        The name given to the device after decryption, will be available as /dev/mapper/<dmname>. (<dmname> MUST NOT be set to a name already used for LVM partitions!)
    While higher up the page LVM on LUKS:
    cryptsetup luksOpen /dev/sda3 lvmpool (alternate)
        For setting up LVM ontop the encryption layer the device file for the decrypted volume group would be anything like /dev/mapper/lvmpool instead of /dev/sda3. LVM will then give additional names to all logical volumes created, e.g. /dev/mapper/lvmpool-root and /dev/mapper/lvmpool-swap.
    The alternate reflects the LVM setup which seems to be a best practice in Fedora. My working setup is
    cryptdevice=/dev/sda3:<LVMvolumeGroup>
    . And when mounting the LUKS partitions I found it necessary to activate the volume group name with
    #vgchange -ay <volumeGroup>
    In that scenario the configuration install was:
    # cryptsetup luksFormat -y --cipher aes-xts-plain --key-size 512 /dev/sda3
    # cryptsetup luksOpen /dev/sda3 cryptVG
    # pvcreate /dev/mapper/crypt
    # vgcreate cryptVG /dev/mapper/crypt
    # lvcreate -n root -L 20.0G cryptVG
    # lvcreate -n swap -L 6.0G cryptVG
    # lvcreate -n data -l 100%FREE cryptVG
    /** For Arch you're applying the file-systems now, but in Fedora, the Anaconda installer takes care of it.**/
    # cryptsetup luksClose crypt
    For me, as a newbie setting up the two L's I found it easier to understand LVM as logical volumes in a volume group. Not sure how much this matters in theory, but in practice as a newbie setting up the two L's, I found it easier to understand LVM as logical volumes in a single volume group. Mainly because the Anaconda installer was automatically setting up the volume group name, and when I used the above setup, my custom name was reflected in Anaconda's GUI.
    Second, The omnious Bang'd warning not to use 'a name already used for LVM partitions' seemed to conflict with the GRUB page instructions, until I noticed the GRUB page didn't include LVM.  Given the popularity of LUKS and LVM solutions, it seems some hyperlinking notes would be appropriate. Yes?
    And maybe third... I was working on a GRUB config issue and couldn't find any reference in the GRUB wiki page to explain to me the difference between GRUB_CMDLINE_LINUX and  GRUB_CMDLINE_LINUX_DEFAULT (or more importantly, something to explain putting commands into one, the other or both). The GRUB wiki instructs to put the encryption parameter on the former, and dm-luks instructs to put it ... well, it doesn't state where to put the encryption parameters, and simply refers to Kernel parameters page.
    Last edited by xtian (2013-09-17 22:00:44)

    As stated by WonderWoofy, you are more than welcome on the wiki! Just register and edit the article, but I'd like to add that you (like everyone else) are very warmly invited to always explain each of your edits exhaustively using the Edit Summary at the bottom of the Editor page; if the explanation is so long that doesn't fit in the summary, open a discussion in the talk page and link to that discussion from the summary itself. Last thing, don't do big edits all at once, but prefer splitting your work in a series of little edits: this will help everybody understand what you've done, since the resulting diffs will be much clearer.
    Edit: typo
    Last edited by kynikos (2013-09-01 04:56:26)

  • How to run etherape with ordinary user?

    hi
    when run etherape show this massege:
    No capture device found or insufficient privileges.
    Only file replay will be available.
    EtherApe must be run with administrative privileges (e.g. root) to enable live capture.
    Pcap error: no suitable device found
    i create group etherape with this ownership
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> groupadd etherape
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> chgrp etherape /usr/bin/etherape
    and add my user to this groups
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> usermod -G root,network,http,mysql,dbus,mem,bin,daemon,gdm,audio,video,rfkill,wheel,disk,sys,etherape mostafa
    how to run etherape with ordinary user(without root privilege)?
    Last edited by mostafasedaghat (2012-02-03 20:37:44)

    mostafasedaghat wrote:how to run etherape with ordinary user(without root privilege)?
    You can't. It requires root to set network card attributes, which can only be set with administrative priviledges. But it should be no problem to start it with sudo.

  • How to download things with BitTorrant

    i got emails asking me how to use BitTorrant to download the ISO's ... hmm ... i have no idea, as i do not even know how BitTorrant works (well, the principle i know from the webpage)
    can anyone explain how to download something with BitTorrant?

    Or you can also use a great Bittorrent GUI Client, called Azureus, its written in Java and its features are quite awasome compared to the default client.
    Here is the link:
    http://azureus.sourceforge.net/
    I think there is a PKGBUILD  somewhere in the TURs, anyway, as its a java prog. you can run it directly from its directory, so the only thing you would need, is to move it to /opt/azureus and make a simbolic link to its binary in /usr/bin
    Anyway, i use it with my dial-up and get around 6k... and you can get real good stuff from BT.
    regards!

  • How can I print with the black and white cartridge only?

    I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog:
    The printer is out of ink.
    The following ink cartridges are empty: Magenta. Replace these ink cartridges to resume printing.
    How can I print with the black and white cartridge only?
    Mac OSX 10.7.3
    HP Photosmart C7280 (7200 series)
    This question was solved.
    View Solution.

    I am absolutely disgusted by this; clearly a scam from HP to make more money by selling extra ink cartridges!!  I will make sure to never buy any products from the shoddy rip off merchants at HP ever again!!
    You should be ashamed!!

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • How to join GRPO with AP invoice thru query ?

    hi all,
    How to join GRPO with AP invoice in sql query ?
    Jeyakanthan

    Hi Jeyakanthan
    Are you using query in SAP Business One or outside the system? If you select the tables in SAP Business One as OPCH and OPDN then no inner join will appear, as the links sit on the line level. You will need PCH1 and PDN1. The link can be found in both directions, but bear in mind that 1 AP Invoice could be based on more than 1 Goods Receipt PO. For this reason the best approach is to start at the AP Invoice line level and use the BaseType and BaseRef fields to view which lines were pulled from which Goods Receipt PO's.
    Kind regards
    Peter Juby

  • How do I work with FK in a data profile?

    Hello People:
    I am new in OWB tools and I have many doubts. Therefore, I would like to know if anyone can guide me a bit with the theme of FK and profiles.
    How do I work with FK in a data profile?
    If I have a table that has a FK to most of the tables, because it is like a parent table. What should I do to have that FK in the profile?
    e.g.
    - Table 1 FK Table 2
    - Table 1 FK Table 3
    - Table 1 FK Table 4
    - Table 1 FK Table 5
    - Table 1 FK Table 6
    - Table 2 FK Table 7
    - Table 2 FK Table 8
    - Table 8 FK Table 9
    You should have a data profile with each table or a data profile for all related tables?
    If I am all in a single profile, that it would have no problem but I would only slow every time that I have to add a new table, but if I got separated, I can not use the FK? What is the solution that will give this problem?
    e.g. PROFILE GENERAL
    - Table 1
    - Table 2
    - Table 3
    - Table 4
    - Table 5
    - Table 6
    - Table 7
    - Table 8
    - Table 9
    OR
    PROFILE 1 -> - Table 1
    PROFILE 2 -> - Table 2
    PROFILE 3 -> - Table 3
    PROFILE 4 -> - Table 4
    PROFILE 5 -> - Table 5
    PROFILE 6 -> - Table 6
    PROFILE 7 -> - Table 7
    PROFILE 8 -> - Table 8
    PROFILE 9 -> - Table 9
    OR
    PROFILE R -> Table 1 / Table 2
    PROFILE S -> Table 1 / Table 3
    PROFILE T -> Table 1 / Table 4
    PROFILE U -> Table 1 / Table 5
    PROFILE V -> Table 1 / Table 6
    PROFILE W -> Table 2 / Table 7
    PROFILE X -> Table 2 / Table 8
    PROFILE Z -> Table 8 / Table 9
    Thank you very much for your help!
    Best regard!

    Any idea, please?

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

Maybe you are looking for