Compile of LightTPD version 1.4.33 on linux UBUNTU Server

Cancelled Posted Jan 11, 2014 Paid on delivery
Cancelled Paid on delivery

I need someone to compile LIGHTTPD [url removed, login to view] so that it works properly on my UBUNTU 13.10 Server

I've done this before on 13.04, and I've already pre-installed all the source code, compilers, headers EVERYTHING onto the 13.10 Server

It compiles OK (MAKE INSTALL) works without error - but the Server will not actually start once its done.

Perhaps its something to do with the LIB PATH or whenever - I have no idea.

I've written out the step by step instructions below as to what I've done.

I have successfully reached the bottom of Step 8 - except the damn LIGHTTPD server won't actually start.

First reply from someone who knows what they're doing gets the job. This IS URGENT, so please only bid if you can start ASAP.

PS - The job is to ACTUALLY make it work - not to TRY to make it work - I won't pay if the server doesn't work when you're done.

Thanks

STEPS USED!

Prerequisites:

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

[url removed, login to view] distribution of lighttpd. Here we used version, "[url removed, login to view]".

[url removed, login to view]

[url removed, login to view] you need mariadb headers and mariadb database.

Procedure:

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

*** STEP 0 *** : Please decompress the lighttpd source and get into the directory.

tar -xzf [url removed, login to view]

cd [url removed, login to view]

*** STEP 1 *** : Open the [url removed, login to view] , look for the 'plugins=mod_mysql_vhost' section (somewhere around line 668).

Now put the following code in a new para at around line 681, like the others.

# DJT - Added the facility to directly write the access log out to the database. This allows the tracking of pixel downloads

plugins="mod_mysql_accesslog"

if test ! "x$MYSQL_LIBS" = x; then

do_build="$do_build $plugins"

else

no_build="$no_build $plugins"

fi

*** STEP 2 ***. Open in file src/Makefile.am.

Add the following lines somewhere near the other module definitions (like, lib_LTLIBRARIES += [url removed, login to view]) - AROUND LINE 138

# DJT - Added the facility to directly write the access log out to the database. This allows the tracking of pixel downloads

lib_LTLIBRARIES += [url removed, login to view]

mod_mysql_accesslog_la_SOURCES = mod_mysql_accesslog.c

mod_mysql_accesslog_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined

mod_mysql_accesslog_la_LIBADD = $(MYSQL_LIBS) $(common_libadd)

mod_mysql_accesslog_la_CPPFLAGS = $(MYSQL_INCLUDE)

*** STEP 3 ***. I am not sure it is needed, but you can edit the src/SConscript file at around LINE 79,

'mod_mysql_vhost' : { 'src' : [ 'mod_mysql_vhost.c' ], 'lib' : [ env['LIBMYSQL'] ] },

'mod_mysql_accesslog' : { 'src' : [ 'mod_mysql_accesslog.c' ], 'lib' : [ env['LIBMYSQL'] ] },

*** STEP 4 ***. Copy mod_mysql_accesslog.c into the src directory.

*** STEP 5 *** ....Make sure that libtool and gcc are installed as well as the mariaDB headers, i.e.

sudo apt-get install libtool"

"sudo apt-get install automake"

"sudo apt-get install libmariadbclient-dev" (MariaDB Headers)

"sudo apt-get install libpcre3-dev" (PERL development regex functions)

"sudo apt-get install libbz2-dev" (BZ2 Ziplib)

"sudo apt-get install make"

"sudo apt-get install pkg-config" should get everything required.....

From the base directory of lighttpd ([url removed, login to view]) execute the following:

a) sh ./[url removed, login to view]

b) ./configure --with-mysql

*** STEP 6 ***. Make sure that you see the following lines ,

Plugins:

enabled:

mod_mysql_accesslog

*** STEP 7 ***. Now run the following commands.

sudo make clean

sudo make

sudo make install

*** STEP 8 - USE THE CREATED DLL FILE ***

*** The ".SO" FILE HAS BEEN CREATED AT /src/.libs/ - filename is "[url removed, login to view]"

cd /[url removed, login to view]

sudo cp mod_mysql_accesslog.* /usr/lib/lighttpd/

sudo service lighttpd restart (then check the [url removed, login to view] at "/var/log/lighttpd/")

/*SERVER WON'T START*/

Linux Script Install

Project ID: #5309832

About the project

8 proposals Remote project Active Jan 15, 2014

8 freelancers are bidding on average $33 for this job

linuxfreak1985

HI there, i can help you. please see my past reviews, lets complete this project so that i can provide you my services

$30 USD in 1 day
(253 Reviews)
7.3
FandaR

Hello, I have over 9 years experience as an Linux admin. I can check whats the issue and solve it. Please feel free to ask if you have any questions

$44 USD in 0 days
(292 Reviews)
7.0
mohsenshilivw

Bonjour, je peux t'aider pour fixer ton probleme .. je suis disponible sur skype ou gtalk pour commencer maintenant. mon pseudo skype : mohsensehili1 Merci

$35 USD in 0 days
(57 Reviews)
5.2
nqthai

Hi, I'm Thai Nguyen from Vietnam. Currently, i am working for one of the most biggest outsource software companies in Vietnam as Senior System Administrator. I have 6+ years experience on Linux System Administrator. S More

$50 USD in 1 day
(8 Reviews)
5.0
brylu

Hi, I can check it out for you. .

$30 USD in 1 day
(22 Reviews)
4.5
tlchung

let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now.

$24 USD in 1 day
(21 Reviews)
4.3
hbxfnzwpf

Linux expert, that is so easy, please let me do this, if you look into my review, you will know i am your best choice, please let expert do that, thanks!

$33 USD in 0 days
(6 Reviews)
3.3
mtavartkiladze

Hello, I have done this kind of work many times and I'm sure I can help you with it, Please contact me if your interested. Thanks

$44 USD in 0 days
(1 Review)
2.2
vanekjar

Hi, I have some experience with Linux and webservers. I can have a look at it. If I don't succeed, you don't have to pay. Pls let me know if you are interested. Cheers, J.V.

$20 USD in 1 day
(0 Reviews)
0.0