¿Versión iMSCP y sistema operativo?
Posts by lestatminiyo
-
-
Hi,
We have a recurrent error with Opendkim plugin. I think t was related to i-MSCP session.
Code- An exception has been thrown in file
- /var/www/imscp/gui/library/Functions/Shared.php at line 2240:
- ==========================================================================
- SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
- Query was:
- SELECT EXISTS(SELECT 1 FROM opendkim WHERE admin_id = ? LIMIT 1)
- ==========================================================================
- Backtrace:
- __________
- File: /var/www/imscp/gui/plugins/OpenDKIM/OpenDKIM.php at line 354
- Function: exec_query()
- File: /var/www/imscp/gui/plugins/OpenDKIM/OpenDKIM.php at line 142
- Method: iMSCP_Plugin_OpenDKIM::customerHasOpenDKIM()
- Method: iMSCP_Plugin_OpenDKIM::onClientScriptStart()
- File: /var/www/imscp/gui/library/iMSCP/Events/Manager.php at line 66
- Function: call_user_func()
- File: /var/www/imscp/gui/library/iMSCP/Events/Aggregator.php at line 120
- Method: iMSCP_Events_Manager::dispatch()
- File: /var/www/imscp/gui/plugins/Mailman/frontend/client/mailman.php at
- line 543
- Method: iMSCP_Events_Aggregator::dispatch()
- File: /var/www/imscp/gui/public/plugins.php at line 82
- Function: include()
- Contextual information:
- _______________________
- Http User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
- AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
- Request Uri: /client/mailman
- Http Referer: https://panel3.planea.com.es:8443/client/mail_accounts.php
-
Hi,
Recently I updated PHPSwitcher to 5.0.5 when I run
I receive some errors like:
Code- dpkg: error processing package netfilter-persistent (--configure):
- subprocess installed post-installation script returned error exit status 1
- dpkg: dependency problems prevent configuration of iptables-persistent:
- iptables-persistent depends on netfilter-persistent (= 1.0.4+nmu2+deb9u1); however:
- Package netfilter-persistent is not configured yet.
- dpkg: error processing package iptables-persistent (--configure):
- dependency problems - leaving unconfigured
- Errors were encountered while processing:
- netfilter-persistent
- iptables-persistent
Run php_compiler.pl one by one, I could reinstall 7.0, 7.1 & 7.2, but 7.3 & 7.4 shows on imscp UI:
On Debian stretch, I-MSCP
i-MSCP 1.5.3
Build: 20180516
Codename: Ennio Morricone
All this was runned after:
-
Hi,
We have a moodle installation on a site. We are trying to access /usr/bin/gs an /usr/bin/unoconv to allow teachers to grade students.
Obviously moodle cann't access /usr/bin by permissions. Can how I try to bypass that? Modify moodlesite.tld.conf?
Regards
-
-
Recently I discover that letsencrypt didnt renew on my server:
Code- Traceback (most recent call last):
- File "/usr/local/sbin/certbot", line 6, in <module>
- from certbot.main import main
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in <module>
- import logging.handlers
- File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
- import sys, os, time, cStringIO, traceback, warnings, weakref, collections
- File "/usr/lib/python2.7/weakref.py", line 14, in <module>
- from _weakref import (
- ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 834.
I tried to deactivate plugin and receive this error on reactivate:
Code- An unexpected error occurred:
- Plugin::LetsEncrypt::enable: Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 6, in from certbot.main import main File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in import logging.handlers File "/usr/lib/python2.7/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/weakref.py", line 14, in from _weakref import (
- ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266
My server:
-
Debian 10
-
i-MSCP 1.5.3 Build: 2018120800 Codename: Ennio Morricone
-
Lets Encrypt
-
I saw that on phpswitcher documentation: https://wiki.i-mscp.net/doku.php?id=plugins:phpswitcher
Supported distributions
- Debian Jessie 8.x, Debian Stretch 9.x, Debian Buster 10.x
-
Hi,
Recently I update to Debian 10.
Phpswitcher on imspc panel shows:
Couldn't get PHP version through the '/opt/phpswitcher/20180712/php7.0/bin/php-cgi' executable: /opt/phpswitcher/20180712/php7.0/bin/php-cgi: error while loading shared libraries: libonig.so.4: cannot open shared object file: No such file or directory
When I run:
[email protected]:~# dpkg -L libonig4
dpkg-query: package 'libonig4' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
[email protected]:~# ls /usr/lib/x86_64-linux-gnu/libonig*
/usr/lib/x86_64-linux-gnu/libonig.so /usr/lib/x86_64-linux-gnu/libonig.so.5.0.0
/usr/lib/x86_64-linux-gnu/libonig.so.5
But when i tried to run, I received:
[email protected]:~# perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl
[INFO] Scanning PHP site for the PHP 5.3 sources...
[INFO] Found PHP 5.3 sources at http://php.net/distributions/php-5.3.29.tar.gz
[INFO] The PHP 5.3.29 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
[INFO] Extracting the PHP 5.3.29 archive into /usr/local/src/phpswitcher/php-5.3.29 ...
[INFO] Setup PHP build environment...
I: Invoking pbuilder
I: forking: pbuilder create --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/psw-debian-stretch.cow --mirror http://deb.debian.org/debian --architecture amd64 --distribution stretch --no-targz --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget cowdancer'
I: Running in no-targz mode
I: Distribution is stretch.
I: Current time: Sat May 30 23:53:30 CEST 2020
I: pbuilder-time-stamp: 1590875610
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
E: /var/cache/pbuilder/psw-aptcache-debian-stretch: No such directory
I: forking: rm -rf /var/cache/pbuilder/psw-debian-stretch.cow
[ERROR] main: An error occurred while setup of PHP build environment: W: cgroups are not available on the host, not using them.
E: debootstrap failed
E: debootstrap.log not present
W: Aborting with an error
E: pbuilder create failed
Could yo help me?
-
/etc/apt/sources.list
Code- #
- # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 NETINST Binary-1 20150906-11:09]/ jessie main
- # Line commented out by installer because it failed to verify:
- #deb http://security.debian.org/ stretch/updates main
- # Line commented out by installer because it failed to verify:
- #deb-src http://security.debian.org/ stretch/updates main
- # jessie-updates, previously known as 'volatile'
- # A network mirror was not selected during install. The following entries
- # are provided as examples, but you should amend them as appropriate
- # for your mirror of choice.
- #
- # deb http://ftp.debian.org/debian/ stretch-updates main
- # deb-src http://ftp.debian.org/debian/ stretch-updates main
- #
- # jessie-oficiales
- deb http://mirrors.kernel.org/debian/ stretch main contrib non-free
- deb-src http://mirrors.kernel.org/debian/ stretch main contrib non-free
- # jessie-actualizaciones-seguridad
- deb http://security.debian.org/ stretch/updates main contrib non-free
- deb-src http://security.debian.org/ stretch/updates main contrib non-free
- # jessie-actualizaciones-sistema
- deb http://mirrors.kernel.org/debian/ stretch-updates main contrib non-free
- deb-src http://mirrors.kernel.org/debian/ stretch-updates main contrib non-free
- deb http://mirrors.kernel.org/debian stretch-proposed-updates main contrib non-free
- deb-src http://mirrors.kernel.org/debian stretch-proposed-updates main contrib non-free
- #deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7
- #deb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7
- #deb https://packages.sury.org/php/ stretch main
- #deb-src https://packages.sury.org/php/ stretch main
Sury diabled because:
Code- Err:2 https://packages.sury.org/php stretch InRelease
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
- Hit:4 http://mirrors.edge.kernel.org/debian stretch-updates InRelease
- Hit:5 http://mirrors.edge.kernel.org/debian stretch-proposed-updates InRelease
- Hit:6 http://mirrors.edge.kernel.org/debian stretch Release
- Reading package lists... Done
- W: GPG error: https://packages.sury.org/php stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
- E: The repository 'https://packages.sury.org/php stretch InRelease' is not signed.
- N: Updating from such a repository can't be done securely, and is therefore disabled by default.
- N: See apt-secure(8) manpage for repository creation and user configuration details.
/etc/apt/sources.list.d
Empty
/etc/apt/preferences.d/imscp
-
I just updated PHPSwitcher to the last version. 5.0.4
I tried to install 2 new versions, but I got:
Code- dpkg-deb: building package 'imscp-psw-php5.3-runtime-dependencies' in '../imscp-psw-php5.3-runtime-dependencies_1.0_all.deb'.
- The package has been created.
- Attention, the package has been created in the current directory,
- not in ".." as indicated by the message above!
- Selecting previously unselected package imscp-psw-php5.3-runtime-dependencies.
- (Reading database ... 64883 files and directories currently installed.)
- Preparing to unpack imscp-psw-php5.3-runtime-dependencies_1.0_all.deb ...
- Unpacking imscp-psw-php5.3-runtime-dependencies (1.0) ...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Correcting dependencies... Done
- The following packages will be REMOVED:
- imscp-psw-php5.3-runtime-dependencies
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 11.3 kB disk space will be freed.
- (Reading database ... 64886 files and directories currently installed.)
- Removing imscp-psw-php5.3-runtime-dependencies (1.0) ...
- [ERROR] main: An error occurred while installing PHP 5.3 runtime dependency package: Unmet dependencies.
I tried reinstalling any other version, and it is the same.
I tried deleting the /var/cache/pbuilder/psw-debian-stretch/ directory.
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch
Debian updated
iMSCP updated to the last version 1.5.3 20180516 FPM