ManicD | 1 May 2012 12:27
Favicon

Install

It not working :-( help please,

ok, I stick the centos cd in, CENTOS 5.7, run a basic install no extras

then following the guide -
http://www.baruwa.org/blog/2012/03/07/baruwa-centos-5.x-puppet-installation-howto/

I run the following commands
rpm -Uvh
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
(markcsharma commented to use this url because the original fails)
rpm -Uvh http://repo.baruwa.org/el5/i386/baruwa-release-5-0.noarch.rpmc
yum update -y (markcsharma - said to do this as well)
yum install puppet -y
yum install git -y
cd /usr/local/src
git clone git://github.com/akissa/baruwa-puppet.git
mv baruwa-puppet/modules /etc/puppet/
mv baruwa-puppet/manifests /etc/puppet/
nano /etc/puppet/manifests/toasters/baruwa/init.pp 
baruwa-admin changepassword <username> (this fails with admin, baruwaadmin
and administrator)

So i try:
baruwa-admin createsuperuser admin
this works

Nothing else works though....cant access the website on the servers hostname
nothing!!

(Continue reading)

Andrew Colin Kissa | 1 May 2012 12:35
Gravatar

Re: Install


On 01 May 2012, at 12:27 PM, ManicD wrote:

> It not working :-( help please,
> 
> ok, I stick the centos cd in, CENTOS 5.7, run a basic install no extras
> 
> then following the guide -
> http://www.baruwa.org/blog/2012/03/07/baruwa-centos-5.x-puppet-installation-howto/
> 
> I run the following commands
> rpm -Uvh
> http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
> (markcsharma commented to use this url because the original fails)
> rpm -Uvh http://repo.baruwa.org/el5/i386/baruwa-release-5-0.noarch.rpmc
> yum update -y (markcsharma - said to do this as well)
> yum install puppet -y
> yum install git -y
> cd /usr/local/src
> git clone git://github.com/akissa/baruwa-puppet.git
> mv baruwa-puppet/modules /etc/puppet/
> mv baruwa-puppet/manifests /etc/puppet/
> nano /etc/puppet/manifests/toasters/baruwa/init.pp 
> baruwa-admin changepassword <username> (this fails with admin, baruwaadmin
> and administrator)
> 
> So i try:
> baruwa-admin createsuperuser admin
> this works
> 
(Continue reading)

Ashley - Tetrabyte | 1 May 2012 12:44
Favicon

Re: Install

Yep, all went well according to the output of that

I'm not getting any response from its webserver, trying to figure out if its installed or working

ManicD

-----Original Message-----
From: baruwa-bounces@...
[mailto:baruwa-bounces@...] On Behalf Of Andrew Colin Kissa
Sent: 01 May 2012 11:35
To: Baruwa users list
Subject: Re: [Baruwa] Install

On 01 May 2012, at 12:27 PM, ManicD wrote:

> It not working :-( help please,
> 
> ok, I stick the centos cd in, CENTOS 5.7, run a basic install no 
> extras
> 
> then following the guide -
> http://www.baruwa.org/blog/2012/03/07/baruwa-centos-5.x-puppet-install
> ation-howto/
> 
> I run the following commands
> rpm -Uvh
> http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rp
> m (markcsharma commented to use this url because the original fails) 
> rpm -Uvh 
> http://repo.baruwa.org/el5/i386/baruwa-release-5-0.noarch.rpmc
(Continue reading)

Ashley - Tetrabyte | 1 May 2012 12:48
Favicon

Re: Install

Ok, so I run "service iptables stop" and now I get an error from the webserver, 

The server.domain.com url changes to server.domain.com/accounts/login/?next=/ 

And the page displays as

<h1>Page unavailable</h1>
<p>Sorry the requested page is unavailable due to a server malfunction.</p>

Any ideas?

-----Original Message-----
From: baruwa-bounces@...
[mailto:baruwa-bounces@...] On Behalf Of Andrew Colin Kissa
Sent: 01 May 2012 11:35
To: Baruwa users list
Subject: Re: [Baruwa] Install

On 01 May 2012, at 12:27 PM, ManicD wrote:

> It not working :-( help please,
> 
> ok, I stick the centos cd in, CENTOS 5.7, run a basic install no 
> extras
> 
> then following the guide -
> http://www.baruwa.org/blog/2012/03/07/baruwa-centos-5.x-puppet-install
> ation-howto/
> 
> I run the following commands
(Continue reading)

Andrew Colin Kissa | 1 May 2012 12:58
Gravatar

Re: Install


On 01 May 2012, at 12:48 PM, Ashley - Tetrabyte wrote:

> Ok, so I run "service iptables stop" and now I get an error from the webserver, 
> 
> The server.domain.com url changes to server.domain.com/accounts/login/?next=/ 
> 
> And the page displays as
> 
> 
> <h1>Page unavailable</h1>
> <p>Sorry the requested page is unavailable due to a server malfunction.</p>

Please check the apache error log

--
www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Ashley - Tetrabyte | 1 May 2012 13:13
Favicon

Re: Install

/etc/httpd/logs/error_log

[Tue May 01 10:28:03 2012] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
[Tue May 01 10:28:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 01 10:28:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue May 01 10:28:03 2012] [notice] Digest: done
[Tue May 01 10:28:04 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue May 01 11:37:06 2012] [notice] caught SIGTERM, shutting down
[Tue May 01 11:40:19 2012] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Tue May 01 11:40:19 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 01 11:40:19 2012] [notice] Digest: generating secret for digest authentication ...
[Tue May 01 11:40:19 2012] [notice] Digest: done
[Tue May 01 11:40:19 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue May 01 11:47:07 2012] [error] /usr/lib/python2.4/site-packages/celery/__init__.py:18:
DeprecationWarning: 
[Tue May 01 11:47:07 2012] [error] 
[Tue May 01 11:47:07 2012] [error] Python 2.4 support is deprecated and only versions 2.5, 2.6, 2.7+
[Tue May 01 11:47:07 2012] [error] will be supported starting from Celery version 2.3.
[Tue May 01 11:47:07 2012] [error] 
[Tue May 01 11:47:07 2012] [error] 
[Tue May 01 11:47:07 2012] [error] 
[Tue May 01 11:47:07 2012] [error]   warnings.warn(DeprecationWarning("""
[Tue May 01 11:47:09 2012] [error] /usr/lib/python2.4/site-packages/celery/__init__.py:18:
DeprecationWarning: 
[Tue May 01 11:47:09 2012] [error] 
[Tue May 01 11:47:09 2012] [error] Python 2.4 support is deprecated and only versions 2.5, 2.6, 2.7+
[Tue May 01 11:47:09 2012] [error] will be supported starting from Celery version 2.3.
[Tue May 01 11:47:09 2012] [error] 
[Tue May 01 11:47:09 2012] [error] 
[Tue May 01 11:47:09 2012] [error] 
(Continue reading)

Andrew Colin Kissa | 1 May 2012 13:19
Gravatar

Re: Install


On 01 May 2012, at 1:13 PM, Ashley - Tetrabyte wrote:

> 
> Does that mean anything to you?
> Or is there a different log file somewhere?

The problem is selinux, you need to disable it

setenforce 0

--
www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Ashley - Tetrabyte | 1 May 2012 13:47
Favicon

Re: Install

That works, however, how do I make that change permanent?

It reappears after each reboot?

-----Original Message-----
From: baruwa-bounces@...
[mailto:baruwa-bounces@...] On Behalf Of Andrew Colin Kissa
Sent: 01 May 2012 12:19
To: Baruwa users list
Subject: Re: [Baruwa] Install

On 01 May 2012, at 1:13 PM, Ashley - Tetrabyte wrote:

> 
> Does that mean anything to you?
> Or is there a different log file somewhere?

The problem is selinux, you need to disable it

setenforce 0

--
www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

(Continue reading)

Mikael Syska | 1 May 2012 13:53
Picon
Gravatar

Re: Install

Hi,

That would be a question for google.

https://www.google.dk/#hl=en&sclient=psy-ab&q=disable+selinux+centos+5&oq=disable+selinux+centos+5&aq=f&aqi=g3g-K1&aql=&gs_l=hp.3..0l3j0i30.6183.6251.1.6466.2.2.0.0.0.0.156.254.1j1.2.0...0.0.IRjjFiJL5j8&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=c8e960d616a1bba7&biw=1920&bih=1032

There are like a trillion hits on that.

mvh
Mikael Syska

On Tue, May 1, 2012 at 1:47 PM, Ashley - Tetrabyte <Ashley@...> wrote:
> That works, however, how do I make that change permanent?
>
> It reappears after each reboot?
>
>
> -----Original Message-----
> From: baruwa-bounces@...
[mailto:baruwa-bounces@...] On Behalf Of Andrew Colin Kissa
> Sent: 01 May 2012 12:19
> To: Baruwa users list
> Subject: Re: [Baruwa] Install
>
>
> On 01 May 2012, at 1:13 PM, Ashley - Tetrabyte wrote:
>
>>
>> Does that mean anything to you?
>> Or is there a different log file somewhere?
(Continue reading)

Sylvain PANNETRAT | 1 May 2012 14:57
Picon

Re: Install

Hi,

In Fedore ou CentOS, you need to edit /etc/sysconfig/selinux, and change 
SELINUX value. If you don't want to chek selinux log, set "disabled".

Sylvain

Le 01/05/2012 13:53, Mikael Syska a écrit :
> Hi,
>
> That would be a question for google.
>
> https://www.google.dk/#hl=en&sclient=psy-ab&q=disable+selinux+centos+5&oq=disable+selinux+centos+5&aq=f&aqi=g3g-K1&aql=&gs_l=hp.3..0l3j0i30.6183.6251.1.6466.2.2.0.0.0.0.156.254.1j1.2.0...0.0.IRjjFiJL5j8&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=c8e960d616a1bba7&biw=1920&bih=1032
>
> There are like a trillion hits on that.
>
> mvh
> Mikael Syska
>
> On Tue, May 1, 2012 at 1:47 PM, Ashley - Tetrabyte<Ashley@...>  wrote:
>> That works, however, how do I make that change permanent?
>>
>> It reappears after each reboot?
>>
>>
>> -----Original Message-----
>> From: baruwa-bounces@...
[mailto:baruwa-bounces@...a.org] On Behalf Of Andrew Colin Kissa
>> Sent: 01 May 2012 12:19
>> To: Baruwa users list
(Continue reading)

Ashley - Tetrabyte | 2 May 2012 16:39
Favicon

Re: Install


Hi, 

Your right I found that on google easy, 

Now one that I cant seem to find on google. 

I want to do replication, however I'm fairly sure you need mysql 5.1 and above for that.
I'm fairly sure the puppet installer setup sqlite 3.3.3 which appears to be mysql 5.0

If I'm correct I need to upgrade, if that's correct a) how do I do it and b) if I do it will the "yum update"
command break it in the future.

Thanks in advanced again

ManicD

-----Original Message-----
From: baruwa-bounces@...
[mailto:baruwa-bounces@...] On Behalf Of Mikael Syska
Sent: 01 May 2012 12:54
To: Baruwa users list
Subject: Re: [Baruwa] Install

Hi,

That would be a question for google.

https://www.google.dk/#hl=en&sclient=psy-ab&q=disable+selinux+centos+5&oq=disable+selinux+centos+5&aq=f&aqi=g3g-K1&aql=&gs_l=hp.3..0l3j0i30.6183.6251.1.6466.2.2.0.0.0.0.156.254.1j1.2.0...0.0.IRjjFiJL5j8&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=c8e960d616a1bba7&biw=1920&bih=1032

(Continue reading)


Gmane