[ixpmanager] IXP Manager Error [.php]
Barry O'Donovan
barry.odonovan at inex.ie
Sun Apr 12 10:15:58 IST 2020
Hi Charles.
The installation of the php5 version of memcache in a php73 environment
is not correct. The can exist side by side but one would not be used by
the other. Maybe it was the addition of php73-mbstring that fixed your
issue?
Just for the benefit of anyone searching the archives in the future, the
manual installation instructions contain the following note:
> In fact we provide a complete installation script for this - see the
> automated installation page for details. If you have any issues with
> the manual installation, the automated script should be your first
> reference to compare what you are doing to what we recommend.
Which is to say that if you choose the manual installation route, then
the installation script at:
https://github.com/inex/IXP-Manager/blob/master/tools/installers/ubuntu-lts-1804-ixp-manager-v5.sh
is a wonderful resource for comparing how you're installing IXP Manager
versus what the script we provide does. Sometimes stepping through the
script will help solve you issues.
Thanks,
- Barry
Ikusan Charles wrote on 11/04/2020 22:09:
> Dear Barry,
>
>
> Thanks for your response.
>
>
> Surely, I will be glad to share with the community how I got it
> sorted.
>
>
> I found out that my php.* seems to be having issues.
>
>
> Steps:
>
>
> I ran "dpkg-reconfigure php7.3-mysql" to reconfigure the package, it
> was successfully installed but no effect.
>
>
> I also ran "php -m" to see the lists available.
>
>
> Lastly, I noticed that some packages are not fully installed, I
> checked IXP Manager to reconfigure all the packages required to
> install ixpmanager with dpkg-reconfigure.
>
>
> /dpkg-reconfigure apache2 php7.3 php7.3-intl php-rrd php7.3-cgi
> php7.3 /
>
> /-cli php7.3-snmp php7.3-curl php-memcached libapache2-mod-php7.3
> mysql-server m /
>
> /ysql-client php7.3-mysql memcached snmp php7.3-mbstring php7.3-xml
> php7.3-gd php /
>
> /7.3-bcmath php-gettext bgpq3 php-memcache unzip php7.3-zip git
> php-yaml php-ds l /
>
> /ibconfig-general-perl libnetaddr-ip-perl mrtg libconfig-general-perl
> libnetaddr /
>
> /-ip-perl rrdtool librrds-perl curl/
>
>
> I noticed some packages were not installing like *php7.3-cli
> php7.3-cgi. *I uninstalled and installed the php* anew.
>
>
> memcached is also seen to be missing whenever I tried to generate a
> graph. I installed memcached with
>
>
> *apt-get install php5-memcache*
>
> *apt install php7.3-mbstring*
>
> *service apache2 restart*
>
>
> Immediately I installed this, tada! ixpmanager webpage re-opened and
> works perfectly.
>
>
>
> *Ikusan Charles*
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gmhs7>
> gmhs7
>
> Warm Regards,
>
> Ikusan Charles A.
>
> Network Engineer / Monitoring | Internet eXchange Point of Nigeria
> IXPN
>
> Office: 8th Floor, NCR Building, 6 Broad Street, Marina, Lagos.
>
> Phone:+234 (0)700 CALL-IXPN, +234 (0)8035606131, +234 (0)8093878116
>
> www.ixp.net.ng |noc at ixp.net.ng |www.twitter.com/IXPN_NG
> |www.facebook.com/IXPNigeria
>
>
>
> On April 11, 2020 at 14:47 GMT, Barry O Donovan
> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>> wrote:
>
>
> Hi Charles,
>
> glad you got it sorted.
>
> Is there anything worth sharing on your resolution that would benefit
> a future user with a similar issue searching the archives?
>
> Thanks, - Barry
>
>
> Ikusan Charles wrote on 10/04/2020 22:04:
>> Hello Barry,
>>
>> I was able to resolve the issue by working around it.
>>
>> Thanks for your support.
>>
>> Br,
>>
>> Charles.
>>
>> *Ikusan Charles*
>> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gkmvp>
> gkmvp
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gkmvp%3E%09gkmvp>
>
>
>
>> Warm Regards,
>>
>> Ikusan Charles A.
>>
>> Network Engineer / Monitoring | Internet eXchange Point of
> Nigeria IXPN
>>
>> Office: 8th Floor, NCR Building, 6 Broad Street, Marina, Lagos.
>>
>> Phone:+234 (0)700 CALL-IXPN, +234 (0)8035606131, +234
>> (0)8093878116
>>
>> www.ixp.net.ng <http://www.ixp.net.ng> |noc at ixp.net.ng
> <mailto:noc at ixp.net.ng> |www.twitter.com/IXPN_NG
> |www.facebook.com/IXPNigeria
>>
>>
>>
>> On April 10, 2020 at 13:44 GMT, Ikusan Charles
> <c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>
>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>> wrote:
>>
>>
>>
> https://pastebin.ibn.ie/?95c3cd5dcda8ce1b#DeJ1tGu3prreCNYovbJ5QUcNRgVXzrTgHEsjgU9qfVUP
>
>
>
>>
>> *Ikusan Charles*
>> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gk2k0>
> gk2k0
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gk2k0%3E%09gk2k0>
>
>
>
>> Warm Regards,
>>
>> Ikusan Charles A.
>>
>> Network Engineer / Monitoring | Internet eXchange Point of
> Nigeria IXPN
>>
>> Office: 8th Floor, NCR Building, 6 Broad Street, Marina, Lagos.
>>
>> Phone:+234 (0)700 CALL-IXPN, +234 (0)8035606131, +234
>> (0)8093878116
>>
>> www.ixp.net.ng <http://www.ixp.net.ng> |noc at ixp.net.ng
> <mailto:noc at ixp.net.ng> |www.twitter.com/IXPN_NG
> |www.facebook.com/IXPNigeria
>>
>>
>>
>> On April 10, 2020 at 13:39 GMT, Barry O Donovan
>> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>
> <mailto:barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>>>
> wrote:
>>
>>
>> Can you share the errors and traces from storage/logs/laravel.log
>> on https://pastebin.ibn.ie/ ?
>>
>> - Barry
>>
>>
>> Ikusan Charles Abimbola wrote on 10/04/2020 14:01:
>>> Hi Nick,
>>>
>>> I have done it but same error.
>>>
>>> */ixpnmanager:/srv/ixpmanager# dpkg --get-selections | grep
>> -i php/*
>>> libapache2-mod-php7.3 install php-cgi
>>> install php-cli-prompt install
>>> php-common install
>>> php-composer-ca-bundle install
>>> php-composer-semver install
>>> php-composer-spdx-licenses install php-ds
>>> install php-gettext install
>>> php-igbinary install
>>> php-json-schema install
>>> php-mbstring install
>>> php-memcache install
>>> php-memcached install
>>> php-msgpack install php-pear
>>> install php-php-gettext install
>>> php-psr-log install php-rrd
>>> install php-symfony-console install
>>> php-symfony-debug install
>>> php-symfony-filesystem install
>>> php-symfony-finder install
>>> php-symfony-polyfill-mbstring install
>>> php-symfony-process install php-xml
>>> install php-yaml install
>>> php7.3 install
>>> php7.3-bcmath install
>>> php7.3-cgi install
>>> php7.3-cli install
>>> php7.3-common install
>>> php7.3-curl install php7.3-gd
>>> install php7.3-intl install
>>> php7.3-json install
>>> php7.3-mbstring install
>>> *_php7.3-mysql install_*
>>>
>>>
>>> root at ixpnmanager <mailto:root at ixpnmanager>
> <mailto:root at ixpnmanager <mailto:root at ixpnmanager>>:/srv/ixpmanager#
>> apt install php7.3-mysql
>>> Reading package lists... Done Building dependency tree Reading
>>> state information... Done php7.3-mysql is already the newest
>>> version (7.3.16-1+ubuntu18.04.1+deb.sury.org+1). 0 upgraded, 0
>>> newly installed, 0 to remove and 0 not upgraded.
>>>
>>>
>>> ------ Original Message ------ From: "Nick Hilliard (INEX)"
>>> <nick at inex.ie <mailto:nick at inex.ie>
>> <mailto:nick at inex.ie <mailto:nick at inex.ie>> <mailto:nick at inex.ie
> <mailto:nick at inex.ie> <mailto:nick at inex.ie <mailto:nick at inex.ie>>>>
>>> To: "Ikusan Charles Abimbola" <c.ikusan at ixp.net.ng
> <mailto:c.ikusan at ixp.net.ng>
>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>
>>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>
> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>>>;
>> "INEX IXP Manager Users Mailing List"
>>> <ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>>>
>>> Sent: 10-Apr-20 1:01:56 PM Subject: Re: [ixpmanager] IXP Manager
>>> Error [.php]
>>>
>>>> Hi Charles,
>>>>
>>>> looks like there's a problem with your PHP installation:
>>>> PDOconnection.php "could not find driver" means that the
>> mysql package
>>>> is not installed properly.
>>>>
>>>> Can you make sure that you have the php-mysql package
>> installed using
>>>> the "dpkg -l" command? It should return something like the
>> following:
>>>>
>>>>> ixpmanager:/home/nick# dpkg -l | grep 'php.*mysql' ii
>>>>> php7.3-mysql 7.3.5-1+ubuntu18.04.1+deb.sury.org+1
>> amd64 MySQL
>>>>> module for PHP ixpmanager:/home/nick#
>>>>
>>>> Nick
>>>>> Ikusan Charles Abimbola <mailto:c.ikusan at ixp.net.ng
> <mailto:c.ikusan at ixp.net.ng>
>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>>
>>>>> 10 April 2020 at 10:35 Dear Support,
>>>>>
>>>>> I have successfully installed ixp manager and added members
>> from one
>>>>> of our locations with their graphs generated via MRTG.
>>>>>
>>>>> Recently, I experienced this error as I wanted to add more
>> members.
>>>>>
>>>>>
>>>>> I need your assistance to resolve it.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Charles.
>>>>>
>>>>>
>>>>> _______________________________________________ INEX IXP
>>>>> Manager mailing list ixpmanager at inex.ie
>>>>> <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>>>> Unsubscribe or change options here:
>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager Ikusan
>>>>> Charles <mailto:c.ikusan at ixp.net.ng
> <mailto:c.ikusan at ixp.net.ng>
>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>>
>>>>> 5 April 2020 at 19:09 Hello Chris,
>>>>>
>>>>> It works like magic!
>>>>>
>>>>> Wow!! 😎👍
>>>>>
>>>>> *Ikusan Charles*
>>>>>
>> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb5h6>
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb5h6%3E>
> gb5h6
>>
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb5h6%3E%09gb5h6>
>
>
<https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb5h6%3E%09gb5h6%3E>
>>>>>
>>>>> Warm Regards,
>>>>>
>>>>> Ikusan Charles A.
>>>>>
>>>>> Network Engineer / Monitoring | Internet eXchange Point of
>> Nigeria IXPN
>>>>>
>>>>> Office: 8th Floor, NCR Building, 6 Broad Street, Marina,
>>>>> Lagos.
>>>>>
>>>>> Phone:+234 (0)700 CALL-IXPN, +234 (0)8035606131, +234
>> (0)8093878116
>>>>>
>>>>> www.ixp.net.ng <http://www.ixp.net.ng>
> <http://www.ixp.net.ng> <http://www.ixp.net.ng%3E> | noc at ixp.net.ng
> <mailto:noc at ixp.net.ng>
>> <mailto:noc at ixp.net.ng <mailto:noc at ixp.net.ng>> |
> www.twitter.com/IXPN_NG <http://www.twitter.com/IXPN_NG>
>> <http://www.twitter.com/IXPN_NG>
> <http://www.twitter.com/IXPN_NG%3E> |
>>>>> www.facebook.com/IXPNigeria
>>>>> <http://www.facebook.com/IXPNigeria>
>> <http://www.facebook.com/IXPNigeria>
> <http://www.facebook.com/IXPNigeria%3E>
>>>>>
>>>>>
>>>>> On April 5, 2020 at 17:58 GMT, Ikusan Charles
>> <c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>
> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>
>>>>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>
> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>>>
>> wrote:
>>>>>
>>>>>
>>>>> _______________________________________________ INEX IXP
>>>>> Manager mailing list ixpmanager at inex.ie
>>>>> <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>>>> Unsubscribe or change options here:
>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager Ikusan
>>>>> Charles <mailto:c.ikusan at ixp.net.ng
> <mailto:c.ikusan at ixp.net.ng>
>> <mailto:c.ikusan at ixp.net.ng <mailto:c.ikusan at ixp.net.ng>>>
>>>>> 5 April 2020 at 18:58 Hello Chris,
>>>>>
>>>>> I will try it and get back to you.
>>>>>
>>>>> *Ikusan Charles*
>>>>>
>> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb4ym>
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb4ym%3E>
> gb4ym
>>
> <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb4ym%3E%09gb4ym>
>
>
<https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=gb4ym%3E%09gb4ym%3E>
>>>>>
>>>>> Warm Regards,
>>>>>
>>>>> Ikusan Charles A.
>>>>>
>>>>> Network Engineer / Monitoring | Internet eXchange Point of
>> Nigeria IXPN
>>>>>
>>>>> Office: 8th Floor, NCR Building, 6 Broad Street, Marina,
>>>>> Lagos.
>>>>>
>>>>> Phone:+234 (0)700 CALL-IXPN, +234 (0)8035606131, +234
>> (0)8093878116
>>>>>
>>>>> www.ixp.net.ng <http://www.ixp.net.ng>
> <http://www.ixp.net.ng> <http://www.ixp.net.ng%3E> | noc at ixp.net.ng
> <mailto:noc at ixp.net.ng>
>> <mailto:noc at ixp.net.ng <mailto:noc at ixp.net.ng>> |
> www.twitter.com/IXPN_NG <http://www.twitter.com/IXPN_NG>
>> <http://www.twitter.com/IXPN_NG>
> <http://www.twitter.com/IXPN_NG%3E> |
>>>>> www.facebook.com/IXPNigeria
>>>>> <http://www.facebook.com/IXPNigeria>
>> <http://www.facebook.com/IXPNigeria>
> <http://www.facebook.com/IXPNigeria%3E>
>>>>>
>>>>>
>>>>> On April 5, 2020 at 15:23 GMT, Chris Malayter
>> <mustang at terahertz.net <mailto:mustang at terahertz.net>
> <mailto:mustang at terahertz.net <mailto:mustang at terahertz.net>>
>>>>> <mailto:mustang at terahertz.net <mailto:mustang at terahertz.net>
>> <mailto:mustang at terahertz.net <mailto:mustang at terahertz.net>>>>
> wrote:
>>>>>
>>>>>
>>>>> _______________________________________________ INEX IXP
>>>>> Manager mailing list ixpmanager at inex.ie
>>>>> <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>>>> Unsubscribe or change options here:
>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager Chris
>>>>> Malayter <mailto:mustang at terahertz.net
> <mailto:mustang at terahertz.net>
>> <mailto:mustang at terahertz.net <mailto:mustang at terahertz.net>>>
>>>>> 5 April 2020 at 16:22 Turn off ipv6 when you’re trying to get
>>>>> that php repository.
>>>>>
>>>>> _______________________________________________ INEX IXP
>>>>> Manager mailing list ixpmanager at inex.ie
>>>>> <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>>>> Unsubscribe or change options here:
>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>>>
>>>>> Nishal Goburdhan <mailto:nishal at controlfreak.co.za
> <mailto:nishal at controlfreak.co.za>
>> <mailto:nishal at controlfreak.co.za
> <mailto:nishal at controlfreak.co.za>>>
>>>>> 5 April 2020 at 12:03 On 5 Apr 2020, at 12:37, Ikusan Charles
>>>>> wrote:
>>>>>
>>>>>
>>>>> if you scroll down, and read the notes in the PPA
>>>>> (https://launchpad.net/~ondrej/+archive/ubuntu/php),
> <https://launchpad.net/%7Eondrej/+archive/ubuntu/php%29,>
>> <https://launchpad.net/%7Eondrej/+archive/ubuntu/php%29,>
> <https://launchpad.net/%7Eondrej/+archive/ubuntu/php%29,%3E> the
>> solution is
>>>>> presented:
>>>>>
>>>>> WARNING: add-apt-repository is broken with non-UTF-8
>> locales, see
>>>>> https://github.com/oerdnj/deb.sury.org/issues/56 for
>> workaround:
>>>>>
>>>>>
>>>>> -n. _______________________________________________ INEX IXP
>>>>> Manager mailing list ixpmanager at inex.ie
>>>>> <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>>>> Unsubscribe or change options here:
>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>>
>>>
>>>
>>> _______________________________________________ INEX IXP Manager
>>> mailing list ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
>>> Unsubscribe or change options here:
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>
>>
>>
>> --
>>
>> Kind regards, Barry O'Donovan INEX Operations
>>
>> https://www.inex.ie/support/ +353 1 531 3339
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________ INEX IXP Manager
>> mailing list ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
>> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
>
> --
>
> Kind regards, Barry O'Donovan INEX Operations
>
> https://www.inex.ie/support/ +353 1 531 3339
>
>
>
>
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list