Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried to install memcached on linux server. After successful completion of all installation steps(configure, make and make install), when I try to start memcached services, nothing happens. What could be the problem? Also I don find any conf file generated.

I used this to start memcached

memcached -m 2048 -d -l 172.17.111.111 11211 -u appadmin
share|improve this question

closed as not a real question by Ward, Scott Pack, mdpc, Jeff Ferland, HopelessN00b Nov 22 '12 at 1:15

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers 2

I don't know what your expectations are but the command you provide will run memcached, which will start silently. You can check that memcached is running by using ps

ps -ef | grep memcached | grep -v grep
496   25480   1  0 07:20 ?    00:00:00 memcached -d -p 11211 -u memcached -l 192.168.254.188

or you can use netstat to see if it's listening

netstat -tnlp | grep 11211
tcp    0    0 0.0.0.0:11211         0.0.0.0:*            LISTEN  25791/memcached
tcp    0    0 :::11211              :::*                 LISTEN  25791/memcached

I've only ever installed memcached using my Linux distros package manager and in doing so get access to the distro's service control e.g.

service memcached start
Starting memcached:                                        [  OK  ]
service memcached status
memcached (pid  26330) is running...
service memcached stop
Stopping memcached:                                        [  OK  ]

or their /etc/init.d/memcached equivalents.

share|improve this answer
add comment

Make sure that memcached is running in your Server . ie

ps -ef | grep memcached

This should show the running memcached process . Else start the memcached from /etc/init.d

Normally memcached has conf file located in

/etc/sysconfig/memcached

From my memcached file

cat /etc/sysconfig/memcached

    PORT="11211"
    USER="memcached"
    MAXCONN="1024"
    CACHESIZE="64"
    OPTIONS=""
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.