Apache2 restart/start error

320

As said by Wiki Archlinux:

You need to replace mpm_event_module with mpm_prefork_module.
Open file /etc/httpd/conf/httpd.conf and edit like follows:

#LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

Then restart Apache Service.

Share:
320
Iker Aguayo
Author by

Iker Aguayo

Updated on September 18, 2022

Comments

  • Iker Aguayo
    Iker Aguayo 4 months

    I am looking for an entity or a yaml file to install a Tibco Spotfire in a Windows OS via Apache Brooklyn.

    Amazon Web Services (AWS) offers the installation of this service: https://aws.amazon.com/marketplace/pp/B00PB74KYY

    This is my yaml file which install successfully in AWS a windows Server:

    name: Windows_OS_Example
    location: 
      jclouds:aws-ec2:
        region: eu-central-1
        identity: <identity>
        credential: <credential>
        imageNameRegex: Windows_Server-2012-R2_RTM-English-64Bit-Base
        hardwareId: m3.medium
        useJcloudsSshInit: false
        templateOptions: {mapNewVolumeToDeviceName: ["/dev/sda1", 100, true]}
    services:
    - type: brooklyn.entity.basic.VanillaWindowsProcess
      brooklyn.config:
        install.command: echo true
        customize.command: echo true
        launch.command: echo true
        stop.command: echo true
        checkRunning.command: echo true
    

    I think that maybe,

    • there is another image (imageNameRegex) which has the Windows Server and the Spotfire together
    • or one Service or something similar which it could be added to jclouds spec in the yaml file to install a Spotfire after the Windows Server installation
    • or an example/workaround of a Java Entity to install the Spotfire

    If somebody knows some of these solutions or another one, I really appreciate it.

    • derdeagle over 6 years
      Moved my "answer" to the comments which makes more sense ... That's a first hint Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. But to be sure pay attention to the line saying The Apache error log may have more information.Could you please show us the content of the apache error log?
  • Iker Aguayo
    Iker Aguayo over 7 years
    I already accepted the terms but I get always a 401 unauthorized with your blueprint. I do not know if it is important, but the free trial period of Spotfire is expired. Did you try it with success?
  • Aled Sage over 7 years
    I used this successfully (within the free trial period). Can you check if the AMI is usable in your account by creating a VM using the given marketplace AMI in your chosen region (e.g. using the AWS web-console or the AWS cli (aws.amazon.com/cli) to see if that also gives (the equivalent of) a 401?
  • Iker Aguayo
    Iker Aguayo over 7 years
    Aled Sage, I created it manually with the AMI and it works, but with brooklyn I get a 401. Maybe it is not possible, but it would be great if somebody could test with the free trial expired.
  • ApplePie over 6 years
    I don't have any httpd folder. Do you know why?
  • ApplePie over 6 years
    Where would I place the LoadModule command though?
  • ApplePie over 6 years
    Nevermind. What you told me works ;) Thanks man!