i removed python36u-mod_wsgi and yum install mod_wsgi but iam still gettign the same error.
Στις Δευ, 3 Σεπ 2018 στις 11:03 π.μ., ο/η Νίκος @ SuperHost < [email protected]> έγραψε: > -- Unit httpd.service has begun starting up. > Sep 03 11:02:49 mail.superhost.gr httpd[16243]: httpd: Syntax error on line 1 > of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: > /etc/httpd/modules/mod_wsgi.so: cannot open shared object file: No such file > Sep 03 11:02:49 mail.superhost.gr systemd[1]: httpd.service: main process > exited, code=exited, status=1/FAILURE > Sep 03 11:02:49 mail.superhost.gr kill[16245]: kill: cannot find process "" > Sep 03 11:02:49 mail.superhost.gr systemd[1]: httpd.service: control process > exited, code=exited status=1 > Sep 03 11:02:49 mail.superhost.gr systemd[1]: Failed to start The Apache HTTP > Server. > > > Στις Δευ, 3 Σεπ 2018 στις 11:02 π.μ., ο/η Graham Dumpleton < > [email protected]> έγραψε: > >> I have no idea what the module file is called for that distro. Look in >> the Apache modules directory to confirm you have it and what it is called. >> >> On 3 Sep 2018, at 6:01 pm, Νίκος @ SuperHost < >> [email protected]> wrote: >> >> LoadModule wsgi_module modules/mod_wsgi.so >> >> Include /etc/httpd/conf/httpd-vhosts.conf >> >> Iam using python36u-mod_wsgi though? is the loadmodule still the same? >> >> >> Στις Δευ, 3 Σεπ 2018 στις 10:57 π.μ., ο/η Graham Dumpleton < >> [email protected]> έγραψε: >> >>> The example is not Debian, it is from macOS. >>> >>> Just add the 'Include' at the end of httpd.conf and give it the full >>> path name to your file for your virtual host. >>> >>> If you don't have a LoadModule line for wsgi_module, you will need to >>> add it before including the file, or at the start of the virtual host file. >>> >>> Graham >>> >>> On 3 Sep 2018, at 5:54 pm, Νίκος @ SuperHost < >>> [email protected]> wrote: >>> >>> I just checked, there arent present, Also you line seems to search for >>> Debian distro while iam using CentOS. >>> >>> Στις Δευ, 3 Σεπ 2018 στις 10:35 π.μ., ο/η Graham Dumpleton < >>> [email protected]> έγραψε: >>> >>>> Look for existing lines in main Apache configuration file of: >>>> >>>> # Virtual hosts >>>> #Include /private/etc/apache2/extra/httpd-vhosts.conf >>>> >>>> The '#' is a comment character. Remove the '#' in front of the >>>> 'Include' line. >>>> >>>> Graham >>>> >>>> On 3 Sep 2018, at 4:27 pm, Νίκος Βέργος <[email protected]> >>>> wrote: >>>> >>>> >Can you validate the virtual host site file is even being read, if it >>>> is a separate file, by adding a syntax error into it? Just add a new line >>>> in the VirtualHost of 'XXX'. That isn't obviously a valid directive and so >>>> >should create an error when you restart or start Apache. >>>> >>>> Hello Graham, >>>> >>>> I just added 'XXX' in '/etc/httpd/conf/httpd-vhosts.conf' and Apache >>>> restarted without error. So, you are right it does NOT evan being read the >>>> whole time! I'am using CemtOS by the way. >>>> >>>> >If using CentOS/Fedora, is the virtual host site file include in the >>>> main Apache configuration file? >>>> >>>> I don't know. How can i check that Directive if is present? What's its >>>> name? >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "modwsgi" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/modwsgi. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "modwsgi" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/modwsgi. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "modwsgi" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/modwsgi. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "modwsgi" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/modwsgi. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/modwsgi. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "modwsgi" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/modwsgi. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
