LinuxQuestions.org
Visit Jeremy's Blog.
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 07-30-2015, 09:05 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
Just installed Slackware 14.1, httpd and named can not start


So I just installed Slackware 14.1 and upon booting I got a message about there not being libarputil which is causing httpd to fail and the library libxml2 not being present and causing named to fail. What gives? I did uncheck certain things when installing Slackware (I basically unchecked KDE system libraries, Emacs, Games, I think thats about it...after the prompt I selected "full"). Do these need the multilib repository or something?
 
Old 07-30-2015, 09:32 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Well, there's a package for libxml2 under the l/ series and libaprutil (you have it misspelled) is located in the apr-util package, also under the l/ series (there is a patch available for this, so I'd recommend grabbing the patch over the stock library).

Looks like you somehow went a little too selective with your packages. This is why it is typically recommended to just install everything. Having KDE installed only requires the additional diskspace (which on today's harddrives is basically nothing) and it won't use any other resources unless you decide to start KDE or run a KDE program in another DE/WM. It is much easier to sacrifice that 1GB of space than to try and play dependency hunter.

If you want a quick fix to install everything (and I suppose you could blacklist kde and kdei), you can use slackpkg to install all missing packages. Then, if you really feel the need to clear up that little amount of hard drive space, maybe go through after and selectively uninstall what you definitely don't want. Just make sure you have a good mirror selected and have updated slackpkg.

Code:
slackpkg install slackware

--or--

slackpkg install slackware64
 
Old 07-30-2015, 10:03 PM   #3
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
There is absolute no reason to have anything kde installed unless you want to use kde or a kde program and slackware will run fine without anything from the kde series.
 
Old 07-30-2015, 10:21 PM   #4
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Well, there's a package for libxml2 under the l/ series and libaprutil (you have it misspelled) is located in the apr-util package, also under the l/ series (there is a patch available for this, so I'd recommend grabbing the patch over the stock library).

