I recently installed Koha 2.2.9 on Ubuntu 6.06 LTS. I set up the Z39.50 service to go to our current system. I'm having a problem importing a bibliographic records into the system. These are the steps and results I am getting. 1. Go into Catalogue/Add Biblio 2. Select Create Empty biblio. 3. Enter an ISBN in the 020 field 4. Click z39.50 Search 5. A box appears with our catalog address for the Z39.50 search 6. Do the search 7. After it retrieves the record select Import 8. It retrieves the record and fills in the default MARC record 9. Click Add Bibliographic Record and go to Items 10. After this I get the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, samdahldh@vmi.edu and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Can someone help with this? Thanks in advance. Don Don Samdahl Head Librarian J.T.L. Preston Library Virginia Military Institute Lexington, VA 24450 540.464.7228 samdahldh@vmi.edu
On 12/13/07, Samdahl, Don <SamdahlDH@vmi.edu> wrote:
More information about this error may be available in the server error log.
Take a look in your apache error log. Usually somewhere like /var/log/apache2/error.log or /var/log/httpd/error.log Post any errors that occur when performing the steps you outlined above. Regards, -- Chris Nighswonger Faculty Member Network & Systems Director Foundations Bible College & Seminary www.foundations.edu www.fbcradio.org
Hi, It's probably a missing perl module or somesuch. What does it say in your error log, usually /usr/local/koha/log/koha-error_log? c. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cindy Murdock Network Administrator Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org Samdahl, Don wrote:
I recently installed Koha 2.2.9 on Ubuntu 6.06 LTS. I set up the Z39.50 service to go to our current system. I'm having a problem importing a bibliographic records into the system. These are the steps and results I am getting.
1. Go into Catalogue/Add Biblio 2. Select Create Empty biblio. 3. Enter an ISBN in the 020 field 4. Click z39.50 Search 5. A box appears with our catalog address for the Z39.50 search 6. Do the search 7. After it retrieves the record select Import 8. It retrieves the record and fills in the default MARC record 9. Click Add Bibliographic Record and go to Items 10. After this I get the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, samdahldh@vmi.edu and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Can someone help with this? Thanks in advance.
Don
Don Samdahl Head Librarian J.T.L. Preston Library Virginia Military Institute Lexington, VA 24450 540.464.7228 samdahldh@vmi.edu
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Good morning all, I am at the end of my rope. I am having trouble setting my Apache2 to have virtual hosts. Here is the coding from the sites.enable.koha-httpd.config file, and then the message from restarting Apache2. Any input you have would really be appreciated. Koha is running here on a local server that I have next to me. This installation will not need patron Internet access as it is just for library use to test things before I pass them onto the tech guy that runs my library's public version on Koha. sites.enable.koha-httpd.config # Ports to listen to for Koha # uncomment these if they aren't already in main httpd.conf #Listen 81 #Listen 82 # NameVirtualHost is used by one of the optional configurations detailed below # Please make sure this line is correct before uncommenting. # See http://httpd.apache.org/docs/vhosts/ for some guides. NameVirtualHost 10.3.12.235:82 # KOHA's OPAC Configuration <VirtualHost 10.3.12.235:82/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/opac/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://10.3.12.235:82/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" </VirtualHost> NameVirtualHost 10.3.12.235:81 # KOHA's INTRANET Configuration <VirtualHost 10.3.12.235:81/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/intranet/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://10.3.12.235:81/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" </VirtualHost> This is the message that I get when I try to restart Apache. [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address [::]:82 no listening sockets available, shutting down Unable to open logs Darla Grediagin District Librarian Bering Strait School District Unalakleet, Alaska Web Address : http://bssdonline.org/course/view.php?id=51 Blog: http://aklibrarian1.edublogs.org/ OPAC: http://opac.bssd.org:8181/cgi-bin/koha/opac-search.pl
Do you have these ports listed & uncommented in /etc/apache2/ports.conf? Listen 81 Listen 82 Cheers, Cindy Murdock Network Administrator Meadville Public Library | CCFLS http://meadvillelibrary.org | http://ccfls.org Darla Grediagin wrote:
Good morning all,
I am at the end of my rope. I am having trouble setting my Apache2 to have virtual hosts. Here is the coding from the sites.enable.koha-httpd.config file, and then the message from restarting Apache2. Any input you have would really be appreciated. Koha is running here on a local server that I have next to me. This installation will not need patron Internet access as it is just for library use to test things before I pass them onto the tech guy that runs my library's public version on Koha.
sites.enable.koha-httpd.config # Ports to listen to for Koha # uncomment these if they aren't already in main httpd.conf
#Listen 81 #Listen 82
# NameVirtualHost is used by one of the optional configurations detailed below # Please make sure this line is correct before uncommenting. # See http://httpd.apache.org/docs/vhosts/ for some guides.
NameVirtualHost 10.3.12.235:82
# KOHA's OPAC Configuration <VirtualHost 10.3.12.235:82/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/opac/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://10.3.12.235:82/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" </VirtualHost>
NameVirtualHost 10.3.12.235:81
# KOHA's INTRANET Configuration
<VirtualHost 10.3.12.235:81/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/intranet/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://10.3.12.235:81/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf"
</VirtualHost>
This is the message that I get when I try to restart Apache.
[Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address [::]:82 no listening sockets available, shutting down Unable to open logs
Darla Grediagin District Librarian Bering Strait School District Unalakleet, Alaska Web Address : http://bssdonline.org/course/view.php?id=51 Blog: http://aklibrarian1.edublogs.org/ OPAC: http://opac.bssd.org:8181/cgi-bin/koha/opac-search.pl
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
You're pretty close, I think. Try this: 1. Remove at least 1 NameVirtualHost lines. The whole idea of NameVirtualHost is that it uses the same interface (IP and port) for different virtual servers. 2. Remove the trailing slash in your <VirtualHost> definitions. It causes Apache to think the value is a word/name, and not an IP. That is why it complains that the names don't resolve. The string in VirtualHost should match your NameVirtualHost string *exactly* for all VirtualHosts. 3. Setup DNS. Maybe librarylinux.bssd.org resolves inside your network. (It doesn't from here.) The fact the browser is requesting from HOST: librarylinux.bssd.org is what will tell Apache to connect it to the correct VirtualHost. If you cannot setup DNS, then don't use NameVirtualHost at all. Just use 2 VirtualHost's on different ports. This is probably easier for you just to get a demo test setup. --joe On Dec 14, 2007 1:00 PM, Darla Grediagin <dgrediagin@bssd.org> wrote:
Good morning all,
I am at the end of my rope. I am having trouble setting my Apache2 to have virtual hosts. Here is the coding from the sites.enable.koha-httpd.config file, and then the message from restarting Apache2. Any input you have would really be appreciated. Koha is running here on a local server that I have next to me. This installation will not need patron Internet access as it is just for library use to test things before I pass them onto the tech guy that runs my library's public version on Koha.
sites.enable.koha-httpd.config # Ports to listen to for Koha # uncomment these if they aren't already in main httpd.conf
#Listen 81 #Listen 82
# NameVirtualHost is used by one of the optional configurations detailed below # Please make sure this line is correct before uncommenting. # See http://httpd.apache.org/docs/vhosts/ for some guides.
NameVirtualHost 10.3.12.235:82
# KOHA's OPAC Configuration <VirtualHost 10.3.12.235:82/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/opac/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://10.3.12.235:82/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" </VirtualHost>
NameVirtualHost 10.3.12.235:81
# KOHA's INTRANET Configuration
<VirtualHost 10.3.12.235:81/> ServerAdmin dgrediagin@bssd.org DocumentRoot /usr/local/koha/intranet/htdocs ServerName librarylinux.bssd.org ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://10.3.12.235:81/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf"
</VirtualHost>
This is the message that I get when I try to restart Apache.
[Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:82/ --- ignoring! [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name 10.3.12.235:81/ --- ignoring! [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has no VirtualHosts [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has no VirtualHosts httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address [::]:82 no listening sockets available, shutting down Unable to open logs
Darla Grediagin District Librarian Bering Strait School District Unalakleet, Alaska Web Address : http://bssdonline.org/course/view.php?id=51 Blog: http://aklibrarian1.edublogs.org/ OPAC: http://opac.bssd.org:8181/cgi-bin/koha/opac-search.pl
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Chris Nighswonger -
Cindy Murdock -
Darla Grediagin -
Joe Atzberger -
Samdahl, Don