Re: [RAS] RAS migration to St. Louis
Dan, currently the web server logs RAS accesses and errors to: /var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them? then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards. -i
Also, maybe you could allow aras user to execute: sudo /usr/bin/killall -HUP httpd WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf). -i On Tue, Sep 6, 2011 at 8:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i
Other than these minor items, i think we are done with migration. -i On Tue, Sep 6, 2011 at 8:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
-i
On Tue, Sep 6, 2011 at 8:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
I suggest to set the new server to accept mail for authors.repec.org domain, just in case. At least for the aras@authors.repec.org. Although I hope it won't be used for any mail actually. -ivan On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
Why? On Wed, 7 Sep 2011, Ivan Kurmanov wrote:
I suggest to set the new server to accept mail for authors.repec.org domain, just in case. At least for the aras@authors.repec.org.
Although I hope it won't be used for any mail actually.
-ivan
On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
-- Christian Zimmermann FIGUGEGL! Economic Research Federal Reserve Bank of St. Louis P.O. Box 442 St. Louis MO 63166-0442 USA http://ideas.repec.org/zimm/
Is it possible to add a Reply-To header on the emails that are sent out? On Wed, Sep 7, 2011 at 9:55 AM, Ivan Kurmanov <duraley@gmail.com> wrote:
I suggest to set the new server to accept mail for authors.repec.orgdomain, just in case. At least for the aras@authors.repec.org.
Although I hope it won't be used for any mail actually.
-ivan
On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
On Thu, Sep 8, 2011 at 12:48 AM, Dan Hayes <dhayes501@gmail.com> wrote:
Is it possible to add a Reply-To header on the emails that are sent out?
it is probably possible (by tweaking the templates), but why? Do you mean to send mail From: aras@nebka.stlouisfed.org but with Reply-To: authors@repec.org? -i
On Wed, Sep 7, 2011 at 9:55 AM, Ivan Kurmanov <duraley@gmail.com> wrote:
I suggest to set the new server to accept mail for authors.repec.org domain, just in case. At least for the aras@authors.repec.org. Although I hope it won't be used for any mail actually.
-ivan
On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
If bounced messages are sent to the reply-to address, we could send them directly to authors@repec.org and not have to manage another email address. On Thu, Sep 8, 2011 at 9:27 AM, Ivan Kurmanov <duraley@gmail.com> wrote:
On Thu, Sep 8, 2011 at 12:48 AM, Dan Hayes <dhayes501@gmail.com> wrote:
Is it possible to add a Reply-To header on the emails that are sent out?
it is probably possible (by tweaking the templates), but why?
Do you mean to send mail From: aras@nebka.stlouisfed.org but with Reply-To: authors@repec.org?
-i
On Wed, Sep 7, 2011 at 9:55 AM, Ivan Kurmanov <duraley@gmail.com> wrote:
I suggest to set the new server to accept mail for authors.repec.org domain, just in case. At least for the aras@authors.repec.org. Although I hope it won't be used for any mail actually.
-ivan
On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com>
wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
The nightly script fails at this with: sudo: sorry, you must have a tty to run sudo error: error running shared postrotate script for '/home/aras/authors.repec.org-access /home/aras/authors.repec.org-error ' is there a workaround? How is apache log rotation supposed to work? Is it done by root by default (in a default apache+logrotate install, i mean)? -ivan On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
Another question: apache complains in the error log: mod_mime_magic: can't read `/home/aras/WWW/cgi/a.cgi', referer: http://authors.repec.org/new-institution!099a84b0 and there are 9 thousands of those for yesterday. could you switch off mod_mime_magic for this file or switch it off completely? -i On Thu, Sep 8, 2011 at 12:38 AM, Ivan Kurmanov <duraley@gmail.com> wrote:
The nightly script fails at this with:
sudo: sorry, you must have a tty to run sudo error: error running shared postrotate script for '/home/aras/authors.repec.org-access /home/aras/authors.repec.org-error '
is there a workaround? How is apache log rotation supposed to work? Is it done by root by default (in a default apache+logrotate install, i mean)?
-ivan
On Tue, Sep 6, 2011 at 10:54 PM, Dan Hayes <dhayes501@gmail.com> wrote:
On Tue, Sep 6, 2011 at 12:43 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Also, maybe you could allow aras user to execute:
sudo /usr/bin/killall -HUP httpd
WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf).
I believe this is working now also
On Wed, Sep 7, 2011 at 4:41 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Another question:
apache complains in the error log:
mod_mime_magic: can't read `/home/aras/WWW/cgi/a.cgi', referer: http://authors.repec.org/new-institution!099a84b0
and there are 9 thousands of those for yesterday. could you switch off mod_mime_magic for this file or switch it off completely?
mod_mime_magic is switched off now
On Wed, Sep 7, 2011 at 4:38 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
The nightly script fails at this with:
sudo: sorry, you must have a tty to run sudo error: error running shared postrotate script for '/home/aras/authors.repec.org-access /home/aras/authors.repec.org-error '
is there a workaround? How is apache log rotation supposed to work? Is it done by root by default (in a default apache+logrotate install, i mean)?
By default, this is done by root. Can we setup a root cron to do this?
Done. On Tue, Sep 6, 2011 at 12:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i
The logo has been updated to reflect the new hosting at the St. Louis Fed. On Tue, Sep 6, 2011 at 12:45 PM, Dan Hayes <dhayes501@gmail.com> wrote:
Done.
On Tue, Sep 6, 2011 at 12:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i
Also, Dan has reported that the firewall is configured and I've tested the per archive on the new server, and have corrected the URL accordingly in the perarch.rdf files on both servers. I'll monitor things tomorrow and fix if anything bad comes up. -ivan On Tue, Sep 6, 2011 at 8:45 PM, Dan Hayes <dhayes501@gmail.com> wrote:
Done.
On Tue, Sep 6, 2011 at 12:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i
participants (3)
-
'Christian Zimmermann' -
Dan Hayes -
Ivan Kurmanov