Webmin is modular and self contained within it's directory.  You can
easily uninstall it to confirm this.  I think you'll find that it is not
your problem. 

If you think it still is e mail Jamie on the Webmin list.  he is very
knowledgeable and promptly replies.

Eric Shubert wrote:
> John wrote:
>>
>> ----- "Jake Vickers" <j...@qmailtoaster.com> wrote:
>>  > John wrote:
>>  > > When I visit the qmailadmin URL that I've always used I get a 500
>>  > > internal server error. Error log says
>>  > >
>>  > > /usr/share/qmailadmin/index.cgi: error while loading shared
>> libraries:
>>  > > libmysqlclient.so.15: cannot open shared object file: No such
>> file or
>>  > > directory
>>  > >
>>  > > So I'm tracing my steps and following various forum threads on the
>>  > > topic, trying things like removing and recreating the symlinks in
>>  > > /usr/lib/mysql, running ldconfig, restarting Apache, blah, blah,
>> blah.
>>  > > Nothing works. Restarts for qmailtoaster, Apache, and MySQL all
>> fine.
>>  > > Can login to mysql, can use command line commands for vpopmail, I
>>  > > don't get it.
>>  > >
>>  > > What has changed? Upgrade Webmin. Also, it is possible I've
>> screwed up
>>  > > /etc/group when I added apache as a member of the new group, but I
>>  > > scrolled back and diff'd the contents of /etc/group and no
>> difference.
>>  > > Upgraded qmailadmin while I was at it, no problems.
>>  > >
>>  > > ld.so.conf.d/mysql-i386.conf says to include /usr/lib/mysql.
>> Here are
>>  > > the contents of that dir:
>>  > >
>>  > > -rwxr-xr-x  1 root root    5421 Dec 18  2007 mysql_config
>>  > > -rwxr-xr-x  1 root root   11555 Dec 18  2007 mysqlbug
>>  > > -rw-r--r--  1 root root  318772 Dec 18  2007 libmysys.a
>>  > > -rw-r--r--  1 root root 1640514 Dec 18  2007 libmysqlclient_r.a
>>  > > -rw-r--r--  1 root root   30466 Dec 18  2007 libmyisammrg.a
>>  > > -rw-r--r--  1 root root  373280 Dec 18  2007 libmyisam.a
>>  > > -rw-r--r--  1 root root   50492 Dec 18  2007 libheap.a
>>  > > -rw-r--r--  1 root root   17510 Dec 18  2007 libvio.a
>>  > > -rw-r--r--  1 root root 1359406 Dec 18  2007 libmystrings.a
>>  > > -rwxr-xr-x  1 root root 1444188 Dec 18  2007
>> libmysqlclient.so.15.0.0
>>  > > -rwxr-xr-x  1 root root 1450532 Dec 18  2007
>> libmysqlclient_r.so.15.0.0
>>  > > -rw-r--r--  1 root root 1631912 Dec 18  2007 libmysqlclient.a
>>  > > -rw-r--r--  1 root root   11976 Dec 18  2007 libdbug.a
>>  > > drwxr-xr-x 63 root root   16384 May 22 04:02 ..
>>  > > lrwxrwxrwx  1 root root      24 Oct 25 12:00
>> libmysqlclient.so.15 ->
>>  > > libmysqlclient.so.15.0.0
>>  > > lrwxrwxrwx  1 root root      26 Oct 25 12:01
>> libmysqlclient_r.so.15 ->
>>  > > libmysqlclient_r.so.15.0.0
>>  > > lrwxrwxrwx  1 root root      24 Oct 25 12:01 libmysqlclient.so ->
>>  > > libmysqlclient.so.15.0.0
>>  > > lrwxrwxrwx  1 root root      26 Oct 25 12:01 libmysqlclient_r.so ->
>>  > > libmysqlclient_r.so.15.0.0
>>  > > drwxr-xr-x  2 root root    4096 Oct 25 12:14 .
>>  > >
>>  > > ldconfig -v |grep libmysqlclient shows
>>  > >
>>  > >        libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
>>  > >        libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
>>  > >
>>  > > ldd /usr/share/qmailadmin/index.cgi |grep libmysql shows
>>  > >
>>  > >        libmysqlclient.so.15 => /usr/lib/mysql/libmysqlclient.so.15
>>  > > (0x005b9000)
>>  > >
>>  > > Any clues appreciated.
>>  >
>>  >
>>  > Can you tell us a little about your system? (distro/arch)
>>  > When you upgraded qmailadmin, what switches did you use to rebuild
>> it?
>>  > What does the command "getenforce" show?
>>  >
>>
>> I wrote this original post but I'm replying from this email that I
>> have to use since my system isn't processing email. Interesting that
>> this one got through, as I never received it to the original address.
>> So this email may be somewhat tied to my other post about upgrading
>> clamav and email no longer working. Amazingly, I might have been
>> right about that since this email went through after I upgraded
>> Webmin, and after I upgraded qmailadmin. FYI I mentioned in my other
>> thread that I fixed the qmailadmin 500 internal server error by
>> creating a symlink to the libmysqlclient.so.15 in /usr/lib. I created
>> symlinks to the others while I was there, even though this alone
>> fixed it:
>>
>> cd /usr/lib
>> ln -s mysql/libmysqlclient.so.15.0.0 libmysqlclient.so.15
>>
>> I still don't know why I needed to do this, since /etc/ld.so.conf
>> includes this line:
>> include ld.so.conf.d/*.conf
>>
>> and ld.so.conf.d/*.conf points to /etc/ld.so.conf.d/mysql-i386.conf,
>> which includes this line:
>> /usr/lib/mysql
>>
>> which is the directory that includes libmysqlclient.so.15 (symlink to
>> libmysqlclient.so.15.0.0). Smelled like a permision issue to me
>> yesterday, and still does.
>>
>> getenforce command indicates disabled.
>>
>> I've also just noticed squirrelmail is down (blank white screen). Log
>> shows
>>
>> PHP Warning:  require_once(../config/config.php) [<a
>> href='function.require-once'>function.require-once</a>]: failed to
>> open stream: Permission denied in
>> /usr/share/squirrelmail/functions/global.php on line 92
>> PHP Fatal error:  require_once() [<a
>> href='function.require'>function.require</a>]: Failed opening
>> required '../config/config.php' (include_path='.:/usr/share/pear') in
>> /usr/share/squirrelmail/functions/global.php on line 92
>>
>> So squirrelmail and qmailadmin not working: fairly certain a result
>> of the Webmin upgrade, v1.410 to v1.490, as nothing else interesting
>> going on prior to that.
>>
>> John
>>
>
> I know next to nothing about webmin, so I'm afraid I'm can't be much
> help. I would however be inclined to reinstalling mysql with --force
> option instead of adding a symlink manually that the package should
> provide. If the symlink somehow got hosed, who knows what else in the
> package is amiss?
>

-- 
Cecil Yother, Jr. "cj"

cj's
2318 Clement Ave
Alameda, CA   94501
tel 1.510.865.2787 | fax 1.510.864.7300
http://yother.com


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to