Configure the HTTP server via system-config-httpd brings up some nice gui.I start a console, login to root and start it with: system-config-httpdGoto tab Virtual Hosts, then addI name my Virtual Hosts "sea", set its document root to: /home/sea/webs/sea.hs/www
where index.php is located for that 'local test server'.Host information is on Name based Virtual Host.But what do i have to enter for IP Adress and Host Name? Neither of these accept 127.0.0.1 nor localhost Further, when i try to exit, it wont let me close the app.Its not saved, hence i can even delete the default virtual hosts and its there again after restarting the app Even with adding sea /home/sea/webs/sea.hs/www or sea localhost.localdomain localhost to /etc/hosts doesnt change anything
When I try to run the 'system-config-display' program for Fedora 11 and I use the dual head tab, attempting to save the settings results in this:
Traceback (most recent call last): File "/usr/share/system-config-display/xConfigDialog.py", line 212, in ok if card.getDescription() == self.secondVideocardOptionMenu.get_menu().get_acti ve().get_data("NAME"): AttributeError: 'NoneType' object has no attribute 'get_data'
I'm trying to create a cname in system-config-bind. I can create the record but when I go to save it I get a "Zone file save error". Here's the full output: Save of Zone file var/named/chroot/var/named/plantsareperfect.com.db failed dns_master_load_/var/named/chroot/var/named/plantsareperfect.com.db:10lantsareperfect.com:cname and other data (sorry, the rest is off the page and I cant see it) Why I can't save this cname?
Not sure why but I keep on getting the ERROR: Path is not writable when I'm trying to add a Slave Zone.
The server was commissioned by someone else and I remotely installed GNOME group, and vncserver as per the official CentOS instructions here.
Initially I tried using a normal (ie non root) user's credential for my VNC session. However, instead of asking me for my root password when I tried to open system-config-bind, it just doesn't load up. I ended up allowing the user "root" to connect to the server remotely via VNC, and was able to get system-config-bind to start.
However, I am now unable to save the settings, despite having done:
my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.
I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)
I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.
httpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.
gnome-user-share i586 2.26.0-2.fc11 installed 809 k httpd-manual i586 2.2.11-8 installed 3.5 M mod_perl i586 2.0.4-8 installed 6.3 M
[code]....
php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
I've just setup Fedora 10 x64 on a Supermicro 7045 with dual nic; I setup a web site and ran into a strange problem; I can't see my website from outside my LAN; checking IP on Internet it sees my IP as coming for my dynamic IP (IP of router/switch) and not my static IP.
eth0: Static IP eth1: Dynamic IP
These are standard Intel 82563EB Dual-Port Gigabit Ethernet Controller.
Is there a way to specify the order in which it sees the nic ports?
I'm wonder if I can mix Static and Dynamic IP's; on the outside they resolve to a static IP; the dynamic one shows up as my router/switch IP; but it allows me to access my DHCP computers; this isn't a web server; but a development machine for writing PHP apps.
Where 123.123.123.3 is my static IP address.
I should mention that nmap -v -p 80 123.123.123.3 shows an open port on 80
Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.
I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"
I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?
System Config: Fedora Core 12 x86_64 AMD Athlon II X2 250 3.0 GHz dual core GIGABYTE GA-MA785GM-US2H G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
I'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running: run_init service httpd start after boot _works_ and the server runs fine, but even when it's running OK, service httpd status reports httpd dead but subsys locked
I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.
Alright, so I upgraded my old fedora 10 server to Fedora 11 with a netinstall CD, but now service httpd restart is broken. I already had to delete the old config file and reinstall apache, but now I can't restart it. I can kill it and then start it manually, but it never stops the running instance and fails to bind the port. I know it's because /var/run/httpd/htpd.pid is in the wrong place, which would be /var/run/httpd.pid, but do I have to make a symlink every time I want to restart it? I edited all the config files to point to the right place, but the system does not honor them. What do I do?
On F13 i386 inside Virtualbox. Host is a Win7 x64 box.
This may just be more idle curiosity than anything else since the server still works. . . but it's really bothering me because I can't explain it.
My (limited) understanding is that the devel files are just the source files and shouldn't actually affect peformance.
Yet, prior to installing httpd-devel (and its dependencies), /etc/init.d/httpd restart takes about 2 seconds total. After installing httpd-devel, the "stopping" phase of the httpd restart take 5-7 seconds (which seems really long when you're just sitting there waiting on it.
yum install httpd-devel also installs the following for dependencies: db4-cxx db4-devel cyrus-sasl-devel apr-devel apr-util-devel openldap-devel expat-devel
All but one of those are devel files as well. And here's the real kicker: Uninstalling them through YUM doesn't put things back to normal (even after reboot).
I'm no linux expert. But I wouldn't think installing devel files would have this effect or any effect like this since they're just source code files (?). Can anyone explain what's happening or give me tips on how I can watch the apache process stop and see what's hanging it up?
I have one problem regarding my web server. When I am try to restart my httpd service it shows...
[root@localhost ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED] [root@localhost ~]#
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
i have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine
I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.
Code: #telnet localhost 80 GET /1.html <html> </html> but from any other computer.
Code: ..... But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
I have a SUSE Linux Enterprise Server 10 (i586) server that is dying (I think the disc is about to crash). I want to save all the installed software and all the configurations.
To know what software is there installed, I use "rpm -qa > outlist.txt".
But what files shall I (scp) copy ... to take away as much configuration files as possible ?
Let's start with "/etc/*.conf", of course ... but is this enough ?
The server basically runs a DHCP server and a DNS server