[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache, PHP and Mysql on NSLU2



On Sat, 2007-06-23 at 10:07 -0400, Aaron Klein wrote:
> 1) I first tired to install apache, php and mysql all in one command
> and it bombed out so I started doing it one at a time.

...And it was only mysql which bailed out. Strange!

> 2) dont know I have seen others with simular error messages post on
> the web for slugs and non slugs but the answer has always been to run
> apt-get -f install and it fixes it.

Yes, but I don't think those are the same errors. For them, dpkg -l
probably told them a package was half-installed or something like that.

> 3) Oddly enough I dont appear to have a file named ScreenSize.pm in
> that folder.  Here is the contents of that folder.  I have it two
> different formats because I know some folks see it better as a list
> than in columns.
> 
> SLUG:/usr/share/perl5/Debconf# ls
> AutoSelect.pm  Config.pm    Element      Format.pm    Iterator.pm  Template
> Base.pm        Db.pm        Element.pm   FrontEnd     Log.pm       Template.pm
> Client         DbDriver     Encoding.pm  FrontEnd.pm  Priority.pm  TmpFile.pm
> ConfModule.pm  DbDriver.pm  Format       Gettext.pm   Question.pm

<snip>

<sigh>
me again! It should be in /usr/share/perl5/Debconf/FrontEnd/ ...
</sigh>

David


