Tagged: OTOBO install and migration
-
AuthorPosts
-
-
31. März 2021 at 12:29 - Views: 869 #11282
Hello,
I first run http://192.168.1.96/otobo/installer.pl
I get an error 500 Internal Server Error
Check log file /var/log/httpd/error_log
I view two errors:
Use of uninitialized value in concatenation (.) or string at /opt/otobo/Kernel/Output/HTML/Layout.pm line 1602.
Message: mkdir /opt/otobo/var/tmp/CacheFileStorable/TemplateProvider: Permission denied at /opt/otobo/Kernel/System/Cache/FileStorable.pm line 99.
FileStorable.pm permission is chmod 777
I don’t understand what file permission should be?
-
31. März 2021 at 16:06 #11283
Message: mkdir /opt/otobo/var/tmp/CacheFileStorable/TemplateProvider: Permission denied at /opt/otobo/Kernel/System/Cache/FileStorable.pm line 99.
The problem is „/opt/otobo/var/tmp/CacheFileStorable/TemplateProvider“. Make sure you set the correct user/group on /opt/otobo and all subdirectories/files.
In case you’re using Debian/Ubuntu with Apache2, the correct user/group is
chown -R otobo:www-data /opt/otobo
FileStorable.pm permission is chmod 777
Chmod 777 is not recommended, never trust everybody ;)
-
31. März 2021 at 20:46 #11285
I installed OTOBO on CentOS 8
My actions:
root>useradd -r -U -d /opt/otobo -c ‚OTOBO user‘ otobo -s /bin/bash
root>usermod -G apache otobo
root>cp /opt/otobo/scripts/apache2-httpd.include.conf /etc/httpd/conf.d/zzz_otobo.conf
root>chown -R otobo:apache /opt/otoboroot>/opt/otobo/bin/otobo.SetPermissions.pl
Skipping /.github (maybe here problem?)root>systemctl start httpd.service
The problem remains:
Can’t create directory ‚/opt/otobo/var/tmp‘:
Can’t create directory ‚/opt/otobo/var/tmp/CacheFileStorable‘: No such file or directory
mkdir /opt/otobo/var/tmp: Permission denied at /opt/otobo/Kernel/System/Cache/FileStorable.pm line 99.CheckModules.pl all OK.
I uninstalled otobo and reinstalled it, but I still get the same error.
-
1. April 2021 at 9:06 #11286
Is SELinux active?
-
2. April 2021 at 15:44 #11290
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33I installed:
CentOS 8
Otobo 10.0.9
perl
epel-release
/opt/otobo/bin/otobo.CheckModules.pl -all program installed
MySQL
mysqltuner
java-1.8.0-openjdk-devel
elasticsearchOut of despair, I installed everything to new, but I still get the same error.
-
3. April 2021 at 2:23 #11292
Have you tried Otobo in Docker ? Works fine, hassle free.
-
4. April 2021 at 10:25 #11293
I will try to install OTOBO with the Docker. I hope everything works out.
-
6. April 2021 at 20:21 #11304
Finally succeeded :-) ,
after installing Docker launched the link: http://myip/otobo/installer.pl
Many thanks to everyone for the help. -
7. April 2021 at 12:35 #11316
intsaller.pl
I have problem in step (2/4)User: root
Password: MySQLrootpassword
Host: dbCan’t connect to MySQL server on ‚db‘ (115)
systemctl status mysqld.service (active)
I checked mysql -u root -p. It’s ok. -
12. April 2021 at 20:44 #11340
systemctl stop firewalld.service
http://myserverip/otobo/installer.pl (2/4)
Database check successful.systemctl start firewalld.service
Can’t connect to MySQL server on ‚db‘ (115)firewall-cmd –zone=public –add-service=mysql –permanent
firewall-cmd –zone=public –add-port=3306/tcp –permanent
firewall-cmd –zone=public –add-source=myip
firewall-cmd –reloadmy.cnf
#bind-address=0.0.0.0I still get a mysql error 115
Maybe someone knows how to configure the firewall correctly to connect to mysql?
-
23. April 2021 at 15:42 #11416
I talked to myself :-)
Solution found:
firewall-cmd –zone = public –add-masquerade –permanent
-
-
AuthorPosts
- You must be logged in to reply to this topic.