OpenVZ Forum


Home » General » Support » *SOLVED* Problem with restarting services
*SOLVED* Problem with restarting services [message #10827] Mon, 05 March 2007 10:48 Go to previous message
Achmed is currently offline  Achmed
Messages: 17
Registered: January 2007
Junior Member
Hi,
today i have set up my first VE on a "real" server.
I set:
--ostemplate opensuse-10-x86_64-default --config vps.basic
--vmguarpages 128M:2147483647
--privvmpages 256M:266M
--diskspace 5120M:5220M
When i try to restart ssh i get a:
# /etc/init.d/sshd restart
Shutting down SSH daemon                                              done
Starting SSH daemonstartproc: cannot stat /proc/15428/exe: Permission denied
                                                                      failed

But its running.
/etc/init.d/sshd status gives a "running"

Same problem with Apache.
First start worls fine, but a restart gives:
# /etc/init.d/apache2 restart
/etc/rc.status: fork: Cannot allocate memory
/etc/rc.status: line 43: test: -eq: unary operator expected
/etc/rc.status: line 44: test: -eq: unary operator expected
/usr/share/apache2/get_module_list: fork: Cannot allocate memory
Warning: no MPM found. Some modules are dependant on the type of MPM.
Module "cgi" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Module "ssl" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
/usr/share/apache2/get_includes: fork: Cannot allocate memory
Warning: no MPM found. Some modules are dependant on the type of MPM.
/etc/rc.status: fork: Cannot allocate memory
/etc/rc.status: line 43: test: -eq: unary operator expected
/etc/rc.status: line 44: test: -eq: unary operator expected
/etc/init.d/apache2: fork: Cannot allocate memory
/usr/share/apache2/get_includes: fork: Cannot allocate memory
httpd2-worker: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
/etc/rc.status: fork: Cannot allocate memory
/etc/rc.status: line 43: test: -eq: unary operator expected
/etc/rc.status: line 44: test: -eq: unary operator expected
/etc/init.d/apache2: fork: Cannot allocate memory
doneting down httpd2 (waiting for all children to terminate)
Starting httpd2 (worker) httpd2-worker: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
startproc: cannot stat /proc/15636/exe: Permission denied
                                                                      done

And again...its running.

Anybody an idea, whats wrong?
Do i have to give more ram to the VE?
I thought, 128-256 should be enough.
And why do i get a "permission denied" ?

[Updated on: Mon, 05 March 2007 16:53] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Routing Question
Next Topic: *CLOSED* softirq stats for a VE
Goto Forum:
  


Current Time: Sat Aug 02 11:19:22 GMT 2025

Total time taken to generate the page: 0.61274 seconds