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?
View 9 Replies
ADVERTISEMENT
Jul 17, 2010
I have written a simple perl program to add a command to iptables. Here is my code :
Code:
#! /usr/bin/perl
print "Content-type: text/html
";
system("iptables -A FORWARD -s 192.168.0.2 -j DROP");
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 ?
View 8 Replies
View Related
Dec 13, 2010
i'm trying to install drivers for an nvidia card.
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?)
View 14 Replies
View Related
Jul 11, 2011
I have installed ZendServer CE on my distro and I have tried to create a startup file in this way:I create the file httpd in the folder /etc/init.d
I run chmod 775 httpd
I execute chkconfig --add httpd on
But this is the message returned from system:
insserv: warning: script 'K01httpd' missing LSB tags and overrides
View 1 Replies
View Related
Sep 14, 2009
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':
Code:
View 6 Replies
View Related
Sep 4, 2010
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.
View 4 Replies
View Related
Jan 18, 2010
I just noticed the following error after booting my system.
Code:
I cannot find any reference on this on the forum or else on the internet. Is this a major problem or just a notification that can be ingnored.
View 4 Replies
View Related
Oct 6, 2010
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.
View 7 Replies
View Related
May 21, 2011
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.
View 9 Replies
View Related
Jan 17, 2010
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
View 1 Replies
View Related
May 23, 2010
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.
View 4 Replies
View Related
Jul 27, 2010
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.
View 7 Replies
View Related
May 23, 2011
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?
View 9 Replies
View Related
Jun 15, 2011
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..
View 2 Replies
View Related
Mar 27, 2010
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.
View 3 Replies
View Related
Mar 28, 2010
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.
View 9 Replies
View Related
Jul 11, 2010
I was trying to set up a virtual host, but I could not find a sites-available to it. What is its alternative
View 3 Replies
View Related
Nov 25, 2010
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?
View 2 Replies
View Related
Mar 5, 2011
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.
[Code]...
View 8 Replies
View Related
Jun 17, 2011
Does anybody know where the Apache benchmark program 'ab' is for opensuse? I don't find it installed or in the standard repositories.
View 3 Replies
View Related
Apr 28, 2010
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?
View 2 Replies
View Related
Jun 1, 2010
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?
View 9 Replies
View Related
Nov 20, 2010
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
View 4 Replies
View Related
Feb 5, 2011
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.
View 4 Replies
View Related
May 19, 2011
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.
View 2 Replies
View Related
Jul 8, 2011
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?
View 6 Replies
View Related
Aug 10, 2010
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:
View 3 Replies
View Related
Feb 3, 2011
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?
View 2 Replies
View Related
Jan 12, 2010
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'm using Firefox 3.04 and SuSE 11.1
View 1 Replies
View Related
Feb 17, 2010
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.
[Code]...
View 1 Replies
View Related