Skip to main content
edited grammar, clarified commands and their output
Source Link

At this momment I tryam trying to configure OTRS on CENTOS, but, I freezed on step httpthe result is that the http. Failedservice "Failed to start The Apache HTTP Servestart".

Please, see belowHere is the terminal command that I am executing and the resulting output:

[root@srv-lim-otrs02 ~]## systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Here is the output of systemctl status httpd.service:

[root@srv-lim-otrs02 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server...
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process ""
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.
 

InHere is the time,output of hostnamectl status:

Static hostname: srv-lim-otrs02.ttglog.local
Icon name: computer-vm
Chassis: vm
Machine ID: 63206643a78746928a1689f943422fe2
Boot ID: 4260f7fbdda34149b1ec68d5092da71e
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64Static hostname: srv-lim-otrs02.ttglog.local 
Icon name: computer-vm 
Chassis: vm 
Machine ID: 63206643a78746928a1689f943422fe2 
Boot ID: 4260f7fbdda34149b1ec68d5092da71e 
Virtualization: microsoft 
Operating System: CentOS Linux 7 (Core) 
CPE OS Name: cpe:/o:centos:centos:7 
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64

  

In the logfile, appears theThe following error (from last Saturday) appears in the log file:

 

This error, appear in log flie from last saturday.Note that I had usedhave tried using cpan> install DateTime to install this module,module; but, howas you can see, the error persists.

Any ideasHow can I resolve this issue?

At this momment I try configure OTRS on CENTOS, but, I freezed on step http. Failed to start The Apache HTTP Serve.

Please, see below:

[root@srv-lim-otrs02 ~]# systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@srv-lim-otrs02 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server...
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process ""
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.

In the time,

Static hostname: srv-lim-otrs02.ttglog.local
Icon name: computer-vm
Chassis: vm
Machine ID: 63206643a78746928a1689f943422fe2
Boot ID: 4260f7fbdda34149b1ec68d5092da71e
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64

 

In the logfile, appears the following error:

This error, appear in log flie from last saturday. I had used cpan> install DateTime to install this module, but, how you can see, the error persists.

Any ideas?

I am trying to configure OTRS on CENTOS, but, the result is that the http.service "Failed to start".

Here is the terminal command that I am executing and the resulting output:

# systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Here is the output of systemctl status httpd.service:

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server...
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process ""
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.
 

Here is the output of hostnamectl status:

Static hostname: srv-lim-otrs02.ttglog.local 
Icon name: computer-vm 
Chassis: vm 
Machine ID: 63206643a78746928a1689f943422fe2 
Boot ID: 4260f7fbdda34149b1ec68d5092da71e 
Virtualization: microsoft 
Operating System: CentOS Linux 7 (Core) 
CPE OS Name: cpe:/o:centos:centos:7 
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64
 

The following error (from last Saturday) appears in the log file:

 

Note that I have tried using cpan> install DateTime to install this module; but, as you can see, the error persists.

How can I resolve this issue?

From deleted non-answers by the questioner.
Source Link
JdeBP
  • 71.9k
  • 13
  • 175
  • 378

I need help from you!

At this momment I try configure OTRS on CENTOS, but, I freezed on step http. Failed to start The Apache HTTP Serve.

Any ideas?In the time,

Static hostname: srv-lim-otrs02.ttglog.local
Icon name: computer-vm
Chassis: vm
Machine ID: 63206643a78746928a1689f943422fe2
Boot ID: 4260f7fbdda34149b1ec68d5092da71e
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64

In the logfile, appears the following error:

[Mon Feb 12 10:01:42.618213 2018] [perl:error] [pid 1002] Can't locate DateTime.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 72.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 72.\nCompilation failed in require at (eval 2) line 1.\n

This error, appear in log flie from last saturday. I had used cpan> install DateTime to install this module, but, how you can see, the error persists.

Thank for your help!Any ideas?

I need help from you!

At this momment I try configure OTRS on CENTOS, but, I freezed on step http. Failed to start The Apache HTTP Serve.

Any ideas?

Thank for your help!

At this momment I try configure OTRS on CENTOS, but, I freezed on step http. Failed to start The Apache HTTP Serve.

In the time,

Static hostname: srv-lim-otrs02.ttglog.local
Icon name: computer-vm
Chassis: vm
Machine ID: 63206643a78746928a1689f943422fe2
Boot ID: 4260f7fbdda34149b1ec68d5092da71e
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.17.1.el7.x86_64 Architecture: x86-64

In the logfile, appears the following error:

[Mon Feb 12 10:01:42.618213 2018] [perl:error] [pid 1002] Can't locate DateTime.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 72.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 72.\nCompilation failed in require at (eval 2) line 1.\n

This error, appear in log flie from last saturday. I had used cpan> install DateTime to install this module, but, how you can see, the error persists.

Any ideas?

improved formatting
Source Link
Thomas
  • 6.6k
  • 8
  • 31
  • 34

[root@srv-lim-otrs02 ~]# systemctl restart httpd.service Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

[root@srv-lim-otrs02 ~]# systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

[root@srv-lim-otrs02 ~]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago Docs: man:httpd(8) man:apachectl(8) Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1632 (code=exited, status=1/FAILURE)

 

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server... Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process "" Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1 Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server. Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state. Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.

[root@srv-lim-otrs02 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server...
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process ""
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.

[root@srv-lim-otrs02 ~]# systemctl restart httpd.service Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

[root@srv-lim-otrs02 ~]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago Docs: man:httpd(8) man:apachectl(8) Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server... Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process "" Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1 Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server. Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state. Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.

[root@srv-lim-otrs02 ~]# systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
 
[root@srv-lim-otrs02 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sáb 2018-02-10 11:23:45 -02; 2min 36s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1634 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1632 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1632 (code=exited, status=1/FAILURE)

Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Starting The Apache HTTP Server...
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local kill[1634]: kill: cannot find process ""
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service: control process exited, code=exited status=1
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Failed to start The Apache HTTP Server.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: Unit httpd.service entered failed state.
Fev 10 11:23:45 srv-lim-otrs02.ttglog.local systemd[1]: httpd.service failed.
edited tags
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265
Loading
Source Link
Loading