Config Debian Become To Linux Box Routing
May 7, 2009
my plan for the network is:
LAN (10.0.0.0/24) > (eth0: 10.0.0.62) Debian Router (eth1: 172.16.0.62) > modem (172.16.0.1) > internet
I have change /proc/sys/net/ipv4/ip_forward from 0 to 1
and Routing table is:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.0 10.0.0.62 255.255.255.0 UG 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
172.16.0.0 172.16.0.62 255.255.255.0 UG 0 0 0 eth1
172.16.0.0 * 255.255.255.0 U 0 0 0 eth1
default 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
But client not connect internet when use debian router
config debian router?
View 6 Replies
ADVERTISEMENT
Feb 15, 2007
I have the following problem with a CentOS server:
The main IP of the server is yyy.zzz.www.qqq
We've just purchased 3 additional IPs: aaa.bbb.ccc.100, aaa.bbb.ccc.101, aaa.bbb.ccc.102.
First, all outgoing traffic used aaa.bbb.ccc.100, but after deleting the gateways from the additional IPs it seemed to work fine, until we found out the following:
Now all traffic to aaa.bbb.ccc.XXX uses aaa.bbb.ccc.100 as outgoing IP.
What command would change this to use our main IP?
View 0 Replies
View Related
Jun 3, 2008
how to configure linux so that it allows for two ip addresses on one machine?
I know this is possible because my server administrator setup one of my servers to have two different ip addresses so that I could have a static and dynamic http daemon (two different daemons but listening on different ips).
What do you need to configure?
View 1 Replies
View Related
Jul 18, 2007
how to set up networking for the following..
I have a windows 2003 server machine. This machine has 3 internet IPs.
Im running Microsoft Virtual Server and going to be running 2 virtual machines both running Linux (Ubuntu).
Ideally I would like the 2 VMs to use my spair 2 internet IPs. However they are assigned to the NIC on the real windows server. How can I route 2 of these ip addressess to the 2 VMs?
Baring in mind that the windows server has only 1 NIC (used for the internet)
View 1 Replies
View Related
Mar 14, 2007
I have two RedHat EL 4 boxes linked via a cross-connect. One is a web server (10.0.0.3) and one is a mySQL server (10.0.0.2), the interface between them is eth1 on both machines and a second interface eth0 connects to the internet.
I want to use the web server to send queries to the database server via eth1, 10.0.0.2:3306 in this case. If I send a database query via eth1 there is a delay of about 10-20 seconds before the result comes back. If I send the same query to the database server but use it's main IP instead of the internal IP so that the query is being sent to it over the internet (xx.xx.xx.xx:3306), the result comes back instantly.
Similarly, if I send a query from any remote server the result is instant.
Why should there be such a huge delay when sending a query directly through the cross-connect?
The routing table ( ip route show ) for the web server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xxx.xx.xx
10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.3
default via xx.xx.xx.xx dev eth0
and the routing table on the database server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xx.xx.xx
10.0.0.0/8 dev eth1 proto kernel scope link src 10.0.0.2
default via xx.xx.xx.xx dev eth0
I have ifcfg-eth1 on both boxes:
DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
IPADDR=10.0.0.3 / 10.0.0.2
NETMASK=255.255.255.0
Both boxes can ping each other and transfer files using wget without any apparant problems or delays.
Anyone have any ideas on how to fix this 10-20 second delay when sending queries through the cross-connect?
View 3 Replies
View Related
Oct 9, 2008
I just ordered a server which has that setup:
AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD
Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.
Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?
Or would you rather go with CentOS 64 which Directadmin supports?
View 6 Replies
View Related
Sep 30, 2013
My Plesk panel (11.5.30) hosts a number of domains that all use Google Apps for Business to host their emails. No emails are hosted on the panel, and the mail server is turned off. So is the DNS server.
Using the mail() php function to send automatic confirmation emails from a website hosted on the panel, they arrive at any address NOT hosted locally, however they fail to arrive at any address whose website is locally hosted.
My initial research suggested that Plesk was routing locally, hence the problem, however the mailserver has been turned off the for domain/webspace.
View 19 Replies
View Related
Apr 19, 2007
yesterday i order one server in netdirekt but the server only have one hdd mount i need mount the other but first i need make one partition of it
Quote:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 30140 242099518+ 83 Linux
/dev/sda2 30141 30401 2096482+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
can anyone help me to creat a partition for /dev/sdb with 250.0GB ?
for then i mount like that : mount /dev/sdb /home/user/hdd2
I think is that if I'm wrong let me know
View 4 Replies
View Related
Jun 24, 2015
Is it possible through Plesk Linux version on the root servers to update?If not and you will update the Debian itself, you have to note something? What should you back up before everything to make Plesk is working again? Is a complete reinstallation is required?
View 1 Replies
View Related
May 14, 2009
I have a shared hosting account on dreamhost
It has php and others installed but it allows custom installations for a number of reasons (control of the php.ini file, ...).
I have shell and ftp access to /home/username/ where my websites are
(/home/username/domain.ltd)
I installed php 5.2.9 under /home/username/php5,
I also installed ffmpeg but I ran into troubles installing ffmpeg-php.
Now I would like to start over, I'm not very advanced in this and I probably messed some stuff up. It seemed like a good idea to ask for some general advice before going at it again.
First, I was wondering about the filesystem I needed to set up, like the bin, tmp, lib, ... directories. Which ones do I need and what should go in them.
And how exactly do I let the system know these folders are there and it should look there for some commands. When I used phpize, it used the default one instead of the one in my custom php folder. Is the export command all there is to it?
When I install PHP, where should I install it and do I need to point it to my directories (bin, lib, etc...) instead of the ones in the host's root.
I noticed when installing ffmpeg-php it still looked for the default ones at some points:
HTML Code:
"checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend..."
I don't know if this is normal behaviour or not, I'm just basically writing everything I am unsure about.
I got my website to use the custom PHP by editting the htaccess file
Also,
what would be the best approach to remove the things I currently installed, I suppose remove the php5 directory is not enough.
View 0 Replies
View Related
Jul 3, 2014
I have:
Debian 7.5
Plesk 12.0.18
In the hosting setting i have selected:
PHP support (Run PHP as FastCGI application , PHP version 5.4.4)
The web instead of interpreted php makes me do the download of a file. How can I fix?
View 2 Replies
View Related
Aug 18, 2014
It's possible to enable HHVM on debian host with plesk?
View 1 Replies
View Related
Jan 29, 2015
I am attempting to migrate from a debian os server with the latest plesk 12 to Centos (rather cloudlinux) and would like to know if there are any options that should not be checked during the process?
I recently tried to do the normal procedure, which is to transfer all objects, etc. And for some reason the percentage went from 1-50% to then back to zero.. but when clicking to check the current status, its still working
Status: in progress
Current operation deploying domain.com
current operation progress: empty bar
Different sites are transferring, but I am not sure if the migration will effect the system because the difference in OS folder structure and file location.
View 6 Replies
View Related
Jan 6, 2015
I am using apt-cron for automatic nightly security updates.
This morning, it won't install anything - here the log:
Code:
Jan 6 04:21:00 srv2 cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Tue Jan 6 04:00:01 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT SLEEP: 1052, Tue Jan 6 04:17:33 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT ACTION: 3-download
Jan 6 04:21:00 srv2 cron-apt: CRON-APT LINE: /usr/bin/apt-get -o quiet=1 upgrade -d -y -o APT::Get::Show-Upgraded=true
[Code].....
View 1 Replies
View Related
Jul 18, 2014
Recently Debian released point release .6 of Debian Wheezy (Debian 7). This change in version number is causing all Plesk updates and upgrades to fail, due to 404 errors:
Code:
Getting new version of Parallels Installer...
File downloading parallels_installer_Debian_7.6_x86_64.md5sum:
ERROR: The required version '3.16.20' was not found on the server.
This could happen because of configuration error at the download site.
Failed to download the package [url] ....
The requested URL returned error: 404...This has been going on a couple of days. When will this be fixed?
View 2 Replies
View Related
Jan 13, 2015
sw-engine fails to start with the following message:
system is debian 7.0.7 with Plesk 12.0.18 I have the problem on two servers, it started after upgrading debian
/usr/bin/sw-engine: error while loading shared libraries: libruntime.so.1: cannot open shared object file: No such file or directory
View 2 Replies
View Related
Jan 31, 2015
For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.
View 5 Replies
View Related
Jun 17, 2015
I have Plesk 12 panel on Debian 7 server.
When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing
I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#
View 2 Replies
View Related
Mar 8, 2007
after a number of hours I finally got myself an SSH connection to my Linux server. I created an account with bin/bash access, whatever that is, and got in. Phew, this is all new to me!
I can get to the ./configure prompt and all looks well when I type command --enable-magic-quotes but I refresh my phpinfo() and nothing has changed.
All I want to do is install Joomla!
My Joomla! installation tells me to action following: Set PHP magic_quotes_gpc setting to ON
Set RG_EMULATION setting to `ON` instead of `OFF` in file globals.php
Display Errors should be on
Register Globals Emulation should be off instead of on
It's also telling me that the var/lib/php/session is unwriteable. Do I need to get shell access and command to do that too?
View 5 Replies
View Related
Aug 7, 2014
I have a little problem configuring the mail server in Plesk 12. I bought a VPS with Plesk 12 is hosted in OVH.es just for learning. I've got an external domain in OVH.es from 1and1.co.uk. The domain is properly configured and all is working well but the mail server.In OVH.es manager I can't create emails for an external domains (it is not allowed), only redirections. This is how it is in the manager: .domain.com MX 1 Redirecciones redirect.ovh.net.Support OVH.es told me that I can configure within plesk 12. I suposse it is in zone DNS but I don't know how to do it.
View 1 Replies
View Related
Jun 12, 2015
I'm on plesk 12.0.18 and i would like to backup my server config. I have an error Logging::error('Available disk space () is less than required by storage bund...', 'fatal') called at /opt/psa/PMM/agents/shared/Storage/Storage.pm line 523
[URL] ....
the function un cat /usr/local/psa/PMM/agents/shared/HelpFuncs.pm is like that
Code:
sub getMountSpace {
my $mount = shift;
my $df = qx( df -P -k $mount) or die $!;
while ( $df =~ /^(S+)s+(d+)s+(d+)s+(d+)s+(d+\%)s+(S+)$/gm ) {
[Code]...
We've unchecked the disk space verification in backup settings with no more results ...
is it a way to launch the function reserveSpace and/or getMountSpace helper in shell ? to see the returned value ?
or can i launch /usr/local/psa/bin/pleskbackup server -c comand line to backup only the config ?
View 4 Replies
View Related
Nov 13, 2014
I followed the following KB to allow country to be identified via GeoIP in AWStats: [URL] .... It works well on one of my domain, but I had to disable first the stats through PLESK Admin, then to reactivate it, so it would regenerate the conf file in /usr/local/psa/etc/awstats/* for a particulair domain. I then followed this KB to re-calculate all stats with country identification: [URL] .... It works as well.
But now: How can I regenerate all the conf file in /usr/local/psa/etc/awstats/* ? Is there any magic command?
View 1 Replies
View Related
Dec 5, 2014
I have plesk11.5 and found a big security bug in my script because plesk11 do a strange behavior:
[REMOTE_ADDR] => 95.*.*.*
[SERVER_PORT] => 80
[SERVER_ADDR] => 91.*.*.*
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => Apache
[REMOTE_ADDR] => 2003:67:4b4b:*
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => ApacheClick to expand...
View 4 Replies
View Related
Mar 8, 2015
I installed Plesk on a VPS running on Ubuntu 14.04. When I try to open phpMyAdmin the following error message appears:
You probably did not create a configuration file. You might want to use the setup script to create one.
Error
MySQL said: cannot connect: invalid settings.
When I try to click on the setup script link another error message pops up:
Error in Processing Request
Error code: 404
Error text: Not Found
What do I have to do to make phpMyAdmin work?
View 1 Replies
View Related
Oct 29, 2014
When trying to run rkhunter manually I get the error:
"Installation directory does not exist: /opt/psa"
I haven't changed the install directory setting in the rkhunter config file.
Looking for "default" rkhunter config file?
Or tell me a way to reset / reinstall rkhunter?
View 15 Replies
View Related
Feb 19, 2015
On our instance (Plesk 12 / Debian) I am logged out within 1 or 2 minutes quite often while working on config of the primary website (admin access). The session idle time is set to the 30 min default, and the problem isn't to do with changing IP addresses - the multiple sessions visible all have the same IP address.
This happens so constantly it is difficult do any real work. Where is the logic of session creation and termination? What do we need to look at to deal with this problem? We have root access.
View 10 Replies
View Related
Jul 19, 2015
Is it possible to install Plesk 12 to Debian Jessie with the autoinstall script?
View 7 Replies
View Related
Aug 26, 2009
if there is any way to forward an external IP to an internal subnet without NAT.
I have a server that is configured with a 10.0.100.101 IP and the L3 switch doesn't support NAT, so I can't get on it right now without manually changing the IP on the NIC to a public IP address.
View 9 Replies
View Related
Feb 21, 2007
I have a linux router with 2 external and 2 internal ports.
Each port needs to route traffic to one of the internal ports, and the internal traffic between the 2 internal ports should not go out the external ports.
The IPS on the internal networks are global. ie. no NAT required.
I think what I need is this..
$ext_net1 = external nework IP/MASK 1
$EXT_IP1 = ip of external interface 1
$ext_net2 = external nework IP/MASK 2
$EXT_IP2 = ip of external interface 2
$int_net1 = internal network IP/MASK 1
$int_net2 = internal network IP/MASK 2
ip route add $ext_net1 dev eth0 src $EXT_IP1 table 1
ip route add default via $ext1_gw table 1
ip route add $int_net1 dev eth1
ip route add $ext_net2 dev eth2 src $EXT_IP2 table 2
ip route add default via $ext2_gw table 2
ip route add $int_net1 dev eth3
ip rule add from $int_net1 table 1
ip rule add from $int_net2 table 2
View 3 Replies
View Related
Apr 1, 2007
I have a Webmux load balancer and behind that a Cisco Pix. Behind that I have several servers. The Webmux and Cisco Pix do double NAT so his servers have public IPs.
The problem is that I've added a 4th server, I added it to the Webmux and it's get NATted to an 192.168.x.x IP. Now I just need to add it to the Cisco Pix, natting it back to the real IP BUT the Pix can only have one IP on its inside interface and the Server IP is not on the same subnet as that IP.
So when I try to add the real IP it asks me how to route it....
View 0 Replies
View Related
Feb 11, 2007
I'm trying to implement VLANs on my network and can't get connectivity to host servers. Here's how the network is configured. Pardon the bad ascii diagram.
In this example my upstream is providing two subnets:
111.111.111.16/28 (I'm using an IP from this subnet to manage the 3550)
222.222.222.16/29
I am attempting subdivide the /29 into two /30's in order to place a server into it's own /30 subnet & VLAN ............
View 5 Replies
View Related