简体   繁体   English

openSUSE上的OTRS安装错误

[英]OTRS installation error on openSUSE

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. 我全新安装了纯文本的openSuSe 13.1(物理服务器,旧的Samsung上网本),并且正在尝试启动和运行OTRS。 I've installed OTRS using the below commands. 我已经使用以下命令安装了OTRS。 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. 我不认为它们都是必需的,但是OtterHub论坛中的某人已经成功安装了我按照此顺序定位的软件版本,因此我试图在这一成功上piggy带。

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. 我可以使用OTRS Web安装程序,但这就是挂断电话的地方。 I get to the part of the web installer that creates the database, and it times out. 我进入了Web安装程序创建数据库的部分,并且超时。 The script successfully creates the database and updates Config.pm with the new password. 该脚本成功创建了数据库,并使用新密码更新了Config.pm I can't tell from installer.pl what it tries to do next. 我无法从installer.pl知道下一步要做什么。

Here's the error from /var/log/apache2/error_log : 这是/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. 我正在从Windows 8计算机使用PuTTY访问Linux服务器。 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. 我正在使用Windows 8计算机的无线连接,但是服务器与路由器之间存在硬线连接,如果有任何区别的话。 I don't have any trouble executing anything from PuTTY or accessing the index page through the browser (Firefox 26). 我从PuTTY执行任何操作或通过浏览器(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. 在这两种情况下,我都可以进入域和Web安装程序。 But I can't make a PuTTY connection to the server from outside my network. 但是我无法从网络外部与服务器建立PuTTY连接。

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. 目前,机器上仅运行openSUSE和OTRS的纯文本版本。 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. 我尝试今晚重新安装所有内容,但随后添加了KDE,因此可以在主机上浏览Web安装程序。 I get exactly the same errors. 我得到完全相同的错误。 It's not a problem between server and client. 服务器和客户端之间不是问题。 Something's wrong with OTRS... Or maybe with apache? OTRS出了点问题...或者是Apache?

I eventually just had to follow the steps for manual installation instead of using the web installer. 我最终只需要遵循手动安装的步骤,而不是使用Web安装程序。 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. 不知道问题出在哪里,但是无论我尝试了什么,我都无法通过Web安装程序来安装数据库。 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 . 如果您遇到类似的问题,请转到指示部分中的部分,该部分将告诉您转到Web安装程序,然后可以切换到从源进行安装的说明,并从手动安装数据库中进行选择

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM