View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Nov 12, 2011 11:40 am 
Offline
Joined: Sat May 19, 2007 4:40 pm
Posts: 41
I'm having a number of problems after I upgraded my backend and front end to 7 this morning. I've tried my powers of googlefu, and local search with no avail. Perhaps someone can help?

1. NFS doesn't come up cleanly (on either machine) when I reboot. It won't automount my volumes. When I try to manually mount them, I get:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

If I manually run "rpcbind start", I can then mount my NFS volumes correctly, but I don't know why it's not starting automatically.

2. Mythweb on the back end isn't working. When I try to connect I get:

Fatal Error

!!NoTrans: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [#2002]

Backtrace
Array
(
[0] => Array
(
[file] => /data/srv/httpd/htdocs/mythweb/classes/Database/Query/mysql.php
[line] => 67
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [#2002]
[err] => Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[errno] => 2002
[last_sh] => Database_Query_mysql Object
(
[dbh] =>
[query] => Array
(
[0] => SET NAMES utf8;
) <blah blah blah>

I've checked /etc/mysql/my.cnf, and both the server and the client socket are set to:

socket = /var/run/mysqld/mysqld.sock

I don't know why mythweb is trying to use /tmp/mysqld.sock

3. My remote and LCD configs are both lost (again). Going to have to noodle this one out myself :(

Any help?

Thanks,

Brian


Last edited by bpmcgee on Sun Nov 13, 2011 2:25 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2011 12:58 pm 
Offline
Joined: Sat May 19, 2007 4:40 pm
Posts: 41
For problem #2. This might be a red herring, but in "messages.log" I get the following every time I try to load mythweb:

Nov 12 12:52:17 noisy php-cgi: PHP Warning: require(modules/_shared/tmpl/tmpl/footer.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /data/srv/httpd/htdocs/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 47


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2011 1:25 pm 
Offline
Joined: Sat May 19, 2007 4:40 pm
Posts: 41
UPDATE:

Fixed Mythweb by changing (in /etc/php/php.ini)

from:

mysql.default_socket =

to:

mysql.default_socket = /var/run/mysqld/mysqld.sock


and restarting lighttpd (sv restart lighttphd)

Still don't know about #1


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2011 3:41 pm 
Offline
Joined: Thu Jan 01, 2004 9:21 pm
Posts: 84
Location: Fort Collins, CO USA
bpmcgee,

Thanks for posting this. Your solution to #2 fixed that for me too. (although you might fix your typo at the end (sv restart lighttphd) should be (sv restart lighttpd).

That fix got me to the main MythWeb page. Now if I could just get my Mythbackend to work. Nothing can connect to it although it does seem to load. Don't want to hijack your thread so I'll start a new one for that. Thanks again.

Steve

_________________
LinHES 8.4.1
MBE/FE: Athlon II X4 620, 2GB RAM, 12TB HD Storage, NVIDIA GT520, HD PVR
SBE/FE: Athlon II X4 625, 2GB RAM, 4.5TB HD Storage, NVIDIA 210
FE: iMac 27"
HDHomeRun Prime


Top
 Profile  
 
PostPosted: Sun Nov 13, 2011 2:24 pm 
Offline
Joined: Sat May 19, 2007 4:40 pm
Posts: 41
Okay, solution to #1 was that the upgrade didn't completely set up the paths needed for sv to run rpcbind. Specifically the two symbolic links it needs:

as root:

ln -s /etc/sv/rpcbind /service/rpcbind
ln -s /etc/sv/rpcbind /var/service/rpcbind

Seems to do the trick.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2011 3:49 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Thanks.
Code:
sudo add_service.sh rpcbind

will setup the links for you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2011 2:48 am 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Will this help with the remote problem?
http://knoppmyth.net/phpBB2/viewtopic.php?p=133414


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 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