Taking ownership of a second harddrive not working.

Hi,
 I was editing a picture for a forum profile and making some tweaks.  So I tried deleting the failed photo and got this message, "You need permission to perform this action.  You require permission from the computer's administrator to
make changes to this file." 
I'm familiar with taking ownership; so I went to the hard drive level, Properties, and the Security Tab.  I noticed my current user was not in the list; so I went in Edit, and added myself (giving full control in the process). Then I went back and tried
to delete the photo, and it still said I needed permission.  So then I figured I might as well take ownership of the hard drive.  I went through that whole process, and when I clicked the final Ok, I got this stupid "Failed to enumerate....Access
is denied."  message. 
It should not be this difficult to delete a picture from my second hard drive.  I have gone through several tutorials and all have failed.
Help is appreciated.  Thanks.

Hi,
Why didn't you take ownership of that file instead of all drive? Alternative, please check if you replace owner on subcontainers and objects as below:
Meanwhile, confirm if the owner is changed to your current user account successfully.
Karen Hu
TechNet Community Support

Similar Messages

  • Mouse to switch primary and seconds buttons not working on Forms 6i

    Hi All,
    I am facing problem while i am using Form6i Application on web.
    We have a couple users that they are left hand. When they set their mouse to switch primary and seconds buttons under windows setup.
    The menus do not worked on Form6i Application, unless the user uses the keyboard.
    On Form10g it's working fine but on Form6i it's not working.
    Thanks in Advance.
    Uzair

    Hi Craig and thanks for replying,
    The way I created the roll was under my username, not the administrator user. The first time I was not able to create a roll from my user, but I did this to be able to do it: GRANT CREATE ROLL TO <MY USERNAME>
    The way I enabled the the Roles on y menu was as follows:
    1) I open menu using Forms 6i.
    2) Right click on my menu name and choose Property Palette.
    3) Under Menu Security, I choose Use Security and select "Yes".
    4) Under Module Roles, I typed a name for that role.
    5) I go to SQL and create the new Role under my username giving the role the same name I gave it on Forms. This is how I created: Create role <Role Name>
    6) Then I just assign that role to my user, like this: Grant <Rolename> to <username>
    Hope this helps!!
    Thanks again in advance!!

  • Precompile and page-check-seconds elements not working in 9.2

    Hi,
              I am coming across a very wierd error, and was wondering if anyone could help. We have a plain struts webapp deployed on weblogic 9.2.2, and i am trying to improve performance by adding the <precompile> and <page-check-seconds> tags to the weblogic.xml. Here is the relevant section:
              <jsp-descriptor>
              <debug>true</debug>
              <precompile>true</precompile>
              <page-check-seconds>-1</page-check-seconds>
              </jsp-descriptor>
              However, when the server starts up, I get the following error saying the precompile and page-check-seconds are not allowed:
              D:\bea92\user_projects\domains\ejDomain\applications\ej\WEB-INF\weblogic.xml:45:10:45:10: problem: cvc-complex-type.2.4b: Element not allowed: precompile@http://www.bea.com/ns/weblogic/90 in element jsp-descriptor@http://www.bea.com/ns/weblogic/90:<D:\bea92\user_projects\domains\ejDomain\applications\ej/WEB-INF/weblogic.xml:45:10>
              Could someone please help figure this out? All help is appreciated.
              Thanks,
              Vik.
              Edited by vshevde at 05/06/2008 12:55 PM

    Please replace <debug> with <verbose>.
              For more details, check documentation at
              http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1038491

  • Tv as second monitor not working

    I connect my iMac to my Samsung TV using a displayport to VGA adaptor. It had been working fine up until now. when I put my tv in PC mode it just turns off.
    Is this a problem wuth the mac or the TV

    Clicking on gather windows here and nothing seems to be happening. Not sure what you mean about the tv display dialog, but when the hdmi + adapter is plugged into the tv, the tv screen reads "no signal." When I unplug the cord from the back of my computer, the tv screen reads "check signal cable." 
    FWIW, the adapter that connects the hdmi cable to the back of the computer has been loose for some time. I would often have to wiggle it a bit to get the signal to pass to the tv. When I did this, the computer screen would often flash blue for a second. This' no longer happening when I wiggle the cable. Perhaps I just need a new adapter? Thanks for the reply.

  • UMI 7764 second axis not working

    I have a strange problem with my NI motion control setup and I wondered if anyone could help me.
    I have the following setup:
    PCI-7330 connected to a UMI-7764
    Connected to the UMI-7764 I have two P70530 stepper drives, themselves connected to two Nema-23 stepper motors with shaft encoders wired back to the UMI-7764. All following the manual.
    The 'Inhibit Input' switch is set to active high and the 'Inhibit output' switch is set to active low.
    Both P70530 drives initialise (solid green LED). The stepper drive and motor connected via the 'Axis 1' terminals of the UMI-7764 works fine. The second one, connected via the 'Axis 2' terminals does not. When I attempt to start a motion via MAX, the motor audibly "clicks" once and then disengages. The drive then has a flashing green LED.
    The motor will remain disengaged until I attempt a motion in the opposite direction, at which point the same "click" is heard and the motor is now engaged. No motion other than the vibration caused by the motor engaging/disengaging occurs.
    Both drives and encoders are wired identically into the UMI. I have switched the cables with the drive that works, as well as the drives themselves and even the motors. The result is always the same; the drive/motor wired to 'Axis 1' works fine and 'Axis 2' "clicks" but doesn't move.
    I'd appreciate any advice or suggestions anyone can provide, please.

    A bit more information in case anyone can help me:
    Repeating the attempted motions in MAX for each axis I probed the poles of the UMI connected to the stepper drive. The results are below.
    The Inhibit Input of Axis 2 seems to be always at 5V.
    The 'Inhibit Input' switch on the UMI is set to active high and the 'Inhibit output' switch is set to active low. I would have expected, therefore, that reversing these switches would make Axis 1 stop working and Axis 2 start working. However, when I did this Axis 1 stopped working but Axis 2 continued the same behaviour (i.e. any attempted motion causes the motor to "click" and then disengage).
    I also attempted to reverse the Inhibit Input action via MAX, but the option is greyed out.
    Is there any reason why Axis 2 would be forced into having Inhibit Input at 5V? And, more to the point, is there a setting to stop it happening, or is this a hardware failure?

  • 'number of retries allowed & retry interval in seconds' does not working

    Hi Guys,
    Is there a way to schedule a report to run,and if the report job fail for whatever reason, retry the job again immediately, and automatically?
    I've tried use 'number of retries allowed' and 'retry interval in seconds', but it doesn't work.
    Is there any setup that we missed?
    note:
    i can receive notification [failed/success] through email without any problem..

    Hi,
    I think, for adapter engine, you can do it in Visual Admin.
    Refer this  blog-
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Regards,
    Moorthy

  • Second iphone not working as it should

    Hi, i posted some days ago about my iphone having white screen of death on my iphone after 3 mins of usage, to make a long story short, i got a new iphone. But this time there's something wrong with the touchpad, it just stops working from time to time, especially when ure using some app and then pressing the home button back to the menu, thats where it stops the most. Not responding at all, sometimes it wakes up by pressing the home button twice(go to search and back to menu).
    What to do?! Should i return this one aswell and just hope that the next iphone works?
    Wonder how many iphones it will take before i get a 100% working one.
    Message was edited by: Kajjan
    Message was edited by: Kajjan

    Tamara is right. Try a reset. If that doesn't work, try a Restore. However, I would restore as a new phone first, regardless of Apple's advice, since there may be something corrupt carrying over from a previous backup. I have upgraded and restored several iPhones, always as a new phone, and never had a problem.

  • External Harddrive not working as it should..

    Hi,
    Could someone please help me with my problem? I would be very grateful!
    I have a 2TB harddrive that I formatted to ExFat the same day I got it (about 2 years ago). It has working perfectly until now.
    My My Book Essential WD 2TB Harddrive suddenly started to act weird. It worked perfectly a week ago.
    So what has happened in the meanwhile:
    - Yesterday I formatted another harddrive (a 500GB WD Ultra) to ExFat.
    - A day or two I did an OSX update, now got 10.9.1
    So today when I connected the 2TB harddrive to the MacBook Pro (13"), nothing showed in the Finder. The harddrive is making sounds as usual but the blue light in the front is flashing (like it's working).
    I have been searching the web for similar problems and people have suggested click Finder > Preferences > General >  Show these items on the Desktop: > Select External Disks - and I tried that but it was unsuccesful.
    I also went into Disk Utility to try and see if the HD was connected to the machine at all and it was.
    I went on DU -> clicked Verify --> then the message "Error: This disk needs to be repaired. Click Repair Disk". Clicked Repair Disk, and then it stopped repairing after a while (see photo).
    So I'm really stressed out now. I haven't done anything to the HD, this suddenly happened!
    And I got so much important stuff on it, such as school documents, CVs, University stuff, movies, photos etc.
    Anyone that has been in a similar situation and know how to fix it?,
    Thank you!
    Kind regards
    MrNord

    Aarong wrote:
    If your line is stable, your line won't disconnect to increase you profiles back up 2MB. The only thing i would suggest to your is to keep it connected for a good number of days and then possibly reset to see if your profiles go up.
    I'd suggest rebooting in the morning as there's typically less ambient noise that would be picked up by your phone line.
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Recovery Disc on New Harddrive not working

    I have a HP MS213 all in one desktop.  The original hard drive went bad so I went and got aother hardrive that is the same size.  I ordered the recovery disk from HP.  I load all the recovery disc and after disc 3 it says to remove all recovery disc and it will now load the software and can take up to 3 hours.  I click next then after the splash screen it says Operating System not found.  
    Is there anything in the bios I need to change?

    Mike4172 wrote: I have a HP MS213 all in one desktop.  The original hard drive went bad so I went and got aother hardrive that is the same size.  I ordered the recovery disk from HP.  I load all the recovery disc and after disc 3 it says to remove all recovery disc and it will now load the software and can take up to 3 hours.  I click next then after the splash screen it says Operating System not found. Is there anything in the bios I need to change?
    Hello Mike4172, If the HP Recovery Restore Disk set appears to have installed correctly, this should have no effect on the BIOS settings.
    You may want to enter the BIOS and make sure the first boot device is the CD\DVD group and the hard drive is recognized and set as the second boot device.
    It is possible the original hard drive was not faulty to start with and the system may have experienced another fault.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

  • Who is going to take ownership of "download this video" not working? Mozilla, Flash or Real???

    Upgraded Mozilla Firefox to 3.6.4. Updated Adobe Flash to 10,1,53,64. Updated Real Player to 1.1.4. I am able to view videos but unable to see "Download this video" button on Youtube.
    The download this video button will appear in IE but no longer in Mozilla Firefox.
    There are lots of complaints/questions about this issue. Who is going to take control of this issue to resolve it? Is it Firefox's or Flashplayer's or Real's problem??? Some issues in this forum state that they have been resolved, but they have not.
    == This happened ==
    Every time Firefox opened
    == After upgrade of Firefox and Adobe Flashplayer ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; Media Center PC 4.0; InfoPath.2; .NET CLR 3.0.04506.30; MS-RTC EA 2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    actingweb posted in macromedia.dreamweaver:
    > Ok so i have done everything that was said in this
    thread, ive
    > downloaded the new version of ffmpegx, I changed my
    hosting
    > service for bluehost, i added the myme tipe for flv and
    it still
    > does not want to work, Help please.
    >
    > New link is:
    >
    >
    http://federiconietoelgazi.com/videoflash.html
    Hmm. Mime type is correct, but if you used the new ffmpegx to
    re-encode
    Clown.flv, did you remember to upload the new file?
    I ask because Clown.flv does not have the metadata that Flash
    requires.
    I ran it through the Windows only flvmdi program from
    http://www.buraks.com/flvmdi/
    and it works now.
    I don't know Mac, but if you can run Windows programs on it
    via Wine or
    some other means, you may want to look into it. Or look for a
    different
    Flash Video encoder program altogether.
    Meanwhile, just to get you up and running for this file, I've
    placed
    Clown.flv here:
    http://mboyd.com/test/Clown.flv
    You should be able to
    download it from there and upload to your site.
    Here it is with your HTML file in action:
    http://mboyd.com/test/videoflash.html
    Mark A. Boyd
    Keep-On-Learnin' :)

  • External harddrive not working anymore

    I have had my lovely 1.5TB Buffalo HD for over a year. I have saved many photos and videos on it, accordingly, much of which is extremely important to me. So far it hasn't given my any problems.
    Suddenly, when I plug into the device, it says "The disk you inserted was not readable by this computer". And I had used it just the day before. I performed no updates meanwhile. I restarted and unplugged everything. I've even waited a while in case it was a time-related glitch, which some people on forums say can happen.
    My possible explanations for this:
    a) I have just come home to Tokyo from England, and although there is an adapter attached to the harddrive, it may not be used to the current flow of power, causing the error. What should I do?
    b) It is actually all corrupted and everything is lost.
    I use a MacBook Pro 10.6.8

    Your disk is formatted FAT32 (what OS X calls "MS-DOS", though it was never supported under MS-DOS), and, at the very least, the boot sector/partition table on it is bad. The tools you are attempting to use to fix it are designed to repair Macintosh filesystems, primarily.
    The probable solution is to rewrite the boot sector and partition table on the disk. Using the usual tools, however, will also erase the contents. So, what I'd do is fire up Terminal.app, and use dd to image the disk as it stands now. You ought to be able to:
    dd if=/dev/disk1 of=/Users/path/to/some/file.image
    ... make sure you have sufficient disk space for the operation as this will make a raw byte-for-byte copy of the data on the disk (conversely, if you swap 'if' and 'of', you'll restore the byte-for-byte copy back to the disk). This will take a little while to complete.
    Assuming that it finishes, you can double-check that the image and the disk are identical:
    md5 /dev/disk1 /Users/path/to/some/file.image
    ... if both numbers are the same, you are golden.
    Use Disk Utility to repartition the disk as an "MS-DOS" disk (I'm presuming you have a single partition). You might check to see if you can now read data on the disk as it is. Probably not, so you'll want to restore all but the boot sector portion of the disk back from the image you just created:
    sudo dd if=/Users/path/to/some/file.image of=/dev/disk1 bs=512 skip=1 seek=1
    ... again, this will take a while, do an errand.
    After that, try and remount the drive. With any luck, the only thing corrupted was the boot sector and, if you followed the instructions above, you will have replaced that.

  • Photoshop elements 9 reinstalled to new harddrive, not working properly

    Had to re install PSE 9, now style bin missing, can't use organiser, can't install PRE 9 either (says PSE not installed or corrupted). Please help

    Nobody can help you without system information and otehr details. Your issues seem to indicate a busted install, possibly because you didn't do it with sufficient user privileges and files could not be written...
    Mylenium

  • Wireless not working on boot

    I have an older PC (so it's not moving much...), and I'm trying to set up wireless connection trough a USB wireless adapter (Ralink Technology, Corp. RT2501USB Wireless Adapter).
    I have the correct drivers installed, and everything set up (doulbe checked of course).
    The wireless setup during boot-time does not works, and prints the error message
    Could not associate $1 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security
    If I run iwgetid immeadiateley after login, I get the following output:
    $ iwgetid wlan0 -ra
    00:00:00:00:00:00
    On the other hand, if I try a
    sudo /etc/rc.d/network start
    after I log in, it works flawlessley.
    I've tried the following:
    --> setting WIRELESS_TIMEOUT to 10 seconds, does not works (only after boot)
    --> double checking the setup lines
    --> reading the /etc/rc.d/network script, and executing the commands manually, it works
    $ sudo /etc/rc.d/network stop
    $ sudo iwconfig wlan0 essid BodorWLAN key s:wikey
    $ sudo iwgetid wlan0 -ra
    [the MAC-ADDRESS of wlan0, differring from 00:00:00:00:00:00]
    --> stopping and starting the /etc/rc.d/network script, it works
    --> editing /etc/rc.d/network to print out the used varialbes and more verbose error messages (I've restored it since then, so I cannot post the results, all seemed to be ok.)
    /etc/config.d/wireless:
    # Settings for wireless cards
    # For each wireless interface declared in INTERFACES (in rc.conf), declare
    # a wlan_${IF} variable that contains the arguments to be passed to
    # iwconfig(8). Then list the original interface name in the
    # WLAN_INTERFACES array.
    #wlan_eth0="eth0 mode managed essid default"
    #WLAN_INTERFACES=(eth0)
    /etc/rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="hu_HU.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Budapest"
    KEYMAP="hu"
    CONSOLEFONT="lat2-16.psfu.gz"
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=()
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="curly-desktop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    wlan0="dhcp"
    wlan_wlan0="wlan0 essid BodorWLAN key s:wikey"
    INTERFACES=(eth0 wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng dbus hal network openntpd netfs crond alsa)
    Note: I modified sensitive information (passwd, stb.)
    I'm running out of ideas, since the network script appears to be working always except at boot time.
    Last edited by dragonfi (2010-06-11 15:44:52)

    Activating the usb hooks in the ramdisk did not done the job, as the network demon only runs late in boottime (maybe I'm just being imprecise, i'm meaning the part, where it already entered the final runlevel).
    On the other hand, I did tracked down the problem, and I beliveve it's some kind of desing-flaw in the wireless USB utility. (Or I'm just not aware of a certain feature in it.)
    I modified /etc/rc.d/network to resend the iwconfig to the device after the 2 second sleep, and it seems to work sometimes.
    /etc/rc.d/network: (added lines in wi_up())
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    # wireless settings
    [ -f /etc/conf.d/wireless ] && . /etc/conf.d/wireless
    # ethernet bonding settings
    [ -f /etc/conf.d/bonding ] && . /etc/conf.d/bonding
    # bridge settings
    [ -f /etc/conf.d/bridges ] && . /etc/conf.d/bridges
    # dhcpcd settings
    [ -f /etc/conf.d/dhcpcd ] && . /etc/conf.d/dhcpcd
    ifup()
    if [ "$1" = "" ]; then
    echo "usage: $0 ifup <interface_name>"
    return 1
    fi
    eval ifcfg="\$${1}"
    # Get the name of the interface from the first token in the string
    if [ "$ifcfg" = "dhcp" ]; then
    ifname="$1"
    else
    ifname=${ifcfg%% *}
    fi
    /sbin/ifconfig $ifname up
    wi_up $1 || return 1
    if [ "$ifcfg" = "dhcp" ]; then
    # remove the .pid file if it exists
    /bin/rm -f /var/run/dhcpcd-${1}.pid >/dev/null 2>&1
    /bin/rm -f /var/run/dhcpcd-${1}.cache >/dev/null 2>&1
    /sbin/dhcpcd $DHCPCD_ARGS ${1}
    else
    /sbin/ifconfig $ifcfg
    fi
    return $?
    wi_up()
    eval iwcfg="\$wlan_${1}"
    [ "$iwcfg" = "" ] && return 0
    /usr/sbin/iwconfig $iwcfg
    [[ -z "$WIRELESS_TIMEOUT" ]] && WIRELESS_TIMEOUT=2
    sleep $WIRELESS_TIMEOUT
    #added line below because wlan0 does not play nice..
    /usr/sbin/iwconfig $iwcfg
    bssid=`iwgetid $1 -ra`
    if [[ "$bssid" = "00:00:00:00:00:00" ]]; then
    printhl "Could not associate $1 - try increasing WIRELESS_TIMEOUT and check network is WEP or has no security"
    return 1
    fi
    return 0
    ifdown()
    if [ "$1" = "" ]; then
    echo "usage: $0 ifdown <interface_name>"
    return 1
    fi
    eval ifcfg="\$${1}"
    if [ "$ifcfg" = "dhcp" ]; then
    if [ -f /var/run/dhcpcd-${1}.pid ]; then
    /bin/kill $(cat /var/run/dhcpcd-${1}.pid)
    fi
    fi
    # Always bring the interface itself down
    /sbin/ifconfig ${1} down >/dev/null 2>&1
    return $?
    iflist()
    for ifline in ${INTERFACES[@]}; do
    if [ "$ifline" = "${ifline#!}" ]; then
    printf " $ifline:\t"
    else
    printf "$ifline:\t"
    fi
    eval real_ifline=\$${ifline#!}
    echo $real_ifline
    done
    rtup()
    if [ "$1" = "" ]; then
    echo "usage: $0 rtup <route_name>"
    return 1
    fi
    eval routecfg="\$${1}"
    if grep -q :: <<< $routecfg; then
    /sbin/route -A inet6 add $routecfg
    else
    /sbin/route add $routecfg
    fi
    return $?
    rtdown()
    if [ "$1" = "" ]; then
    echo "usage: $0 rtdown <route_name>"
    return 1
    fi
    eval routecfg="\$${1}"
    if grep -q :: <<< $routecfg; then
    /sbin/route -A inet6 del $routecfg
    else
    /sbin/route del $routecfg
    fi
    return $?
    rtlist()
    for rtline in ${ROUTES[@]}; do
    if [ "$rtline" = "${rtline#!}" ]; then
    printf " $rtline:\t"
    else
    printf "$rtline:\t"
    fi
    eval real_rtline=\$${rtline#!}
    echo $real_rtline
    done
    bond_up()
    for ifline in ${BOND_INTERFACES[@]}; do
    if [ "$ifline" = "${ifline#!}" ]; then
    eval bondcfg="\$bond_${ifline}"
    if [ -n "${bondcfg}" ]; then
    /sbin/ifenslave $ifline $bondcfg || error=1
    fi
    fi
    done
    bond_down()
    for ifline in ${BOND_INTERFACES[@]}; do
    if [ "$ifline" = "${ifline#!}" ]; then
    eval bondcfg="\$bond_${ifline}"
    /sbin/ifenslave -d $ifline $bondcfg || error=1
    fi
    done
    bridge_up()
    for br in ${BRIDGE_INTERFACES[@]}; do
    if [ "$br" = "${br#!}" ]; then
    # if the bridge already exists, remove it
    if [ "$(/sbin/ifconfig $br 2>/dev/null)" ]; then
    /sbin/ifconfig $br down
    /usr/sbin/brctl delbr $br
    fi
    /usr/sbin/brctl addbr $br
    eval brifs="\$bridge_${br}"
    for brif in $brifs; do
    if [ "$brif" = "${brif#!}" ]; then
    for ifline in ${BOND_INTERFACES[@]}; do
    if [ "$brif" = "$ifline" ] && [ "$ifline" = "${ifline#!}" ]; then
    ifup $ifline
    eval bondcfg="\$bond_${ifline}"
    /sbin/ifenslave $ifline $bondcfg || error=1
    unset bond_${ifline}
    fi
    done
    /usr/sbin/brctl addif $br $brif || error=1
    fi
    done
    fi
    done
    bridge_down()
    for br in ${BRIDGE_INTERFACES[@]}; do
    if [ "$br" = "${br#!}" ]; then
    /usr/sbin/brctl delbr $br
    fi
    done
    case "$1" in
    start)
    if ! ck_daemon network; then
    echo "Network is already running. Try 'network restart'"
    exit
    fi
    stat_busy "Starting Network"
    error=0
    # bring up bridge interfaces
    bridge_up
    # bring up ethernet interfaces
    for ifline in ${INTERFACES[@]}; do
    if [ "$ifline" = "${ifline#!}" ]; then
    ifup $ifline || error=1
    fi
    done
    # bring up bond interfaces
    bond_up
    # bring up routes
    for rtline in "${ROUTES[@]}"; do
    if [ "$rtline" = "${rtline#!}" ]; then
    rtup $rtline || error=1
    fi
    done
    if [ $error -eq 0 ]; then
    add_daemon network
    stat_done
    else
    stat_fail
    fi
    stop)
    #if ck_daemon network; then
    # echo "Network is not running. Try 'network start'"
    # exit
    #fi
    stat_busy "Stopping Network"
    rm_daemon network
    error=0
    for rtline in "${ROUTES[@]}"; do
    if [ "$rtline" = "${rtline#!}" ]; then
    rtdown $rtline || error=1
    fi
    done
    # bring down bond interfaces
    bond_down
    for ifline in ${INTERFACES[@]}; do
    if [ "$ifline" = "${ifline#!}" ]; then
    ifdown $ifline || error=1
    fi
    done
    # bring down bridge interfaces
    bridge_down
    if [ $error -eq 0 ]; then
    stat_done
    else
    stat_fail
    fi
    restart)
    $0 stop
    /bin/sleep 2
    $0 start
    ifup|ifdown|iflist|rtup|rtdown|rtlist)
    $1 $2
    echo "usage: $0 {start|stop|restart}"
    echo " $0 {ifup|ifdown|iflist|rtup|rtdown|rtlist}"
    esac
    # vim: set ts=2 noet:
    I wrote a sript and chnaged network to this script in my rc.conf, it appears to be working now.
    /etc/rc.d/myscript:
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    ifup()
    /sbin/ifconfig wlan0 up
    /usr/sbin/iwconfig wlan0 essid BodorWLAN key s:admin
    sleep 2
    /usr/sbin/iwconfig wlan0 essid BodorWLAN key s:admin
    dhcpcd wlan0
    return $?
    ifdown()
    if [ -f /var/run/dhcpcd-wlan0.pid ]; then
    /bin/kill $(cat /var/run/dhcpcd-wlan0.pid)
    fi
    /sbin/ifconfig wlan0 down >/dev/null 2>&1
    return $?
    case "$1" in
    start)
    stat_busy "Starting Network"
    ifup
    stat_done
    restart)
    stat_busy "Restarting Network"
    ifdown
    ifup
    stat_done
    stop)
    stat_busy "Stopping Network"
    ifdown
    stat_done
    echo "usage: $0 {start|stop|restart}"
    esac
    My only question now is that how could I achieve the same solution in a more elegant way, I'm a bit confused, because the above script does the exact same stuff that my modified /etc/rc.d/network would supposed to be doing.
    Last edited by dragonfi (2010-06-12 19:27:38)

  • Thinkpad W530 problem - Microphone not working

    Hi, 
    My W530 microphone's not working. Whenever any problem tries to use it (skype, audacity), it always shows a quick activity (about 0.5 ms), always with the same from - and nothing more, ever. 
    I have installed drivers from realtec, and the drivers from lenovo, nothing works. 
    I done wha said in all other forumes (sound->manage sound devices), - disable listening, disable all featues or enable, as well as chagne settings to the highest availble. Nothing helps. 
    This has been so since I bought this computer about a month ago. 
    OS: Windows 7 64bit
    Please help
    Solved!
    Go to Solution.

    Hi again, matanm
    Is the microphone still coming on for a brief second before not working again, as you mentioned in your first post? Also, can you take a screenshot using the Snipping Tool of your Sound ► Recording settings? You can navigate to this by right-clicking on the Sound icon in the taskbar and selecting Recording devices. Also, if you haven't already, I would download the Realtek driver again from Lenovo's website here
    Thanks in advance,
    Adam.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Profiles not working as expected

    I have created a simple publication for a webi report  using efashion uiniverse. It's in BO 4.0. I have created 2 profiles. One is State=California and another is Month= 2. If I add any one of the profile to the publication, it works fine.
    Example:
    Case 1: when I add the profile state=california to the publication, i get data for only state=California.
    Case 2: If i remove the profile state=california and add profile month= 2 to the publication , then i get data only for month=2.
    Case 3: Now if I add both the profiles state=california and month=2, i get data for sate=california and for all the months. The profile month=2 doesn't get applied.
    what's happening is that the profile which is added first is getting processed while the profile added second is not working. If I add the profile month=2 first and then profile state=california, then only month =2 gets applied and not state=california.
    Is there any settings that may be causing this behaviour?
    Below is the log :
    2012-01-17 01:57:44,072 INFO  [PublishingService:RunInstancePool-1] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - Running publication instance.
    2012-01-17 01:57:44,519 INFO  [PublishingService:RunInstancePool-1] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - The global delivery rule for this publication was met; publication processing will now begin.
    2012-01-17 01:57:46,168 INFO  [PublishingService:HandlerPool-0] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - Document jobs started for scope batch 48,721 [recipients "PGOWDA" to "PGOWDA"].
    2012-01-17 01:58:31,695 INFO  [PublishingService:HandlerPool-0] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - Distribution jobs started for scope batch 48,721 [recipients "PGOWDA" to "PGOWDA"].
    2012-01-17 01:58:42,272 INFO  [PublishingService:HandlerPool-0] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - Distribution to destination CrystalEnterprise.Managed was successful. Recipient: PGOWDA, Document Scope: Sales Revenue by Sates : 48730 (Excel) : (AND (IN_LIST Month "3" )(IN_LIST State "California" )).
    2012-01-17 01:58:42,797 INFO  [PublishingService:RunInstancePool-1] BusinessObjects_PublicationAdminLog_Instance_48714 - [Publication ID # 48714] - Publication scheduling complete.

    If I'm not wrong there are some considerations you must apply in your publication. Check in this guide:
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_admin_en.pdf
    Page: 942 Chapter Managing profiles
    regards
    Erika

Maybe you are looking for