Batch Process File Righrs with Passenger?

I find myself in an emergency and need to use Passenger to batch create permissions, something I have never done.
One of my elementary schools had a server crash, I used ditto to copy back all my student user folders to the hard drive but none of their file permissions are correct.
I am using Passenger version 3.5.4 and have my users folder setup off the root of the Macintosh HD in a folder called Home_Folders. So my directory structure is:
/Home_Folders/Students/
I have created a new Permission Set that I have named Students based on the MACOSX default set and edited to fit my directory structure. I have tried both:
/Home_Folders/Students/<username>
/Volumes/Macintosh HD/Students/<username>
And I get the same error messages on both so none of the file rights are changed.
If anyone is familiar with this function, I would appreciate the help.
MAC Book Pro/Intel Processor Mac OS X (10.4.8)

Hi MacWorks,
   I don't have webalizer but I assume from your command that it has no problem with the fact that the logs are gzipped but it simply can't take more than one argument at a time. That kind of situation is one for which xargs was written. Try the following command:
ls /var/log/httpd/access_log.*.gz | xargs -n 1 ./webalizer -c my.conf
As you suggested in your post, that has to be run from the directory containing the webalizer executable but xargs will invoke webalizer once for each file which I gather you're saying is all that it can handle.
Gary
~~~~
   A diplomat is man who always remembers a woman's birthday
   but never her age.
         -- Robert Frost

