I'm trying to cross connect two linux servers' secondary NICs with a cross over cable. after I pluged in the both ends, I tried to set internal ips for eth1 with netconfig, 192.168.3.1 and the other one is 192.168.3.2, i don't know what to put on netmask and gateway so I left it with netconfig's default, after that I tried ifup ifcfg-eth1 but the server lost connection.
The tech at the datacenter checked and said I delete their network gateway from the list of routes.
what should I do? remove the gateway line in ifcfg-eth1?
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
is to use windows authentication, to connect to the site, and connect to MS SQL with the same user.
I read on the net (http://msdn.microsoft.com/en-us/library/ms998358.aspx), and it said I should go to my default sites properties, to to the "directory security" tab, and make sure "Integrated Windows authentication" is the only box that is checked.
I did that and now I cant connect to my site...
When I try to connect, it bring up a windows user name and password box. I put a user name and password in, but nothing...
Iv double checked the user exist, and still nothing...
This week connectswitch's service has not been that good. Basically first they restart the node without prior notice and our vps was down for 7 hours. and now we buy our cPanel license via them and they havent paid it so the license is now expired although we have paid them for it.
I'm getting a cabinet colocation with a provider and on the sales order there is a setup and re-occurring fee for "cross connect". My rep explained it's for the connection from my cabinet to their switch. Is this a typical charge for colocation? I thought cross connect is for connecting from their facility to 3rd party providers.
I can't connect to CPanel or any of my sites but I can connect to my virtuozzo control panel. When I try to connect to CPanel or any of my sites I get an error that says that the server is taking to long to respond.
If I go through a proxy I see the sites so I know CPanel is not down.
How is it possible to connect to my Virtuozzo control panel but not Cpanel?
We're having a small problem with one of our Ventrilo boxes (Linux) that seems to be blocking users from connecting. The DC (The Planet) is reporting that the issue is likely with the user and my tech is also saying the same thing. I have reason to believe they're both wrong but wanted to see if anyone had any ideas.
Here are 3 tracert's that show normal activity until the user reaches the DC network and then they can't reach our server.
All 3 of these are from different users experiencing the exact same problem.
Tracing route to ca.13.1343.static.theplanet.com [67.19.19.202] over a maximum of 30 hops: 1 2 ms 1 ms <1 ms 192.168.1.1 2 * * * Request timed out. 3 70 ms 72 ms 24 ms 68.86.105.193 4 127 ms * 13 ms 10g-9-3-ur02.longmont.co.denver.comcast.net [68. 86.103.157] 5 103 ms 87 ms 66 ms 10g-9-1-ur01.longmont.co.denver.comcast.net [68. 86.103.161] 6 12 ms 11 ms 12 ms 10g-3-1-ar01.denver.co.denver.comcast.net [68.86 .103.154] 7 9 ms 9 ms 23 ms 68.86.103.150 8 11 ms 12 ms 11 ms 12.125.159.89 9 45 ms 42 ms 33 ms tbr2-p013702.dvmco.ip.att.net [12.123.207.150] 10 31 ms 34 ms 126 ms tbr2-cl33.dlstx.ip.att.net [12.122.12.125] 11 145 ms 32 ms 31 ms gar1-p3100.dlrtx.ip.att.net [12.123.16.165] 12 38 ms 32 ms 31 ms 12.119.136.14 13 30 ms 34 ms 32 ms te7-1.dsr02.dllstx3.theplanet.com [70.87.253.18] 14 34 ms 32 ms 30 ms vl41.dsr01.dllstx4.theplanet.com [70.85.127.83] 15 59 ms 142 ms 48 ms gi1-0-2.car02.dllstx4.theplanet.com [67.19.255.1 34] 16 * * * Request timed out. 17 * * * Request timed out. 18 * * * Request timed out. 19 * * * Request timed out. 20 * * * Request timed out. 21 * * * Request timed out. 22 * * * Request timed out. 23 * * * Request timed out. 24 * * * Request timed out. 25 * * * Request timed out. 26 * * * Request timed out. 27 * * * Request timed out. 28 * * * Request timed out. 29 * * * Request timed out. 30 * * * Request timed out.
Tracing route to ca.13.1343.static.theplanet.com [67.19.19.202] over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.1.1 2 8 ms 7 ms 10 ms 73.96.20.1 3 9 ms * 7 ms GE-2-37-ur01.aberdeen.wa.seattle.comcast.net [68 .86.98.9] 4 9 ms 13 ms * te-5-2-ur01.olympia.wa.seattle.comcast.net [68.8 6.96.6] 5 11 ms * 12 ms te-8-4-ar01.burien.wa.seattle.comcast.net [68.86 .96.10] 6 14 ms 19 ms 14 ms 12.116.25.13 7 69 ms 69 ms 70 ms tbr1011401.st6wa.ip.att.net [12.122.111.6] 8 72 ms 76 ms 74 ms tbr2-cl10.sffca.ip.att.net [12.122.12.113] 9 73 ms 66 ms 67 ms tbr1-cl30.sffca.ip.att.net [12.122.9.137] 10 67 ms 68 ms 69 ms tbr1-cl3.la2ca.ip.att.net [12.122.10.26] 11 70 ms 67 ms 67 ms tbr1-cl20.dlstx.ip.att.net [12.122.10.49] 12 67 ms 68 ms 67 ms gar1-p340.dlrtx.ip.att.net [12.123.16.161] 13 65 ms 66 ms 65 ms 12.119.136.14 14 66 ms 66 ms 65 ms te9-1.dsr02.dllstx3.theplanet.com [70.87.253.22] 15 68 ms 67 ms 68 ms vl42.dsr02.dllstx4.theplanet.com [70.85.127.91] 16 67 ms 66 ms 66 ms gi1-0-1.car02.dllstx4.theplanet.com [67.19.255.6 ] 17 * * * Request timed out. 18 * * * Request timed out. 19 * * * Request timed out. 20 * * * Request timed out. 21 * * * Request timed out. 22 * * * Request timed out. 23 * * * Request timed out. 24 * * * Request timed out. 25 * * * Request timed out. 26 * * * Request timed out. 27 * * * Request timed out. 28 * * * Request timed out. 29 * * * Request timed out. 30 * * * Request timed out.
1 9 ms 5 ms 7 ms 73.101.80.1 2 7 ms 7 ms * GE-2-37-ur01.gigharbor.wa.seattle.comcast.net [6 86.99.9] 3 * * * Request timed out. 4 13 ms 9 ms 11 ms 12.117.243.13 5 64 ms 66 ms 64 ms 12.127.6.50 6 67 ms 67 ms 273 ms tbr2-cl10.sffca.ip.att.net [12.122.12.113] 7 67 ms 73 ms 69 ms tbr1-cl30.sffca.ip.att.net [12.122.9.137] 8 66 ms 66 ms 65 ms tbr1-cl3.la2ca.ip.att.net [12.122.10.26] 9 68 ms 64 ms 63 ms tbr1-cl20.dlstx.ip.att.net [12.122.10.49] 0 67 ms 70 ms 66 ms gar1-p340.dlrtx.ip.att.net [12.123.16.161] 1 70 ms 68 ms 67 ms 12.119.136.14 2 72 ms 69 ms 66 ms te9-1.dsr02.dllstx3.theplanet.com [70.87.253.22] 3 63 ms 65 ms 65 ms vl42.dsr02.dllstx4.theplanet.com [70.85.127.91] 4 69 ms 75 ms 69 ms gi1-0-1.car02.dllstx4.theplanet.com [67.19.255.6 5 * * * Request timed out. 6 * * * Request timed out. 7 * * * Request timed out. 8 * * * Request timed out. 9 * * * Request timed out. 0 * * * Request timed out.
How can I set up a script or shortcut to run commands from a Windows XP machine on my CentOS machine over SSH?
I am running a virtual CentOS (VirtualBox) machine containing my LAMP stack. I also have other tools like subversion, git, etc. on there that I wish to use. On my windows machine, I want to set up quick scripts like 'commit' and send my path with args. I also want to use it for running command line PHP scripts on the remote server.
I am using cPanel 11 (stable release) on a CentOS 5 server and would like to make it so that a certain database can only be connected to from the cPanel user that it is under (ie. user1_db can only be connected to from the user "user1" on the same server).
I have been pulling my hair out all day trying to fix this issue, which should be simple in theory.
Basically in summary, vsftpd is running on the server, I can't connect to FTP from my own computer.
I have tried many things, but right now the way it stands is my vsftpd.conf file has listen=YES. I did a netstat -pan, with a return of: tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 29984/vsftpd
I can telnet/FTP into port 21 locally, so vsftpd is indeed running properly, but I cannot connect from the outside at all. I have also commented out everything in /etc/hosts.allow.
At this point, I am out of ideas. And to top it all off, I'm on a tight deadline. Usually works out there way doesn't it?
I signed up for a Win2k3 VPS account with 3dgwebhosting. I'm a newbie to Plesk and win2k3 so I spent the first day getting head around Plesk.
I then logged into Remote Desktop only to find someone else had beat me. They'd hacked in and downloaded a mass email client, email stripper and obviously sent out spam from a 2mb text file of email addresses.
I didn't spend long in Remote Desktop, but while there I switched on Windows Firewall, changed my admin login password and logged off. Now, 24 hours later, I can't get back in. I get the error - This computer can't connect to the remote computer. Try again.....
I can still login through Plesk, FTP and ExpressionWeb.
Is FW keeping me out of RD or has the hacker returned?
so the first thing it must to be all server's ip that i want to connect to the domain companynamedns.com in www A record and mx record too
and if u ping to companynamedns.com every time it give you random ip [cuz i put www a record for more than server with same one domain name]
so this way not very cleard for me and i want to know
how can i add the www a record?
should i create a dns zone in any server but this entry in one server in whm [note i use cpanel/whm]?
and put the www A record with new domain name companynamedns.com for every time i get a new server like i add www A record this
companynamedns.com 1 A 192.168.1.1 14400s companynamedns.com 1 A 10.0.0.1 14400s companynamedns.com 1 A 10.10.10.1 14400s companynamedns.com 1 A 11.11.11.1 14400s
should i but all ns record in the dns zone in whm?
[note : there is another company make this trick and he have alot of name server NS but i didn't see all registred in dns records only 2 NS for the site And pointed to one server only]
so how can the client connect the the server with ns that the main domain name companynamedns.com already did't added the others NS in the dns zone
like A client make the nameserver for his site is
ns22.companynamedns.com ns23.companynamedns.com
but the DNS Records for the companynamedns.com is ONLY
s1.companynamedns.com s2.companynamedns.com
so how the ns22 and ns23 working and it didn't even added in the dns zone in the main domain companynamedns.com
maybe he add all the name server he want in the domain control panel in the child name server only not in the name server but i think it didn't work it must be add in the name server too
i really going to be CRAZY for this
this trick is the right way to connect more than server with one domain name
i colored the thread to read and get my idea easy and i really need expert help me with that issue
I've downloaded and installed the Microsoft Virtual PC image for testing IE6. The development copy of my website is on the host PC, running on Windows XP/Apache/PHP. I need to use IE6 on the virtual PC to view pages served up by Apache on the host PC.
I know this requires networking them together, but I've no idea how to do that. I've installed the Microsoft Loopback Adapter on the host PC, and told the virtual PC it can use that adapter in the Virtual PC settings dialogue, but on the host PC the loopback adapter says "limited or no connectivity".
(Before someone suggests it, I've been using MultipleIEs. Trouble is, you can't test printing with that - you need a proper copy of IE6.)
i have problem with shoutcast accounts....i have some shoutcast servers in ports 8002,8004,8006,8008,8010,8012... every day some of the shoutcast server or all, goes down and the customers can connect by winamp...so as result i am always go to start the servers by myself...why these happening?why the servers are going down? is there an automatically way to start them when they stop?
I have this server with no control panel and dnsreport could not connect to mailservers on all my domains. But the server can send out emails because I'm receiving logwatch emails, etc. I'm also using dnsmadeeasy for my nameservers.
Quote:
ERROR: I could not complete a connection to any of your mailservers!
mail.mydomain.com: Timed out [Last data sent: [Did not connect]]
If this is a timeout problem, note that the DNS report only waits about 40 seconds for responses, so your mail *may* work fine in this case but you will need to use testing tools specifically designed for such situations to be certain.
I tried adding the domains on /etc/mail/local-host-names and restart sendmail but the error is still there.
I saw following error in some of my site in my server.
Coppermine critical error: Unable to connect to database !
MySQL said: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
or following error :
Invalid mysql server connection
Please help me how can I resolve this error !
/etc/my.cnf :
[mysqld] datadir=/var/lib/mysql skip-locking skip-innodb skip-networking safe-show-database query_cache_limit=1M query_cache_size=16M ## 32MB for every 1GB of RAM query_cache_type=1 max_user_connections=200 max_connections=500 interactive_timeout=10 wait_timeout=20 connect_timeout=20 thread_cache_size=128 key_buffer=64M ## 128MB for every 1GB of RAM join_buffer=1M max_connect_errors=20 max_allowed_packet=16M table_cache=1024 record_buffer=1M sort_buffer_size=1M ## 1MB for every 1GB of RAM read_buffer_size=1M ## 1MB for every 1GB of RAM read_rnd_buffer_size=1M ## 1MB for every 1GB of RAM thread_concurrency=8 ## Number of CPUs x 2 myisam_sort_buffer_size=64M server-id=1 collation-server=latin1_general_ci
I got this weird problem with my VPS which has MySQL 4.1.22 running on it. Everything works fine for sometime and then out of a sudden, it stop recognizing the mysql users and refused to allow my PHP scripts to access the database.
It seems that I needed to restart mySQL server to resolve the issue. Then out of the blues, the same problem occurs.
I am running Cpanel on a VPS and there isn't any overloading as the database access is pretty light on my 512mb VPS.
I contacted my web host about the issue and it seems like all they do is to restart the mySQL. This cannot be a solution as it happens at least once or twice a day depending on how soon I could catch the problem.
All the time this problem occurs, the MYSQL Server is still active and working. I can even access it through PHPMyAdmin but not through the scripts.
I just added an hourly crontab so as to restart the MySQL server as a stop gap.
I have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet.
Now while I mention Centos 5, the problem seems to be with PAM and x64.
When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config.
On the H-Sphere forum I found this reference:
[url]
" if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened:
Quote:
That is known bug dealt with PAM authentication.
The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture.
We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem. We also installed the kernel into the box IP 64.71.227.16.
Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp. Let us know the result."
Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.
shared hosting for multiple websites, but I have some specific requirements:
1) Remote connections to a SQL database (using SQLCompare) 2) ASP.NET 2.0 3) A decent control panel to set things like subdomains up
Other features such as disk space aren't as important to me. I'm just having trouble finding any hosting that allows remote connections. Right now I'm using godaddy and it's great... just no remote connections.
I have a webserver using apache 2.4.4 and 2 application servers with tomcat 7 on windows server 2008 R2 which uses VMWare ESX5.
I use juvmroute to load balance between these 2 application servers. but with no error in apache and tomcat log files, it can not connect to application servers. and i have to restart the apache service. and it crashes after almost 5 minutes.
This is the part of the access.log file where the crash started:
[Mon Aug 05 00:02:51.980503 2013] [mpm_winnt:notice] [pid 1036:tid 292] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Aug 05 00:02:54.008507 2013] [mpm_winnt:notice] [pid 3416:tid 200] AH00364: Child: All worker threads have exited. [Mon Aug 05 00:02:54.024107 2013] [mpm_winnt:notice] [pid 1036:tid 292] AH00430: Parent: Child process 3416 exited successfully. [Mon Aug 05 00:08:12.932936 2013] [mpm_winnt:notice] [pid 2648:tid 296] AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations