CentOS 5 :: Starting Apache But Cannot Browse In Firefox?
Oct 14, 2009
I have a problem, I'm have a course at high school (webserver management) in class this morning we had to install apache, php, ftp and so on but I didn't finish on time so when I got home I was playing around. I'm on wireless here and changed the vm connection from bridge to nat.
normally we had to install apache using yum (yum install httpd) and start the service. that's what I did and then we had to go to firefox (or IE) and type the ip of our server. but when I do I get "problem loading page" instead of the apache default page. I've set httpd runlever 2 to 5 to on and rebooted. but still not working.
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?
the start up fails, but a process is left running. these machines are running the latest stable version of Centos 5, and we have been "messing" with the firewall. When I'm logged on through a console, I get error messages that lockd can not contact the server even though the nfs mounted home directories work fine.
In debian lenney I use the dnsmasq as dns resolver, and wvdial to connect to isp, the wvdial connect to the isp but cannot browse the internet with firefox, these are what is done:
Dec 28 21:19:53 salman pppd[8398]: pppd 2.4.4 started by root, uid 0 Dec 28 21:19:53 salman pppd[8398]: Using interface ppp0 Dec 28 21:19:53 salman pppd[8398]: Connect: ppp0 <--> /dev/ttySHSF0 Dec 28 21:19:54 salman pppd[8398]: PAP authentication succeeded Dec 28 21:19:54 salman kernel: [ 2655.428889] PPP BSD Compression module registered Dec 28 21:19:54 salman kernel: [ 2655.500676] PPP Deflate Compression module registered .....
Same pc with same isp, modem and dnsmasq working in fedora 12 as I am posting from from fedora 12.
this is really software and not hardware. So, my wife trashed her Windows laptop with a lovely virus for the third time this year. I told her that three strikes and she's going to somewhere she can do no harm: Linux. So, her personal laptop is an old HP-Compaq from 2004.
It took Ubuntu 9.0.4 like a champ, wireless and everything working. I expected nothing less. OK but here's the problem, on the wireless connection, not the wired connection, she can't browse with Firefox. Oh, I can ping external IPs, I can ping external host names and I can browse from the CLI with Lynx. I know this is going to be something really obvious but I am stumped.
When the dsl modem connected to net I cant browse pages through my fedora9 in my desktop. I never had the same prob before I used it a hour ago now it is not working. The connection established symbol comes and the ip addresses are assigned by dhcp and the connection is eth0 and I can use the same in windows xp so the router and internet connection have no prob. I cant ping through fedora and I can ping my own IP address, I can access my router only the browsing have problem my browser is firefox.
Background: In attempting to move from XP to linux, I have a F14 live USB stick -- can boot Dell M6400, see the internal drive and USB sticks. Wired ethernet network is seen only if ethernet cable is plugged in before booting. Then, I can ping sites by name (yahoo.com, google.com) -- however, FireFox does not load any web-page over the internet -- it does not put up an error message either, it just keeps waiting (it is in on-line mode).Info on the system
uname -a Code: Linux localhost.localdomain 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [code]...
I have openSUSE 11.2 64-bit KDE, I have installed it with lan cable connected, install updates and than switch to wireless.Everything worked great until I went to my girlfreind with laptop, there I can connect to router, use Skype but can't browse pages with firefox, can't install packages with YAST Also wired connection gives the same result but her PC have no problem with Internet.I have traied ifup, deleting /etc/resolv/conf, disabling NetworManager routing options with no succes
without proxy's like Ultrasurf and Freegate you can't browse them; So when i was running on Microsoft Windows, i was using Ulrasurf or Freegate to browse these web pages; but in Ubuntu i can't run .exe programs.. How to find a good proxy program to browse these web pages or if some plug-in is exist in Firefox to browse these pages, How to download it and teach me how to use it.
I have two kinda weird problems that have been preventing me from wasting my time!
1. I can go to a flickr page and see the first picture fine. When I use the browse buttons and/or try and change to another picture, firefox crashes.
2. When viewing pictures in facebook (the only reason I use it is to share pictures with my far-off family who doesn't get to see my kids often) the pictures are very badly pixelated.
I'm using an Acer Aspire laptop (Intel 915 graphics, celeron processor, 1.5GB ram) with a completely up to date Fedora 12 installation. The weird part is, my wife's netbook, (1GB ram, Intel 945 graphics) with Fedora 12, displays everything fine. I'm cometely stumped how one machine is having such issues while another isn't. This problem existed in F10 when I used up until the F12 release so I'm presuming it is a graphics card problem (???) since the software and OS has changed.Does anyone know what might be going on or how I can check?
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:
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?
When I try to start Apache2 (apachectl start) the command prompt returns right away. But when I check the processes (ps ax) I can't find httpd. And when I try to hit the server from a browser I get "the page cannot be displayed" error.
I know this is not a win-doze forum but i always ask my questions here so here goes.I am having what appears to be a DNS problem on a friends laptop. He is running windows XP. I CAN connect to networks and even ping websites but i CANNOT browse in Internet Explorer or FIrefox.
We have installed apache 2.2.15 webserver on A rhel 5 Linux 64 box using the user wwwadm group www
We can start the webserver using root and it works fine but we dont have root access forever so we want the wwwadm user to have all the rights and we can start/stop/restart the Apache server using this wwwadm user.
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 am trying to install Zend Server, and that went well. Apache and all the other items were installed.
But when I go to start Apache, I get this error:
Quote:
root@laptop:~# /etc/init.d/apache2 restart * Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration [fail] And on line 6: php_admin_flag tidy.clean_output off The rest of the file is below:
Quote:
# Warning: Modifying this file will break the Zend Server Administration Interface Listen 127.0.0.1:10083 NameVirtualHost 127.0.0.1:10083 # do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images code....
First post here so I'll do my best to provide the information needed.
System:
Dell Poweredge R310 Xeon 3460 2.8Ghz 4x2GB ram 4x 160GB Sata 7.2k (RAID 10) Ubuntu Server 64bit
If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.
Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.
I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.
I have an Ubuntu 10.04.1 AMD64 server running Apache with SSL. In the past, even though I have a passphrase on my key file, I have only needed it if I manually restarted Apache2, never after reboot.
I recently switched from a self-signed cert to one from a CA. I'm not sure if this is what caused it, I also installed a few packages (AWStats, PHPSysInfo and Munin) that all interact with the webserver.
Anyway, I just noticed that now after a reboot Apache starts but doesn't work. I need to kill that process and start a new one with the passphrase (maybe on the console it is prompting me, I mainly use SSH access since the server is headless).
Why did Ubuntu used to 'remember' the passphrase on the self-signed cert but now I need to provide it?
My sever auto-updates so it would be annoying to have this thing go down regularly after a patch that requires a reboot.
I have just installed Ubuntu 10.04 and it works fine. Next, I attempted to install Apache 2.2.16 server on the machine. I was able to get Apache installed but I cant't get it to start. The command I used to get it to start is "apachectl -k start" and got the response "command not found". Then I used the absolute path which is "/home/Administrator/Downloads/apache/bin/apachectl -k start" and got the response"httpd: could not reliably determine ther server's fully qualified domain name, using 127.0.1.1 for ServerName(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80.no listening to sockets available, shutting down". Please advise me on what to do. My eyes hurt from looking at the screen for so long trying different options and reading almost all the apache install instructions that exists. Just ready to have it up and running.
Today, I try to update firefox by Package Updater but show error by bellow. "Missing Dependency: xulrunner >= 1.9.0.19-1 is needed by package firefox-3.0.19-1.el5.centos.x86_64 (CentOS5updates)"
I have 4 centos5 apache webservers all on the same network, recently, 2 of the webservers have stopped being able to ping or browse one particular website where feeds are obtained from this site. I have checked and firewall and selinux settings are disabled. The two webservers are able to ping and browse other sites. Dns settings are the same for all 4 servers. traceroute for working and not working webservers are the same.
I updated my Suse 11.1 distribution and suddenly Firefox stopped working. I went to a terminal and typed in "firefox" and nothing happened. No error message, no nothing. It just stood there.
If I did the sae as root or as another user, then Firefox would load as usual.
The issue for me was that I was using NoMachine (NX) to access my machine. It adds some lines to the LD_PRELOAD session variable. I removed the variable content et voila! I've got my Firefox working again
To check if you're in the same potential situation, do a "set | grep LD" and check the result. If you've got "LD_PRELOAD=" with nothing afterwards, you're not in the same case as me. Good luck finding our fix. If you see "LD_PRELOAD=some stuff here" then you may be in the same case as me. The type in "LD_PRELOAD=" and hit enter to clean he variable. Then in the same terminal type in "firefox" and it should just work.
I've set up a second user for myself on my laptop.
My user on the laptop is 'tiger'
Let's call the second user 'jrdobbs'
I would like to log on to gmail/facebook/etc using the jrdobbs, but I don't want to switch users via X... I just want a second instance of firefox open, which stores all of its login information under /home/jrdobbs.
My naive attempt looked like this:
Code: su -l -c "firefox" jrdobbs Here was my thinking: start firefox under 'su jrdobbs' ... firefox should store its files under the current user's $HOME/.mozilla
How do I get the new Firefox 3.6 to let me chose between different profiles when I start it?ith Firefox 3.5 I could do that with the command:Code:/usr/bin/firefox -p -no-remoteBut that doesn't seem to work anymore.