#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Location
    Auckland
    Posts
    93
    Rep Power
    24

    Thumbs down Httpd goes into infinite loop


    Hi

    I'm actually doing build automation using "phing" ; for following are the steps involved in build preparation.
    1. take svn checkout.
    2. export
    3. deploy it on server.

    my script is running perfectly fine when I run "localhost" but When I use IP instead, it infinitely creates a build.

    I can't create a virtual host so all of the user has to access it via machine IP.

    I'm using "shell_exec()" and I added "_www" (httpd user ) in sudoers list so that , script won't ask for password when it copies to server ( I know this is really bad idea to provide access )

    Please guide me about this awkward issue. What wrong I m doing

    Thanks.
  2. #2
  3. No Profile Picture
    Dazed&Confused
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2002
    Location
    Tempe, AZ
    Posts
    506
    Rep Power
    128
    Never used phing, sorry.

    My deployments are usually just "svn update -r ###" where the app install is located.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Location
    Auckland
    Posts
    93
    Rep Power
    24
    actually, its nothing to do with phing.. even if you try to give "svn update" it goes into infinite loop.
  6. #4
  7. No Profile Picture
    Dazed&Confused
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2002
    Location
    Tempe, AZ
    Posts
    506
    Rep Power
    128
    Originally Posted by ryand
    actually, its nothing to do with phing.. even if you try to give "svn update" it goes into infinite loop.
    Hrm.

    The only thing I can think would be the problem is some sort of redirect loop on whatever server hosts your subversion repository.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Location
    Auckland
    Posts
    93
    Rep Power
    24
    Originally Posted by dmittner
    Hrm.

    The only thing I can think would be the problem is some sort of redirect loop on whatever server hosts your subversion repository.
    it was never a script issue at all. In one of the svn repository there were sub repositories exists so this was impacted the script..

    so much time went in investigating the root cause but thanks for all.

IMN logo majestic logo threadwatch logo seochat tools logo