Hi Team,
Below error i am getting when i try to run this command : "sudo
/usr/local/lib/fossology/fo-postinstall".

Error ----

*** Running postinstall for everything ***
*** Running postinstall for common actions***
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
*** clearing file cache ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: Running the PostgreSQL vacuum and analyze command can result in a
large database performance improvement.
      We suggest that you either configure postgres to run its autovacuum
and autoanalyze daemons, or maintagent -D in a cron job, or run Admin >
Maintenance on a regular basis.
      Admin > Dashboard will show you the last time vacuum and analyze have
been run.
*** Running postinstall for web-only actions***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** update the database and license_ref table ***
PHP Fatal error:  Uncaught Error: Call to undefined function pg_connect()
in /usr/local/share/fossology/lib/php/common-db.php:70
Stack trace:
#0 /usr/local/share/fossology/lib/php/common-sysconfig.php(108):
DBconnect('/usr/local/etc/...')
#1 /usr/local/lib/fossology/fossinit.php(117):
ConfigInit('/usr/local/etc/...', Array)
#2 {main}
  thrown in /usr/local/share/fossology/lib/php/common-db.php on line 70

Please help me .

-- 
*Regards*
*Sanjay Kumar*
*8197070023*
*sanjaykumar080...@gmail.com <sanjaykumar080...@gmail.com>*

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#3280): https://lists.fossology.org/g/fossology/message/3280
Mute This Topic: https://lists.fossology.org/mt/33046423/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to