Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 4967  / 3 Years ago, sun, september 12, 2021, 10:34:21

Before the question let me give some background info:



I have Ubuntu karmic installed on top of android on my asus transformer. I have also installed netbeans, git, tightvncserver and openssh.



I am viewing the desktop using an android vnc viewer app. Tightvnc is listening on port 5900 and 5901.



Now for the question/problem I have. I have installed apache2. It installed without a problem. When I start the apache service it show in terminal that it is initializing without a problem, but when I check the ports using netstat -tulpn I don't see apache listening on any ports. All I see is tightvnc.



This is the error I see in the apache error.log file.



[warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[emerg] (38)Function not implemented: Couldn't create accept lock (/var/lock/apache2/accept.lock.13752) (5)


This is show various times.



Any suggestions?


More From » apache2

 Answers
2

This is related to lack of System V IPC in the kernel.



If you have the config file used to build the kernel, you can check for it; for example, in stock Ubuntu at the moment (the config filename will change depending on your exact version)



grep CONFIG_SYSVIPC /boot/config-3.0.0-13-generic


Gives:



CONFIG_SYSVIPC=y


(amongst other things, but that's the important one).



In some kernels, you can also check /proc/config.gz if CONFIG_IKCONFIG_PROC is turned on; that gives you a gzipped dump of the currently running kernel's option (so use zgrep on it). Ubuntu's stock kernels don't have this turned on but you're unlikely to need it with those because the packages give you the config file anyway.



The solution: use the stock Ubuntu kernel (it's really quite good and has pretty much everything compiled in that you're ever likely to need) - or rebuild your custom kernel with this turned on.


[#41491] Sunday, September 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aradxalte

Total Points: 70
Total Questions: 116
Total Answers: 116

Location: Dominica
Member since Sat, Nov 5, 2022
2 Years ago
;