[SOLVED] I'm so close, yet so far: please help me with getting my server online! :)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yeah, that is the right file. It might take some tweaking since it is generic and Xubuntu may have done some customizations, but the errors should be obvious when you start apache.
For certain that is not a standard default httpd.conf file. It has been modified to some other system or setup. A standard apache.httpd that comes from apache.org does not contain statements such as "Listen @@Port@@" The Listen directory in a standard httpd.conf would list something like Listen 12.34.56.78:80 or Listen *:80 Again I am assuming that the httpd conf file he has there is done A,) by the distro he is using or B.) a third party installation. The apache.conf file will be found in /etc/httpd/conf directory in a normal install. If it is located anywhere else it has been placed they by the distro itself or by a third party.
The "New Edit" version was in effect for a short while, but it seemed to be causing problems (video), so I reverted to the "Default" version, which is what came with Apache (as autoconfigured by the #! 10 Welcome script upon first boot).
I know I have asked this before, but I received two very different answers. How, exactly, should I format the directives in ports.conf? (Sorry, networking lack-of-knowledge-haze)
In your file you have the following line listed
NameVirtualHost 18418718138:4080
This need to be listed in the dotted quad notation...... For example
NameVirtualHost 123.456.789.012:4080
The way you have it currently I am surprised that Apache did not display an error. The command is httpd -t
-t Run syntax tests for configuration files only. The program immediately exits after these syntax
parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax
Error). If -D DUMP_VHOSTS is also set, details of the virtual host configuration will be printed.
If -D DUMP_MODULES is set, all loaded modules will be printed.
I tested your line and ran a configuration check on Apache and got the following.
It not only tells you there is a problem or not, but tells you where the problem is. In you case a syntax error.
[root@localhost conf]# httpd -t
Syntax error on line 212 of /etc/httpd/conf/httpd.conf:
Invalid command 'NameVirtualHost', perhaps misspelled or defined by a module not included in the server configuration
[root@localhost conf]#
Distribution: Debian for server, CrunchBang for everything that's not a server
Posts: 143
Original Poster
Rep:
Hi, all -
I'm not going to be doing much work on the server today, as it is the first day of the new year. I do, however, think that a bit of an update is in order.
To clarify, I'm no longer running Xubuntu on any system, including the server machine. Every computer that I control is now running CrunchBang Linux, either Statler (which is based on Debian's stable branch) or Waldorf (based on Debian's testing branch). CrunchBang uses Openbox as a WM, which is useful because I'm not quite able to use a pure CLI system yet.
Feel free to try it and let me know if you can see anything. At the moment, it should just be showing a 404 error (cannot find /), but that's a good start.
Happy new year. Thanks, everyone, for helping me along for so long.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.