Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 FAQ (Frequently Asked Questions)
Google
Post new topic Reply to topic
Author Message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Fri Jul 25, 2003 5:57 pm Reply with quoteBack to top

NOTE : If you are viewing this topic as a result to a response to your post with a link to this it means you have neglected the Forum Guidelines

Question #1
Quote:
How to get a domain name


to own one see the ICANN Accredited Registrars list from which you can buy one

depending on your domain registrar they can also give you a DNS server

networksolutions is one such registrar and so is no-ip.com and tho' this is free you only get a subdomain

TOOLS : http://netcraft.com for searching domain names http://www.whois.sc for looking up domains

Question #2
Quote:
How to get a DNS server


In case you don't already know you have to configure your domain's DNS entries to point to the IP of the box you installed A2T on

if you don't have a DNS server you can get a free one from www.everydns.net , www.zoneedit.com or www.dyndns.org

TOOLS : http://www.dnsreport.com for testing your DNS configuration and http://www.dnsstuff.com for more tools

Question #3
Quote:
How to get a IP address


the easy way and most common is to have a ISP that assigned you a external IP address

depending on your internet provider they can also give you a IP address

If you want more ip's like if you want to be a webhosting provider see below

IANA (Internet Assigned Numbers Authority) is the authority that gestionates IP address allocation
You can see the list of registrars by countries here http://www.iana.org/cctld/cctld-whois.htm

The authorities appointed by the IANA to allocate IP numbers for specific areas of the globe follow :
http://www.arin.net/ USA
http://www.ripe.net/ EU
http://www.apnic.net/ Asia & Pacific
http://lacnic.net/ Latin America & Caribbean

These are RIRs (Regional Internet Registries) and they are the authorities actually allocating IP (Internet Protocol) and AS (Autonomous System) numbers

You need to find out the list of AS's in your country and request IP's from them

TOOLS : http://www.robtex.com/netexp/ for searching AS and IP numbers and http://www.cidr-report.org for a AS aggregation report

Question #4
Quote:
Why do i see the code of the script instead of its output


Because you need to open the scripts through your apache server like this : http://localhost/apache2triadcp/test.php , not c:\apache2\htdocs\apache2triadcp\test.php

Question #5
Quote:
Why can't i connect to my host from outside my network or from the same network but from a different pc than the one with apache2triad ?


Because you are using localhost as the hostname which is 127.0.0.1 and they are both loopback interfaces for the machine that you are on

You need to use the private network IP or external public IP of the server or the hostnames associated with them, and your apache2triad setup must be set to listen on the ip you are trying to access.

Also, you need to have the correct ports open/forwarded on your firewall(s) to your host pc. see: http://apache2triad.net/forums/viewtopic.php?t=3914

TOOLS : http://whatismyhostname.com and http://www.whatismyip.com

Question #6
Quote:
Why does the mail server not send emails , php-nuke , phpbb not email confirmations or they are rejected/returned


You must use the domain changing script to change from localhost to a fully classified domain name

You must own the domain name to which you are changing to and the DNS records for that domain must point to this computer's IP

You must have proper Mx settings for that DNS , that point to your mailserver

Question #7
Quote:
Why do images and other files not load on the pages served by apache ?


FIX:Set EnableSendfile to Off in httpd.conf to disable your os's broken sendfile support

Question #8
Quote:
Can you upgrade to the new beta/alpha/candidate version of [program name] in Apache2Triad ?


No , I only bundle stable releases of the software into Apache2Triad.

Question #9
Quote:
Can you add this forum/cms/crm/helpdesk/banneradmin etc program in Apache2Triad ?


No , Apache2Triad does not come anymore with other web based scripts/software besides the ones which are web based GUI's or other management programs for the software in Apache2Triad

Question #10
Quote:
What is the username/password for apache2triadcp/awstats/phpxmail etc ?


The password is the global one that you have set in the installer , the username is usually root , the readme file is explicit about this you know.

Question #11
Quote:
How can i bypass the install check of a new version if i deleted my old version without uninstalling it ?


FIX:Using a registry editor delete the key HKEY_LOCAL_MACHINE\Software\Apache2Triad


Question #12
Quote:
How can i definitely prevent the xmail server form relaying ?


Uncomment and set "EnableAuthSMTP-POP3" to "1" in server.tab

Question #13
Quote:
How can i redirect the root of my document root of my server to a directory under it like phpbb/ ?


in the DocumentRoot of the webserver create a index.html file with the containing this :
<meta http-equiv="refresh" content="0;url=phpbb/">
or a .htaccess file with either :
"Redirect 301 / http://example.com/phpbb/" or
"RewriteEngine on
RewriteRule ^$ /phpbb/"

Question #14
Quote:
How can i install all pear packages or beta ones ?


pear install-all
Install all Packages from Package server

pear install-all --nobuild
Install all Packages from Package server, excluded Packages which must compiled like Extensions

pear -d preferred_state=beta install -a Package
Install specified package even if it does not have a Stable release

Question #15
Quote:
Why does my code that relies on PATH_INFO to make search engine friendly urls not work on apache2 ?


As opposed to Apache1 in Apache2 you have to set :
AcceptPathInfo On
in httpd.conf

Question #16
Quote:
Why can't i connect to mysql from remote computers or from the local machine if i use my ip or domain instead of localhost ?


By default mysql is configured to only listen on the loopback interface (127.0.0.1/localhost) so connecting from it from outside or another interfaces is not posible by default as it is not something recomended or generally wanted/needed

If you change the value of bind-address in my.ini to your public ip or whatever ip/hostname you want to run mysql on , that can be accesible from the outside , and mysql will be accesible from the outside too , you can alos remove that line alltoghether and make mysql bind on all interfaces

Question #17
Quote:
How can i chmod 777 or 644 etc. a windows file ?


All filesystems under all operating systems support individual file permissions/atributes in order to be able to restrict/allow access based on these permissions, however the commands that can be used to manipulate such atributes are not the same between all operating systems.

For example to allow ewerything from everyone (as most modern operating systems are multiuser os'es) on file example.ext under a unix based os we would use "chmod 777 example.ext" , on a windows os we would use "attrib -R -A -S -H example.ext"

FYI "chmod 777" is a unix command that gives read/write/execute access to the file from anyone , so see your windows documentation for the command that does the same under windows , then ask your os manufacturer for the support on the parts lacking

Question #18
Quote:
Why do the Apache2triadCP links to the manuals do not work ?


You are using "the browser" then , well you see for "security" purposes, firefox blocks links to local files from remote files by default. This includes linking to files on your hard drive or mapped network drives.

FIX:You can fix it by entering about:config into the Location bar and hit Enter , and change security.checkloaduri to false , restart firefox

Question #19
Quote:
Why do i get the error "couldn't create child process: 720003" on perl/cgi scripts ?


Because the path to perl on the first shebang line of the script is wrong and the server can not spawn the interpreter process.

FIX:You can fix it manually or with a script in the Apache2TriadCP , just see the readme allready.

Question #20
Quote:
Why does ASP not work?


Apache2Triad only has support for Apache::ASP , Apache::ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only.

If you enable it along perl in the httpd gui , restart the server , and the asp test in the CP works it means that your asp script is not a valid Apache::ASP script

Question #21
Quote:
Why am i not seeing all MySQL table types/storage engines ?


By default in apache2triad Mysql is configured only with MyISAM table support , so to enable other engines like InnoDB or BerkleyDB see the mysql config file or its CP gui page


Question #22
Quote:
Why did PostgreSQL did not install , and i am missing the config file and /data folder ?


Postgres is installed , the problem is that the postgres db cluster has not been successfully initialized on your system , this is done after you get the "Enter password for apache2triad :" console promt , a new console spawns and starts a lenghty (about 1 minute) pg database cluster initialization progress

if pgsql/data is empty it means that the initdb command runned as the apache2triad user just before the end of the installation was unsuccesfull and postgresql is not fully set up for your system

so either runas or initdb failed

reasons why initdb would fail include having a nonstandard locale , not having a NTFS file system , postgres utilises a feature called 'reparse points' to implement tablespaces which is not available on FAT partitions

reasons why runas would fail include not entering the same password you previously set in the installer , or your system's runas command requires special settings http://apache2triad.net/forums/viewtopic.php?t=2576


Question #23
Quote:
Why are PhpMyAdmin links broken when accesing it remotely on default apache2triad configuration ?


Because like most things in apache2triad it is configured by default on localhost , we can not know your domain name/ip so it is you who have to configure apache2triad for that using the domain change script , a quick fix is to change PmaAbsoluteUri in phpMyAdmin/config.inc.php

Question #24
Quote:
Why do i get apache "The memory could not be read" errors ?


Because most likely you are using a ram recovery/memory manager software , you should disable them.


Question #25
Quote:
Why can i not open http://localhost ?


In 99% of cases that hapens because the apache service is not running (in a2tmanager none of the 2 apache entries have a red stop button besides them but a greeen start one)

The remaining 1% should look for a localhost entry in sys32\etc\hosts , see if if http://127.0.0.1 works and look for a 127.0.0.1 entry in the output of "route print 127*" runned in a console

And in 90% of the cases where the service was started but failed (with "The Requested Operation has Failed" for example) all you have to do is look into the apache2triad/logs/error.log to figure out why it did so

Question #26
Quote:
Why does apache crash after child process restart when MaxRequestsPerChild reached ?


This can be caused by memory managers or other similar software running on your system if you get a error like (OS 995)The I/O operation has been aborte , try to disable them .

This can also be cause by antivirus programs hugging the sockets , if you get a error like setsockopt(SO_UPDATE_ACCEPT_CONTEXT) , try to disable them

A posible fix is to set Win32DisableAcceptEx in httpd.conf

FIX:A definitive fix is to disable child process restart alltoghether by setting MaxRequestsPerChild to 0 in httpd.conf

Question #27
Quote:
Why does the password i set in the installer does not work for mysql


Because the mysql service could not be started in a timely manner upon install and the mysql password was left blank (and gave a notice about this too, pay attention).

FIX:Log in to mysql with no password and set a password for root.

Question #28
Quote:
Why many big mail providers reject or mark as spam mail sent from my mailserver


There are many causes , most common is your server being a open relay , and most unknown 2 causes follow :

1- The Reverse DNS FQDN for the ip of the server is not the same as the FQDN of the mailserver (this is not a problem for mail providers that read your SPF , given you have implemented SPf records).
FIX:only your isp or hoster can fix this , and some have integrated ways to do it.

2- No SPF records. Since 2004 hotmail started discriminationg mail from servers with no SPF and by now at some extent much of the mail providers have followed.
FIX:you can fix this yourself if you can add TXT entries to the DNS for your domain http://www.openspf.org has wizzard to help

NOTES
Code:

http://example.com is a url
http://example.com/news/ is a url
example.com is a fully qualified domain name (FQDN)
www.example.com is a subdomain of domain example.com
www.example.com and example.com are both hostnames
subdomains are not domains
.com is a top level domain (TLD)


Quote:
If all fails , USE your brain .


Last edited by Vlad Alexa Mancini on Sat Aug 04, 2007 10:41 am; edited 58 times in total
View user's profileSend private message
rickh57
 
 


Joined: 24 Dec 2004
Posts: 33

PostPosted: Thu Feb 02, 2006 7:59 pm Reply with quoteBack to top

Re Question #X
Quote:
Why do the Apache2triadCP links to the manuals do not work ?

If you've upgraded to FireFox 1.5 or later, the suggested solution no longer works. Instead, http://kb.mozillazine.org/Links_to_local_pages_don%27t_work#Firefox_1.5.2C_Mozilla_1.8.2C_and_newer contains a way to do this. It worked for me, but from googling, may not work for others.
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT