LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2008, 12:54 PM   #1
kashwin
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Wink TUx httpd accelarator


Hi,
I am trying to install tux http accelerator in FC5.I got the rpm tux-3.2.19-2.i386.rpm and was able to install if successful.
But when to start the tux service i am getting the following error.
Starting tux: /etc/init.d/tux: line 69: /proc/sys/net/tux/threads: No such file or directory
/etc/init.d/tux: line 70: /proc/sys/net/tux/documentroot: No such file or directory
/etc/init.d/tux: line 71: /proc/sys/net/tux/cgi_uid: No such file or directory
/etc/init.d/tux: line 72: /proc/sys/net/tux/cgi_gid: No such file or directory
/etc/init.d/tux: line 73: /proc/sys/net/tux/cgiroot: No such file or directory
/etc/init.d/tux: line 77: /proc/sys/net/tux/keepalive_timeout: No such file or directory
/etc/init.d/tux: line 79: /proc/sys/net/tux/logging: No such file or directory
/etc/init.d/tux: line 80: /proc/sys/net/tux/logfile: No such file or directory
TUX not implemented in this kernel
[FAILED]

Please help me out.Thanks in advance...
 
Old 02-04-2008, 04:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Welcome to LQ
Before starting tux, you should configure it first. Read this manual for instructions about the various parameters you should define and this howto for more details.

Regards
 
Old 02-04-2008, 04:39 PM   #3
kashwin
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help ...

I was able to install the tux rpm in my box.but got stuck in the following.

** how to apply patch to kernel.I was getting the following error

[root@\]# patch -p7 < /tmp//tux3-2.6.18-rc6-A0
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-tux.q/arch/alpha/kernel/systbls.S
|===================================================================
|--- linux-tux.q.orig/arch/alpha/kernel/systbls.S
|+++ linux-tux.q/arch/alpha/kernel/systbls.S
--------------------------
File to patch: /tmp/asd//tux3-2.6.18-rc6-A0

** In kernel recompilation were to enable the tux support


Thanks in advance...
 
Old 02-05-2008, 02:38 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Are you sure you need to patch your kernel? I guess the rpm you've installed takes care of everything needed and you just need to configure the various kernel and system parameters according to the 2 links I gave you.
 
Old 02-05-2008, 08:54 PM   #5
kashwin
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I tried to start the tux after installing(by rpm),but it through the error..stating that "TUX not implemented in this kernel"
Thats'y went for recompiling kernel after applying patch.

But dono how to apply the patch.

in this link
they mentioned to apply the patch and recompile to make it work.

Regards
 
Old 02-06-2008, 02:15 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I suggest you to use tux3-2.6.18-1 since the one you're trying to use, is a release candidate (rc6). Now to apply the patch go into /usr/src and run:
Code:
patch -p0 < tux3-2.6.18-1
Then recompile your kernel starting with
Code:
make oldconfig
as stated in the patch instructions.
Search LQ for guides about kernel recompilation since patching and recompiling kernel is not an easy task.
 
Old 02-07-2008, 01:28 PM   #7
kashwin
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
Finally got TUx to work,

Thanks bathory, for all your help.
The thing which i found was ...
I have two kernels in my system,
**Linux 2.6.20-1.2320.FC5
**Linux 2.6.15-1.2054.FC5
when i started TUx, the kernel-2.6.20 throwed some error.But i was able to start with the kernel-2.6.15 kernel.

Need to make the tux work in kernel-2.6.20,help on this will be more appreciated .....

Regards.
 
Old 02-08-2008, 01:58 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Glad to see you've made it.

Now regarding the 2.6.20 kernel, that is not working, did you patch and recompile it? Because looking at the patch code, it applies to the default /usr/src/linux directory. Run:
Code:
ls -l /usr/src
to see where the symlink /usr/src/linux points. Most likely it points to the 2.6.15 kernel, so you've patched that and that's why tux is working with this kernel. You can change the symlink and patch/recompile the 2.6.20 kernel as you've already done previously.
 
  


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
Tux Maquette - build your own paper Tux... Valkyrie_of_valhalla General 6 02-03-2009 05:53 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 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
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
Video Card Driver and 3dfx Accelarator. zLinuxz Linux - General 2 02-24-2002 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 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