Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Cacti funktioniert nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Dec 08, 2009 12:19 pm    Post subject: [solved] Cacti funktioniert nicht Reply with quote

Hab mir eben nach längerer Zeit wieder Cacti installieren wollen, was aber leider nicht funktioniert.

Beim erstmaligen Zugriff auf http://localhost/cacti erscheint lediglich die Fehlermeldung
Quote:
Fatal error: Call to undefined function mysql_pconnect() in /usr/share/php5/adodb/drivers/adodb-mysql.inc.php on line 382


Google, Foren und Co. haben mich bisher leider nicht weitergebracht. Lediglich das Cacti wohl sein eigenes adodb nutzen will habe ich gelesen, nur wie man das erzwingt .... :?:

installiert ist
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-5.0.84-r1  USE="community perl ssl -berkdb -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static" 0 kB
[ebuild   R   ] dev-lang/php-5.2.11-r1  USE="apache2 bzip2 cgi cli crypt gd gdbm iconv mysql ncurses nls pcre readline reflection session snmp sockets spl ssl unicode xml xmlrpc zlib -adabas -bcmath -berkdb -birdstep -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -soap -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlwriter -xpm -xsl -yaz -zip" 0 kB
[ebuild   R   ] net-analyzer/cacti-0.8.7e-r1  USE="snmp -doc -vhosts" 0 kB


Erzeugen der Datenbank in mysql incl. Berechtigungen usw. hat funktioniert.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself


Last edited by think4urs11 on Tue Dec 08, 2009 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Tue Dec 08, 2009 12:46 pm    Post subject: Reply with quote

Was sagt denn phpinfo() ?
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Dec 08, 2009 1:04 pm    Post subject: Reply with quote

selbst gefunden...

in /etc/php/cli-php5/php.ini muß mysql.so als extension mitgeladen werden (extension=php_mysql.so)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Tue Dec 08, 2009 1:16 pm    Post subject: Reply with quote

Sollte normalerweise mit dem USE Flag mysql und einem etc-update aktiviert werden.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Dec 08, 2009 4:20 pm    Post subject: Reply with quote

soviel zur Theorie :(

anyways - solved
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum