LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-01-2014, 05:34 PM   #1
heytchap
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Rep: Reputation: Disabled
nxlog + ubuntu 14.04 (trusty) -- this combination DOES NOT work.


Hey everyone.

I posted this to the nxlog support forums as well, but there doesn't seem to be a lot of activity there.

The short of the issue is that I am unable to install nxlog on a ubuntu 14 server. I am hit with tons of dependency issues that I am unable to resolve.

The package available here: http://sourceforge.net/projects/nxlog-ce

Seems to only work for u12.04. When attempting to install on a u12 server, here are the steps taken as per the nxlog instructions:

dpkg-deb -f <nxlog.deb> Depends

this lists the dependencies

dpkg -i <nxlog.deb>

fails as expected. missing dependencies.

apt-get install -fy

finds and installs the missing dependencies

dpkg -i <nxlog.deb>

bam. everything installs perfectly.

==============

Now for ubuntu 14, here's what happens.

root@mynameisinigomontoya:~# dpkg-deb -f nxlog-ce_2.8.1248_amd64.ubuntu.deb
Depends

libapr1 (>= 1.4.2), libc6 (>= 2.14), libcap2 (>= 2.10), libdbi1 (>= 0.8.4),
libexpat1 (>= 1.95.8), libpcre3 (>= 8.10), libperl5.14 (>= 5.14.2),
libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.1.4), adduser, openssl, lsb-base


root@mynameisinigomontoya:~# dpkg -i nxlog-ce_2.8.1248_amd64.ubuntu.deb

Selecting previously unselected package nxlog-ce.
(Reading database ... 68130 files and directories currently installed.)
Preparing to unpack nxlog-ce_2.8.1248_amd64.ubuntu.deb ...
Unpacking nxlog-ce (2.8.1248) ...
dpkg: dependency problems prevent configuration of nxlog-ce:
nxlog-ce depends on libperl5.14 (>= 5.14.2); however:
Package libperl5.14 is not installed.

dpkg: error processing package nxlog-ce (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
nxlog-ce

root@mynameisinigomontoya:~# apt-get install -fy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
libapr1 python3-chardet python3-debian python3-six
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
nxlog-ce
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3,886 kB disk space will be freed.
(Reading database ... 68206 files and directories currently installed.)
Removing nxlog-ce (2.8.1248) ...
root@mynameisinigomontoya:~#

And this repeats in an infinite loop. If I manually install as per here:

Quote:
Originally Posted by szboardstretcher View Post
installing from source:

Code:
wget http://downloads.sourceforge.net/project/nxlog-ce/nxlog-ce-2.3.1027.tar.gz
tar zxvf nxlog-ce-2.3.1027.tar.gz
cd nxlog-ce-2.3.1027/
aptitude install libpcre3-dev libapr1-dev libssl-dev libexpat-dev make
./configure
make
make install
mkdir -p /usr/local/var/run/nxlog/
mkdir /var/log/nxlog/
mkdir -p /usr/local/var/spool/nxlog/
mkdir /usr/local/etc/nxlog
useradd nxlog
cp /root/nxlog-ce-2.3.1027/packaging/debian/nxlog.init /etc/init.d/nxlog
sed -i 's/\/usr\/bin\/nxlog/\/usr\/local\/bin\/nxlog/g' /etc/init.d/nxlog
vim /usr/local/etc/nxlog/nxlog.conf
bash -x /etc/init.d/nxlog start
But the easiest way is to use ubuntt, and just use the package management system. Is that an option for you?

I am able to install nxlog but I am unsure if there will be issues down the line from manually pulling dependencies. Interestingly, when I manually pull the dependencies and then attempt to dpkg -i the nxlog package, I still am hit with the same errors. This leads me to believe that manually compiling and making the package is a loosely wrapped bandage that will break at a moments notice. Because of this, I don't trust the manual build of the software.

Does anyone have any insight on how to get nxlog-2.8_1248 working, completely, safely, and fully, on a ubuntu 14.04 server?

Last edited by colucix; 08-03-2014 at 11:34 AM. Reason: Redirecting URL to the project page in place of the direct download page.
 
Old 08-05-2014, 02:01 PM   #2
heytchap
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have been speaking with the dev. He has informed me that a u14.04 .deb file will be out soon. Until then, I know that the above works. Im a little concerned with manually pulling dependencies but I think it will be okay.

Does anyone have any other insight?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Install Calibre 1.33 in Ubuntu 14.04 Trusty LXer Syndicated Linux News 0 04-24-2014 11:20 PM
Ubuntu 14.04 LTS (Trusty Tahr) Released jeremy Linux - News 0 04-17-2014 12:42 PM
Ubuntu 1404 Trusty Tahr? ivtec Ubuntu 10 01-30-2014 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration