Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

DBI.PM problem while in setup.cgi

Quote Reply
DBI.PM problem while in setup.cgi
When installing through the web with the setup.cgi file I get the following error:

Can't locate DBI.pm in @INC (@INC contains: .. .. .. . /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/httpd/nerdsmail/cgi-bin/admin/setup.cgi line 278.

I have looked at some other posts but it seems that everything I have tried doesn't fix my problem. I set the $script_path inside the mysql.cfg file and still get this error.

---> This is the current status of MYSQL, I created the dataabase Webmail and did take into consideration CASE.

MYSQL> s

mysql Ver 9.38 Distrib 3.22.32, for pc-linux-gnu (i686)

Connection id: 9
Current database: Webmail
Current user: root@localhost
Server version 3.22.32
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 3 days 17 hours 7 min 55 sec

Threads: 1 Questions: 18 Slow queries: 0 Opens: 6 Flush tables: 1 Open tabl
es: 2
--------------

More information ...

mysqladmin -ppassword variables

+----------------------------+---------------------------+
| Variable_name | Value |
+----------------------------+---------------------------+
| back_log | 5 |
| connect_timeout | 5 |
| basedir | / |
| datadir | /var/lib/mysql/ |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| join_buffer | 131072 |
| flush_time | 0 |
| key_buffer | 8388600 |
| language | /usr/share/mysql/english/ |
| log | OFF |
| log_update | OFF |
| long_query_time | 10 |
| low_priority_updates | OFF |
| max_allowed_packet | 1048576 |
| max_connections | 100 |
| max_connect_errors | 10 |
| max_delayed_insert_threads | 20 |
| max_join_size | 4294967295 |
| max_sort_length | 1024 |
| max_write_lock_count | 4294967295 |
| net_buffer_length | 16384 |
| pid_file | /var/lib/mysql/mysqld.pid |
| port | 3306 |
| protocol_version | 10 |
| record_buffer | 131072 |
| skip_locking | ON |
| skip_networking | OFF |
| socket | /var/lib/mysql/mysql.sock |
| sort_buffer | 2097144 |
| table_cache | 64 |
| thread_stack | 65536 |
| tmp_table_size | 1048576 |
| tmpdir | /tmp/ |
| version | 3.22.32 |
| wait_timeout | 28800 |
+----------------------------+---------------------------+

I have followed the directions but the setup.cgi file looks in the wrong direction for the DBI.pm file, it is actually located in:

/usr/lib/perl5/site_perl/


Could someone help me out I am pretty lost. I do have the modules installed, (in case you thought maybe not)

Thank you, I appreciate your time.

Avery L. Brooks

Quote Reply
Answer !!!! In reply to
Greetings,

I found the answer, I installed the wrong package I am running redhat 6.2 and I installed an incorrect package.

The package I missed was: perl-DBI-1.07-2.i386.rpm

Just thought someone might need the answer, I erased these two packages out.

DBI-perl-bin-0.93-1.i386.rpm
mysql-DBI-perl-bin-1.825-1.i386.rpm

Remember to remove a package all you need to do is this: example,

rpm -e DBI-perl-bin-0.93-1

Thank you all for all the great help, and I hope this helps someone out there.

Avery