System: Kernel 2.6.8-2-k7
CPU model AMD Athlon(tm) 64 Processor 3700+
CPU MHz 2199.98
RAM: 1GB
Linux Debian 3.1 Sarge with common apps like Apache, MySQL, PostgreSQL, PHP, Perl, Python, gcc, Webmin, OpenSSL, Yast 2, Postfix, etc.. pre-installed
Our project is probably very easy for someone skilled in linux and web server configuration. The server already has all application software installed and just needs to be configured properly.
Here is the situation:
We need to be able to add in domains (also on subnet IP's) with ease so we wanted something else than webmin.
First we set up and configured bind. Bind seems to be running ok and we can manually add domains and have them resolved accross the internet.
Then for the domain adding interface we wanted to setup/manage virtual directories and such, we choose VHCS. Using a script we found on [login to view URL] we installed VHCS2 without too much hassle
Then we added the sub domain to the /etc/network/interfaces and it now looks something like:
###Loopback (lo):
auto lo
iface lo inet loopback
###Interface (eth0):
auto eth0
iface eth0 inet static
address [login to view URL]
broadcast [login to view URL]
netmask 255.255. [login to view URL]
gateway [login to view URL]
## Additional subnet
auto eth0:1
iface eth0:1 inet static
address [login to view URL]
broadcast [login to view URL]
netmask 255.255. [login to view URL]
gateway [login to view URL]
All seemed ok so far, but then Apache started giving us trouble:
debian3132lamp:/etc# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
Ok so here is the first problem... Something is hogging up port 80 or it wont bind to the network address correctly for some reason.
Then we try to restart the network and:
debian3132lamp:/etc# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...SIOCDELRT: No such process
ifup: interface lo already configured
done.
Not sure if that error means we set up our subnet wrong or what it means exactly.. However, we need to do a network restart each time the server reboots for dns to work.. dunno why, but something is wrong here&
Anyway, our webserver provider does not offer any software support and we need some help to get the server going properly.
You can eigther:
a) configure what we set up already to work
b) uninstall what we did so far (bind, vhcs) and install something else.
What we want is:
1. The subnet with 64 IP's to be set up correctly in addition to our main IP. Check that bind and other critical webserver enviroment programs are set up correctly.
2. To be able to add in domains (set on subnet IPs) with ease. By using a control panel, script.. or whatever. As long as its easy/quick. Something that creates virtual directories etc and makes life easier.
Hope this makes the situation clear and you understand what we want to have done. PM if you need more details.
You don't need an admin at all. All You need to do is install new kernel and move Your networking userspace to iproute2. Then, You should delete declaration of alias eth0:1 and in some startup script simply add new ip with # ip addr add a.b.c.d/netmask dev eth0. This should resolve Your problems. Sincerily Yours, Vladimir.
$30 USD за 1 день
5,0 (2 відгуки(-ів))
1,6
1,6
9 фрілансерів(-и) готові виконати цю роботу у середньому за $57 USD
I can fix your apache for 10$, it's not so big problem. The other thing is that VHCS already supports what u want.
As sys-admin i recomend you to recompile kernel too. This one is already too buggy.