CentOS 5 Server :: Getting FTP To Work On 5.2?
Feb 27, 2009
I am a Windows user for the last 14 years and am getting into the Linux world. I have a CentOS server set up at home and have been using SFTP. But now I am needing to install a program that has a exe file I can lauch from my Windows machine to the CentOS server but the only problem is it only uses FTP over port 21. I have found quite a few different posting on how to install FTP but only some of the commands they give work and I get a lot of no such directory. I will be using the FTP locally but have been getting frustrated setting it up. I do have it installed an am able to start the service but cannot connect. Is there a step by step information for setting this up? I am new to the command line and all the SCO stuff I used to know back in the early 90's is all gone from memory.
View 15 Replies
ADVERTISEMENT
Oct 15, 2009
My server is Centos 5.3 I have php 5.1.6. some of plug-ins does not work I have to upgrade it to 5.2.6.
To upgrade it I have to install a third party repositories.How can I protect my current php in case if the repository does not work I enable ( or role back) the Centos default php?
View 5 Replies
View Related
Nov 3, 2009
I have been a loving fan of your software for years now and have been trying to move into a new dedicated server, getting away from my VPS I have been anchored to. I had to change static ip's on my main internet line and thus got locked out of my server. I have the box here and I can console into it but I cannot get the new ip address to work. I have tried so many things it would waste more time than asking for the correct answer.
I know you are wise in the ways of the server as you have gotten me out of a jam in the past. I am currently running Centos 5.4 and a trial version of WHM/cPanel (which needs to be re-registered to the new address if I can ever get back online.)
View 1 Replies
View Related
May 18, 2010
I am trying to connect to my VNC Server from a Windows 7 Box running TightVNC:I've followed all the instructions on this page:[URL]And I changed my xstartup scripts:
/etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
[code]....
View 12 Replies
View Related
Aug 9, 2010
when I installed my server I had an FTP server running, I thought it was vsftpd. I stopped vsftpd one day though, and I could still FTP into my server. This mystery FTP daemon is SFTP (using port 22), and now it does not work. I've tried enabling vsftpd and I still cannot connect to my server. I've checked my firewall and I have FTP and SSH allowed. What might this mystery FTP program have been?
View 7 Replies
View Related
Nov 26, 2010
I created a cluster with two nodes and a machine for managers with luci, if a machine reboot the cluster function by transferring the resource (IP address), if forced to stop the machine (pull the plug) the cluster does not work.
View 1 Replies
View Related
Dec 12, 2010
mod_dir does not work properly with SSL (https) !?
When working with http, there is no problem: If url "http://www.abc.com/test" is requested, apache appends a "/" to the url and then respones to browser with code 301, telling it to request the newly-modified url ""http://www.abc.com/test/".
However, with https, things are not going as expected: If url "https://www.abc.com/test" is requested, the new url responsed by apache is "http://www.abc.com/test/", but not "https://...", resulting in browser's page load error.?
View 3 Replies
View Related
Jul 31, 2010
CentOS 5.4 Cygwin CYGWIN_NT-6.0-WOW64 1.7.5(0.225/5/3) I'm trying to setup password-less login from my CnetOS server to Win 2008 Server via ssh. I have followed the fab walk-through here and many others. When i try to connect I get this msg after a few seconds delay...
Code:
Connection closed by 10.8.0.6 When ran with ssh -vv...
Code:
[smegadmin@s ~]$ ssh -vv 10.8.0.6
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[code]....
View 9 Replies
View Related
May 25, 2010
I was able to do on Debian and Ubuntu Servers X applications running on remote servers where I was able to login via SSH. Tried the same with CentOS did not worked. in /etc/ssh/sshd_config
[Code]....
View 1 Replies
View Related
Apr 16, 2009
I configured the serial consol on centos5 as follows
# dmesg |grep tty
Kernel command line: ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,9600n8
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A[code]......
But I could not consol Centos server from my labtop (win xp) Is there missing or wrong configurations ?
View 3 Replies
View Related
May 15, 2009
i have apache, php, mysql, etc installed, and running.
Phpinfo displays properly, and i can even do a few simple database calls via databases i made from the commandline.
I try to install the phpMyAdmin package (i think its from RPMForge, but it might be from EPEL). The package installs without problems, yet when i attempt to go to localhost/phpMyAdmin, i get a 404 error.
Is there something i need to do with my apache configuration to make this work? There seems to be very little documentation on this package.
If there isnt anything i could do, i could go through and do it by hand, but i want to have the advantage of using packages for the automatic updates.
EDIT1: Ok, i reinstalled the package, and now i get a 403:Forbidden instead of a 404.
Again, localhost/phpMyAdmin.
View 3 Replies
View Related
Mar 23, 2010
I just installed a fresh CentOS5.4 and started httpd & mysqld and did the following testing
1. named the following file as index.php and put to /var/www/html (default DocumentRoot)
<?php
echo 'connecting...';
$conn = mysql_connect('localhost','root','');
if(empty($conn))
[Code]....
View 3 Replies
View Related
Apr 2, 2010
Sendmail does not work anymore.
//deinstaled everything
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
/usr/sbin/sendmail: No such file or directory
//reinstaled everything, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
[root@localhost ~]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
//fixed that with '-o' in /etc/mail/submit.cf, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
// in mail.log:
Apr 2 12:49:16 localhost sendmail[6252]: o32AnGis006252: to=mymail@mymail.net
, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49856, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
//commented out #O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
//in sendmail.cf, restart sendmail
//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
View 11 Replies
View Related
Apr 28, 2010
I have a dedicated server running CentOS 5, Plesk 9.2.2, SMTP Postfix and Courier-IMAP.The issue I have is that on all domains on the server receiving email works fine however sending email never seems to work. This is from email programs, my phone, webmail and PHP. None of them seem to be able to send email. If it is of worth Spam Assassin is running however I don't feel it is causing any problems.
View 7 Replies
View Related
Aug 20, 2010
I have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:
Code:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
[code]....
View 2 Replies
View Related
Sep 30, 2009
installed a new centOS 5 server, and after the installation, everything seem to work well but for httpd not running. when i try to issue the restart command i get the following error:
[root@appdev ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load
[code]....
View 3 Replies
View Related
Oct 20, 2009
Don't work nslookup from clients guest OS.I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP
Name
The first CentOS linux1.starline.ca
The second CentOS centos.starline.ca
The third XP xp2.starline.ca[code].....
On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached .What is going on? Why nslookup don't work from clients guest OS?On client machine in the file /etc/resolv.conf have record ameserver 168.135.88.2
View 2 Replies
View Related
May 13, 2010
I'm trying to make a DHCP server work on my CentOS 5.4 box, but I have placed it on another subnet than the one that it is going to serve. I use a helper address on my router to make the the DHCP requests being routed to the DHCP server on the other subnet.
dhcpd.conf file:
ddns-update-style interim
ignore client-updates
ubnet 10.160.195.160 netmask 255.255.255.224
[code]...
View 8 Replies
View Related
Jul 17, 2010
I just installed Centos 5.5 on one of my systems today and something is eluding me. Basically I had a web site and forum software (phpBB, but I don't think it's that, other forum software like Xoops does the same thing) running on Fedora 13, and I copied it over to the new Centos installation. Apache is running fine and displays a PHP test file and .html files just fine.
MySQL seems to be fine, I can log into that, show databases etc. Just can't get any forum software to know there is MySQL there. I did change the path of the site, and the databases, and edited /etc/my.cnf and /etc/httpd/conf/httpd.conf to reflect that. Thought I made the needed changes in /etc/php.ini but who knows. Seemed like everything should have tar'd up and moved easy, but not the case...
View 5 Replies
View Related
Jul 27, 2010
i've installed bind and dhcp. I'd like to update dns automatically by dhcp. For the reverse-lookup-zone everything works fine. But for the forward-lookup-zone there is still the message denied. But i cannot see a mistake.
dhcp:
#
#
# DHCP Server Configuration file.
[Code]....
View 8 Replies
View Related
Nov 19, 2009
Trying to migrate our news server to a new instance on centos5 and having issues with the makehistory utility. It errors out and then just creates all null values for the overview database. Here is the output:
[root@server overview]# /usr/lib/news/bin/makehistory -O -x -F
*** glibc detected *** /usr/lib/news/bin/makehistory: free(): invalid pointer: 0x000000000063ce60 ***
======= Backtrace: =========
[Code].....
View 12 Replies
View Related
Sep 30, 2010
I have installed centos 5.4 with samba 3.0.33-3.15. Now this server is PDC for a domain with 20 xp client. I want to set the "password must change" option in the samba user detail.Now I have this configurationmaximum password age = 68256000maximum password age = 0with pdbedit -Lv pippo
View 1 Replies
View Related
Feb 20, 2011
I'm having a hard time to access MySQL from the local or remote shell.
If I try to access MySQL, using mysql -u root -pxxxx I get the error 1045 Access denied...
MySQL is running and I can access it, using phpmyadmin.
There must be something blocking shell access. Can anybody confirm and tell me how to check/configure for shell access?
I'm using ca preconfigured CenOS from PBX in a flash and it seems they did some security settings - but I can't find any further information.
I know I should probably post there, but the Mods didn't activate my account yet. And you know how it is if you try to figure something out. You won't stop.
View 1 Replies
View Related
Jun 30, 2010
I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.
Then I tried to configure them. I added the following content to the end of Apache httpd.conf:
Code:
Then I run /path/to/apachectl start, and saw the message:
Quote:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.
But, after running /path/to/apachectl stop and start again, I could still see:
Code:
When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said
Quote:
Failed to Connect
Why and how to solve it?
I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.
View 91 Replies
View Related
Feb 18, 2009
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
View 5 Replies
View Related
Mar 20, 2010
I am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?
View 2 Replies
View Related
Jan 12, 2011
I am trying to set up an unused machine as a web server for my students.
I originaly tried with Redhat 9 and had the same problems. I am using an HP Pentium 4 system with 2 network cards.
1) The built in Realtek RTL8139 configured as eth0.
2) An add in Broadcom BCM5782 Gigabit card that was added I presume when the built in card failed (we have a number of machines like this around the school), configured as eth1.
I did not realize the second card was installed when I had Red hat 9 on the system, but I discovered it after installing centos 5.5. I have tried to configure the system to use DHCP with and without getting the DNS from the provider, and both ways the system complains that there is no connection, check the cable, so it will not activate the device.
When I configure the device to use a fixed IP, I can configure the device, but I can't ping anything on the network other than myself. I suppose it is possible that both network cards have failed, but I get green link lights with both cards, when I connect them to my router, so I am at a loss as to why neither board seems to work. I don't have a spare network card to slide in because the computer takes a special mini card. Is there an easy way to test the board to see if the board is a problem?
View 2 Replies
View Related
Jan 27, 2009
I have a Centos 5.2 VM running under Windows 2008 Hyper-V. If I add two "legacy Nic's" and bridge them, everything appears to work fine. However, if I remove the legacy nics and replace them with two synthetic nics (linux integration components), the nics seems to function fine UNTIL I add them to a bridge.This VM will eventually be used as a DansGuardian/Squid transparent proxy for a local library. The logical layout is represented by the attached jpg image. I have also included the ifcfg- scripts for the adapters and bridge for both scenarios.It would also be useful if someone else has Hyper-V with the integration components and dual physical nics to see if they can reproduce my symptoms on their box.Legacy Adapters:
ifcfg-br0:
DEVICE=br0
BOOTPROTO=dhcp
[code]....
View 2 Replies
View Related
May 1, 2009
I just have CentOS installed and cannot get the Agere et131x network card to work.I have tried the following:Reboot the computer and still did not see the network hardware.
Fai
lspci
Quote:
[code]....
View 7 Replies
View Related
Jun 27, 2009
This will be a little long (having read Phil's 'how to ask questions' FAQ). I'm trying to get OpenVPN working between my CentOS server and some Windoze laptops running XP. There seems to be plenty of sample
config files available, but to date, none of them have worked for me. Pulling out my trusty Wireshark, I've found some clues,
BACKGROUND:
My local subnet (NAT'ed by my gateway router) is 192.168.52.x. My router has been configured with a conduit (port-forward) for port 1194 (the standard OpenVPN port), which points towards my CentOS server.The CentOS server is .52.112, and the supplicant is .52.110. I have tried the lient both inside and outside my local subnet, with no difference in events or outcomes.
[Code]...
View 2 Replies
View Related