> On 6/23/07, David Fokkema <dfokkema@ileos.nl> wrote:
> > On Sat, 2007-06-23 at 08:59 -0400, Aaron Klein wrote:
> > > I used the Debian/NSLU2 Stable 4.0r0 firmware.
> >
> > Ok, then it _should_ work. So you've hit a very strange bug or file
> > corruption resulting in strange behaviour or something like that.
> >
> > It would be very helpful to know a few things:
> >
> > 1) When and how did your problem start and do you see it when you
> > install other packages as well?
> > 2) Are there other people who hit the same bug when they install
> > mysql-server-5.0?
> > 3) What are the contents of your /usr/share/perl5/Debconf/ScreenSize.pm
> > at lines 33 and 48? Do they match mine? (probably...)
> >
> > I installed etch before release and upgraded mysql-server alone several
> > times. That's not the same as installing it cleanly. I have never
> > encountered that bug, but that might say nothing at all...
> >
> > Luck,
> >
> > David
> >
> >
> >
> >
> > > On 6/23/07, David Fokkema <dfokkema@ileos.nl> wrote:
> > >
> > > >
> > > > Oops, off list. Did you install those packages before or after
> > > > mysql-server showed problems?
> > > >
> > > > I don't know if eabi shows up in the uname -a string. How did you
> > > > install debian on your slug? Did you just use the debian etch installer
> > > > image? In other words, did you follow the instructions on this
> > > > (http://www.cyrius.com/debian/nslu2/) page? Which image did you download
> > > > from this (http://www.slug-firmware.net/) page: the debian/nslu2 one or
> > > > the Experimental Unstable Unsupported Alpha Release? I hope it's the
> > > > former one, ;-) I really like the latter one, but as it says, it's
> > > > experimental, unstable, unsupported and alpha, ;-))
> > > >
> > > > Luck,
> > > >
> > > > David
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > > On 6/22/07, David Fokkema <dfokkema@ileos.nl> wrote:
> > > > > > On Fri, 2007-06-22 at 14:02 -0400, Aaron Klein wrote:
> > > > > > > I have lighttpd and php5 now working properly as I can see the phpinfo
> > > > > > > page I made but I have difficulty with mysql installing.  I have been
> > > > > > > trying and I am getting the same message I have been getting for a few
> > > > > > > days now.  I mess around till I finally get the apt-get process
> > > > > > > cleaned up but every time I go to do another install of mysql I get
> > > > > > > messags like this.
> > > > > > >
> > > > > > > SLUG:/# apt-get install php5-mysql mysql-server
> > > > > > > Reading package lists... Done
> > > > > > > Building dependency tree... Done
> > > > > > > The following extra packages will be installed:
> > > > > > >   mysql-server-5.0
> > > > > > > Suggested packages:
> > > > > > >   tinyca
> > > > > > > The following NEW packages will be installed:
> > > > > > >   mysql-server mysql-server-5.0 php5-mysql
> > > > > > > 0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
> > > > > > > Need to get 25.4MB of archives.
> > > > > > > After unpacking 68.0MB of additional disk space will be used.
> > > > > > > Do you want to continue [Y/n]? y
> > > > > > > Get:1 http://ftp.egr.msu.edu etch/main mysql-server-5.0 5.0.32-7etch1 [25.3MB]
> > > > > > > Get:2 http://security.debian.org etch/updates/main php5-mysql
> > > > > > > 5.2.0-8+etch4 [63.9kB]
> > > > > > > Get:3 http://ftp.egr.msu.edu etch/main mysql-server 5.0.32-7etch1 [46.7kB]
> > > > > > > Fetched 25.4MB in 4m6s (103kB/s)
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33, <> line 3.
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48, <> line 3.
> > > > > > > Can't fork at /usr/sbin/dpkg-preconfigure line 67, <> line 3.
> > > > > > > Selecting previously deselected package mysql-server-5.0.
> > > > > > > (Reading database ... 18071 files and directories currently installed.)
> > > > > > > Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.32-7etch1_arm.deb) ...
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33.
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48.
> > > > > > > open2: fork failed: Cannot allocate memory at
> > > > > > > /usr/share/perl5/Debconf/ConfModule.pm line 58
> > > > > > > dpkg: error processing
> > > > > > > /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch1_arm.deb
> > > > > > > (--unpack):
> > > > > > >  subprocess pre-installation script returned error exit status 9
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 33.
> > > > > > > Use of uninitialized value in pattern match (m//) at
> > > > > > > /usr/share/perl5/Debconf/FrontEnd/ScreenSize.pm line 48.
> > > > > > > open2: fork failed: Cannot allocate memory at
> > > > > > > /usr/share/perl5/Debconf/ConfModule.pm line 58
> > > > > > > dpkg: error while cleaning up:
> > > > > > >  subprocess post-removal script returned error exit status 9
> > > > > > > Selecting previously deselected package mysql-server.
> > > > > > > Unpacking mysql-server (from .../mysql-server_5.0.32-7etch1_all.deb) ...
> > > > > > > Selecting previously deselected package php5-mysql.
> > > > > > > Unpacking php5-mysql (from .../php5-mysql_5.2.0-8+etch4_arm.deb) ...
> > > > > > > Errors were encountered while processing:
> > > > > > >  /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch1_arm.deb
> > > > > > > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > > > > > > SLUG:/#
> > > > > > >
> > > > > >
> > > > > > Ouch. I have never seen this. Those files mentioned are part of the
> > > > > > debconf package. Just a shot in the dark: are you logged in using a
> > > > > > nonstandard terminal size? What arm port are your running? The current
> > > > > > official one (oldabi) or the onofficial experimental eabi? If you see
> > > > > > things like this, I don't think they are related to mysql. What happens
> > > > > > if you install other packages?
> > > > > >
> > > > > > Maybe your perl installation is corrupted??? You could try reinstalling
> > > > > > perl5? I don't get this (m//) pattern warning. My line 33 and 48 read:
> > > > > >
> > > > > >                 my ($rows)=`stty -a 2>/dev/null` =~ m/rows (\d+)/s;
> > > > > >                 my ($cols)=`stty -a 2>/dev/null` =~ m/columns (\d+)/s;
> > > > > >
> > > > > > or, (m/) patterns... I don't know if that's relevant...
> > > > > >
> > > > > > Good luck,
> > > > > >
> > > > > > David
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> > > > > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> > > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Have pets?  Get the help you need from the Pet Advice Network.
> > > We have 6 websites ready to help you.  http://www.petadvice.net
> > >
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
> 
> 
> -- 
> Have pets?  Get the help you need from the Pet Advice Network.
> We have 6 websites ready to help you.  http://www.petadvice.net
> 
> 



Reply to: