I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.
I just finished installing xCache and restart httpd it isnt starting up
root@server2 [~]# service httpd start (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 root@server2 [~]#
to install mod_evasive module on our Apache2 that runs on Fedora server. However, for that we need Apache's apxs to compile it. We found out that we can do that by running the
yum install httpd-devel However, when we run that, we get the following:
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: httpd-devel i386 2.2.8-1.fc7 updates 144 k Updating: httpd i386 2.2.8-1.fc7 updates 1.0 M openldap i386 2.3.34-7.fc7 updates 291 k Installing for dependencies: apr-devel i386 1.2.8-6 fedora 170 k apr-util-devel i386 1.2.10-1.fc7 updates 54 k cyrus-sasl-devel i386 2.1.22-8.fc7 updates 351 k db4-devel i386 4.5.20-5.fc7 fedora 2.3 M expat-devel i386 1.95.8-9 fedora 129 k openldap-devel i386 2.3.34-7.fc7 updates 1.5 M Updating for dependencies: httpd-manual i386 2.2.8-1.fc7 updates 821 k mod_ssl i386 1:2.2.8-1.fc7 updates 85 k openldap-clients i386 2.3.34-7.fc7 updates 179 k
Total download size: 7.0 M We're kind of cautios, because we have never updated Apache on our live server. We'd prefer if we could download and install just the httpd-devel module. Is this possible?
If not, would this mess up any of our existing configuration? Could we expect any problems? And do we need to shut Apache down, then run the updates and only then restart it?
AddModule mod_php4.c AddModule mod_php5.c Then later in the httpd.conf Im trying to tell apache to handle .php4 files with PHP 4 and .php with PHP5
Code: AddType application/x-httpd-php .php AddType application/x-httpd-php4 .php4 I restarted apache to load the new conf. .php files still use PHP5, but for some reason .php4 files are being downloaded, not running with PHP 4.
If I use htaccess to application/x-httpd-php4 php, .php files also force download. What am I missing?
As posted in a previous thread I noted how I have been hosting with GeekStorage. After a little bit of investigation I found that a total of 593 (possibly more) website where being hosted on the same server as mine. I'm not sure if this is overselling but because I'm new to all this but I'm pretty sure it is.
Now, I'm looking on switching from GeekStorage to someone who doesn't oversell. I would be fine with 10-20GB of storage and >150GB bandwidth. Budget is 5-10$ a month.
so for over 3 weeks now pc-core.net had some problems with their servers and my accounts were just lost and no one answers my support tickets they just erase them, they disabled my account to support so i can only submit support tickets and click the link on the email.
they told me to email cshelpdesk.com to get my account moved to a new server and cshelpdesk is just telling me im SOL. they dont have access to the server i was at and basically to F off.
is there anything i can do? im basically just being ignored and they dont even have a number to them.
my sys admin is currently in vacation and ovh staff cant help me much so i really appreciate if someone could help me tackle down this issue. I cant create ftp account at all heres what ovh said
Good morning,
Thank you to trust us, there is not my point of view or that of my colleague problem of the kernel compilation on your server or a file corrupted, and your Apache web server is functional, Status of the launch; after this command, via ssh: / etc / init.d / httpd start Starting httpd: [OK]
We see that the port is open 80: netstat-tanpu | grep 80 tcp 0 0 0.0.0.0:7080 0.0.0.0: * LISTEN 3071/lshttpd tcp 0 0 0.0.0.0:80 0.0.0.0: * LISTEN 14349/httpd
From the outside, at this precise moment, we are able to establish a connection on port 80:
Telnet ks357687.kimsufi.com 80 Trying 91.121.148.X ... Connected to ks357687.kimsufi.com. Escape character is'^]'. Get <! DOCTYPE HTML PUBLIC "- / / IETF / / DTD HTML 2.0 / / EN"> <html> <head> <title> 501 Method Not Implemented </ title> </ head> <body> <h1> Method Not Implemented </ h1> <p> get to / not supported. <br /> </ p> <hr> <address> Apache/2.2.8 (EL) Server at ks357687.kimsufi.com Port 80 </ address> </ body> </ html> Connection closed by foreign host.
If I stop the Apache server:
/ etc / init.d / httpd stop Stopping httpd: [OK]
More than 80 active port or connection possible from the outside:
In this case the connection of the exterior evidemment is not possible:
Telnet ks357687.kimsufi.com 80 Trying 91.121.148.X ... telnet: Unable to connect to remote host: Connection refused
I am using Windows 2003 Enterprise Edition SP1 and i have recently set the computer up to 4GB RAM. I notice a problem occur error :
When I start the computer, Bios detected all 4GB Ram. However, i have checked Total physical memory in General (My Computer-> Properties) doesnot detect all 4GB Ram. it only detect 3GB Ram.
I have checked that this OS support up to 32GB . Why it doesn't detect all 4GB ? What happen to it?
Mainboard : Intel chipset 915GL
I did following the instruction in internet (exactly is Microsoft) is /PAE in boot.ini file. But, it doesnt work.
Yesterday we registerd and created 2 domains in our server. Everything is ok, files uploaded, dns zones created, httpd virtual host created...
The problem is that trying to browse the site trough http://www.site.com redirects me to [url] my main server IP address, this page shows a cPanel Welcome message.
But, using [url], the site is loaded ok, withouth any problems.
DNS zone shows:
Code: ; cPanel 11.11.0-BETA_16977 ; Zone file for site.com $TTL 14400 @ 86400 IN SOA mydns1.wolo.com. admin.hostingserver.com. ( 2007092601 ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds
site.com. 86400 IN NS mydns1.wolo.com. site.com. 86400 IN NS mydns2.wolo.com.
site.com. IN A IP_ADDRESS
localhost.site.com. IN A 127.0.0.1
site.com. IN MX 0 site.com.
mail IN CNAME site.com. www IN A IP_ADDRESS ftp IN A IP_ADDRESS Apache virtual host code
The email of my client doesnt receive certain emails from certain accounts, including my yahoo.com.ph account. After several tries I received this error instead.
After trying to send mail unsuccedfully several times, this is the error I am getting.
Hi. This is the qmail-send program at yahoo.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
: Sorry, I couldn't find any host by that name. (#4.1.2) I'm not going to try again; this message has been in the queue too long.
--- Below this line is a copy of the message.
Quote:
Originally Posted by copy of email
Return-Path: Received: (qmail 90296 invoked by uid 60001); 25 Jun 2007 04:05:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
After migrating from the old ensim to the new "X", everything is working fine, except for the webalizer, I activated webalizer in one domain a few days ago.. and everyday Im trying to see the webalizer information, and it is always displaying this message:
Could not retrieve the requested site report because the Web server logs have not yet been generated. These are generated once a day. Please check again later.
I also tried forcing the log rotating for that site, but the problem still there.
Server is RHES 4 with EnsimPro X, log generation and webalizer is activated for the domain.
I configured monit to send me email alerts when apache is using too many resources but I cannot receive email alerts. I use Qmail. As for syslog, there is this message:
monit[6473]: Sendmail: error receiving data from the mailserver 'localhost' -- Resource temporarily unavailable
I tried to add for server name the name used in MX record but with the same result. Btw: other things configured in cron (eg. RKHUNTER) send me alerts OK.
I'm on windows vista. I've got an SDSL line into the house with a dedicated IP 62.etc. I've then got a Prestige 791R and all PC's plugged in to that. I've also got a wireless router for my Wii set up.
Basically I've set up this DHCP thingy to start at 192.etc.3 and the Wireless router is at 192.etc.1 and the Prestige is at 192.etc.2 my pc is at 192.etc.9
This is about where my knowledge stops unfortunately.
I have installed apache as the most basic default install I think you can and it seems to be working absolutely fine. I'm assuming I could also install PHP and MySQL etc and wouldn't have too much of a problem, however, my friend cannot seem to access the environment from the WAN IP and when I type in my WAN IP I get the prestige router's control panel.
I read somewhere that I needed to forward port 80, now I can 'open' ports in the prestige control panel but I did try opening port 80 in the control panel and pointing it to my LAN IP (92.etc.9) but it didn't seem to work.
I'm at a bit of a loss so if anyone could point me in the right direction I would be most grateful, just to clarify:
//localhost loads the html file 100% //192.etc.9 loads the html file 100% //62.WANIP internally loads my prestige routers control panel //62.WANIP externally does not load a page (cannot be found)
If you need any more info just let me know and I'll get it.
I have a remote XP PC: 172.16.1.5 OpenVPN connection with route added for 192.168.2.0/24 to go via the VPN
Now on the other end the network consists of:
I have a OpenVPN server inside the lan on 192.168.2.245 Its default gateway is 192.168.2.1
I have 3 Windows Servers, 192.168.2.246, 247 and 248. All gateways are set to 192.168.2.1.
I have a ethernet router on the network, 192.168.2.1, it has a route added for 192.168.0.0/16 to go via 192.168.2.245, and route added for 172.16.0.0/24 to go via 192.168.2.245 also). the 192.168.0.0/16 is incase any other LANs are connected at a later date, if computers saw any packets not on the the 192.168.2.x subnet they would be routed to the default gateway which would then pass them to the OpenVPN router.
The trouble is, i can remotely connect and ping to the OpenVPN router fine and also the ethernet router, however when i ping any of the Windows boxes it times out. But i can open up Remote Desktop and connect to the windows box without problem, infact if i am running 'ping 192.168.2.246 -t' it will suddenly come alive but only after the RDP connection is made.
Is this something funny with the routing? I want to keep the OpenVPN server internal to the network and i appreciate it is hitting the ethernet router then being passed to the OpenVPN but something is weird as it fires up RDP fine but not ping. No firewalls are enabled on any of the boxes. If i log into ssh on the OpenVPN router or ethernet router i can ping from that to the windows boxes fine.
Its as if a ICMP redirect is issued, and all is well after the 1st connection. Not too sure but could anyone be kind enough to enlighten me?
My server which runs cPanel (license issued touchsupport) is having problems with handling emails.
I use an external DNS provider (editdns.net) only for this 1 particular domain for handling many Records and such. Through their panel, I have added my mail server's record, i.e. "mailserver.tld".
Now there is a problem with one part of the email issue. I have email piping setup and 1 webmail account setup too. These two work flawlessly. No issues with them. But email forwarding and default address doesn't work.
I am confident that the email settings are working right because, when my clients send an email, piping works and my support system creates a new ticket. But the email forwarding/Default EMail doesn't.
Not just that, I cannot even connect to the webmail account I created via POP3. I 100% sure that I used the correct login credentials and also tried the "+" and ":" for the username part. Just doesn't work. But I can access and read my emails via the Webmail (squirrelmail).
All the videos have been uploaded to << link removed >> and in there you will seea flash_video directory, in there should be a html file where you can double click and watch the flash video.
Now go ahead and try it, click on the HTML file and click CONTINUE and try clicking on MODULE 1.. You will see a video play to the left but on the right are bunch of POWERPOINT slides that will appear as the guy continues to speak. THAT DOESNT SHOW..
Our website is hosted by xo.com
Dont know much about the plan since its my 2nd day at the job..
But here is the weird part,
i have uploaded the samething - same exact way to another web host and it plays fine, the PPTs show up fine..
What do you guys think it is?
Before someone asks about uploading methods, i tried filezilla, coreftp and cuteFTP using both ASCII and binary methods. Samething..
I'm making the switch from windows to linux for our company web server. We've been running IIS/MySQL/PHP for years and with the OS cost to upgrade the server switching to Linux seems an obvious choice. What frustrates me is that none of the Distros seem very quick to use the latest versions of the AMP components and compiliing from source seems an unnessary hassle. I've tried Ubuntu server so far which has Apache 2.2.9/Mysql 5.0.67/PHP 5.2.6 with no room to easily upgrade any of the components (our WIMP server uses the latest MySQL/PHP).
I am trying to install LAMP on Ubuntu 7.1. However I installed apache2, php5 and mysql and it is not running properly. I would like to start from scratch. Could someone please tell me how to go about removing all three components and then installing all from scratch so that it will run properly?
I'm setting up a VPS server on Slicehost, I've followed the guide on howtoforge for debian and have everything installed including ISPConfig3. Everything seems to work fine at the mo but when I check the memory usage, i see that I'm using around 490/500mb of my 512mb setup. Its a Xen setup so I understand this is real memory available but I'm not sure if this is enough.
I will ultimately be running around a dozen sites, some static and some dynamic. There's one Mambo and one Joomla site there but they don't update. The rest are all php/mysql sites that I've built myself but again, they don't change that much. None of the sites currently see more than a couple hundred uniques a day, and some only a handful, so usage is not high. Most of the domains have e-mail accounts attached, but its only moderate usage with around a dozen addys per domain max.
So, do I need more memory or will 512 be enough? Is there anything I can do to reduce the load and give myself some more room?
I'm moving from a shared hosting environment and while I'm comfortable setting up the server, I would rather have a simple mail manager that would give users more control over their accounts, change passwords etc, which I'm hoping ISPConfig3 will be able to help with, but thats probably best discussed in another post.
;; ANSWER SECTION: mp3-dash.com. 14400 IN A 89.46.102.100 mp3-dash.com. 14400 IN SOA ns1.mp3-dash.com.mp3-dash.com. admin@mp3-dash.com. 2009040602 86400 7200 3600000 86400 mp3-dash.com. 14400 IN MX 0 website.com. mp3-dash.com. 500 IN NS ns1.mp3-dash.com. mp3-dash.com. 500 IN NS ns2.mp3-dash.com.
;; AUTHORITY SECTION: mp3-dash.com. 500 IN NS ns2.mp3-dash.com. mp3-dash.com. 500 IN NS ns1.mp3-dash.com.
Searching for mp3-dash.com. A record at G.ROOT-SERVERS.NET. [192.112.36.4] ...took 30 ms Searching for mp3-dash.com. A record at F.GTLD-SERVERS.NET. [192.35.51.30] ...took 158 ms Searching for mp3-dash.com. A record at ns2.mp3-dash.com. [89.46.102.75] Query timed out (interrupted after 1,999 milliseconds) Retrying... Searching for mp3-dash.com. A record at ns1.mp3-dash.com. [89.46.102.74] Query timed out (interrupted after 2,000 milliseconds) Retrying... Searching for mp3-dash.com. A record at ns2.mp3-dash.com. [89.46.102.75] Query timed out (interrupted after 2,004 milliseconds) Retrying... Searching for mp3-dash.com. A record at ns1.mp3-dash.com. [89.46.102.74] Query timed out (interrupted after 2,000 milliseconds) None of the nameservers responded correctly.
I'm in the process of trying to document a process for setting up any new LAMP servers in our hosting environment and I was wondering if anyone had any input on software and best practices that they use in their environment and why. I.E.
PHP setup Apache setup Preferred Linux Distro FTP program used User creation guidelines Default php.ini settings Default site settings etc.
I have a cople of dedicated servers. Both run the same software, phpBB forums. However, with the top command I see one of them need as much as triple memory for every apache process than the other. Here are the details:
Do you realise that the x64 Opteron is needing an avarage 1.7 %MEM for each Apache process while the Xeon just needs 0.5 %MEM?
Since both use the same version of phpBB and the same version of CentOS5, while the only difference is one is x64 and the other i686, I wonder if this has to do with the way memory is handled by the x64 CentOS5.
We have a spare powerconnect server in work and i was looking to set it up as a web server for a company intranet - more to gain experience in configuring a web server than anything else.
I decided to go with Fedora 8 as i'd used fedora previously and followed the LAMP tutorial on HowToForge.
However i've come across a problem which i just can't seem to resolve (after pretty intensive searching). So, i guess this post is in 2 parts.
Firstly, the error i'm getting is with mysql only. The error message is:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I understand this may be a generic error but i'm not sure what other information would be useful.
Secondly, as this is my first web server - have I made the correct choice in terms of linix release or would something like CentOS be more suitable? I'd like to get this right from the start now that i have the chance.