[SOLVED] directory /run/mpd gets deleted at reboot

Hello
I had MPD up and running, everything worked fine, until reboot.
I then found out, that the folder /run/mpd which should contain mpd.pid gets deleted at reboot.
Why does this folder get deleted?
When i manually create the folder again and chown it to mpd, it all works fine again.
Thanks for your help,
SBolz
Last edited by SBolz (2012-10-06 08:03:49)

SBolz wrote:Apparently it doesn't. How can i make sure it gets created and the user mpd has writing permissions for it?
man tmpfiles.d - if you look at the files provided by the mpd package, you'll see a file mpd.conf in /usr/lib/tmpfiles.d which should generate the directory on boot.
(also, the systemd service for a separate-user mpd doesn't need the pidfile at all)
Rasi wrote:that whole privileged user thing in mpd is just complicating things and simply not needed.
That depends on what your actual use case is, does it not?  Nice plug for your script though
Last edited by ZekeSulastin (2012-10-05 16:27:15)

Similar Messages

  • Pagefile gets deleted after reboot

    I have moved the pagefile to another partition and left a small piece on the system drive:
    C: (Windows) 200-500 MB
    B: (Temp) 4000-16000 MB
    When I set the pagefile size, the pagefile gets created immediately, but after reboot it gets deleted again and remains only on the system drive. So after reboot, there is only 200 MB pagefile, not 4200 MB. And the total available memory is only a little
    bigger than the amount of RAM, not 16 GB as it should be.
    What is wrong? Am I missing something?
    I have Win7 Pro SP1 x64, and a lot of free space on B:. Both partitions are on the same SSD disk.

    Hi Xars
    Thanks for your digging and we found similar cases with yours,so I tested on my own machine and turns out it is actually related to the Drive letter. Since The letters A and B are usually reserved for floppy disk drives, it's not recommended to
    assign A and B to anything other than a floppy or floppy substitute even you do not have a floppy disk drive installed. I suppose Windows might not let you if you do this thinking "putting a pagefile on a floppy disk!"
    We found sort of workaround for you but it still takes a lot of works, and it even need to reformat you hard disk.
    Therefore, we recommend changing driving letter and we think it is the best way to avoid this kind of issue.
    About Change, add, or remove a drive letter(Windows vista and 7 )
    http://windows.microsoft.com/en-us/windows/change-add-remove-drive-letter#1TC=windows-vista
    You could refer to similar case “Pagefile on a volume that uses "A" or "B" as the drive letter”
    http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/pagefile-on-a-volume-that-uses-a-or-b-as-the-drive/fdac6f23-a34d-e011-8dfc-68b599b31bf5
    Regards

  • File not getting deleted using File.delete()

    Hi guys,
    I have a code like this:
    File tempdir = new File("tempdir");
    tempdir.mkdir();
    File temporaryFile = new File("tempdir\tempfile.txt");
    FileWriter writer = new FileWriter(temporaryFile);
    // write data into file
    writer.flush();
    writer.close();
    try {
        // Do something
    catch (Exception e) {
        // Do something
    temporaryFile.delete();
    tempdir.delete();The program runs successfully. The directory and the file is created and data is written successfully into it. However, the file as well as directory is not getting deleted at the end of the program. I tried temporaryFile.deleteOnExit(), but this also didn't help.
    Can anyone provide some input as to what can be the possible reasons for the file not getting deleted?
    Thanks..

    I want the file to be created inside the directory I specified. Hence, I put the "\". Please let me know if there is some other way to achieve this. This way I am getting the file created at the location I want.
    One more interesting thing which I noticed. Actually this code is part of a JUnit test. In the same JUnit, I am creating new files in atleast 2-3 test methods. But the deletion of files is really random. Sometimes, 2 out of 3 get deleted, sometimes only 1 gets deleted. However, I didn't come through a single instance wherein all the 3 files got deleted. :-(
    Also, the directory is never deleted. However, I got the reason behind this. As per the File API, the directory will not be deleted if it is not empty.

  • [Solved] Running mpd as user mpd with systemd without using mpd.conf

    Maybe this is tivial, but I searched about an hour without any results. I want to run mpd as user mpd. I cant use the mpd config file since mpd set the UID and GID explicitely resulting in mpd not having the necessary supplementary groups to access the locally shared music on my pc. Well I tried to run mpd with systemd by
    # systemctl start mpd
    and  the systemd contains the user mpd
    $ cat /etc/systemd/system/default.target.wants/mpd.service
    [Unit]
    Description=Music Player Daemon
    After=network.target sound.target
    [Service]
    User=mpd
    ExecStart=/usr/bin/mpd --no-daemon
    # allow MPD to use real-time priority 50
    LimitRTPRIO=50
    LimitRTTIME=-1
    # move MPD to a top-level cgroup, as real-time budget assignment fails
    # in cgroup /system/mpd.service, because /system has a zero real-time
    # budget; see
    # http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/
    ControlGroup=cpu:/mpd
    # assign a real-time budget
    ControlGroupAttribute=cpu.rt_runtime_us 500000
    [Install]
    WantedBy=default.target
    but it did not run as mpd.
    Well how can I run mpd as mpd? Is there a way to do it like with dropbox: dropbox@<user>.service
    Last edited by manuelschneid3r (2015-03-25 12:52:52)

    Glad you solved it. Was just typing a response and I'll still add two remarks:
    The ps|grep output showed that you run grep as root, not mpd itself (which won't have a space in the command -- the second time it only worked because the mpd group is preceded by a space).
    It sounds like it took you a while to find the drop-in configuration snippet in the mpd.service.d directory. These drop-in are shown in `systemctl status`, which is something you'd normally check in situations like these, and that might help to discover them more quickly.
    Last edited by Raynman (2015-03-25 12:58:36)

  • Resources getting deleted when trying to add at run time

    Hi All,
    When i am trying to add resources to another file at run time, some of the earlier resources are getting deleted. Please find the source code below:
    void CResourceIncludeSampleDlg::OnBnClickedButton1()
    CString strInputFile = _T("C:\\SampleData\\FileToInsert.zip"); // This File is 100 MB
    HANDLE hFile = CreateFile(strInputFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
    DWORD FileSize = GetFileSize(hFile, NULL);
    BYTE *pBuffer = new BYTE[FileSize];
    DWORD dwBytesRead;
    ReadFile(hFile, pBuffer, FileSize, &dwBytesRead, NULL);
    for (int iIndex = 1; iIndex <= 4; iIndex++)
    InsertResource(FileSize, iIndex, pBuffer);
    CloseHandle(hFile);
    void CResourceIncludeSampleDlg::InsertResource(DWORD FileSize, int iIndex, BYTE *pBuffer)
    CString strOutputFile = _T("C:\\SampleData\\ResourceIncludeSample_Source.exe");
    int iResourceID = 300 + iIndex;
    HANDLE hResource = BeginUpdateResource(strOutputFile, FALSE);
    if (INVALID_HANDLE_VALUE != hResource)
    if (UpdateResource(hResource, _T("VIDEOBIN"), MAKEINTRESOURCE(iResourceID), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
    (LPVOID)pBuffer, FileSize) == TRUE)
    EndUpdateResource(hResource, FALSE);
    After completion of the execution, i am expecting output as 301, 302, 303 and 304 added under "VIDEOBIN" category. But only 2 (sometimes 3) resources are present. One resource
    is always deleted.
    Could you please let me know what could be wrong or any fix for the same ?
    Any help or sample source code is greatly appreciated.
    Thanks and Regards,
    Kishor Reddy
     

    Make sure that all precautions mentioned in the
    docum are met.
    "Before you call this function, make sure all file handles other than the one returned by
    BeginUpdateResource are closed." and also regarding LN and MUI files.
    -- pa

  • I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    There are a few possible causes for that error, for details see [[Firefox is already running but is not responding]].

  • Upper-level Essbase data gets deleted on running CALC ALL

    Hi,
    We have a need to aggregate missing values (#Missing) to the parent level and so this is what we did. Go to EAS->Expand Essbase Servers->Expand the concerned application->Right-click on database->Edit->Properties and check the option to "Aggregate missing values". After doing this, we are having a peculiar issue when we execute "CALC ALL". We see that some of our upper-level data (non-level 0 data) gets deleted, and so we have to re-run all our business rules to calculate upper-level data. To be specific, we are having this issue of data going missing in accounting statements/reports such as Balance Sheet/Income Statement. In this reports, the rows are members of Account dimension (Dense) and the columns are members of Company dimension (Sparse). All other dimension are made POV. We did NOT have this problem when the 'Aggregate missing values' option was UNCHECKED. Does CALC ALL work differently when AGGMISS option is ON?
    We are using Hyperion Planning, Essbase and Financial Reporting (version 11.1.1.3).
    Thanks for any advice.
    Regards,
    ABG

    Hi John,
    Now that you mentioned your point about upper-level data, I double-checked the Account dimension members (for which the data was being deleted) and you are right that I am seeing a different behavior than I posted originally. Sorry about that. So this is what I am observing:
    The Account dimension has 'Balance Sheet' as one of the children. This member, 'Balance Sheet', has children: Cash, Receivables, Payables so on, and all children of 'Balance Sheet' are level 0 members. Now, we run calculation scripts to calculate the values of these members. These members form the rows of Balance Sheet report. After all the relevant calc script have been executed, I am running a script that has just CALC ALL in it. I am observing that the values of Cash, Receivables, Payables etc (level 0 children of Balance Sheet) are getting deleted when we have the option "Aggregate Missing Values" as checked in EAS.
    Then, I inserted SET AGGMISS OFF before CALC ALL in the script and now the values are intact! I am trying to understand why CALC ALL would delete those values when AGGMISS is ON?
    You said that most people do not use CALC ALL. What is the better alternative to aggregate the database then? Is it CALC DIM?
    Thanks and regards,
    ABG

  • Files in the /users/unison/db/tmp directory - can they be deleted?

    In the /users/unison/db/tmp directory, there are hundreds of files in there
    called vista.log and unitmp.ndx, that have been accumulating there for many days
    and is filling up the file system. Can they be removed?
    <p>
    These files are there because the database writes in this temporary space while
    the server is up and running. They should be getting deleted automatically when
    the server is shutdown, but if they do not then try the following procedure:
    <p>
    1.Stop the server.<br>
    2.Move the files that are in the tmp directory to a new temp directory.
    (e.g. tmp2)<br>
    3.Resart the server.<br>
    4.Monitor the activity. <br>
    5.If all works well - remove the temp2 directory.

    Hello jncorp, 
    Thank you for your question. 
    I would suggest you back up your media card to your computer and then delete the files to see if anything has changed. Let us know what you discover. 
    Have a good day. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Why do my calendar events get deleted from my iphone while I'm viewing the calendar?

    I my work schedule in the calendar on my iPhone4S (iOS 5.0.1) earlier today.  While trying to review when I work, I saw all 5 calendar events get deleted.  There are no longer any events on the days that I added work to my calendar.  Anyone else experience this and know how to fix it or recover the events? This is the second time my work schedule has been deleted right in front of my face on my phone.

    This happens to me INCESSANTLY.  I'm looking at my calendar events one second, and POOF!, the next second all of the events I've entered into the calendar- with the exception of birthdays that are on the actual contact information for a person- are GONE.  My calendar settings are set to sync all events- no timeframe- and always have been.  This happened to me nonstop on my old iPhone 3GS, and I was sure it was the phone causing this issue.  Now, I have my new iPhone 5 in my hands and same ol'   , different equipment.  I have done EVERYTHING I can think of to prevent this from happening or to restore the data- including rebooting, holding home button and on/off at same time, etc.- and NOTHING works to restore the data.  And then, just as magically as the data disappeared, POOF!- the data is back randomly sometime later.  That "later" may be 5 mins, a day, several days.  This is an absurd and EXASPERATING glitch that APPLE NEEDS TO FIX IMMEDIATELY!!!  I'm starting to hate the iPhone and Apple in general when I continuously experience HUGE glitches like this that have a profound impact on what you're trying to accomplish within a feature that you DEPEND on... yet Apple has "never heard of that problem before".  You suck, Apple.  Don't send your problems out into the real world, to users who just gave you $800 for another glitchy piece of equipment that never solves your software issues.

  • When I delete emails , they just get deleted and do not get moved to trash

    When I delete an email , it just gets deleted and does not get moved to trash. Its pretty frustrating as I regularly hit the delete by mistake and I lose the email because it just does not get moved to trash .I have checked the preference to find some setting that might cause this ( like delete trash immediately) in mail preferences to no avail. I also have ran file system check and cleaned and repaired the Mac-HD in hope of solving the problem to no avail. This has been happening only for a few days. The funny thing is , I also noticed that a folder I was trying to copy from My main HD to a secondary one ( not in mail but just on the computer), suddenly disappeared and I could not locate it . Am I going crazy? Someone please help.

    Hi hadjibaba. You’re welcome.
    Report the names of the files and folders present at the first level of the ~/Library/Mail/POP-username@mailserver/ account folder in the Finder.
    In order to post the exact file names and avoid typing mistakes, proceed as follows. In the Finder, go to ~/Library/Mail/POP-username@mailserver/. With that folder open, if you’re looking at it in View > as List mode, first collapse any expanded folders so that the Finder only shows the files and folders at the first level. Now, do Edit > Select All (⌘A), then Edit > Copy (⌘C), and paste it in your reply to this post.
    BTW, if you’re running Mac OS X 10.3 (Panther), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Mac OS X 10.3 & earlier forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • My video playback out...every video shakes/flashes/doesn't play right. What's wrong? I thought the hard drive was too full, but I just deleted 125gigs, rebooted and it still flashes and doesn't play videos. This is true for youtube, ads, foxnews videos...

    My video playback out...every video shakes/flashes/doesn't play right. What's wrong? I thought the hard drive was too full, but I just deleted 125gigs, rebooted and it still flashes and doesn't play videos. This is true for youtube, ads, foxnews videos...

    Update: The iBook can play any 480p video and higher if I encode them with DivX and in AVI format. But of course this is not compatible with my iPhone 4. At least I can shrink my library now and get away from the full MPEG-2s. I don't get why I can't use Apple's h264 though. There has to be a setting I am missing. The sample Apple h264 videos from the days of Tiger worked flawlessly on my iBook when it was new so the CPU must be capable of decoding it. I really can't understand this.
    Also, since I made my videos in English for my family, I had to create soft subtitles for my wife's Chinese family, and I can't get players like QT with perian or MPlayerX to sync them properly to an AVI encoded with DivX, they only sync well with the iPhone 4 m4v/mp4 formatted files I made. This is a real pickle.
    So now I may need three or four copies of each video, LOL. I need to hardcode the subtitles if I want to use AVI to playback on older machines, and keep the mp4 file for the iDevices too, while keeping higher quality h264 videos for my American relatives...
    If h264 is compatible with my iBook, what is the proper encoding settings? Must I dramatically lower the settings or frame rate? I can settle on 2 copies of each video that way. One iBook/G4/eMac compatible video that syncs correctly with my srt soft subs, and another version that works well with my iPhone 4 and iPad.
    All in all, I will end up with more than 3 or 4 version of each video. On my late G5 dual core I have the full 720-1080p uncompressed master files. On my i5 iMac I have the h264 compressed versions for distribution, and lower versions for my iDevices. Now I need to keep either full MPEG-2 files for the iBook to play, or convert to older formats like DivX AVI for our family's legacy machines. I am running out of hard disk space quick now, LOL.
    Is there an easier way?

  • Deleted Item not actually getting deleted or **delay** deleted thus getting refetched (EWS Managed API)

    I am polling Exchange Server to fetch all the mails left in the Inbox and then fetching them, processing them and finally moving them to the deleted folder. My procedure takes following form of EWS Managed API calls:
    1 itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    2 //some code...
    3 service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    4 //some code...
    5 foreach(Item item in itemResults)
    6 {
    7 //process item
    8 item.Delete(DeleteMode.MoveToDeletedItems);
    9 }
    To test this code I flooded the inbox with 5000 mails, 5 threads flooding 1000 mails each at the interval of 4ms.
    After test run, I realized some mails are getting processed multiple times.
    When I read the soap traces logged using TraceListener, I realized that when there are more than 100 mails in the inbox, there are more SOAP packets were dispatched in burst of 100s.
    Logically below set of SOAP Packets (let us call it "Set 1") should occur only once:
    <m:FindItem>...</m:FindItem> //generated by line 1
    <m:FindItemResponse>...</m:FindItemResponse> //generated by line 1
    <m:GetItem>...</m:GetItem> //generated by line 3
    <m:GetItemResponse>...</m:GetItemResponse> //generated by line 3
    followed x number of Delete SOAP packets for x number of mails in the Inbox
    <m:DeleteItem>...</m:DeleteItem> //generated by line 8
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> //generated by line 8
    However if there are say 325 mails in the inbox, then there first occurs 4 occurences of Set 1 followed by Delete SOAP packest as follows:
    //1st occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //2nd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //3rd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>100 items</m:GetItemResponse>
    //4th occurence
    <m:FindItem>35 items</m:FindItem>
    <m:FindItemResponse>35 items</m:FindItemResponse>
    <m:GetItem>35 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse> //****followed by 335 occurences of the Delete SOAP packets****<m:DeleteItem>...</m:DeleteItem>  
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> 
    //334 more of above
    So there are 100 + 100 + 100 + 35 = 335 items actually getting handled, which is 10 more than what are actually present in the inbox. 
    Also notice that Delete SOAP packets are queued till end. They are not dispatched in burst.
    First thing I realize dispatching SOAP packets in burst of 100s is EWS Managed API behavior. I guess there must be traffic reason behind it and there must be some configuration setting to tweak it.
    Q1. How can we change this count of 100?
    I inferred that there are some overlaps in fetching of mails.
    So I copy pasted SOAP Traces for first two of
    <m:GetItem>100 items</m:GetItem>
    in two different files, and compared them in text comparer. I realised that some mails that are at the end of the first 100s were reappearing at the beginning of 2nd 100: 
    This is the pattern in many test runs.
    Due to this these overlapping mails, these mails are getting processed twice. Also the attempt to second time delete them was throwing exception : The specified object was not found in the store.
    So I guess there is time delay in delete mail API call and mails actually getting deleted, between which they are getting refetched.
    Q2. How can I handle this to avoid redundant processing of mails and unnecessary exceptions.

    I am polling Exchange Server to fetch all the mails left in the Inbox and then fetching them, processing them and finally moving them to the deleted folder. My procedure takes following form of EWS Managed API calls:
    1 itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    2 //some code...
    3 service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    4 //some code...
    5 foreach(Item item in itemResults)
    6 {
    7 //process item
    8 item.Delete(DeleteMode.MoveToDeletedItems);
    9 }
    To test this code I flooded the inbox with 5000 mails, 5 threads flooding 1000 mails each at the interval of 4ms.
    After test run, I realized some mails are getting processed multiple times.
    When I read the soap traces logged using TraceListener, I realized that when there are more than 100 mails in the inbox, there are more SOAP packets were dispatched in burst of 100s.
    Logically below set of SOAP Packets (let us call it "Set 1") should occur only once:
    <m:FindItem>...</m:FindItem> //generated by line 1
    <m:FindItemResponse>...</m:FindItemResponse> //generated by line 1
    <m:GetItem>...</m:GetItem> //generated by line 3
    <m:GetItemResponse>...</m:GetItemResponse> //generated by line 3
    followed x number of Delete SOAP packets for x number of mails in the Inbox
    <m:DeleteItem>...</m:DeleteItem> //generated by line 8
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> //generated by line 8
    However if there are say 325 mails in the inbox, then there first occurs 4 occurences of Set 1 followed by Delete SOAP packest as follows:
    //1st occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //2nd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //3rd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>100 items</m:GetItemResponse>
    //4th occurence
    <m:FindItem>35 items</m:FindItem>
    <m:FindItemResponse>35 items</m:FindItemResponse>
    <m:GetItem>35 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse> //****followed by 335 occurences of the Delete SOAP packets****<m:DeleteItem>...</m:DeleteItem>  
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> 
    //334 more of above
    So there are 100 + 100 + 100 + 35 = 335 items actually getting handled, which is 10 more than what are actually present in the inbox. 
    Also notice that Delete SOAP packets are queued till end. They are not dispatched in burst.
    First thing I realize dispatching SOAP packets in burst of 100s is EWS Managed API behavior. I guess there must be traffic reason behind it and there must be some configuration setting to tweak it.
    Q1. How can we change this count of 100?
    I inferred that there are some overlaps in fetching of mails.
    So I copy pasted SOAP Traces for first two of
    <m:GetItem>100 items</m:GetItem>
    in two different files, and compared them in text comparer. I realised that some mails that are at the end of the first 100s were reappearing at the beginning of 2nd 100: 
    This is the pattern in many test runs.
    Due to this these overlapping mails, these mails are getting processed twice. Also the attempt to second time delete them was throwing exception : The specified object was not found in the store.
    So I guess there is time delay in delete mail API call and mails actually getting deleted, between which they are getting refetched.
    Q2. How can I handle this to avoid redundant processing of mails and unnecessary exceptions.

  • Past due PurRqs are getting deleted in APO but not getting deletd in R3

    Hi folks,
    We have a daily job, which runs at 18:00 hrs in the evening everyday in the APO Production System.The job is to delete all past due Purchase Requisitions for last 2 years (job & variant details are mentioned below) All the past due PurRqs are getting deleted from APO, which we have cross-cheked in RRP3 view many times.
    However the same is not getting deleted in R3 systems. The planner/end- user is getting confused & hassled by this list of old PurRqs which is visible in R3 through MD04 t-code.
    Please suggest remedial/corrective actions to get this issue sorted.
    The job details for the deletion of past purchase requisitions.
    The job is run with the following variant details:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ABAP Program name :/SAPAPO/RLCDELETE
    VARIANT Details
    Select Object-> By Categories ->Category = AG (PurRqs in R3)
    Manual Selection-> Version =000; Product = (blank); Location = List ofall locations;
    Fixed Order (ticked)
    Period = 14.03.2009 to 14.03.2011 {All PurRqs in these period shouldget deleted in APO as well as R3}
    Settings-> Delete Transaction Data ->In R3 & APO (ticked)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Past due PurRqs are not getting deleted in R3 systems. The planner/end-user is getting confused & hassled resulting in loss of productive time & generation of erroneous planning which is negatively impacting Business.
    Pls suggest some remedy for this.
    MMTIA
    Kumar
    Edited by: Blue Lotus on Mar 14, 2011 5:51 PM

    Do you run the CCR on a daily basis. If so do you see the "reqs missing in R/3" in the CCR ?
    Also what is your transfer setting ? Meaning the transfer from APO to R/3 configuration  - is it immediate or change pointer based ? check that also
    Thanks
    Aparna

  • [SOLVED] Problem with MPD and ALSA

    Hello, I'm having problems with mpd using alsa output.
    My alsa system works, I can play mp3 using mplayer -ao alsa, and flash plugin plays sound, my user (and also mpd user)is in the audio group.
    But then mpd can't open the alsa device.
    If I tell mpd to autodetect audio, it can't find anything:
    (Running as root to see output, if using /etc/rc.d/mpd start, it just fails)
    output: No "audio_output" defined in config file
    output: Attempt to detect audio output device
    output: Attempting to detect a alsa audio device
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
    alsa: Error opening default ALSA device: No such file or directory
    output: Attempting to detect a oss audio device
    oss: Error opening OSS device "/dev/dsp": No such file or directory
    oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
    output: Attempting to detect a pulse audio device
    mpd: src/output/pulse_output_plugin.c:400: pulse_output_wait_connection: Assertion `po->mainloop != ((void *)0)' failed.
    and if I set up a basic alsa config...
    audio_output {
    type "alsa"
    name "HDA-Intel"
    It starts, but then playing anything:
    % mpc play
    Caspian - La Cerva
    [paused] #2/10 0:00/4:59 (0%)
    volume: n/a repeat: off random: off single: off consume: off
    ERROR: problems opening audio device
    mpc.log output:
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
    Sep 22 10:08 : output: Failed to open "HDA-Intel" [alsa]: Failed to open ALSA device "default": No such file or directory
    I tried with different device and mixer settings and the error is always the same. It can't open alsa device.
    Any Ideas?
    Thank you.
    Last edited by xzakox (2011-09-22 20:04:33)

    Check that mpd is really being run as the mpd user, and that id lists audio for the mpd user. Also post your whole mpd.conf and the output from amixer when running as the user you run mpd as.
    Last edited by Mr.Elendig (2011-09-22 11:43:35)

  • Values in table control getting deleted on vertical scrolling

    I have a table control which is associated with an internal table.Whenever I scroll down the values in the table control gets deleted.
    I tried solving the issue of scrolling by keeping another internal table as reference and syncing the values to my internal table; but after doing that whatever changes I make after scrolling is not reflected in the internal table.I'm using a db structure with abt 130 fields for my table control and there are no fields defined as primary keys.I tried using the modify statement but it's giving sy-subrc = 4 everytime.
    Could anyone suggest a solution?

    Debugging will solve your problem.
    The solution for this question is /h -> hit scroll button

Maybe you are looking for

  • Number range Issue for Business partners

    In our Feeder system (SAP ECC), the number ranges are over lapped for customers and vendors. For example  Customer master record : 100245 is for ABC customer and Vendor Master record: 100245 is for XYZ vendor. When these records were transferred from

  • How to use 2 d barcodes in reports 6i

    Hi, We have a requirement to use 2 D barcodes in Oracle reports 6i. Can anyone please advise as to how to do this? Thanks & Regards, Shailaja

  • Requirement for Quotation Report.

    Dear Experts, I have a requirement for Report for Quotation. In the Report Client wants to see for Particular Quotation Inquiry Number, Inquiry Value, Sales Order and Sales Order Value. I  have checked in VBFA Table if the Sales Order is Open for tha

  • HT3529 Can I copy an entire conversation of messages

    I woukd like to copy and print a entire conversation in my iPhone and iPad.  Can one do that.   I have a windows PC

  • IPhone Mail View

    Hello Everybody, I have a problem with the mail view on my new iPhone 4 with the latest IOS. When I start the mail programm on my old deviece an iPhone 3G with IOS 3.13 it shows me in the first view only all of my accounts. My new iPhone 4 shows me i