Looks like you somehow went a little too selective with your packages. This is why it is typically recommended to just install everything. Having KDE installed only requires the additional diskspace (which on today's harddrives is basically nothing) and it won't use any other resources unless you decide to start KDE or run a KDE program in another DE/WM. It is much easier to sacrifice that 1GB of space than to try and play dependency hunter.

If you want a quick fix to install everything (and I suppose you could blacklist kde and kdei), you can use slackpkg to install all missing packages. Then, if you really feel the need to clear up that little amount of hard drive space, maybe go through after and selectively uninstall what you definitely don't want. Just make sure you have a good mirror selected and have updated slackpkg.

Code:
slackpkg install slackware

--or--

slackpkg install slackware64
I really didn't think I was too selective though. Using this as an example although it is outdated because I think GNOME isnt provided anymore. http://www.slackware.com/install/softwaresets.php I unselected E, KDE, KDEI, T, TCL, and Y that was it. Don't know why I am missing those two libraries

I guess I will try doing slackpkg install slackware after configuring slackpkg however I would like to blacklist KDE, KDEI, and Games MINIMUM/I am fine with being able to disable only those. I would use the greylist file in /etc/slackpkg I assume....hmm really weird why it did that. I am going to assume I accidentally unchecked L somehow, its late when I did this. Im gonna do another re-install and see if that'll change it.
 
Old 07-30-2015, 10:24 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by orbea View Post
There is absolute no reason to have anything kde installed unless you want to use kde or a kde program and slackware will run fine without anything from the kde series.
I just used KDE as an example. Obviously other libraries are missing due to selectively choosing the installation rather than doing the recommended full install. Unless less than 1GB of hard drive space is really necessary, there isn't a major reason to not include KDE unless you're just against even having it on the computer. For everything on stock Slackware, slackbuilds.org, and a few other projects, they expect a Slackware system to be complete, and if something inadvertently links against something normally included in the KDE series, it may throw the user an error they don't understand how to fix.

Far too often we see requests on here about some issue the user is facing due to not installing the correct libraries. Unless you have the savvy to track all those dependencies down (which it certainly is possible, it just can take a good amount of time), it is best to just sacrifice that extra space (yet no RAM or CPU usage) and do a full install. KDE and XFCE can usually be left out of installations if space is at a premium, but unless a user has the know-how to track down missing dependencies, it's best to be careful about what you cut out of a Slackware install.

If you know your way around dependencies and determining what needs to be installed when you run into errors, then by all means, slice and dice your installation to your heart's content... otherwise, stick with the full install to minimize your headaches.
 
Old 07-30-2015, 10:35 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Altiris View Post
I really didn't think I was too selective though. Using this as an example although it is outdated because I think GNOME isnt provided anymore. http://www.slackware.com/install/softwaresets.php I unselected E, KDE, KDEI, T, TCL, and Y that was it. Don't know why I am missing those two libraries

I guess I will try doing slackpkg install slackware after configuring slackpkg however I would like to blacklist KDE, KDEI, and Games MINIMUM/I am fine with being able to disable only those. I would use the greylist file in /etc/slackpkg I assume....hmm really weird why it did that. I am going to assume I accidentally unchecked L somehow, its late when I did this. Im gonna do another re-install and see if that'll change it.
If I am remembering right, you should be able to run the following to install just the l/ series.

Code:
slackpkg install l
 
Old 07-30-2015, 10:39 PM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
My concern was that kde doesn't really have anything to do with the op's issue and that there isn't really any tracking down of dependencies without it installed. If the op has no interest in kde or kde programs than I'd say there is a lot more of an argument of not having it installed than having it installed. That said, I'm not going to sidetrack the op's thread with kde anymore than it already has been.
 
Old 07-30-2015, 11:01 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Often at times, some packages can have dependencies that are in other packages, so basically,

USE THE RECOMMENDED INSTALLATION

I hate to admit it, much less say it as such, but honestly, if you want full support, you should do a full install to avoid having us do your homework for you. There's a reason it is the recommended installation, because it installs all dependencies.

Last edited by ReaperX7; 07-30-2015 at 11:15 PM.
 
Old 07-30-2015, 11:03 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by orbea View Post
My concern was that kde doesn't really have anything to do with the op's issue and that there isn't really any tracking down of dependencies without it installed. If the op has no interest in kde or kde programs than I'd say there is a lot more of an argument of not having it installed than having it installed. That said, I'm not going to sidetrack the op's thread with kde anymore than it already has been.
OP said that kde and a few more were removed, none of which should've caused the problem. But obviously some stuff in the l/ series wasn't installed, which is what did cause the problem. Like OP said, it could've been caused by accidentally unchecking something else, but needless to say, this problem wouldn't have occurred if a full install was completed, which was my whole point in posting what I did.

Another option for OP and any others who come across this post, you can do a full install and then once you verify your system is up and running properly, you can use slackpkg to remove KDE, emacs, and/or any other series/packages.

Code:
slackpkg remove kde
slackpkg remove e
 
Old 07-30-2015, 11:15 PM   #10
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
OP said that kde and a few more were removed, none of which should've caused the problem. But obviously some stuff in the l/ series wasn't installed, which is what did cause the problem. Like OP said, it could've been caused by accidentally unchecking something else, but needless to say, this problem wouldn't have occurred if a full install was completed, which was my whole point in posting what I did.

Another option for OP and any others who come across this post, you can do a full install and then once you verify your system is up and running properly, you can use slackpkg to remove KDE, emacs, and/or any other series/packages.

Code:
slackpkg remove kde
slackpkg remove e
That is the best solution, I wasn't aware you completely remove sections like that so easily. Wow there are many options I can approach to solve this, thank you for the help! I really don't want to have things I don't need on the system, even some things included in XARP have things I don't want but I figured I would try removing them separately afterwards (the installer has option to select each one yes, I did full thought to avoid any future errors. I think what I will try is another re-install but still unchecking the few things I do not want and if I get the same problem ill either re-install everything and remove once I see everything working correctly or use the slackpkg install l or whatever else.

Thank You for your help, you guys are quick to respond and very helpful
 
  


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
Httpd wont start after upgrade to Slackware 14.0 SicnarfSteele Linux - Server 2 02-27-2013 01:17 AM
[SOLVED] Typo in as-installed /etc/httpd/httpd.conf? catkin Slackware 9 12-25-2010 07:49 AM
service named cant start error in named.conf file gayanasa Linux - Server 2 07-02-2008 09:58 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
httpd won't start (apache 2.0 newly installed) Who Linux - Software 1 03-28-2003 08:06 AM

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

All times are GMT -5. The time now is 10:11 PM.

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