LAMP setup failed - A newer kernel is required to run this …

This forum is for all other ARMv5 devices

LAMP setup failed - A newer kernel is required to run this …

Postby TheJayOJ » Thu Dec 20, 2012 10:22 am

This is the whole output of what happened. mysql won't install. Requires new kernel it says.
$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Sy apache mysql php
:: Synchronizing package databases...
core 38.4 KiB 11.5K/s 00:03 [######################] 100%
extra 437.1 KiB 8.26K/s 00:53 [######################] 100%
community 440.1 KiB 10.7K/s 00:41 [######################] 100%
alarm 4.9 KiB 13.4K/s 00:00 [######################] 100%
aur 12.2 KiB 16.6K/s 00:01 [######################] 100%
resolving dependencies...
looking for inter-conflicts...

Targets (10): apr-1.4.6-1 apr-util-1.5.1-1 libltdl-2.4.2-7
libmysqlclient-5.5.28-1 libxml2-2.8.0-1 mysql-clients-5.5.28-1
unixodbc-2.3.1-1 apache-2.2.23-1 mysql-5.5.28-1 php-5.4.9-1

Total Download Size: 17.12 MiB
Total Installed Size: 147.45 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
libltdl-2.4.2-7-arm 146.6 KiB 15.0K/s 00:10 [######################] 100%
:: Retrieving packages from extra...
apr-1.4.6-1-arm 227.9 KiB 10.9K/s 00:21 [######################] 100%
unixodbc-2.3.1-1-arm 170.5 KiB 12.6K/s 00:14 [######################] 100%
apr-util-1.5.1-1-arm 145.0 KiB 12.8K/s 00:11 [######################] 100%
apache-2.2.23-1-arm 810.8 KiB 12.1K/s 01:07 [######################] 100%
libmysqlclient-5.5.... 3.1 MiB 11.6K/s 04:37 [######################] 100%
mysql-clients-5.5.2... 745.6 KiB 12.2K/s 01:01 [######################] 100%
mysql-5.5.28-1-arm 7.9 MiB 13.2K/s 10:11 [######################] 100%
libxml2-2.8.0-1-arm 1328.3 KiB 13.0K/s 01:42 [######################] 100%
php-5.4.9-1-arm 2.6 MiB 12.6K/s 03:33 [######################] 100%
(10/10) checking package integrity [######################] 100%
(10/10) loading package files [######################] 100%
(10/10) checking for file conflicts [######################] 100%
(10/10) checking available disk space [######################] 100%
( 1/10) installing apr [######################] 100%
( 2/10) installing libltdl [######################] 100%
( 3/10) installing unixodbc [######################] 100%
( 4/10) installing apr-util [######################] 100%
( 5/10) installing apache [######################] 100%
Optional dependencies for apache
lynx: apachectl status
( 6/10) installing libmysqlclient [######################] 100%
( 7/10) installing mysql-clients [######################] 100%
( 8/10) installing mysql [######################] 100%
Installing MySQL system tables...
A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
1001 | eval "$filter_cmd_line"
1004 Aborted (core dumped) | $mysqld_install_cmd_line > /dev/null

Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.

You can try to start the mysqld daemon with:

shell> /usr/bin/mysqld --skip-grant &

and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/scripts/mysqlbug script!

( 9/10) installing libxml2 [######################] 100%
(10/10) installing php [######################] 100%')

And Apache daemon doesn't start.
$this->bbcode_second_pass_code('', '[root@alarm ~]# systemctl start httpd
Failed to get D-Bus connection: No connection to service manager.
')

I had this problem yesterday and used the fix suggested/used by the OP. I don't think that is causing this behavior, but still, full disclosure.
Last edited by TheJayOJ on Thu Dec 20, 2012 10:28 am, edited 1 time in total.
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: Apache MySQL PHP installation/setup failed.

Postby TheJayOJ » Thu Dec 20, 2012 10:26 am

Also, is this the correct place to ask for advice/help on these issues? I think the kernel thing would belong here though.
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: Apache MySQL PHP installation/setup failed.

Postby pepedog » Thu Dec 20, 2012 10:28 am

You have a Pogoplug Pro/Video/V3/B0x
No systemd for this yet
rc.d start httpd
And edit /etc/rc.conf and put httpd in DAEMONS line
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Apache MySQL PHP installation/setup failed.

Postby TheJayOJ » Thu Dec 20, 2012 10:31 am

$this->bbcode_second_pass_quote('pepedog', 'Y')ou have a Pogoplug Pro/Video/V3/B0x
No systemd for this yet
rc.d start httpd
And edit /etc/rc.conf and put httpd in DAEMONS line


Thanks!

What about the mysql setup failure?
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: LAMP setup failed - A newer kernel is required to run th

Postby TheJayOJ » Thu Dec 20, 2012 10:35 am

Changed the thread title to better reflect the context. Apologies for any confusion.
Circling the drain. At 7200 RPM.
TheJayOJ
 
Posts: 31
Joined: Tue Mar 06, 2012 1:14 pm

Re: LAMP setup failed - A newer kernel is required to run th

Postby Scarfish » Thu Dec 20, 2012 11:05 am

A simple search for MySQL gives me this thread: http://archlinuxarm.org/forum/viewtopic.php?f=29&t=3082&start=10
Scarfish
 
Posts: 14
Joined: Fri Jan 20, 2012 3:02 pm

Re: LAMP setup failed - A newer kernel is required to run th

Postby chat1410 » Thu Dec 20, 2012 5:19 pm

I remember issues when I installed LAMP for ownCloud. I used the thread Scarfish linked to to grab an older version of MySQL. Things still didn't work perfectly and I resorted to SQLLite. Unless you absolutely need MySQL, try SQLLite instead.
chat1410
 
Posts: 28
Joined: Thu Nov 01, 2012 5:55 pm

Re: LAMP setup failed - A newer kernel is required to run th

Postby karog » Thu Dec 20, 2012 5:36 pm

I am the one that uploaded mysql-5.5.24-1.tar.gz in that thread. It has been downloaded 109 times as of 12-20-2012.

I have been running it for months with innodb on a pogo v3 and it has been working just fine. I use it for mythtv so it gets a pretty good work out.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 22 guests