Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    Service httpd start error

    RHEL/CentOS
    2
    11
    135
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DesignerResource
      DesignerResource last edited by

      I got this error when I tried use command: service httpd start

      Starting httpd: [Fri Jan 31 22:43:37 2020] [warn] module ruid2_module is already loaded, skipping
      httpd: Could not reliably determine the server’s fully qualified domain name, using server.xxx for ServerName

      My OS: CENTOS 6 with VestaCP

      1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep last edited by

        do you've mod ruid2 config file anywhere and whats in it ?

        1 Reply Last reply Reply Quote 1
        • DesignerResource
          DesignerResource last edited by

          @sandeep thank you again for your help :). I don't modify anything in ruid2 config file so I'm not sure what wrong and where to find error log relate with this error to debug it.

          1 Reply Last reply Reply Quote 0
          • sandeep
            sandeep last edited by

            Kindly send the output for this commands

            ls -la /etc/httpd/conf.d
            
            ls -la /etc/httpd/conf
            
            DesignerResource 1 Reply Last reply Reply Quote 1
            • DesignerResource
              DesignerResource @sandeep last edited by DesignerResource

              @sandeep Ohh, sorry, I missed your notification.

              For the first output:

              total 68
              drwxr-xr-x 2 root root 4096 Jan 31 22:42 .
              drwxr-xr-x 4 root root 4096 Sep 22  2016 ..
              -rw-r--r-- 1 root root  126 Sep 22  2016 104.145.234.81.conf
              -rw-r--r-- 1 root root  455 Oct  8  2013 fcgid.conf
              -rw-r--r-- 1 root root 2734 Sep 22  2016 mod_extract_forwarded.conf
              -rw-r--r-- 1 root root 1085 Mar 18  2015 mod_ruid2.conf
              -rw-r--r-- 1 root root 1675 Jan 21 18:43 php.conf
              -rw-r--r-- 1 root root 1017 Nov 18  2012 phpMyAdmin.conf.rpmsave
              -rw-r--r-- 1 root root    1 Sep 22  2016 proxy_ajp.conf
              -rw-r--r-- 1 root root  392 Nov 15  2012 README
              -rw-r--r-- 1 root root  278 Nov 18  2012 roundcubemail.conf.rpmsave
              -rw-r--r-- 1 root root  176 Jan  8  2015 ruid2.conf
              -rw-r--r-- 1 root root  406 Jun  4  2015 ssl.conf
              -rw-r--r-- 1 root root  153 May 13  2013 status.conf
              -rw-r--r-- 1 root root  308 Jan 11 04:50 vesta.conf
              -rw-r--r-- 1 root root  352 Sep  9  2004 webalizer.conf
              -rw-r--r-- 1 root root  299 Feb  7  2012 welcome.conf
              

              And for the next output:

              total 32
              drwxr-xr-x 2 root root  4096 Sep 22  2016 .
              drwxr-xr-x 4 root root  4096 Sep 22  2016 ..
              -rw-r--r-- 1 root root  7737 Mar 22  2013 httpd.conf
              -rw-r--r-- 1 root root 13139 Nov 15  2012 magic
              

              Thank you so much for your time and have a great week.

              1 Reply Last reply Reply Quote 0
              • sandeep
                sandeep last edited by sandeep

                @Locvps said in Service httpd start error:

                mod_ruid2.conf

                edit the mod_ruid2.conf config under conf.d and comment out the load module line

                and for servername add

                ServerName hostname
                or
                ServerName localhost
                

                in httpd.conf and restart httpd.

                DesignerResource 1 Reply Last reply Reply Quote 1
                • DesignerResource
                  DesignerResource @sandeep last edited by

                  @sandeep I tried take a look in: mod_ruid2.conf and seem this line:

                  LoadModule ruid2_module modules/mod_ruid2.so
                  

                  Already comment out, so I go to: httpd.conf and added:

                  ServerName hostname
                  

                  It's look like that in my file:

                  ServerTokens OS
                  ServerRoot "/etc/httpd"
                  PidFile run/httpd.pid
                  Timeout 30
                  KeepAlive Off
                  MaxKeepAliveRequests 100
                  KeepAliveTimeout 10
                  ServerName hostname
                  

                  When I tried stop and start httpd, I got the output:

                  service httpd start
                  Starting httpd: [Wed Feb 12 20:28:31 2020] [warn] module ruid2_module is already loaded, skipping
                  

                  So is it already good now? If it's, I guess it's ok to overlook on it. But I have a curios, the first time I used stop or start httpd and I don't face this problem, but it's happened all of sudden, not sure what is problem, maybe it's relate to the ssl setup and specific to ssl let's encrypt (maybe)?

                  sandeep 1 Reply Last reply Reply Quote 0
                  • sandeep
                    sandeep last edited by sandeep

                    @Locvps said in Service httpd start error:

                    comment out

                    you need to add "#" before load module. and then restart httpd

                    #LoadModule ruid2_module modules/mod_ruid2.so
                    
                    1 Reply Last reply Reply Quote 1
                    • sandeep
                      sandeep @DesignerResource last edited by sandeep

                      @Locvps this are not any issue mod ruid2 is enabled two times may be in mod_ruid2.conf and in httpd.conf too. Updates can cause this.

                      DesignerResource 1 Reply Last reply Reply Quote 1
                      • DesignerResource
                        DesignerResource @sandeep last edited by

                        @sandeep thank you so much, I follow all your instructions and all of it work well now.

                        P/S: I tried restart httpd but it show restart: Unknown job: httpd. Maybe we must run full cmd instead:

                        service httpd stop
                        service httpd start
                        
                        1 Reply Last reply Reply Quote 0
                        • sandeep
                          sandeep last edited by

                          try
                          service httpd reload

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post

                          Recent Topics

                          • nginx/1.20.0 ngx_pagespeed module

                          • Almalinux support

                          • Error Dovecot IMAP/POP3 Server

                          • Problem with How to Enable TLS 1.3 in Apache on CWP

                          • Successful delivery message

                          • Install latest version of Sqlite3 from source Ubuntu/Debian

                          • Install latest version of Sqlite3 from source centos/rhel/el7/el8

                          • C

                            Mysql load error

                          1
                          Online

                          86
                          Users

                          117
                          Topics

                          768
                          Posts

                          URLs HOME | Blog | Support Portal