[The Perfect Server - Fedora 10 [ISPConfig 3]] - Courier-IMAP

Discussion in 'HOWTO-Related Questions' started by Blaasbalg, May 8, 2009.

  1. Blaasbalg

    Blaasbalg Member

    Hi,

    Currently I'm stuck at chapter 10 at the The Perfect Server - Fedora 10 [ISPConfig 3] tutorial.
    The part where it fails (Page 4 - Link):

    Code:
    Now we go back to the $HOME/downloads directory and run rpmbuild again, this time without sudo, otherwise the compilation will fail because it was run as root:
    
    cd $HOME/downloads
    rpmbuild -ta courier-imap-4.4.1.tar.bz2
    When I execute the rpmbuild command, I get the following error:

    Code:
    Unable to open spec file /home/compileuser/rpm/SPECS/rpm-spec.7VpoCv
    The part after the dot (rpm-spec.) always changes, so basically there are no files in SPECS.
    Even though it seems to work just fine when I do this under the root account (but then I get the error saying that you are not allowed to build it with the root account).

    Everything before this step went fine, without errors, so no problem there I guess...
    Does anybody know what's wrong?

    Kind Regards,
    Thomas
     
    Last edited: May 8, 2009
  2. Blaasbalg

    Blaasbalg Member

    Nobody?

    I'd like to have the server running this weekend, but I really don't know what's wrong.
    I searched a lot, can't find anything usefull..
     
  3. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /home/compileuser/
    ?
     
  4. Blaasbalg

    Blaasbalg Member

    I found the problem a few hours ago :)

    Somehow the owner of the rpm directories (like $HOME/rpm/SPECS etc.) was not the compileuser.
    Which is weird because they were created with the compileuser account...

    But anyway, I performed the following command under the root account:
    Code:
    chown -hR compileuser /home/compileuser/
    Which set compileuser as the owner of the rpm directory, and all subdirectories.

    This fixed the problem. But I still don't know why... I followed everything in the tutorial step-by-step, so it should work fine.

    Maybe there's a little error in the tutorial?

    Kind Regards,
    Thomas.
     
    Last edited: May 9, 2009
  5. falko

    falko Super Moderator ISPConfig Developer

    I don't think so - it's working for me.
     
  6. GrimmyBear

    GrimmyBear New Member

    Thank you Blaasbalg.

    I encountered the same problem as you. By altering the directory permissions everything is working fantastically:D.

    Kind regards
    Nick
     

Share This Page