OpenSUSE Network :: Apache Not Starting On Runlevel?
Jan 5, 2011
Apache is set to start on runlevel 2, 3 and 5, just like MySQL. For some obscure reason this always fails. I tried resetting the runlevels, but this did not help and I always have to start apache manually after reboot.
How can I analyze this problem? In the Apache logs I don't find the cause. Is there an other log I can check?
I put this file in cgi-bin folder of Apache server. Here is my problem : when I run this file with shell as root user it makes change to iptables, but when I use my browser to run this file, it doesn't make any change. I'm sure this is because Apache doesn't have permission to manipulate iptables. How can I start Apache as a user with root privileges ?
i was unable to stop X after trying the following: sudo /etc/init.d/kdm stop sudo service kdm stop sudo stop kdm
i had ssh'ed in, so there was no point in trying ctrl-alt-f1.there was no /etc/inittab file, so i poked around, and found out that i could simply create one, and enter the following into it:
id:3:initdefault:
which would start the machine in runlevel three (to avoid starting X).that didn't work, since (k)ubuntu apparently ignores the differences between runlevels 2-5.
so i entered the following into my newly created /etc/inittab:
id:1:initdefault:
and restarted the machine.there was no screen output, and i could not ssh into the machine.i took out the new graphics card, and plugged the monitor into the motherboard's vga outlet.still no graphics on the monitor, and i can't ssh.
(and for extra points, how do i get my nvidia card to work?)
Recently after upgrading my kernel (via /repositories/Base:/Kernel/standard) I have had issues with the network not starting properly on bootup. The kernel is 100% SUSE-patched and behaves perfectly outside of that one issue. To get the network to "start" (DHCP issued, eth0 brought up) I have to 'rcnetwork start' in a shell. I've checked to make sure my config is right in both ifcfg-eth0 and 'config' for /etc/sysconfig/network, but nothing affects the outcome.
How do I get the boot scripts to bring up eth0 and issue a DHCP on startup?
Here's the output of 'rcnetwork start -o debug fake':
runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.
I have an openSUSE 11.1 and I noticed that after installing a couple of things on it the sshd is not starting anymore on reboot. how can I debug this problem. Is there a log file so that I can see what was the problem? If I want to use ssh I have to start it from yast every time the computer restarts.
Running 11.4 x64, I've tried everything I can think of (which is not saying a lot) but I can't get sshd started on boot. Running /etc/init.d/sshd starts the service manually with no problem but I really need it started on boot.
I can't find anything different when comparing this instance with other similar instances where sshd does start but this instance is an update from 11.3 where sshd was not enabled and the others are all clean installs where sshd was enabled during installation, if that makes any difference.
i wanted to auto-start apache and mysql each time the server is turn-on so i read some document on the net that explaining how to do that - and it's good - the services are loading when the OS start.(as i said in the subject - i switched the runlevel 5 of httpd service to ON mode instead of the default - OFF)
BUT! the problem is that after i did it - for all of my apache's virtual-hosts i'm getting 403 - Forbidden notice.
when i doing it manually, mean, the server is load and then I'm logging-in with root user and do: 'httpd -k start', it's running perfectly.
i have hard filling that this 'runlevel 5' setting run the apache under user without permissions to those virtual-host folders (they're under 755 mode).
the mysqld service running ok with the runlevel 5 configuration! (2) - i'm using Fedora 12
I have Onboard Realtek ethernet card (eth0) it worked fine but suddenly it stopped working when i see in yast it shows hwinfo not found. when i use hwinfo --netcard it gives realtek card name thats all. I went to yast >lan> edit> hardware and tried to add r8169 module but it was not accepting. previously created ifcfg-eth0 file is available but its not getting up.when i say ifup eth0 it say interface not found. the same messg is also available in /var/log/boot.msg.
Running openSuse 11.2-64 on a DualCore / 2Gb machine.I have 3 nfs shares described in my /etc/fstabAll three were mounted at boot time when I was connecting to the network through the wired interface (eth0).I need to use the wireless interface, and even if that interface is up and running well (I use ifup), the nfs client doesn't start... if just after boot I do a mount -a or simply a nfs start, everything comes up and runs well.This machine will not be used by myself, and the users cannot just jump into a command line and type nfs start or even mount -a (they would need su privileges...)I have disabled the eth0, killed the eth0 config (with yast) edited /etc/sysconfig/nfs and setted the NFS_START_SERVICE to yes to force the gssd and idmapd to always start even if there was no nfs entry in fstab, but nothing changed.
kde knetworkmanager is not starting on startup.i am starting this manually every time on login to connect to network..how to make it start automatically?
I've a server with opensuse 11.4 (from a 11.3 upgrade), but I can't run Apache.. I've tried latest version (official repository and Apache repository), but it give me always same error:
[error] (38)Function not implemented: apr_socket_accept: (client socket)
I've have removed and reinstalled apr/apr-utils also, but nothing..
I have installed openSuse and set up a as web server have apache2 running but need to change the MPM to worker. How is this done, I am new to OpeneSuse and Unix/Linux I know where to change the worker settings I just need to enable it over the prefork default. I know how they work I just need how to change to worker.
I desperately need to get my apache server on OPenSuse to use the worker MPM I have tried simply placing worker in the quotes of the apache file /etc/sysconfig/apache2 but when I stop and start apache in the task monitor it is still showing the httpd2 processes to be prefork. Also there seems to be a problem on restart saying it cant find MPM.
There seems to be many different ways of controlling bandwidth usage of downloads of content from Apache2. Does anyone know which is the standard module deployed/deployable in OpenSuse?
I am running 11.3 64bit. I need to set up a simple web server, and I was trying to follow this tutorial to do it HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot The web server is running but this part could not be applied and I need to change the ownership. it seems the command lampserver does not exist.
I haven't been able to get a working X11 environment on a Dell PowerEdge 1850. Using YaST without an X11 environment sucks particularly when you are trying to configure Apache. In addition, the Apache configuration files seem to have changed significantly since the last time I configured Apache on a SuSE Linux distribution. Where can I find good documentation on editing suseconfig files to ensure that I get the modules installed that I need for the collaboration tool that I'm installing?
I want to enable Pretty URLs in Concrete5 and Joomla CMSs. So far I have- enabled pretty urls in the CMS- created .htaccess files (as they showed)- changed AllowOverride None to All in /etc/Apache2/httpd.conf <directory>- restarted ApacheBut the pretty urls still don't work, When I click any link on either site it gives me a page not found error. If I use the "non-pretty" URLs, all the links work. So I guess Apache either doesn't read the httpd config file or it doesn't read the .htaccess files or something else. Has anyone got this working? What else did you do?
Dear all, I have system running LAMP and acting as a regular webserver.After running the setup for quite some months, I start having major issues:Symptoms:1. Applications do not respond neither from LAN nor WAN - SSH daemon, Apache, MySQL, FTP2. Network still seems to work for ping and port listeners3. Telnet is still successful for 21, 22, 80, 33064. Server has to be restarted manuallyTrying to find out the issue, I went through /var/log/ looking for major issues or warnings. But nothing seemed plausible to me to understand the issue - except I knew I was running out of disk space a few times.Not being able to identify nor replicate the issue, I replaced the hardware running 24x7 since quite a few years. Doing this, I migrated at the same time from OpenSUSE 10.1 to 11.3.The machine itself is behind a firewall and only the above mentioned standard ports are accessible
I'm running OpenSuse 11.3 X64. I have installed apache2, PHP5 and MySQL in order to do some web-design offline e.g. they are for internal network use only. There is also phpMyAdmin installed. The default directory for the "server" is /srv/www/htdocs.
To access a specific site in progress I create a subfolder there then just navigate via h**p://10.13.23.201/NAMEOFFOLDER from my internal network. At least that is how it should work but it doesn't. I created a new folder called wlc so it's directory is /srv/www/htdocs/wlc however when I go to the address h**p://10.13.23.201/wlc I get a Remote Server Or File Not Found error from my browser, there is files in there ,index.php, that should load and apache has been set to recognize *.php files.
I know the theory should work as I can access /srv/www/htdocs/phpMyAdmin by going to h**p://10.13.23.201/phpMyAdmin and it loads just fine. Also the error is different if I go to a folder that doesn't exist for example h**p://10.13.23.201/THISFOLERDOESNTEXISIT will return an Object Not Found error.
I have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.
My ISP offers the service of native IPv6. So my ADSL router provides me with a local and global IPv6 address. However after a reboot it takes minutes to finally see the global address when using "ifconfog eth0". During that time I can't do a ping6 to an external server, which seems logical. So I waited several minutes, but no global address. After that I started a KDE session, went back to the console(<Ctrl>+<Alt>+F1) and now the global address was there. Is this normal behavior or should I file bug report?
Two days back I installed had setup subversion for my laptop from the following link HOWTO: Setting Up Your Own SVN Server (Using Apache and mod_dav_svn) - Mark S. Kolich
I don't know where I messed up the apache server. Now I am unable to start the apache server. I get the following error message:
I installed Apache, and it works fine. However, when I rebooted my CentOS, httpd did not start automatically. What do I need to do to ensure it starts when the system boots?
I think I put my question on a wrong sub-forum. My problem is I can't get apache to produce right output to XMLHttpRequest responseText but instead it displays php source code. On another server the same code works as it should.
When I open the php script on a browser window it works as it should.
this is the thread in programming sub-forum Apache sends php source code to Ajax - openSUSE Forums
I have a problem to correctly configure apache / subversion and mod_dav in openSUSE 11.2 I have setup a virtual host on my home server (because I need to access it from the Internet), that should be a subversion server. The subversion root directory is the
Code: /srv/svn/repos I plan to use a separate directory for each project. So, the svn tree will be/srv/svn/repos/project1/.... /srv/svn/repos/project2/.... /srv/svn/repos/project3/..
Apache serves the web pages (actually the directories) but since the documentroot and the SVN root are the same, it cannot handle the SVN repositories correctly. So, I re-read the Setting up a Subversion server using Apache2 - openSUSE how-to and followed it's suggestion. (Use a Location outside the document root) Anyway, the problem is that I have a 404 error, which of course is normal, since there is no alias set for the /rep location I use.