hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Kernel 2.4.26 booting
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Kernel 2.4.26 booting

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-12-2004, 03:26 PM
linuxlover linuxlover is offline
WHT Addict
 
Join Date: Apr 2004
Posts: 149

Kernel 2.4.26 booting


Hello every one

I compile my new Kernel 2.4.26 well

with No error

and change the lilo to make it the next reboot Kernel

But I must reboot my server more than 4 times to get this Kernel working

There is only erorr in boot.log

May 12 21:56:33 cp clamd: ERROR: Please edit the example config file /etc/clamav.conf.
May 12 21:56:33 cp clamd: ERROR: Can't parse the config file /etc/clamav.conf
May 12 22:04:48 cp clamd: ERROR: Please edit the example config file /etc/clamav.conf.
May 12 22:04:48 cp clamd: ERROR: Can't parse the config file /etc/clamav.conf
May 12 22:07:42 cp clamd: ERROR: Please edit the example config file /etc/clamav.conf.
May 12 22:07:42 cp clamd: ERROR: Can't parse the config file /etc/clamav.conf


any one know any thing about this

Can Help ??

Reply With Quote


Sponsored Links
  #2  
Old 05-12-2004, 03:27 PM
Informity Informity is offline
Web Hosting Master
 
Join Date: Jul 2002
Location: UK
Posts: 2,026
read the error?

you need to edit clamav.conf

__________________
Gone.

Reply With Quote
  #3  
Old 05-12-2004, 03:36 PM
linuxlover linuxlover is offline
WHT Addict
 
Join Date: Apr 2004
Posts: 149
##
## Example config file for the Clam AV daemon
## Please read the clamav.conf(5) manual before editing this file.
##


# Comment or remove the line below.
Example

# Uncomment this option to enable logging.
# LogFile must be writable for the user running the daemon.
# Full path is required.
#LogFile /tmp/clamd.log

# By default the log file is locked for writing - the lock protects against
# running clamd multiple times (if want to run another clamd, please
# copy the configuration file, change the LogFile variable, and run
# the daemon with --config-file option). That's why you shouldn't uncomment
# this option.
#LogFileUnlock

# Maximal size of the log file. Default is 1 Mb.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size
# in bytes just don't use modifiers.
#LogFileMaxSize 2M

# Log time with an each message.
#LogTime

# Use system logger (can work together with LogFile).
#LogSyslog

# Enable verbose logging.
#LogVerbose

# This option allows you to save the process identifier of the listening
# daemon (main thread).
#PidFile /var/run/clamd.pid

# Path to a directory containing .db files.
# Default is the hardcoded directory (mostly /usr/local/share/clamav,
# it depends on installation options).
#DataDirectory /var/lib/clamav

# The daemon works in local or network mode. Currently the local mode is
# recommended for security reasons.

# Path to the local socket. The daemon doesn't change the mode of the
# created file (portability reasons). You may want to create it in a directory
# which is only accessible for a user running daemon.
LocalSocket /tmp/clamd

# TCP port address.
#TCPSocket 3310

# Maximum length the queue of pending connections may grow to.
# Default is 15.
#MaxConnectionQueueLength 30

# When activated, input stream (see STREAM command) will be saved to disk before
# scanning - this allows scanning within archives.
#StreamSaveToDisk

# Close the connection if this limit is exceeded.
#StreamMaxLength 10M

# Maximal number of a threads running at the same time.
# Default is 5, and it should be sufficient for a typical workstation.
# You may need to increase threads number for a server machine.
#MaxThreads 10

# Thread (scanner - single task) will be stopped after this time (seconds).
# Default is 180. Value of 0 disables the timeout. SECURITY HINT: Increase the
# timeout instead of disabling it.
#ThreadTimeout 500

# Maximal depth the directories are scanned at.
MaxDirectoryRecursion 15

# Follow a directory symlinks.
# SECURITY HINT: You should have enabled directory recursion limit to
# avoid potential problems.
#FollowDirectorySymlinks

# Follow regular file symlinks.
#FollowFileSymlinks

# Do internal checks (eg. check the integrity of the database structures)
# By default clamd checks itself every 3600 seconds (1 hour).
#SelfCheck 600

# Run as selected user (clamd must be started by root).
# By default it doesn't drop privileges.
#User clamav

# Initialize the supplementary group access (for all groups in /etc/group
# user is added in. clamd must be started by root).
#AllowSupplementaryGroups

# Don't fork into background. Useful in debugging.
#Foreground

##
## Mail support
##

# Uncomment this option if you are planning to scan mail files.
#ScanMail

##
## Archive support
##


# Comment this line to disable scanning of the archives.
ScanArchive

# Options below protect your system against Denial of Service attacks
# with archive bombs.

# Files in archives larger than this limit won't be scanned.
# Value of 0 disables the limit.
# WARNING: Due to the unrarlib implementation, whole files (one by one) in RAR
# archives are decompressed to the memory. That's why never disable
# this limit (but you may increase it of course!)
ArchiveMaxFileSize 10M

# Archives are scanned recursively - e.g. if Zip archive contains RAR file,
# the RAR file will be decompressed, too (but only if recursion limit is set
# at least to 1). With this option you may set the recursion level.
# Value of 0 disables the limit.
ArchiveMaxRecursion 5

# Number of files to be scanned within archive.
# Value of 0 disables the limit.
ArchiveMaxFiles 1000

# Use slower decompression algorithm which uses less memory. This option
# affects bzip2 decompressor only.
#ArchiveLimitMemoryUsage

##
## Clamuko settings
## WARNING: This is experimental software. It is very likely it will hang
## up your system !!!
##

# Enable Clamuko. Dazuko (/dev/dazuko) must be configured and running.
#ClamukoScanOnLine

# Set access mask for Clamuko.
ClamukoScanOnOpen
ClamukoScanOnClose
ClamukoScanOnExec

# Set the include paths (all files in them will be scanned). You can have
# multiple ClamukoIncludePath options, but each directory must be added
# in a seperate option. All subdirectories are scanned, too.
ClamukoIncludePath /home
#ClamukoIncludePath /students

# Set the exclude paths. All subdirectories are also excluded.
#ClamukoExcludePath /home/guru

# Limit the file size to be scanned (probably you don't want to scan your movie
# files )
# Value of 0 disables the limit. 1 Mb should be fine.
ClamukoMaxFileSize 1M

# Enable archive support. It uses the limits from clamd section.
# (This option doesn't depend on ScanArchive, you can have archive support
# in clamd disabled).
ClamukoScanArchive


where I must edit ???

Reply With Quote
Sponsored Links
  #4  
Old 05-12-2004, 04:59 PM
BigGorilla BigGorilla is offline
Aspiring Evangelist
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 384
Have you even tried reading your config file? At least make an effort before you expect to be spoon fed.

Quote:
# Comment or remove the line below.
Example
You haven't even tried to configure it yet.

Btw, this shouldn't have anything to do with your kernel not booting properly. When you say you have to boot 4 times before it works, does the system come up at all on those times it doesn't?

Reply With Quote
  #5  
Old 05-12-2004, 05:11 PM
linuxlover linuxlover is offline
WHT Addict
 
Join Date: Apr 2004
Posts: 149
Yes the system come Up on those time
But with old Kernel not New one

I asked that cause I don't config clamav.conf before

thanks for helping

Reply With Quote
  #6  
Old 05-12-2004, 06:18 PM
BigGorilla BigGorilla is offline
Aspiring Evangelist
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 384
Quote:
Originally posted by linuxlover
Yes the system come Up on those time
But with old Kernel not New one
Post your /etc/lilo.conf. I would guess you don't have the right kernel set as default.

Reply With Quote
  #7  
Old 05-12-2004, 06:40 PM
linuxlover linuxlover is offline
WHT Addict
 
Join Date: Apr 2004
Posts: 149
Every thing is go OK Now when I edit clamav.conf
The Kernel Now is 2.4.26

Thanks for your help

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Amazon Analysis Shows Software Bugs Lengthened AWS Weekend Outage Web Hosting News 2012-07-03 11:11:30
Web Host PromptSpace Launches Shared Hosting Platform Web Hosting News 2011-12-27 18:15:25
Web Hosting Software Firm CloudLinux Releases CloudLinux OS Version 6.1 Web Hosting News 2011-09-13 14:08:49
Linux Foundation Website Down After Security Breach Last Week Web Hosting News 2011-09-12 20:32:11
Cloud Infrastructure Developer Hexagrid Joins Open Virtualization Alliance Web Hosting News 2011-07-07 20:46:22


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?