You are not logged in.
Pages: 1
Hello!
Debian Etch
After login: http://IP_SERVER/glpi/front/central.php i see blank screnn, under Linux browser try download file central.php.
Rights for /var/www/glpi: config and files are 777 for files into config and files 777 too...
drwxr-xr-x 6 root root 4096 2008-07-17 08:10 .
drwxr-xr-x 14 root root 4096 2008-07-16 21:34 ..
drwxr-xr-x 2 root root 4096 2008-07-16 21:34 apache2-default
drwxrwxr-x 2 root www-data 4096 2008-07-16 22:05 download
drwxr-xr-x 15 root root 4096 2008-07-11 21:12 glpi
drwxrwxr-x 8 root www-data 4096 2008-07-16 22:08 ocsreports
ocsserver:/var/www/glpi# ls -al
razem 148
drwxr-xr-x 15 root root 4096 2008-07-11 21:12 .
drwxr-xr-x 6 root root 4096 2008-07-17 08:10 ..
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 ajax
-rw-r--r-- 1 root root 990 2008-07-11 21:12 AUTHORS.txt
-rw-r--r-- 1 root root 63 2008-07-11 21:12 CHANGELOG.txt
drwxrwxrwx 2 root root 4096 2008-07-17 08:22 config
-rw-r--r-- 1 root root 18009 2008-07-11 21:12 COPYING.txt
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 css
drwxrwxrwx 11 root root 4096 2008-07-17 08:22 files
drwxr-xr-x 2 root root 12288 2008-07-11 21:12 front
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 help
-rw-r--r-- 1 root root 64 2008-07-11 21:12 .htaccess
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 inc
-rw-r--r-- 1 root root 5620 2008-07-11 21:12 index.php
drwxr-xr-x 3 root root 4096 2008-07-11 21:12 install
drwxr-xr-x 10 root root 4096 2008-07-11 21:12 lib
-rw-r--r-- 1 root root 144 2008-07-11 21:12 LISEZMOI.txt
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 locales
-rw-r--r-- 1 root root 8867 2008-07-11 21:12 login.php
-rw-r--r-- 1 root root 2017 2008-07-11 21:12 logout.php
drwxr-xr-x 3 root root 4096 2008-07-11 21:12 pics
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 plugins
-rw-r--r-- 1 root root 123 2008-07-11 21:12 README.txt
-rw-r--r-- 1 root root 10063 2008-07-11 21:12 script.js
drwxr-xr-x 2 root root 4096 2008-07-11 21:12 scripts
-rw-r--r-- 1 root root 3766 2008-07-11 21:12 status.php
ocsserver:/var/www/glpi/config# ls -al
razem 44
drwxrwxrwx 2 root root 4096 2008-07-17 08:22 .
drwxr-xr-x 15 root root 4096 2008-07-11 21:12 ..
-rwxrwxrwx 1 root root 2959 2008-07-11 21:12 based_config.php
-rw-r--r-- 1 www-data www-data 153 2008-07-17 08:22 config_db.php
-rwxrwxrwx 1 root root 7333 2008-07-11 21:12 config.php
-rwxrwxrwx 1 root root 13187 2008-07-11 21:12 define.php
-rw-r--r-- 1 root root 13 2008-07-11 21:12 .htaccess
ocsserver:/var/www/glpi/files# ls -al
razem 48
drwxrwxrwx 11 root root 4096 2008-07-17 08:22 .
drwxr-xr-x 15 root root 4096 2008-07-11 21:12 ..
drwxrwxrwx 4 root root 4096 2008-07-17 08:22 _cache
drwxrwxrwx 2 root root 4096 2008-07-17 08:22 _cron
drwxrwxrwx 2 root root 4096 2008-07-17 08:22 _dumps
-rw-r--r-- 1 root root 13 2008-07-11 21:12 .htaccess
drwxrwxrwx 2 root root 4096 2008-07-11 21:12 _lock
drwxrwxrwx 2 root root 4096 2008-07-17 08:22 _log
drwxrwxrwx 2 root root 4096 2008-07-11 21:12 _plugins
drwxrwxrwx 2 root root 4096 2008-07-17 08:23 _sessions
drwxrwxrwx 2 root root 4096 2008-07-11 21:12 _tmp
drwxrwxrwx 2 root root 4096 2008-07-11 21:12 _uploads
H E L P
Last edited by mkaiserpl (2008-07-17 08:39:21)
Offline
http://glpi-project.org/wiki/doku.php?i … l:glpietch
Use google to translate
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
for Debian Etch use command apt-get install glpi v. 0.68.2 only, for lenny is 0.70.2 but for lenny there is a problem with OSC and php4.
LENNY:
ocsserver:~# apt-get install ocsinventory-server <------------------------
Czytanie list pakietów... Gotowe //reading
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostały<INSTALL> zainstalowane automatycznie i nie są już więcej wymagane:
libzzip-0-12 nmap php4 libpcap0.8 libt1-5 php4-common libapache2-mod-php4
php5-common
Aby je usunąć należy użyć "apt-get autoremove".
Zostaną zainstalowane następujące dodatkowe pakiety:
apache2 apache2-mpm-prefork apache2-utils apache2.2-common dbconfig-common
libapache-dbi-perl libapache2-mod-perl2 libapache2-mod-php4
libapache2-reload-perl libapr1 libaprutil1 libbsd-resource-perl
libdevel-symdump-perl libdigest-sha1-perl libgd2-xpm libnet-ip-perl
libpcap0.8 libpq5 libt1-5 libxml-namespacesupport-perl libxml-sax-expat-perl
libxml-sax-perl libxml-simple-perl libzzip-0-12 nmap php4 php4-common
php5-common
Sugerowane pakiety:
apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools
libsoap-lite-perl ocsinventory-agent
Polecane pakiety:
ocsinventory-reports
Następujące pakiety zostaną USUNIĘTE: //remove
libgd2-noxpm
Zostaną zainstalowane następujące NOWE pakiety:
apache2 apache2-mpm-prefork apache2-utils apache2.2-common dbconfig-common
libapache-dbi-perl libapache2-mod-perl2 libapache2-mod-php4
libapache2-reload-perl libapr1 libaprutil1 libbsd-resource-perl
libdevel-symdump-perl libdigest-sha1-perl libgd2-xpm libnet-ip-perl
libpcap0.8 libpq5 libt1-5 libxml-namespacesupport-perl libxml-sax-expat-perl
libxml-sax-perl libxml-simple-perl libzzip-0-12 nmap ocsinventory-server
php4 php4-common php5-common
0 aktualizowanych, 29 nowo instalowanych, 1 usuwanych i 1 nieaktualizowanych.
Konieczne pobranie 7440kB archiwów.
Po tej operacji zostanie dodatkowo użyte 21,3MB miejsca na dysku.
ocsserver:~# apt-get install ocsinventory-reports <----------------------------------
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
libt1-5
Aby je usunąć należy użyć "apt-get autoremove".
Zostaną zainstalowane następujące dodatkowe pakiety:
php5-cli php5-mysql <---------------------------------------
Sugerowane pakiety:
php-pear php5-timezonedb
Polecane pakiety:
php5-gd php4-gd
Zostaną zainstalowane <INSTALL>następujące NOWE pakiety:
ocsinventory-reports php5-cli php5-mysql
0 aktualizowanych, 3 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
Konieczne pobranie 9132kB archiwów.
Po tej operacji zostanie dodatkowo użyte 14,2MB miejsca na dysku.
Kontynuować [T/n]? n
turn on OCS and BUG --->info that it need php4-mysql <------------------- so:
ocsserver:~# apt-get install php4-mysql <-----------------------------------
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wyma gane:
nmap libxml-namespacesupport-perl libpcap0.8 libxml-sax-expat-perl
libbsd-resource-perl libdevel-symdump-perl libt1-5 libxml-sax-perl
libnet-ip-perl libxml-simple-perl php5-mysql dbconfig-common php5-cli
php5-common libdigest-sha1-perl
Aby je usunąć należy użyć "apt-get autoremove".
Zostaną zainstalowane następujące dodatkowe pakiety:
php4-cli
Sugerowane pakiety:
php-pear
Następujące pakiety zostaną USUNIĘTE: //REMOVE <------------------------
apache2 apache2-mpm-prefork apache2-utils apache2.2-common ........................!
libapache-dbi-perl libapache2-mod-perl2 libapache2-mod-php4 ......................!
libapache2-reload-perl libaprutil1 ocsinventory-reports ocsinventory-server ..........................
php4 ..............................
Zostaną zainstalowane następujące NOWE pakiety:
php4-cli php4-mysql <----------------------------
0 aktualizowanych, 2 nowo instalowanych, 12 usuwanych i 1 nieaktualizowanych.
Konieczne pobranie 1616kB archiwów.
Po tej operacji zostanie zwol
Offline
It's not a GLPI bug.
It's not a OCS bug.
It's probably a debian packaging bug.
So file a bug on debian.
++
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Offline
@JMD
YES! YES! YES!
Thx a lot! works! merci bouqu! Dziękuję bardzo! <--- in polish
WARNING: GD for PHP is not properly installed.
You will not be able to see any graphical display
Try uncommenting ";extension=php_gd2.dll" (windows) by removing the semicolon in file php.ini, or try
installing the php4-gd package (Linux). //BUT IT'S NOT VERY DANGER? all wokrs i hope
This is manual for users form Poland:
>>>>> INSTALACJA OCS INVENTORY 1.01 I GLPI 0.71 NA DEBIAN ETCH 22.07.2008 <<<<<<<<
###################
###Zasoby wiedzy###
###################
- http://www.ocsinventory-ng.org/
- http://glpi-project.org/
- http://linuxfellaz.net/doku.php?id=debian:ocs_glpi
- http://glpi-project.org/wiki/doku.php?i … l:glpietch
-
http://translate.google.pl/translate?hl … &oi=transl
ate&resnum=1&ct=result&prev=/search%3Fq%3Dhttp://glpi-project.org/wiki/doku.php%253Fid%253Dfr:install:g
lpietch%26hl%3Dpl%26lr%3D%26sa%3DG
#####################################################
###Przygotowanie środowiska dla OCS Inventory 1.01###
#####################################################
-apt-get install:
apache2
libapache2-mod-perl2
libapache2-mod-php4
php4
php4-gd
perl
libxml-simple-perl
libcompress-zlib-perl
libdbi-perl
libdbd-mysql-perl
libapache-dbi-perl
mysql-server
php-pear
php4-dev
libnet-ip-perl
php4-mysql
build-essential
libsoap-lite-perl
oraz
mysql-admin
-ustawić hasło na root mysql i dodac @%
-opcjonalnie edytowac my.conf w celu umozliwienia zdalnego logowania do mysql
-pobrac OCS Inventory 1.01
-pobrac GLPI
#######################################
###Przygotowanie środowiska dla GLPI###
#######################################
-dodanie wpisu w sources.list:
deb http://ftp.fr.debian.org/debian etch main contrib
-apt-get update
-apt-get install:
apache2
php5
libapache2-mod-php5
php5-imap
php5-ldap
php5-curl
mysql-server-5.0
php5-mysql
-restart apache2 i mysql
-w mysql-admin zaozyc baze glpidb
create database glpidb;
-w mysql-admin zalozyc użytkownika "glpiuser" i nadac mu prawa:
grant all privileges on glpidb.* to glpiuser@localhost identified by 'PASSWORD';
-restart mysql
#####################
###Instalacja GLPI###
#####################
tar-xvzf glpi-XXXtar.gz -C / var/www/apache2-default
chown -R www-data /var/www/apache2-default/glpi
restart apache
http://IP/apache2-default/glpi/install/install.php
krok1
localhost
root
PASSWORD
krok2
db:glpidb
##############################
###Instalacja OCS Inventory###
##############################
tar -xvf OCSNG_LINUX_SERVER_1.01.tar.gz
uruchomic ./setup.sh
towrzy sie wsyztkow w /var/www
ocsserver:/home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01# ./setup.sh
+----------------------------------------------------------+
| |
| Welcome to OCS Inventory NG Management server setup ! |
| |
+----------------------------------------------------------+
CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and
previous, please remove any Apache configuration for Communication Server!
Do you wish to continue ([y]/n)?y
Assuming Communication server 1.0 RC2 or previous is not installed
on this computer.
Starting OCS Inventory NG Management server setup from folder
/home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01
Storing log in file /home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01/ocs_server_setup.log
+----------------------------------------------------------+
| Checking for database server properties... |
+----------------------------------------------------------+
Your MySQL client seems to be part of MySQL version 5.0.
Your computer seems to be running MySQL 4.1 or higher, good ;-)
Which host is running database server [localhost] ?
OK, database server is running on host localhost ;-)
On which port is running database server [3306] ?
OK, database server is running on port 3306 ;-)
+----------------------------------------------------------+
| Checking for Apache web server daemon... |
+----------------------------------------------------------+
Where is Apache daemon binary [/usr/sbin/apache2] ?
OK, using Apache daemon /usr/sbin/apache2 ;-)
+----------------------------------------------------------+
| Checking for Apache main configuration file... |
+----------------------------------------------------------+
Where is Apache main configuration file [//etc/apache2/apache2.conf] ?
OK, using Apache main configuration file //etc/apache2/apache2.conf ;-)
+----------------------------------------------------------+
| Checking for Apache user account... |
+----------------------------------------------------------+
Which user account is running Apache web server [www-data] ?
OK, Apache is running under user account www-data ;-)
+----------------------------------------------------------+
| Checking for Apache group... |
+----------------------------------------------------------+
Which user group is running Apache web server [www-data] ?
OK, Apache is running under users group www-data ;-)
+----------------------------------------------------------+
| Checking for PERL Interpreter... |
+----------------------------------------------------------+
Found PERL Intrepreter at </usr/bin/perl> ;-)
Where is PERL Intrepreter binary [/usr/bin/perl] ?
OK, using PERL Intrepreter /usr/bin/perl ;-)
Do you wish to setup Communication server on this computer ([y]/n)?y
+----------------------------------------------------------+
| Checking for Make utility... |
+----------------------------------------------------------+
OK, Make utility found at </usr/bin/make> ;-)
+----------------------------------------------------------+
| Checking for Apache Include configuration directory... |
+----------------------------------------------------------+
Setup has found Apache Include configuration directory in
//etc/apache2/conf.d/.
If you are not using Include directive, please enter 'no'.
Where is Apache Include configuration directory [//etc/apache2/conf.d/] ?
OK, Apache Include configuration directory //etc/apache2/conf.d/ found ;-)
+----------------------------------------------------------+
| Checking for Apache mod_perl version... |
+----------------------------------------------------------+
Checking for Apache mod_perl version 1.99_22 or higher
Found that mod_perl version 1.99_22 or higher is available.
OK, Apache is using mod_perl version 1.99_22 or higher ;-)
+----------------------------------------------------------+
| Checking for Communication server log directory... |
+----------------------------------------------------------+
Communication server can create detailled logs. This logs can be enabled
by setting interger value of LOGLEVEL to 1 in Administration console
menu Configuration.
Where to put Communication server log directory [/var/log/ocsinventory-NG] ?
OK, Communication server will put logs into directory /var/log/ocsinventory-NG ;-)
+----------------------------------------------------------+
| Checking for required Perl Modules... |
+----------------------------------------------------------+
Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for Apache::DBI PERL module...
Found that PERL module Apache::DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for Compress::Zlib PERL module...
Found that PERL module Compress::Zlib is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.
Checking for SOAP::Lite PERL module...
Found that PERL module SOAP::Lite is available.
+----------------------------------------------------------+
| OK, looks good ;-) |
| |
| Configuring Communication server Perl modules... |
+----------------------------------------------------------+
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Ocsinventory
+----------------------------------------------------------+
| OK, looks good ;-) |
| |
| Preparing Communication server Perl modules... |
+----------------------------------------------------------+
+----------------------------------------------------------+
| OK, prepare finshed ;-) |
| |
| Installing Communication server Perl modules... |
+----------------------------------------------------------+
+----------------------------------------------------------+
| OK, Communication server Perl modules install finished;-)|
| |
| Creating Communication server log directory... |
+----------------------------------------------------------+
Creating Communication server log directory /var/log/ocsinventory-NG.
Fixing Communication server log directory files permissions.
Configuring logrotate for Communication server.
Writing communication server logrotate to file /etc/logrotate.d/ocsinventory-NG
+----------------------------------------------------------+
| OK, Communication server log directory created ;-) |
| |
| Now configuring Apache web server... |
+----------------------------------------------------------+
Writing communication server configuration to file //etc/apache2/conf.d//ocsinventory.conf
+----------------------------------------------------------+
| OK, Communication server setup sucessfully finished ;-) |
| |
| Please, review //etc/apache2/conf.d//ocsinventory.conf
| to ensure all is good. Then restart Apache daemon. |
+----------------------------------------------------------+
Do you wish to setup Administration server (web administration console)
on this computer ([y]/n)?y
+----------------------------------------------------------+
| Checking for Apache root document directory... |
+----------------------------------------------------------+
Where is Apache root document directory [] ?/var/www
OK, Apache root document directory is /var/www ;-)
+----------------------------------------------------------+
| Checking for required Perl Modules... |
+----------------------------------------------------------+
Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.
+----------------------------------------------------------+
| Installing files for Administration server... |
+----------------------------------------------------------+
Creating directory /var/www/download.
Creating directory /var/www/ocsreports.
Copying files to /var/www/ocsreports.
Fixing directories and files permissions.
Configuring IPDISCOVER-UTIL Perl script.
Installing IPDISCOVER-UTIL Perl script.
Fixing permissions on IPDISCOVER-UTIL Perl script.
+----------------------------------------------------------+
| OK, Administration server installation finished ;-) |
| |
| Point your browser to http://server/ocsreports to |
| configure database server and create/update schema. |
+----------------------------------------------------------+
Setup has created a log file /home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01/ocs_server_setup.log.
Please, save this file.
If you encounter error while running OCS Inventory NG Management server,
we can ask you to show us his content !
DON'T FORGET TO RESTART APACHE DAEMON !
Enjoy OCS Inventory NG ;-)
ocsserver:/home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01#
-restart apache
-na wwww http://IP/ocsreports/
root
PASSWORD
localhost
WARNING: GD for PHP is not properly installed.
You will not be able to see any graphical display
Try uncommenting ";extension=php_gd2.dll" (windows) by removing the semicolon in file php.ini, or try
installing the php4-gd package (Linux).
WARNING: You will not be able to build any auto deployment package with size greater than 2M.
You must raise both post_max_size and upload_max_filesize in your php.ini to correct this.
Last edited by mkaiserpl (2008-07-31 09:37:48)
Offline
installing the php4-gd package (Linux). //BUT IT'S NOT VERY DANGER? all wokrs i hope
If you use PHP5 you must install php5-gd
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
true :]
Offline
Pages: 1