Harondel J. Sibble wrote:
> That's the correct time now, but the guide is STILL showing the wrong time...

Try connecting via telnet, verify again that the TZ is correct, kill 
mvpmc, and start it manually. Then see if the guide is still wrong. 
That'll confirm that you're launching mvpmc from an environment with the 
time zone set.


> I do set it via dhcp, on the mvp's it doesn't seem to take, works fine with 
> all the other machines on the lan though.

You can troubleshoot this by examining /etc/udhcpc.config on your MVP 
and seeing what NTP is set to. If it is there, and set to something 
reasonable, try killing the NTP client:
# killall ntpclient

and then starting it in the same way that the /etc/rcS script does, 
which is approximately:

# /bin/ntpclient -d -l -h "$NTP" &

and see if that works.


>>> export HNAME=`hostname`
>>> hostname `cat /mvpmc-media/settings/$HNAME`
>>> export HNAME=`hostname`
>> I'm not following what you're trying to accomplish here.
> 
> It was something either you or Roger (IIRC) mentioned a while back (last year 
> sometime) in relation to getting the hostname setup on the mvp for use in 
> saving settings to a file on a per hostname basis.

I use some code like:

. /etc/udhcpc.config
[...]
RSETTINGS=settings.${HNAME:-$IP}

to build a file name for saving settings that incorporates the host 
name. Both $HNAME and $IP are imported from /etc/udhcpc.config. In my 
case $HNAME gets set to something useful and unique by my DHCP server.

I've seen startup scripts that play around with the hostname command due 
to their DHCP server not properly assigning a hostname to their MVP.


>> The mvpmc executable does not go into the background, and thus nothing 
>> beyond this point will be executed unless you terminate that line with a 
>> "&".
> 
> Contrary to your assertion, the items following do get run as I am able to 
> access the diretories and contents just fine.

There's a possible explanation for that: if your command line has an 
error in it (and mvpmc is really picky) it will blurt out an error and 
exit (or crash), allowing the remainder of your code to work, and the 
fall-back startup command in /etc/rcS to run.

Are you sure the command line options you are specifying are having an 
effect? Does your database connection work, for example?

  -Tom

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to