Closed Bug 557835 Opened 14 years ago Closed 14 years ago

staging-puppet's apache web server was not running

Categories

(Release Engineering :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: armenzg, Unassigned)

Details

Attachments

(1 obsolete file)

These files were missing on staging-puppet:
 Only in /etc/httpd/conf.d: puppetmaster.conf
 Only in /etc/httpd/conf.d: ssl.conf

I scped them over:
scp /etc/httpd/conf.d/{puppetmaster,ssl}.conf root@staging-puppet.build.mozilla.org:/etc/httpd/conf.d/

These are the adjustments on puppetmaster.conf:
SSLCertificateFile /var/lib/puppet/ssl/certs/staging-puppet.build.mozilla.org.pem
SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/staging-puppet.build.mozilla.org.pem

On /etc/sysconfig/puppetmaster I uncommented:
PUPPETMASTER_PORTS=( 18140 18141 18142 18143 )


Upon trying:
 service httpd start
I got this:
> Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf:
> Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so
> into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object
> file: No such file or directory

Install the mod_ssl:
 yum install mod_ssl


Trying again and it seems that there are port conflicts with puppet:
[root@staging-puppet manifests]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:8140
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8140
no listening sockets available, shutting down
Unable to open logs
Furthermore, staging-puppet was never updated to match the production configuration changes in bug 552005.

Armen did a lot of the work to get this update started, described in comment #0. I did the following to finish it up:
service puppetmaster stop
yum install rubygem-mongrel
service httpd restart
service puppetmaster start
Also had to edit /etc/httpd/conf.d/puppetmaster.conf to point the SSL options at /etc/puppet/ssl rather than /var/lib/puppet/ssl. For some reason, those directories don't have the same certs for staging-puppet.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Assignee: nobody → jake

Comment on attachment 9251798 [details]
Bug 557835 - Allow migration from Brave r=jstutte

Revision D131731 was moved to bug 1557835. Setting attachment 9251798 [details] to obsolete.

Attachment #9251798 - Attachment is obsolete: true
Assignee: jake → nobody
QA Contact: mtabara
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: