View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 13, 2013 1:00 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Upgraded my box yesterday at bootup see this message in Messages.log

2013-10-13T11:34:47.600135-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-10-13T11:34:47.602292-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

Code:
pacman -Q | grep php

php 5.4.8-1
php-cgi 5.4.8-1


Are php5-gd and php5-mcrypt packages missing?


Last edited by RacerX on Sun Oct 13, 2013 7:24 pm, edited 2 times in total.


Top
 Profile  
 
PostPosted: Sun Oct 13, 2013 3:06 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I'm running 8.02 and all is working fine. I checked for the file your giving you the error I have the file but not at the location that is giving you the error.

Quote:
/usr/lib/php/modules/gd.so


Mines located at:
/usr/lib/libgd.so

Maybe a path problem?


Top
 Profile  
 
PostPosted: Sun Oct 13, 2013 4:07 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Thanks I checked the for the file and it's in the same location as yours.

Code:
find / -name libgd.so

/usr/lib/libgd.so


it's looking for

/usr/lib/php/modules/gd.so

Right now it's just an error in the log over and over so does this need a symbolic link?


Top
 Profile  
 
PostPosted: Sun Oct 13, 2013 5:07 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I say maybe just a path change in the ini file maybe, You could try a link and see it the error goes away


Top
 Profile  
 
PostPosted: Sun Oct 13, 2013 7:24 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Not sure why this error cropped up but I figured out a solution from this

tickethttp://linhes.org/issues/867

There are two optional packages for

gd.so and mcrypt.so

pacman -Sy php-gd.so
pacman -Sy php-mcrypt.so

After I installed these packages I no longer see the error in the Messages.log


Top
 Profile  
 
PostPosted: Mon Oct 14, 2013 12:44 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Where are you getting that you are on R8.02? /etc/LinHES-release is the release.


Top
 Profile  
 
PostPosted: Mon Oct 14, 2013 4:49 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Pulled my 100gb laptop drive from my setup. Used OCZ toolbox to secure erase the SSD. Then Installed R8 2-11-2013 from CD onto the SSD

Setup the system and install chromium, flashplugin, and xmbc

Code:
Pacman -SYU 
and it updated to R8.02

Then myth setup audio changed mixer device to software so volume control would work with Logitech Z5 Speakers like it does in XBMC

Code:
/home/mythtv/.mythtv/mysql.txt
/usr/MythVanatge/templates/mysql.txt


Setup on both files
DbHostName=127.0.0.1

Add 100gb drive removed all partitions the ran add_storyage.py and it created a storage group

Examined mythbackend.log
Quote:
This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').


http://forum.linhes.org/viewtopic.php?f=17&t=23735
post from Jams
Code:
edit /etc/locale.conf
add
LANG="en_US.UTF-8"


save
reboot

And that message disappeared

Install Mythwelcome, ran the config script. ran the 5 minute test.

so far so good - but it does not show shutdown timer

changed

Code:
Mythsetup/General/Shutdown/Wakeup Options/
Code:
Idle Shutdown Timer: 30 (seconds)
Server Halt Command: mythwelcome --shutdown

Code:
nano /etc/sudoers

add this line to end of the file and save
Code:
%mythtv localhost = NOPASSWD: /usr/bin/mythshutdown

now shutdown works correctly

Checked Messages.txt and I see over and over in the log

Quote:
2013-10-13T11:34:47.600135-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-10-13T11:34:47.602292-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0


tickethttp://linhes.org/issues/867
There are two optional packages for

gd.so and mcrypt.so

Code:
pacman -Sy php-gd.so
pacman -Sy php-mcrypt.so


After I installed these packages I no longer see the error in the Messages.log


Top
 Profile  
 
PostPosted: Tue Oct 15, 2013 8:54 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
RacerX wrote:
Code:
Pacman -SYU 
and it updated to R8.02
Where are you seeing R8.02? There is no R8.02, only R8.

RacerX wrote:
Code:
/home/mythtv/.mythtv/mysql.txt
/usr/MythVanatge/templates/mysql.txt


Setup on both files
DbHostName=127.0.0.1
Why did you add /home/mythtv/.mythtv/mysql.txt to your system? Why did you need it? By default /usr/MythVanatge/templates/mysql.txt should have already had DbHostName set to 127.0.0.1. What was yours set to?

RacerX wrote:
Examined mythbackend.log
Quote:
This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').


http://forum.linhes.org/viewtopic.php?f=17&t=23735
post from Jams
Code:
edit /etc/locale.conf
add
LANG="en_US.UTF-8"


save
reboot

And that message disappeared
I just pushed a fix for this.

RacerX wrote:
Install Mythwelcome, ran the config script. ran the 5 minute test.

so far so good - but it does not show shutdown timer

changed

Code:
Mythsetup/General/Shutdown/Wakeup Options/
Code:
Idle Shutdown Timer: 30 (seconds)
Server Halt Command: mythwelcome --shutdown
What was this set to before for you? The mythwelcome-config.py should have set these values. The only difference is mythwelcome-config.py set the entire path to mythwelcome.

RacerX wrote:
Code:
nano /etc/sudoers

add this line to end of the file and save
Code:
%mythtv localhost = NOPASSWD: /usr/bin/mythshutdown

now shutdown works correctly
This should be done by default in R8 for the mythtv user in
Code:
sudo cat /etc/sudoers.d/system_sudo


RacerX wrote:
Checked Messages.txt and I see over and over in the log

Quote:
2013-10-13T11:34:47.600135-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-10-13T11:34:47.602292-05:00 mythbox php-cgi: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0


tickethttp://linhes.org/issues/867
There are two optional packages for

gd.so and mcrypt.so

Code:
pacman -Sy php-gd.so
pacman -Sy php-mcrypt.so


After I installed these packages I no longer see the error in the Messages.log
Still looking at this one to see if we really need gd and mcrypt in the php.ini.

Thanks for the feedback.
Britney


Top
 Profile  
 
PostPosted: Tue Oct 15, 2013 2:16 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
brfransen wrote:
Still looking at this one to see if we really need gd and mcrypt in the php.ini.

I made php-gd and php-mcrypt deps of php so they will get installed by default with php.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 30 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu