You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Andrei Karneyenka (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/17 20:33:37 UTC

[jira] [Issue Comment Edited] (INFRA-4546) New Mirror

    [ https://issues.apache.org/jira/browse/INFRA-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232053#comment-13232053 ] 

Andrei Karneyenka edited comment on INFRA-4546 at 3/17/12 7:32 PM:
-------------------------------------------------------------------

Henrik, 

Thank you for the prompt response. 

1. The previous once-per-hour log records were us testing the cron job. The current rsync schedule is "30 0,6,12,18 * * *"  (Pacific time). You shall be seeing the change reflected in your logs by now. 

2. I couldn't reproduce the symlinks issue you mentioned as the download links you were referring to worked fine for me. 
You were right with your assumption regarding file ownership - it was different from "apache". I've changed ownership of the mirror folder and changed cron job to run under "apache" user as per your recommendation. Please check and let me know if you are still seeing any issues.


[root@a14 axkit]# pwd
/var/www/html/xml/axkit
[root@a14 axkit]# ll
total 20
lrwxrwxrwx 1 apache 511   25 Mar 12 16:39 AxKit-1.6.2.tar.gz -> source/AxKit-1.6.2.tar.gz
lrwxrwxrwx 1 apache 511   29 Mar 12 16:39 AxKit-1.6.2.tar.gz.asc -> source/AxKit-1.6.2.tar.gz.asc
lrwxrwxrwx 1 apache 511   23 Mar 12 16:39 AxKit-1.7.tar.gz -> source/AxKit-1.7.tar.gz
lrwxrwxrwx 1 apache 511   27 Mar 12 16:39 AxKit-1.7.tar.gz.asc -> source/AxKit-1.7.tar.gz.asc
lrwxrwxrwx 1 apache 511   24 Mar 12 16:39 AxKit2-1.0.tar.gz -> source/AxKit2-1.0.tar.gz
lrwxrwxrwx 1 apache 511   28 Mar 12 16:39 AxKit2-1.0.tar.gz.asc -> source/AxKit2-1.0.tar.gz.asc
lrwxrwxrwx 1 apache 511   24 Mar 12 16:39 AxKit2-1.1.tar.gz -> source/AxKit2-1.1.tar.gz
lrwxrwxrwx 1 apache 511   28 Mar 12 16:39 AxKit2-1.1.tar.gz.asc -> source/AxKit2-1.1.tar.gz.asc
lrwxrwxrwx 1 apache 511   23 Mar 12 16:39 axkit-current.tar.gz -> source/AxKit-1.7.tar.gz
lrwxrwxrwx 1 apache 511   27 Mar 12 16:39 axkit-current.tar.gz.asc -> source/AxKit-1.7.tar.gz.asc
drwxrwsr-x 2 apache 511 4096 Oct  7  2003 binaries
-rw-rw-r-- 1 apache 511  163 Aug 30  2009 HEADER.html
-rw-rw-r-- 1 apache 511 7284 Nov  3  2005 KEYS
drwxrwsr-x 2 apache 511 4096 Sep  9  2006 source
                
      was (Author: claz.org):
    Henrik, 

Thank you for the prompt response. 

1. The previous once-per-hour log records were us testing the cron job. The current rsync schedule is "30 0,6,12,18 * * *"  (Pacific time). You shall be seeing the change reflected in your logs by now. 

2. I couldn't reproduce the symlinks issue you mentioned as downloads in the folder you mentioned worked fine for me. 
You were right with your assumption regarding file ownership - it was different from "apache". I've changed ownership of the mirror folder and changed cron job to run under "apache" user as per your recommendation. Please check and let me know if you are still seeing any issues.


[root@a14 axkit]# pwd
/var/www/html/xml/axkit
[root@a14 axkit]# ll
total 20
lrwxrwxrwx 1 apache 511   25 Mar 12 16:39 AxKit-1.6.2.tar.gz -> source/AxKit-1.6.2.tar.gz
lrwxrwxrwx 1 apache 511   29 Mar 12 16:39 AxKit-1.6.2.tar.gz.asc -> source/AxKit-1.6.2.tar.gz.asc
lrwxrwxrwx 1 apache 511   23 Mar 12 16:39 AxKit-1.7.tar.gz -> source/AxKit-1.7.tar.gz
lrwxrwxrwx 1 apache 511   27 Mar 12 16:39 AxKit-1.7.tar.gz.asc -> source/AxKit-1.7.tar.gz.asc
lrwxrwxrwx 1 apache 511   24 Mar 12 16:39 AxKit2-1.0.tar.gz -> source/AxKit2-1.0.tar.gz
lrwxrwxrwx 1 apache 511   28 Mar 12 16:39 AxKit2-1.0.tar.gz.asc -> source/AxKit2-1.0.tar.gz.asc
lrwxrwxrwx 1 apache 511   24 Mar 12 16:39 AxKit2-1.1.tar.gz -> source/AxKit2-1.1.tar.gz
lrwxrwxrwx 1 apache 511   28 Mar 12 16:39 AxKit2-1.1.tar.gz.asc -> source/AxKit2-1.1.tar.gz.asc
lrwxrwxrwx 1 apache 511   23 Mar 12 16:39 axkit-current.tar.gz -> source/AxKit-1.7.tar.gz
lrwxrwxrwx 1 apache 511   27 Mar 12 16:39 axkit-current.tar.gz.asc -> source/AxKit-1.7.tar.gz.asc
drwxrwsr-x 2 apache 511 4096 Oct  7  2003 binaries
-rw-rw-r-- 1 apache 511  163 Aug 30  2009 HEADER.html
-rw-rw-r-- 1 apache 511 7284 Nov  3  2005 KEYS
drwxrwsr-x 2 apache 511 4096 Sep  9  2006 source
                  
> New Mirror
> ----------
>
>                 Key: INFRA-4546
>                 URL: https://issues.apache.org/jira/browse/INFRA-4546
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Mirrors
>         Environment: CentOS 5.7 x64
>            Reporter: Andrei Karneyenka
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> URL of mirror - http://apache.claz.org
> Country where the mirror is located - United States (Dallas, TX)
> Contact email address - admin@claz.org
> Update frequency - 4 times per day (0:30, 6:30, 12:30 and 18:30 - Pacific time)
> Rsync repository used:   rsync.apache.org::apache-dist
> Approximate bandwidth: 100mbps, 5TB/mo
> At the moment, I rsync from the IP address : 208.115.223.146
> I have configured my HTTP server as requested: YES
> I have subscribed to the mirror maintainers mailing list: YES

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira