LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2017, 05:01 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
Memcached logging not working on ubuntu 16.10


Hi,

I have installed memcached in ubuntu 16.10. But i am unable to got logs in /var/log/memcached.log file. Can anyone suggest me the solution for this. Thanks
This is my memcached.conf file
# memcached default config file
# 2003 - Jay Bonci <jaybonci@debian.org>
# This configuration file is read by the start-memcached script provided as
# part of the Debian GNU/Linux distribution.

# Run memcached as a daemon. This command is implied, and is not needed for the
# daemon to run. See the README.Debian that comes with this package for more
# information.
-d

# Log memcached's output to /var/log/memcached
logfile /var/log/memcached.log

# Be verbose
# -v

# Be even more verbose (print client commands as well)
# -vv

# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
# Note that the daemon will grow to this size, but does not start out holding this much
# memory
-m 64

# Default connection port is 11211
-p 11211

# Run the daemon as root. The start-memcached will default to running as root if no
# -u command is present in this config file
-u memcache

# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
-l 127.0.0.1

# Limit the number of simultaneous incoming connections. The daemon default is 1024
# -c 1024

# Lock down all paged memory. Consult with the README and homepage before you do this
# -k

# Return error when memory is exhausted (rather than removing items)
# -M

# Maximize core file limit
# -r
 
Old 05-14-2017, 07:48 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,815

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by crahuldba@gmail.com View Post
Hi,
I have installed memcached in ubuntu 16.10. But i am unable to got logs in /var/log/memcached.log file. Can anyone suggest me the solution for this. Thanks
This is my memcached.conf file
Code:
# memcached default config file
# 2003 - Jay Bonci <jaybonci@debian.org>
# This configuration file is read by the start-memcached script provided as
# part of the Debian GNU/Linux distribution.

# Run memcached as a daemon. This command is implied, and is not needed for the
# daemon to run. See the README.Debian that comes with this package for more
# information.
-d

# Log memcached's output to /var/log/memcached
logfile /var/log/memcached.log

# Be verbose
# -v

# Be even more verbose (print client commands as well)
# -vv

# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
# Note that the daemon will grow to this size, but does not start out holding this much
# memory
-m 64

# Default connection port is 11211
-p 11211

# Run the daemon as root. The start-memcached will default to running as root if no
# -u command is present in this config file
-u memcache

# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
-l 127.0.0.1

# Limit the number of simultaneous incoming connections. The daemon default is 1024
# -c 1024

# Lock down all paged memory. Consult with the README and homepage before you do this
# -k

# Return error when memory is exhausted (rather than removing items)
# -M

# Maximize core file limit
# -r
First, you've been here for seven years now...you should be very familiar with the LQ Rules and Question Guidelines, as well as needing to put CODE tags around code. And have you checked to see if the log file you've specified is actually present, and you have permissions to write to it? How did you install this package? How are you starting it? Did you look at the first "-d", that you specified, telling you that you don't have to specify it? Try to run the daemon in the foreground, to see what happens? Read the documentation???
https://github.com/memcached/memcached/wiki

You've asked several questions in the past that you've never followed up on, answered questions when asked, nor seem to have done basic research before posting. Read the "Question Guidelines" link in my posting signature.
 
  


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: How to speed up apache with mod_pagespeed and Memcached on Ubuntu 15.10 LXer Syndicated Linux News 0 04-26-2016 10:50 AM
LXer: How to speed up apache with mod_pagespeed and Memcached on Ubuntu 15.04 LXer Syndicated Linux News 0 09-01-2015 05:00 PM
Logging a samba share using rsyslog.d on ubuntu 12.04 - not working, help! RiotSloth Linux - Newbie 0 04-09-2013 02:44 PM
LXer: How To Install MySQL 5.6 On Ubuntu 12.10 (Including memcached Plugin) LXer Syndicated Linux News 0 11-20-2012 11:50 AM
LXer: Install Memcached And PHP5-MemCached Module On Debian 6.0 (Squeeze) LXer Syndicated Linux News 0 11-28-2011 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 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
Open Source Consulting | Domain Registration