Bug 4328 - 2_a3: Unit memcached.service entered failed state
Summary: 2_a3: Unit memcached.service entered failed state
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Rémy CLOUARD (shikamaru)
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks: 2120
  Show dependency treegraph
 
Reported: 2012-01-29 02:51 CET by Bit Twister
Modified: 2012-02-02 03:27 CET (History)
1 user (show)

See Also:
Source RPM: memcached-1.4.5-6.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2012-01-29 02:51:07 CET
Description of problem:

memcached[1566]: Starting memcached: [  OK  ]
systemd[1]: PID file /var/run/memcached/memcached.pid not readable (yet?) after start.
systemd[1]: memcached.service operation timed out. Terminating.
systemd[1]: Unit memcached.service entered failed state.

# systemctl status memcached.service
memcached.service - LSB: High-performance memory object caching system
          Loaded: loaded (/etc/rc.d/init.d/memcached)
          Active: failed since Sat, 28 Jan 2012 18:43:22 -0600; 1min 46s ago
          CGroup: name=systemd:/system/memcached.service
                  â 1600 memcached -d -l 127.0.0.1 -p 11211 -U 11211 -u memcached -m 64 -t 4 -c...

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. boot boot-nonfree.iso
2. Do a clean ftp network install, apply updates, reboot
3. systemctl status memcached.service
Comment 1 Manuel Hiebel 2012-01-29 11:52:31 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Blocks: (none) => 2120
Assignee: bugsquad => shikamaru

Comment 2 D Morgan 2012-01-31 09:42:53 CET
maybe we should sync with fedora init script as i tested it and it starts well but i don't know how to test this service.

CC: (none) => dmorganec

Comment 3 Bit Twister 2012-01-31 10:31:06 CET
(In reply to comment #2)
> maybe we should sync with fedora init script as i tested it and it starts well

Then, let's go with it. Having to wait 5 minutes for initrd completion is slowing down my testing.  :-D

> but i don't know how to test this service.

Well, we can not test a failed memcached.service  :)
Comment 4 D Morgan 2012-01-31 22:32:44 CET
(In reply to comment #3)
> (In reply to comment #2)
> > maybe we should sync with fedora init script as i tested it and it starts well
> 
> Then, let's go with it. Having to wait 5 minutes for initrd completion is
> slowing down my testing.  :-D


thank you so i will update this ( and update the version too when i am at it ).
Comment 5 D Morgan 2012-01-31 23:18:49 CET
Please test new memcached ( 1.4.11 )
Comment 6 Bit Twister 2012-01-31 23:25:56 CET
(In reply to comment #5)
> Please test new memcached ( 1.4.11 )

script -c "urpmi --downloader wget --auto --auto-update --test" /local/tmp/urpmi_test.log
Script started, file is /local/tmp/urpmi_test.log
    ftp://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/core/release/media_info/20120131-221257-synthesis.hdlist.cz
updated medium "Core Release (distrib1)"                                                                                                                   
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
    ftp://mirrors.kernel.org/mageia/distrib/cauldron/i586/media/core/release/media_info/20120131-221123-synthesis.hdlist.cz
updated medium "Core 32bit Release (distrib31)"                                                                                                            
medium "Core 32bit Updates (distrib33)" is up-to-date
Packages are up to date
Script done, file is /local/tmp/urpmi_test.log


[root@wb2 ~]# systemctl status memcached.service
memcached.service
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)
Comment 7 Bit Twister 2012-02-01 00:08:40 CET
(In reply to comment #6)
> (In reply to comment #5)
> > Please test new memcached ( 1.4.11 )
 
> [root@wb2 ~]# systemctl status memcached.service
> memcached.service
>           Loaded: error (Reason: No such file or directory)
>           Active: inactive (dead)

Well, that tears it. My testbed of a clean alpha3+updates does not match my Production machine with a clean ftp install of Alpha3+updates.

[root@wb ~]# systemctl status memcached.service
memcached.service - LSB: High-performance memory object caching system
          Loaded: loaded (/etc/rc.d/init.d/memcached)
          Active: inactive (dead)
          CGroup: name=systemd:/system/memcached.service

# systemctl enable  memcached.service
memcached.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig memcached on
Warning: unit files do not carry install information. No operation executed.

# systemctl start  memcached.service
I am still waiting for terminal prompt because I am in the 5 minute penalty box. :(

Ok we get a status success but systemd was not aware of it.
systemctl status  memcached.service
memcached.service - LSB: High-performance memory object caching system
          Loaded: loaded (/etc/rc.d/init.d/memcached)
          Active: failed since Tue, 31 Jan 2012 16:52:50 -0600; 1min 9s ago
         Process: 4267 ExecStart=/etc/rc.d/init.d/memcached start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/memcached.service
                  â 4278 memcached -d -l 127.0.0.1 -p 11211 -U 11211 -u mem...

Jan 31 16:47:50 wb.home.test memcached[4267]: Starting memcached: [  OK  ]


Since a alpha3_dvd+updates do not match my alpha3_ftp+updates it looks like I going out of the testing business unless I can get a consistent setup for testing. I need my new alpha3 iso request satisfied.

Alpha3 pulseaudio problems, which were not in alpha1&2 on this "Production" box keeps me from using it on a daily bases. I need audio fixed because my telephone access is ekiga VOIP.

My two nic testbox has passed it's 500 reboots fsck on this Alpha3 cycle and the 50-70% nic selection bug is wearing it out twice as fast as needed. 

Guess I'll just wait for beta iso to retest my 35 open problems.
Comment 8 D Morgan 2012-02-01 09:12:42 CET
strange here it succeed in some seconds ( where it hung with previous rpm )


# systemctl status  memcached.service
memcached.service - LSB: High-performance memory object caching system
          Loaded: loaded (/etc/rc.d/init.d/memcached)
          Active: active (running) since Wed, 01 Feb 2012 09:06:18 +0100; 19s ago
        Main PID: 12859 (memcached)
          CGroup: name=systemd:/system/memcached.service
                  â 12859 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid
Comment 9 Bit Twister 2012-02-01 12:43:42 CET
(In reply to comment #8)
> strange here it succeed in some seconds ( where it hung with previous rpm )

Is your system 64 bit or 32 install?
Is your system single cpu or more than one?

Both of mine are 64 bit installs except wb is 4 cpu and wb2 is single cpu.

I installed memcached on my single cpu testbed and rebooted.

[root@wb2 ~]# systemctl status memcached.service
memcached.service - LSB: High-performance memory object caching system
          Loaded: loaded (/etc/rc.d/init.d/memcached)
          Active: active (running) since Wed, 01 Feb 2012 05:37:21 -0600; 56s ago
         Process: 2490 ExecStart=/etc/rc.d/init.d/memcached start (code=exited, status=0/SUCCESS)
        Main PID: 2595 (memcached)
          CGroup: name=systemd:/system/memcached.service
                  â 2595 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid

Feb 01 05:37:21 wb2.home.test memcached[2490]: Starting memcached: [  OK  ]
Comment 10 Bit Twister 2012-02-02 03:27:29 CET
(In reply to comment #8)
> strange here it succeed in some seconds ( where it hung with previous rpm )

Ok, 
urpme memcached
urpmi memcached  It hung for ~5 minutes and indicated post install script start up failure.
Same problem, systemd did not see start status=0   :(

Geeze I hate the Micro$not solution.

Rebooted,
systemctl enable memcached.service
systemctl start memcached.service
systemctl stop memcached.service
systemctl start memcached.service

Now it works.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.