New Installation - Phpmyadmin
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
New Installation - Phpmyadmin
Hi,
I just installed Keyhelp, if someone can point me to the solution, tried to search and did not find anything.
Debian 8 minimal install
Looks like the folder does not get created when the server reboot.
The current "session.save_path" is "/tmp/keyhelp/".
Warning in ./libraries/session.inc.php#101
session_start(): open(/tmp/keyhelp//sess_gro14ih0ieiimn1uarnmm4etqphugt5h, O_RDWR) failed: No such file or directory (2)
Backtrace
./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#349: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)
Thanks,
Leo
I just installed Keyhelp, if someone can point me to the solution, tried to search and did not find anything.
Debian 8 minimal install
Looks like the folder does not get created when the server reboot.
The current "session.save_path" is "/tmp/keyhelp/".
Warning in ./libraries/session.inc.php#101
session_start(): open(/tmp/keyhelp//sess_gro14ih0ieiimn1uarnmm4etqphugt5h, O_RDWR) failed: No such file or directory (2)
Backtrace
./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#349: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)
Thanks,
Leo
Re: New Installation - Phpmyadmin
moved to english area
Hello,
which session.safe_path is set to /tmp/keyhelp? Only KeyHelp itself should use this path.
All other Paths are created within the Userhome.
Did you got any error messages during installation and checked /var/log/keyhelp/install.log?
Hello,
which session.safe_path is set to /tmp/keyhelp? Only KeyHelp itself should use this path.
All other Paths are created within the Userhome.
Did you got any error messages during installation and checked /var/log/keyhelp/install.log?
Viele Grüße,
Martin
Martin
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
Hi Martin,
Yes I did get some errors.
But they are all related to this package. Errors were encountered while processing:
amavisd-new
[PHPMyAdmin 4.4.15.2 Multilanguage]
exec | rm -f /tmp/keyhelp_update/phpmyadmin.tar.gz
exec | rm -rf /home/keyhelp/www/phpmyadmin/*
exec | mkdir -p -m 0755 /tmp/keyhelp_update
exec | mkdir -p -m 0755 /home/keyhelp/www/phpmyadmin
exec | wget -nv --no-check-certificate --output-document /tmp/keyhelp_update/phpmyadmin.tar.gz https://install.keyhelp.de/files/tools/ ... ges.tar.gz
2016-06-15 08:16:02 URL:https://install.keyhelp.de/files/tools/ ... ges.tar.gz [9468938/9468938] -> "/tmp/keyhelp_update/phpmyadmin.tar.gz" [1]
exec | tar --strip 1 -xf /tmp/keyhelp_update/phpmyadmin.tar.gz -C /home/keyhelp/www/phpmyadmin
files | phpmyadmin/config.inc.php => /home/keyhelp/www/phpmyadmin/config.inc.php
db | DROP DATABASE IF EXISTS `phpmyadmin`
db | CREATE DATABASE `phpmyadmin`
db | GRANT SELECT,INSERT,UPDATE,DELETE ON phpmyadmin.* TO 'phpmyadmin'@'localhost' IDENTIFIED BY 'PASSWOR-DELETED'
db | FLUSH PRIVILEGES
exec | chmod 0600 /home/keyhelp/www/phpmyadmin/config.inc.php
exec | chown -R keyhelp:keyhelp /home/keyhelp/www/phpmyadmin
exec | mysql -u'root' -p'PASSWORD-DELETED' 'phpmyadmin' < /home/keyhelp/www/phpmyadmin/sql/create_tables.sql
##############################################################
wget --no-check-certificate https://install.keyhelp.de/scripts/installkeyhelp.sh -O installkeyhelp.sh; bash installkeyhelp.sh
apt-get install logrotate apparmor p7zip-full mc nano cron fail2ban awstats sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
apparmor is already the newest version.
awstats is already the newest version.
cron is already the newest version.
fail2ban is already the newest version.
logrotate is already the newest version.
mc is already the newest version.
nano is already the newest version.
sudo is already the newest version.
p7zip-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Yes I did get some errors.
But they are all related to this package. Errors were encountered while processing:
amavisd-new
[PHPMyAdmin 4.4.15.2 Multilanguage]
exec | rm -f /tmp/keyhelp_update/phpmyadmin.tar.gz
exec | rm -rf /home/keyhelp/www/phpmyadmin/*
exec | mkdir -p -m 0755 /tmp/keyhelp_update
exec | mkdir -p -m 0755 /home/keyhelp/www/phpmyadmin
exec | wget -nv --no-check-certificate --output-document /tmp/keyhelp_update/phpmyadmin.tar.gz https://install.keyhelp.de/files/tools/ ... ges.tar.gz
2016-06-15 08:16:02 URL:https://install.keyhelp.de/files/tools/ ... ges.tar.gz [9468938/9468938] -> "/tmp/keyhelp_update/phpmyadmin.tar.gz" [1]
exec | tar --strip 1 -xf /tmp/keyhelp_update/phpmyadmin.tar.gz -C /home/keyhelp/www/phpmyadmin
files | phpmyadmin/config.inc.php => /home/keyhelp/www/phpmyadmin/config.inc.php
db | DROP DATABASE IF EXISTS `phpmyadmin`
db | CREATE DATABASE `phpmyadmin`
db | GRANT SELECT,INSERT,UPDATE,DELETE ON phpmyadmin.* TO 'phpmyadmin'@'localhost' IDENTIFIED BY 'PASSWOR-DELETED'
db | FLUSH PRIVILEGES
exec | chmod 0600 /home/keyhelp/www/phpmyadmin/config.inc.php
exec | chown -R keyhelp:keyhelp /home/keyhelp/www/phpmyadmin
exec | mysql -u'root' -p'PASSWORD-DELETED' 'phpmyadmin' < /home/keyhelp/www/phpmyadmin/sql/create_tables.sql
##############################################################
wget --no-check-certificate https://install.keyhelp.de/scripts/installkeyhelp.sh -O installkeyhelp.sh; bash installkeyhelp.sh
apt-get install logrotate apparmor p7zip-full mc nano cron fail2ban awstats sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
apparmor is already the newest version.
awstats is already the newest version.
cron is already the newest version.
fail2ban is already the newest version.
logrotate is already the newest version.
mc is already the newest version.
nano is already the newest version.
sudo is already the newest version.
p7zip-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
apt-get install amavisd-new
Reading package lists... Done
Building dependency tree
Reading state information... Done
amavisd-new is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
amavisd-new is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Re: New Installation - Phpmyadmin
Hello,
please explain where you see an eror. I can't see unusual behaviour here.
Also, is your server an dedicated system or a virtual server? If it is a virtual server, which virtualisation technologie do you use?
How many RAM does the server has?
please explain where you see an eror. I can't see unusual behaviour here.
Also, is your server an dedicated system or a virtual server? If it is a virtual server, which virtualisation technologie do you use?
How many RAM does the server has?
Viele Grüße,
Martin
Martin
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
https://srv1.klebebude.com/phpmyadmin/info1.php
Its a dedicated server.
We are looking for options to move away from Plesk.
Its a dedicated server.
We are looking for options to move away from Plesk.
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
es). Please verify that the current setting of session.save_path is correct (/tmp/keyhelp/) in Unknown on line 0
[Wed Jun 15 10:36:52.256983 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: session_start(): open(/tmp/keyhelp//sess_qs4r2lih1fkis5r32q326fpr21, O_RDWR) failed: No such file or directory (2) in /home/keyhelp/www/phpmyadmin/info1.php on line 6
[Wed Jun 15 10:36:52.257041 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: Unknown: open(/tmp/keyhelp//sess_qs4r2lih1fkis5r32q326fpr21, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Wed Jun 15 10:36:52.257054 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/keyhelp/) in Unknown on line 0
root@srv1 /tmp # ls
mc-root systemd-private-0f2dae89e0b5481ca1727c7e5e62128e-systemd-timesyncd.service-kV5S5Y
root@srv1 /tmp #
[Wed Jun 15 10:36:52.256983 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: session_start(): open(/tmp/keyhelp//sess_qs4r2lih1fkis5r32q326fpr21, O_RDWR) failed: No such file or directory (2) in /home/keyhelp/www/phpmyadmin/info1.php on line 6
[Wed Jun 15 10:36:52.257041 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: Unknown: open(/tmp/keyhelp//sess_qs4r2lih1fkis5r32q326fpr21, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Wed Jun 15 10:36:52.257054 2016] [:error] [pid 1090:tid 140515810989824] [client 87.118.86.92:48102] FastCGI: server "/home/keyhelp/www/cgi-bin/php5-fcgi" stderr: PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/keyhelp/) in Unknown on line 0
root@srv1 /tmp # ls
mc-root systemd-private-0f2dae89e0b5481ca1727c7e5e62128e-systemd-timesyncd.service-kV5S5Y
root@srv1 /tmp #
Re: New Installation - Phpmyadmin
Hello,
i'm sorry, but i still don't have information about errors during install. Without more information, it is impossilbe for me to answer what may cause this error.
After successfull installation /tmp/keyhelp will exist with correct permissions.
DId you performed intended reboot after installation?
i'm sorry, but i still don't have information about errors during install. Without more information, it is impossilbe for me to answer what may cause this error.
After successfull installation /tmp/keyhelp will exist with correct permissions.
DId you performed intended reboot after installation?
Viele Grüße,
Martin
Martin
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
Hi Martin,
Can you send me your email address?
I will forward the file to you, will reinstall the server when I find a solution that makes everything work anyway.
Thank you,
Leo
leoaraujo79@gmail.com
Can you send me your email address?
I will forward the file to you, will reinstall the server when I find a solution that makes everything work anyway.
Thank you,
Leo
leoaraujo79@gmail.com
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
I sent the file to support@keyhelp.de
Re: New Installation - Phpmyadmin
Hello,
i've checked your install log and the error is caused by maleformed amavis installation which causes following apt-get install requests to fail.
It seems to be caused by following debian issue:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=826406
Also discussed here: viewtopic.php?f=4&t=115
Workaround may be to comment "AllowSupplementGroup" parameter and securing file with chattr +i and reexecuting KeyHelp install.
Using Ubuntu 14.04 LTS instead would also work.
i've checked your install log and the error is caused by maleformed amavis installation which causes following apt-get install requests to fail.
It seems to be caused by following debian issue:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=826406
Also discussed here: viewtopic.php?f=4&t=115
Workaround may be to comment "AllowSupplementGroup" parameter and securing file with chattr +i and reexecuting KeyHelp install.
Using Ubuntu 14.04 LTS instead would also work.
Viele Grüße,
Martin
Martin
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
Hi Martin,
I must use Debian, can you post a bit more details about how to make sure I comment that line and set file permission please?
The initial scrip download another script....
First time using keyhelp...
Thank you,
Leo
I must use Debian, can you post a bit more details about how to make sure I comment that line and set file permission please?
The initial scrip download another script....
First time using keyhelp...
Thank you,
Leo
-
- Posts: 10
- Joined: Wed 15. Jun 2016, 09:27
Re: New Installation - Phpmyadmin
root@srv1 ~/keyhelp # grep -rl "AllowSupplementaryGroups" /etc/*
/etc/amavis/conf.d/15-av_scanners
root@srv1 ~/keyhelp # grep -rl "AllowSupplementaryGroups" /home/*
/home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
/home/keyhelp/www/keyhelp/install/config/ubuntu_16.04/clamav/clamd.conf
nano /home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
#AllowSupplementaryGroups true
ScanMail true
ScanArchive true
chattr +i /home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
wget --no-check-certificate https://install.keyhelp.de/scripts/installkeyhelp.sh -O installkeyhelp.sh; bash installkeyhelp.sh
Installation is running:
Update sources list ... [ERROR]
Sudo ... [OKAY]
Bind9 ... [OKAY]
SSL ... [OKAY]
PHP ... [OKAY]
PHP-FPM ... [OKAY]
Apache ... [OKAY]
MariaDB ... [ERROR]
KeyHelp ... [OKAY]
SSH ... [OKAY]
ProFTPD ... [OKAY]
Postfix ... [OKAY]
Dovecot ... [OKAY]
Email protection (Postgrey, Amavis, ClamAV, SpamAssassin, Pyzor, Razor) ... [OKAY]
AWStats ... [OKAY]
Fail2ban ... [OKAY]
Logrotate ... [OKAY]
PHPMyAdmin 4.4.15.2 Multilanguage ... [OKAY]
Roundcube 1.1.4 Multilanguage ... [OKAY]
Quota ... [OKAY]
Apparmor ... [OKAY]
7-Zip ... [OKAY]
Midnight Commander ... [OKAY]
Nano ... [OKAY]
Cron-Daemon ... [OKAY]
During the Installation, errors occured!
Please check the content of the log file in "/var/log/keyhelp/install.log".
You will find your login information in "/root/keyhelp_login_data_2016-06-15_21-44-29"
/etc/amavis/conf.d/15-av_scanners
root@srv1 ~/keyhelp # grep -rl "AllowSupplementaryGroups" /home/*
/home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
/home/keyhelp/www/keyhelp/install/config/ubuntu_16.04/clamav/clamd.conf
nano /home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
#AllowSupplementaryGroups true
ScanMail true
ScanArchive true
chattr +i /home/keyhelp/www/keyhelp/install/config/debian_8/clamav/clamd.conf
wget --no-check-certificate https://install.keyhelp.de/scripts/installkeyhelp.sh -O installkeyhelp.sh; bash installkeyhelp.sh
Installation is running:
Update sources list ... [ERROR]
Sudo ... [OKAY]
Bind9 ... [OKAY]
SSL ... [OKAY]
PHP ... [OKAY]
PHP-FPM ... [OKAY]
Apache ... [OKAY]
MariaDB ... [ERROR]
KeyHelp ... [OKAY]
SSH ... [OKAY]
ProFTPD ... [OKAY]
Postfix ... [OKAY]
Dovecot ... [OKAY]
Email protection (Postgrey, Amavis, ClamAV, SpamAssassin, Pyzor, Razor) ... [OKAY]
AWStats ... [OKAY]
Fail2ban ... [OKAY]
Logrotate ... [OKAY]
PHPMyAdmin 4.4.15.2 Multilanguage ... [OKAY]
Roundcube 1.1.4 Multilanguage ... [OKAY]
Quota ... [OKAY]
Apparmor ... [OKAY]
7-Zip ... [OKAY]
Midnight Commander ... [OKAY]
Nano ... [OKAY]
Cron-Daemon ... [OKAY]
During the Installation, errors occured!
Please check the content of the log file in "/var/log/keyhelp/install.log".
You will find your login information in "/root/keyhelp_login_data_2016-06-15_21-44-29"
Re: New Installation - Phpmyadmin
Hello,
you must not change "chattr +i" in directorys under /home/keyhelp
KeyHelp must be able to download it's installation files.
Changing the file in /etc is enough.
This is currently only a work around, as this behaviour must be changed for Debian installs in the installer itself. Unfortunaly our maindeveloper is on vacation for the next two weeks.
you must not change "chattr +i" in directorys under /home/keyhelp
KeyHelp must be able to download it's installation files.
Changing the file in /etc is enough.
This is currently only a work around, as this behaviour must be changed for Debian installs in the installer itself. Unfortunaly our maindeveloper is on vacation for the next two weeks.
Viele Grüße,
Martin
Martin
Re: New Installation - Phpmyadmin
I am back on next monday and will take care of this ASAP.
Expect an updated installation routine at the end of june.
Thank you for your patient.
Expect an updated installation routine at the end of june.
Thank you for your patient.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************