Similar Messages

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • Attempt to process file failed with java.lang.StringIndexOutOfBoundsExcep..

    Hello All,
       I am implementing file2file with file going from shared folder to FTPS server.
    I am using TLS and X.509 certificate in file receiver communication channel.
    when I implemented my scenario, this is the error its throwing :
    Success : Connect to FTP server "my ftp address", directory "/TEST/"
    Error : Attempt to process file failed with java.lang.StringIndexOutOfBoundsException: String index out of range: 3
    I know this error is caused when java expects the 3 character length string and if its getting more than that... Does any faced this kindaa problem before...Any help is greatly appreciated....Obviously even points....
    Thanks,
    Ravi

    There is no custom code at all? No mappings, no custom modules, no pre/post processing commands?
    Also, check if you get this error when sending to ftps server without certificate (or with another certificate). It may be an incompatibility issue with certificate.
    Did you import the .pfx (or .p12) file in KeyStorage Service?
    Regards,
    Henrique.

  • Attempt to process file failed with ClassCastException

    Hi
    I have checked in <b>http://host:por/MessageSystem</b> there i got the following error...
    <b>Attempt to process file failed with ClassCastException</b>
    Can any one please tell me how to resolve the problem
    Best Regards
    Ravi Shankar B

    Ravi,
    I dont think it is feasible. Eventhough you have two files with the same name do you have the data same? Practically it should not be. Let us know your complete requiremens. Also see this link for some help on file validations:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fxi%2fxi-design_configuration%2ffileValidationsinSAPXI-ACaseStudy.pdf
    ---Satish

  • Attempt to process file failed with java.io.IOException

    Hi,
    The scenario is from Idoc to flat file and messages are getting processed successfully in XI. but in receiver communication channel error is coming:
    Attempt to process file failed with java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.: java.io.IOException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 426 Connection closed; transfer aborted.

    Hi,
    If you are using FTP then,
    1. Make sure that the FTP sever does not have issues with Firewall or a Proxy server access.
    2. Also verify that the specified FTP user ID has the necessary WRITE or overwrite authorization?
    Regards,
    Sarvesh
    ***Reward points, if it helped you.

  • Batch Process/Actions Automation with CS3 - Save 2 Files at Once

    Trying to figure this out is making my head spin. Say I have three files in a folder called house.tif, apple.tif, and dog.tif. I want to run a batch process on those to save two separate PDF files for each, one high res and one low res, that would ideally stay in the same folder and be named house_lowres.pdf and house_highres.pdf, apple_lowres.pdf and apple_highres.pdf etc.
    How can I do that with Actions and Batch Processing without overwriting any files?
    Thanks!
    Kim

    I was wondering if you had a chance to look more into it?
    Thanks a lot,
    Didier-

  • How can I batch process files to change name and extention in the latest photoshop cc ?

    Hi,
    The batch process function has changed design recently and I cannot get it to change file names in photoshop cc 2014.
    I keep getting new layers in the first file to open instead of a renamed batch.
    I would also like to convert files to jpeg and resize ( at the same time ? )
    thank you for help in advance,
    christos

    Can't help you with CC, but you cannot change files types by merely changing the extension, regardless of program or version.

  • Acrobat 9 Pro - previous output settings in a batch process keep interfering with new one

    I created a batch process for pdf/a conversion.  For the output setting, I unchecked the "overwrite" box and added a suffix to the file name.
    When I deleted one and recreated a different one, it is still appending that old suffix to the file name and overwriting the old file.
    Even though I uninstalled and reinstalled the software (Acrobat 9 Pro), the batch processes I had created before were still there, hence the problem remains.
    How do I delete these files so I can start over?  Tech support didn't solve the problem and having a hard time getting through.
    Doran

    Hi,
    User created *.sequ files are stored:
    Vista –
    C:\Users\<user name>\AppData\Roaming\Adobe\Acrobat\9.0\Sequences
    XP –
    C:\Documents and Settings\<user name>\Application Data\Adobe\Acrobat\<6.0> or <7.0> or 8.0> or <9.0>\Sequences
    It may be worth a search for all *.sequ files on the HDD to be sure you know where all of them are.
    Sounds like old ones were not removed by uninstall & with re-install, Acrobat is picking them up.
    Be well...

  • Batch processing files

    my question might come a something simple to most of you, but it has stumped me so far.
    i have ~1900 files that i need to run PDF Optimize on and have them set to Low Resolution. i have created a batch process in acrobat to do this, but there is one thing that is holding up this process: i have crop and trim marks on the original files. i need to make these files exactly Letter size and remove the crop and trim marks, but so far, i have not been able to figure out how to remove them.
    unfortunately, i need the originals to keep the crop & trim marks for a client of mine, but the low resolution pdfs need to be page size only. and i really don't feel llike sitting here while indesign runs through another ~1900 files to make low res pdfs; thats just silly.
    so any and all help that you masters of acrobat could help me with would be appreciated. thanks.

    Check out Switch:
    http://www.nch.com.au/switch/

  • How to design the scenario? i have process files sequentially with timegap

    Hi Folks,
    I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?normally i am getting 40 files in the source directory with some time gap like 1hr and 2 hours.but my in some situations like system got down and if the server stopped for some refresh work then 2 days files will come to source directory and after system is sap pi try to process files at a time but the source side can,t process more than 4 files at a time
    in tht case the messages are not processed they are in schedule mode only.
    I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order. if it is process also the SNC system can't process 4 at time.it will process files with some time gap.
    The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
    Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even PI picks and process 26th file, no problem but I need to give some time gap to send SNC to this 26th date file?
    Please how guys, throw me your great ideas
    Thanks in advance!!
    Regards
    SG

    Hi Seshagiri,
    first problem is to process the files sequentially by XI- Is it posiible to put a sequence number at end of each file as its last line? This number you can process within XI and hold on messages in a container unless all files with lower sequence number has already been processed thus you can also prevent receiver SNC system to receive files out of order. The sequence number has to be put before posting the file in XI.
    regards
    Anupam
    Edited by: anupamsap on Nov 25, 2010 7:48 AM

  • Batch Processing file limit

    I created a Batch Redaction using Acrobat 9 Pro that I'll need to run on around 9000 folders, each housing 4 or 5 PDFs. I've tried this process using Windows XP and Windows 7.
    The process bombs out and I get a Warnings and Errors window with the message "No files were processes." if I try to run it on more than 200 or so folders.
    Is there something I can do so that I can simply start the process, and have it be able to handle all 9000 folders rather than me having to split them out into smaller chunks and running the process several times?
    Thank you!

    I wouldn't try to run it on more than a few hundred files at a time, then quit and restart Acrobat. You basically have the wrong tool - Acrobat is an interactive tool, and actions are for automating tasks over a handful of files in a normal office environment, not automating months of work. You need an entirely different kind of product to work on thousands of files.
    Appligent (http://www.appligent.com/) have some PDF redaction products (since long before Acrobat did) and one of them is designed for high volume use.

  • Problems batch processing files in Illustrator CC2014

    I have a set of actions that I run Batch with that take all of the .eps files in a specific folder and saves .AI & .PDF formats, exports .JPG & .PNG and Saves for Web .GIF files.
    I'm running into two major issues that I can't find any solutions to. I have tried numerous combinations of the Batch settings to try alleviating these problems, but nothing has worked yet.
    When I run the actions with either .AI or .PDF "Save as" actions it works just fine. But, if I run them both I only end up with whichever action is first in the list.
    When I created the .JPG and .PNG "Save as" actions, they worked fine and included the file extension. When I run the Batch operation, the last one in the batch overwrites the first file format because neither have an extension.

    I think you are misunderstanding something here/ not understanding how PDF text embedding works. If PDF files contain embedded fonts, those take precedence over local system fonts. Each font or sub-set of a font (if "only embed used glyphs" is chosen) is assigned a unique identifier number to reference it. Names are only stored based on how the file was created. It is up to the program opening the PDF file to read that info and make sense of it. This may allow to re-create an editable document, but as I already wrote, based on what priorities apply, it may not. The only way to make sure a document remains editable is to attach the source in a separate chunk, which is what Retain Illustrator Editing Capabilities does. The rest is far out and far inbetweeen, as they say...
    Mylenium

  • Batch process text document with automator

    Hi all
    i would like to create a workflow with automator that look like that
    1)open text file with textedit
    2)"find and replace"
    3)Save
    4)Close
    my workflow works if i select one textfile but i didnt manage to make it do that on more than one text at the same time which is what i would like
    please help
    thanks
    p

    Hi all
    i would like to create a workflow with automator that look like that
    1)open text file with textedit
    2)"find and replace"
    3)Save
    4)Close
    my workflow works if i select one textfile but i didnt manage to make it do that on more than one text at the same time which is what i would like
    please help
    thanks
    p

  • Batch processing pictures in iPhoto with Photoshop CS4

    Hello, I am trying to batch process my pictures with photoshop. The only problem is that I can't get a source destination for my pictures. I know how to find them on the hard drive in the iPhoto library but when I try to get to the folder with photoshop it is greyed out. I also have tried selecting the photos though 'media' on the left side of the finder. I can open them but can't use that as the source folder for batch processing. Can someone help me out here? I am getting pretty irritated with iphoto, I am sure there must be some way to do this.
    thanks
    Kris

    Do you have PS set up as the editor of choice in iPhoto like this:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    However, this method will only let you open 4 photos at a time. You can have more than for open but will have to go back to iPhoto select 4 more and open them.
    Otherwise you'll need to export the photos out of iPhoto to a folder and do the batch processing there.

  • Acrobat Pro X batch processing different in Win 7

    Greetings,
    My company just completed moving everyone from Win XP to Win 7 (yes, I know, but better late than never). I regularily use Acrobat Pro X to batch process and password protect large numbers of a variety of documents (Word, Publisher, Excel and PowerPoint 2-up printouts.)
    Under Windows XP the process was pretty straight forward:
    1) Open Acrobat Pro
    2) Secect "Batch Process" File -> Create -> Batch Create Multiple files... (a window appears).
    3) Drag a large group of documents into the window (you can drag over 50 docs, it doesn't matter), then begin the process (which automatically walks through all the documents and PDFs them.)
    4) When the process is complete, open up the Action Wizard File -> Action Wizard -> Select the appropriate action
    5) A window appears, drag the PDFs into the window and go. All PDS quickly get the security applied.
    Done
    With Windows 7 the functionality is different (I really don't know if it is the operating system change or some type of policy change that I am unaware of). The process is far slower because I literally have to PDF and Apply Security to each document one at a time. The process goes like this:
    Under Windows 7:
    1) Select a group of documents, but NO MORE THAN 15.
    2) Drag the documents over the "Acrobat Pro X" icon and launch them this way. Each document created a "temporary PDF". Multiple windows open up, stacked on top of each other.
    3) Go to each window individually and first save the file (that way the file name is preserved), then go to the Action Wizard and apply the security. Then close the PDF.
    4) Repeat this process for each open window (document).
    5) Repeat as necessary until you have the several hundred documents processed.
    Literally this is a "hands-on" process for each document. Is there a better way? Am I missing something in the Acrobat or Windows 7 settings?
    If I try to batch process the old way under Windows 7 I get a series of error messages for each document. (I can't even get to the action wizard process.)
    Any suggestions?
    Is there a third party app that will work without having to administer it so much?
    Thank you,
    TPK

    Hi Test Screen Name,
    While reproducing the problem I realized I was in error as to how far in the sequence the problem occured. I actually do get as far as batch creating PDF,. The only difference there is that I can no longer "drag and drop" files in the batch create window. I have to use the "Add files..." command in the upper left of the batch create window.
    So, the application batch creates the files. Afterward, I use the Action Wizard to batch "Password Protect" the files. It is during this command run that the error occures. (Note: I am trying to save over the old files by having them save to the same directory under the same name, just like I used to be able to do.) The error I get is:
    Action Completed.
    Saved to: \\HOME\path-to-original-files\
    Warning/Errors
    The file may be read-only, or another user may have it open. Please save the document in a different
    Document: Name of document1.pdf
    Output: Name of document1.pdf
    The file may be read-only, or another user may have it open. Please save the document in a different
    Document: Name of document2.pdf
    Output: Name of document2.pdf
    The error message loops through all the documents. I don't have the documents open or in use. By default they shouldn't be "read-only". This all did not occure when I previously used the application with Windows XP.
    I have not yet tried saving them to a different directory. I will try that later today. (I didn't want to have a lot of versions of the same documents, it tends to be confusing.)
    Thank you for your reply,
    TPK

Maybe you are looking for