denian 11 installation error

Status
Not open for further replies.

alamin

Member
May 13, 2021
50
0
6
38
hi

please my attached error. how can I fix this? which OS for best FS using?

Success. You can now start the database server using:

pg_ctlcluster 13 main start

Ver Cluster Port Status Owner Data directory Log file
13 main 5432 down postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log
update-alternatives: using /usr/share/postgresql/13/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql (13+225) ...
Setting up sysstat (12.5.2-2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Processing triggers for man-db (2.9.4-2) ...
CREATE DATABASE
CREATE DATABASE
CREATE ROLE
CREATE ROLE
GRANT
GRANT
GRANT
ALTER ROLE
ALTER ROLE
resources/finish.sh: 55: /usr/bin/php: not found
ERROR: relation "v_domains" does not exist
LINE 1: insert into v_domains (domain_uuid, domain_name, domain_enab...
^
resources/finish.sh: 61: php: not found
resources/finish.sh: 64: /usr/bin/php: not found
resources/finish.sh: 65: /usr/bin/php: not found
resources/finish.sh: 72: php: not found
ERROR: relation "v_users" does not exist
LINE 1: insert into v_users (user_uuid, domain_uuid, username, passw...
^
ERROR: relation "v_groups" does not exist
LINE 1: select group_uuid from v_groups where group_name = 'superadm...
^
resources/finish.sh: 80: /usr/bin/php: not found
ERROR: relation "v_user_groups" does not exist
LINE 1: insert into v_user_groups (user_group_uuid, domain_uuid, gro...
^
resources/finish.sh: 95: php: not found
Created symlink /etc/systemd/system/multi-user.target.wants/email_queue.service → /etc/systemd/system/email_queue.service.
Created symlink /etc/systemd/system/multi-user.target.wants/event_guard.service → /etc/systemd/system/event_guard.service.


Installation Notes.

Please save the this information and reboot this s
 

Attachments

  • Capture.PNG
    Capture.PNG
    47.5 KB · Views: 15

alamin

Member
May 13, 2021
50
0
6
38
OS is debian 11.5 desktop version install on physical desktop pc Pentium duel core CPU.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
503
179
43
49
Think the error you show in this is that it can't find PHP for some reason maybe it failed to install.

Try this and see if either of these commands work
which php
php -v
find / -name php
 

zeroiq

New Member
Oct 10, 2022
6
1
3
26
Just reinstalled on Debian 9 and the problem seems to be appear again. On fresh install i tried to install PHP first and after the installation. But ran in to the same error.

The Solution was: Installing Php on older version 7.3 and below. stoping apache2 service. And Install FusionPBX. But after everychanges i have to reboot the whole system.

PS: This solution was just a patch. Yes, installation became good but after running Fusion for 30 minutes it throws away the gateway registration, and do not send password alias Nonce in the Registration packets Authorization field.

Got error [404] posting to web server [http://127.0.0.1/app/xml_cdr/xml_cdr_import.php]
99.20% [ERR] mod_xml_cdr.c:401 Retry will be with url [http://127.0.0.1/app/xml_cdr/xml_cdr_import.php]
99.20% [ERR] mod_xml_cdr.c:417 Unable to post to web server, writing to file

And yes the webserver is unavailable after several reboot.

Any solutions for this problem?
 
Last edited:

markjcrane

Active Member
Staff member
Jul 22, 2018
503
179
43
49
PS: This solution was just a patch. Yes, installation became good but after running Fusion for 30 minutes it throws away the gateway registration, and do not send password alias Nonce in the Registration packets Authorization field.
Impossible for FusionPBX its not the one communicating with the SIP protocol. The FusionPBX sends configuration information to FreeSWITCH and then FreeSWITCH handles the SIP messages. I would recommend using IP authentication for Gateways and if you have to use Registration on a Gateway use them sparingly.

FusionPBX uses NGINX by default on Debian, Ubuntu and FreeBSD. Debian 9 is end of life I wouldn't recommend setting up new servers for it. For those using Debian 9 its time to upgrade.

Most people are installing on Debian 11 on 64bit hardware. If you are using 32 bit operating system then you will see more issues than those that use 64 bit.
 
Status
Not open for further replies.