[Bug 815163] New: Memcached server does not start after upgrading to latest updates
https://bugzilla.novell.com/show_bug.cgi?id=815163 https://bugzilla.novell.com/show_bug.cgi?id=815163#c0 Summary: Memcached server does not start after upgrading to latest updates Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vaibhavkaushal123@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 First of all, this is my first bug report. So if I have selected a wrong section, excuse me for that. Second - I have reported x86-64 because I used that version. I guess this problem might be with other archs as well. Here is the long description of the bug: I upgraded to 12.3 and then switched on Tumbleweed. Apper told me last night to upgrade and I did. However today morning, when i launched my localhost (Apache) and tried to access my project, PHP told me that it could not connect to Memcache server. Investigated a little, the server was not running. Tried to enable it from YaST, used the service command and tried to run the startup script manually (in /etc/init.d) but nothing worked. Reproducible: Always Steps to Reproduce: 1. Start OpenSUSE 2. Go to YaST, Services management. 3. Try to launch Memcached server. Actual Results: The result is reported to be success but does not work. Expected Results: The memcached server should have started. [Continued from the input given in "DETAILS" section of this very report} Finally I thought to have a look inside the startup scripts and I found this in /etc/init.d/memcached: Code: startproc -u $MEMCACHED_USER -g $MEMCACHED_GROUP $MEMCACHED_BIN -d $MEMCACHED_PARAMS Then I opened the /etc/sysconfig/memcached file (mentioned in /etc/init.d/memcached as the MEMCACHED_CONFIG file, so thought to open to get the MEMCACHED_PARAMS value) and found this line: Code: MEMCACHED_PARAMS="-d -l 127.0.0.1" If you notice, the -d parameter is getting repeated twice. When I removed the extra -d from the /etc/sysconfig/memcached file, things went fine. Please make sure that the next update fixes the files. The rest is working okay. Regards, Vaibhav -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c1
Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c2
--- Comment #2 from Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c3
--- Comment #3 from Vaibhav Kaushal
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c4
--- Comment #4 from Cristian Rodríguez
I can understand that I need to make the changes and that -d should not be there. However, the point is - whoever made the update patch should have checked.
I did check it, in fact the files for a new install will work just fine.. but this sysconfig stuff does not have a programatic way to merge user changes in a particular sysconfig variable without removing all user modifications to that variable and creating it again from the start.
Anyways, is there a chance that the files will be getting updated in any upcoming patch? (I have made changes anyways, so I am off the worry shelf; just asking).
See above, this stuff is absolutely retarded and should have been obsoleted long time ago by the particular daemon own 's configuration file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c5
--- Comment #5 from Cristian Rodríguez
I can understand that I need to make the changes and that -d should not be there. However, the point is - whoever made the update patch should have checked.
did it create an memcached*rpmnew file in /etc/sysconfig/ on upgrade ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c6
--- Comment #6 from Vaibhav Kaushal
https://bugzilla.novell.com/show_bug.cgi?id=815163
https://bugzilla.novell.com/show_bug.cgi?id=815163#c7
--- Comment #7 from Cristian Rodríguez
No it did not.
Which illustrates my point.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com