ts-7000
[Top] [All Lists]

[ts-7000] Re: mysql can not start

To:
Subject: [ts-7000] Re: mysql can not start
From: "charliem_1216" <>
Date: Wed, 08 Aug 2007 14:04:05 -0000
Hi --

--- In  "newpants2004" <> 
wrote:
>
> > I'm not sure what you are asking here.  For running a kernel of
> > version 'uname -r', modules for that kernel should be
> > in /lib/modules/'uname -r'.  There is no problem having both
> > directories -ts10 and -ts11.  Modules.conf should not have any
> > directory paths in it, just module names (other than /dev nodes 
of
> > course).
> >
> > Regards, ...... Charlie
> >
> 
> 
> ok... just reformat and installed the debian-sarge download form 
web.

Is it the latest version (debian-sarge-1.11.bz2) or something else?

> 
> output error after the fresh install:
> 

Can you post the redboot command line you use to boot this CF image?

> 
> ........................................................
> Creating extra device nodes...done.
> Started device management daemon v1.3.25 for /dev
>   /dev/ide/host0/bus0/target0/lun0: p1
> modprobe: Can't open dependencies file
> /lib/modules/2.4.26-ts11/modules.dep (No such file or directory)
> modprobe: Can't open dependencies file
> /lib/modules/2.4.26-ts11/modules.dep (No such file or directory)
> modprobe: Can't open dependencies file
> /lib/modules/2.4.26-ts11/modules.dep (No such file or directory)

Sorry, no idea here.  If there are only ts-10 modules shipped with a 
ts-11 kernel, then that CF image is broken.  Please check that you 
have the latest version of the sarge image.

> 
> The device node /dev/sdcard0/disc0/part3 for the root filesystem 
is
> missing,
> incorrect, or there is no entry for the root filesystem
> listed in /etc/fstab.

Well, what does your /etc/fstab contain?  There should be a line 
listing / as being on /dev/hda1.  Look for a file /etc/fstab.cf, and 
if it's reasonable, just rename it to /etc/fstab and reboot.  See 
also:
http://tech.groups.yahoo.com/group/ts-7000/message/7913

> 
> The system is also unable to create a temporary node in
> /dev/shm to use as a work-around.
> 
> This means you have to fix this manually.
> 
> CONTROL-D will exit from this shell and REBOOT the system.
> 
> Press enter for maintenance
> (or type Control-D to continue):
> ...................................................................
> 
> fsck can be fix easily.
> 
> dont know how to fix the /dev/shm problem. and modules.dep
> 
> uname -r :  2.4.26-ts11
> only  2.4.26-ts10 in /lib/modules
> so...
> after copy the 2.4.26-ts11 to the CF the output error:
> 
> Note: /etc/modules.conf is more recent than
> /lib/modules/2.4.26-ts11/modules.dep
> Note: /etc/modules.conf is more recent than
> /lib/modules/2.4.26-ts11/modules.dep
> Note: /etc/modules.conf is more recent than
> /lib/modules/2.4.26-ts11/modules.dep

'depmod -a' will generate a modules.dep file for you, but you should 
not need to do that unless you (re)compile new modules.

> .
> .
> .
> 
> after login, i tried to start mysql:
> 
> :root# /etc/init.d/mysql start
> Starting MySQL database server: mysqld...failed.
>          Please take a look at the syslog.

Well, what does the syslog say?

> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)'
> Check that mysqld is running and that the socket:
> '/var/run/mysqld/mysqld.sock' exists!
> :root#

If you have problems loading modules at boot time, I guess you are 
missing some critical modules that mysql (and probably many other 
programs) needs.

> 
> 
> 
> where are the problem come from?
> i dont think the pre-install package they post for download are 
fully
> test.
> im getting very frustrated.

I'm sorry you are frustrated, but please realize that this is not a 
general purpose linux distribution!  The TS boards are small and 
economical, but are also resource constrained, not i386, and need 
some level of linux skill (especially for problem solving).  

A very good way to develop your embedded system is to first get it 
working on i386 (debian sarge for example), _then_ set up the same 
stuff on the embedded arm system once things are working.

That said, however, I suspect most of your problems are caused by 
not finding modules at boot time.

regards, ....... Charlie

> 
> thanks for your time.
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU