openSUSE上的OTRS安装错误(OTRS installation error on openSUSE)

编程入门 行业动态 更新时间:2024-10-26 09:18:34
openSUSE上的OTRS安装错误(OTRS installation error on openSUSE)

我有一个全新的纯文本安装openSuSe 13.1(物理服务器,旧的三星上网本),我正试图让OTRS启动并运行。 我使用以下命令安装了OTRS。 我不认为它们都是必需的,但是OtterHub论坛中的某个人已成功安装了我正在使用这个序列的软件版本,所以我试图捎带这个成功。

zypper in otrs-3.3.4-01.noarch.rpm gcc make mysql-community-server perl-Crypt-SSLeay perl-JSON-XS perl-YAML-LibYAML zypper in perl-Text-CSV_XS perl-PDF-API2 perl-GDGraph perl-Encode-HanExtra postfix perl-DBD-mysql cd ~otrs && bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=wwwrun --otrs-group=www --web-group=www /opt/otrs rcmysql start systemctl start apache2.service mysqladmin --user=root password password

所有这一切都很好。 我能够访问OTRS网络安装程序,但这就是我被挂断的地方。 我到达了创建数据库的Web安装程序的一部分,它超时了。 该脚本成功创建数据库并使用新密码更新Config.pm 。 我无法告诉installer.pl它接下来要做什么。

这是来自/var/log/apache2/error_log :

[Tue Jan 28 20:53:23.136306 2014] [cgi:warn] [pid 6856] [client 192.168.1.10:52732] AH01220: Timeout waiting for output from CGI script /opt/otrs/bin/cgi-bin/installer.pl, referer: http://svr-clptest/otrs/installer.pl [Tue Jan 28 20:53:23.136470 2014] [cgi:error] [pid 6856] [client 192.168.1.10:52732] Script timed out before returning headers: installer.pl, referer: http://svr-clptest/otrs/installer.pl

浏览器显示以下内容:

The gateway did not receive a timely response from the upstream server or application.

这是在家里的本地网络上。 我正在使用Windows 8计算机上的PuTTY访问Linux服务器。 我正在使用Windows 8计算机上的无线连接,但服务器与路由器有硬线连接,如果这有任何区别的话。 从PuTTY执行任何操作或通过浏览器访问索引页面(Firefox 26)都没有任何问题。 我尝试从网络上的计算机连接,然后从我的网络连接一台。 在这两种情况下,我都可以访问我的域和Web安装程序。 但我无法从网络外部与服务器建立PuTTY连接。

我花了几个小时研究错误,我无法弄清楚下一步应该是什么。

现在,openSUSE和OTRS的纯文本版本是机器上运行的唯一东西。 我没有做任何其他事情。 我愿意再次从头开始安装 - 操作系统和所有。 我认为超时错误与我的防火墙设置有关,但我不是网络人员。 真的不知道如何诊断这个。

UPDATE

我尝试重新安装今晚所有新鲜事,但随后添加了KDE,以便我可以浏览主机上的Web安装程序。 我得到完全相同的错误。 这不是服务器和客户端之间的问题。 OTRS出了点问题......或者也许是apache?

I have a fresh, text-only installation of openSuSe 13.1 (physical server, old Samsung netbook), and I'm trying to get OTRS up and running. I've installed OTRS using the below commands. I don't think they're all necessary, but someone in the OtterHub forums had a successful installation with the software versions I'm targeting using this sequence, so I was trying to piggyback on that success.

zypper in otrs-3.3.4-01.noarch.rpm gcc make mysql-community-server perl-Crypt-SSLeay perl-JSON-XS perl-YAML-LibYAML zypper in perl-Text-CSV_XS perl-PDF-API2 perl-GDGraph perl-Encode-HanExtra postfix perl-DBD-mysql cd ~otrs && bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=wwwrun --otrs-group=www --web-group=www /opt/otrs rcmysql start systemctl start apache2.service mysqladmin --user=root password password

All of that works fine. I'm able to get to the OTRS web installer, but that's where I get hung up. I get to the part of the web installer that creates the database, and it times out. The script successfully creates the database and updates Config.pm with the new password. I can't tell from installer.pl what it tries to do next.

Here's the error from /var/log/apache2/error_log:

[Tue Jan 28 20:53:23.136306 2014] [cgi:warn] [pid 6856] [client 192.168.1.10:52732] AH01220: Timeout waiting for output from CGI script /opt/otrs/bin/cgi-bin/installer.pl, referer: http://svr-clptest/otrs/installer.pl [Tue Jan 28 20:53:23.136470 2014] [cgi:error] [pid 6856] [client 192.168.1.10:52732] Script timed out before returning headers: installer.pl, referer: http://svr-clptest/otrs/installer.pl

The browser displays the following:

The gateway did not receive a timely response from the upstream server or application.

This is on a local network at home. I'm accessing the Linux server using PuTTY from a Windows 8 machine. I'm using a wireless connection from the Windows 8 machine, but the server has a hard line connection to the router, if that makes any difference. I don't have any trouble executing anything from PuTTY or accessing the index page through the browser (Firefox 26). I've tried connecting from a computer on my network, and one off of my network. In both cases, I'm able to get to my domain and the web installer. But I can't make a PuTTY connection to the server from outside my network.

I've spent a couple of hours researching the error, and I can't figure out what the next step should be.

Right now, a text-only version of openSUSE and OTRS are the only things running on the machine. I haven't done anything else with it. I'm open to starting the installation from scratch again--OS and all. I'm thinking that the timeout error has something to do with my firewall settings, but I'm not a network guy. Really have no idea how to diagnose this.

UPDATE

I tried reinstalling everything fresh tonight, but then added KDE so I could walk through the web installer on the host. I get exactly the same errors. It's not a problem between server and client. Something's wrong with OTRS... Or maybe with apache?

最满意答案

我最终只需要按照手动安装的步骤而不是使用Web安装程序。 不确定问题的确切位置,但无论我尝试了什么,我都无法通过Web安装程序进行数据库设置。 如果您遇到类似的问题,一旦您获得指示您转移到Web安装程序的部分说明,您可以切换到从源安装的说明并从手动安装数据库中取出。

I eventually just had to follow the steps for manual installation instead of using the web installer. Not sure where the problem was exactly, but no matter what I tried, I couldn't get the database setup to work through the web installer. If you're having a similar problem, once you get to the part of the instructions that tell you to move to the web installer, you can switch over to the instructions to install from source and pick it up from manual installation of the database.

更多推荐

本文发布于:2023-08-01 20:25:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1363636.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   OTRS   openSUSE   installation   error

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!