LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2020, 09:52 AM   #1
rmcconnell
Member
 
Registered: Jan 2010
Location: Ithaca, NY
Distribution: Slackware
Posts: 36

Rep: Reputation: Disabled
Apache is missing pieces after updates


Saturday morning I started a series of updates on my only -current system. In addition to all of the slackware packages (except X and a few other superfluous packages, which are not installed), I updated Nextcloud from 17 to 18.0.1. After all that, the Apache error_log during startup shows it is missing php libraries curl, mbstring and wddx. In addition, it reports the Imagick is compiled against Image Magick 1801, but 1802 is installed. The end result is that the Nextcloud server is running and can be accessed from a desktop, but none of the mobile devices can access it. They all get 503 errors.

Are there more updates for these in the pipeline, or how do I get these onto this server?
 
Old 03-09-2020, 10:40 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,092

Rep: Reputation: Disabled
As have been said countless times, please report issues about a full Slackware installation, after having applied all available updates. The superfluous packages won't bite you but that will save a lot of time for people trying to help.
 
4 members found this post helpful.
Old 03-09-2020, 11:38 AM   #3
rmcconnell
Member
 
Registered: Jan 2010
Location: Ithaca, NY
Distribution: Slackware
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
As have been said countless times, please report issues about a full Slackware installation, after having applied all available updates. The superfluous packages won't bite you but that will save a lot of time for people trying to help.
In the 27 years since I first used Slackware to replace SLS, I have never done a full install. There is simply too much flotsam and jetsam there to waste my limited time and resources on. I know that this distribution has been going downhill lately, particularly with the recent switch to a toy database engine. But if you really can't even include all of the relevant components within each package, then perhaps it is time for me to take another look at some of the BSD distributions.
 
1 members found this post helpful.
Old 03-09-2020, 11:57 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,150

Rep: Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217Reputation: 4217
actually it's just you that decided deliberately to switch to current instead of upgrading just php and if you don't know how to handle the continuos update cycle of the developing version of Slackware (*not* a rolling release) maybe you better have stayed with stable...

good luck!
 
2 members found this post helpful.
Old 03-09-2020, 12:17 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107
Quote:
Originally Posted by rmcconnell View Post
In the 27 years since I first used Slackware to replace SLS, I have never done a full install. There is simply too much flotsam and jetsam there to waste my limited time and resources on.
With a full install, you would not not be wasting your, and our time.
Quote:
I know that this distribution has been going downhill lately, particularly with the recent switch to a toy database engine.
What toy database engine? Slackwareswitched nothing.

Quote:
But if you really can't even include all of the relevant components within each package, then perhaps it is time for me to take another look at some of the BSD distributions.
I think your issues are easily resolved by inspecting missing libraries and installing the required packages. That has not changed in 27 years.
 
1 members found this post helpful.
Old 03-09-2020, 03:48 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,574

Rep: Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641Reputation: 8641
Quote:
Originally Posted by rmcconnell View Post
Saturday morning I started a series of updates on my only -current system. In addition to all of the slackware packages (except X and a few other superfluous packages, which are not installed), I updated Nextcloud from 17 to 18.0.1. After all that, the Apache error_log during startup shows it is missing php libraries curl, mbstring and wddx. In addition, it reports the Imagick is compiled against Image Magick 1801, but 1802 is installed. The end result is that the Nextcloud server is running and can be accessed from a desktop, but none of the mobile devices can access it. They all get 503 errors.

Are there more updates for these in the pipeline, or how do I get these onto this server?
Have you made sure to install (or to port the changes from) any .new config files in httpd or php? That's that I'd look into first. I suspect that's at least part of the problem since you mention wddx, which is no longer an included extension, *and* is no longer listed in php.ini.
 
2 members found this post helpful.
Old 03-17-2020, 10:29 AM   #7
croxen
Member
 
Registered: May 2002
Posts: 100

Rep: Reputation: 42
One Apache startup error with PHP in -current seems to be:

"httpd: Syntax error on line 522 of /etc/http/httpd.conf: Syntax error on line 6 of /etc/httpd/mod_php.conf: cannot load lib64 lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: cannot load shared object file: No such file or directory"

The library in -current's /usr/lib64/httpd/modules is libphp7.so

I don't know if this accounts for any other issues. I don't really use Apache: I just fired it up because I needed it for a SQL training course.

Last edited by croxen; 03-17-2020 at 10:30 AM.
 
Old 03-17-2020, 10:57 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657
Quote:
Originally Posted by croxen View Post
One Apache startup error with PHP in -current seems to be:

"httpd: Syntax error on line 522 of /etc/http/httpd.conf: Syntax error on line 6 of /etc/httpd/mod_php.conf: cannot load lib64 lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: cannot load shared object file: No such file or directory"

The library in -current's /usr/lib64/httpd/modules is libphp7.so

I don't know if this accounts for any other issues. I don't really use Apache: I just fired it up because I needed it for a SQL training course.
Did you ever run slackpkg new-config after upgrading to -current? This just looks to be that you're still loading the mod_php.conf file from 14.2 and there's a good chance you have /etc/httpd/mod_php.conf.new sitting there that has the correct library name.
 
Old 03-17-2020, 11:10 AM   #9
croxen
Member
 
Registered: May 2002
Posts: 100

Rep: Reputation: 42
Quote:
Originally Posted by bassmadrigal View Post
Did you ever run slackpkg new-config after upgrading to -current? This just looks to be that you're still loading the mod_php.conf file from 14.2 and there's a good chance you have /etc/httpd/mod_php.conf.new sitting there that has the correct library name.
Ah, thanks. Exactly the issue: the mod_php.conf dated from the end of 2015. Now it all runs.

Looks like SQL is not the only thing I get to have training in today.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing pieces on web pages. Ex: the place where you type or reply inside a text bar kitkatny LQ Suggestions & Feedback 5 07-26-2010 09:20 AM
Why sendmail sends message in two pieces ? mikeshn Linux - Software 0 08-19-2003 06:49 PM
Im picking up the pieces now captain Zvezda Linux - Networking 1 10-30-2002 11:20 AM
God damned PC-Chips pieces of crap... Thymox General 4 03-31-2002 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration