Ubuntu Servers :: How To Start Automatically Vsftpd In Server After Reboot
Aug 5, 2010how to start automatically vsftpd in my server after reboot?
View 5 Replieshow to start automatically vsftpd in my server after reboot?
View 5 RepliesI have installed FreeRadius to a Debian Linux server.I have configured an account called Support to run the Radius as I didn't want Root to be the user to run this.I want Radius to start up automatically after the system is rebooted but I don't know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?
I have had a good search about scripts but with my limited knowledge it isn't too easy.
After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.Please can someone help out with this and let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?Please explain clearly as this is all a bit technical for my liking and not understanding it well!
My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.
I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
View 1 Replies View RelatedOk so I followed the instructions here [url] and this works great for the install however if the machine is rebooted the VMWare server refuses to start back up stating that it knows that its installed but it was not installed with the right installer.
This is on a Dell Server I can't remember the model right now but its got Dual PIII in it. I'm running Ubuntu Server 32bit 10.10 on the box as well. Thank you in advance for your assistance with this. Once I get this first server figured out I'll get my other one fired back up.
I am trying to get vsftpd started on my server. I followed the steps outlined here: [url] but for some reason, the daemon is not starting or throwing an error message.
After making all of the changes to vsftpd.conf, if I execute the following commands, here is the result:
I am using red hat enterprise 5.7 OS and the problem is that vsftpd won't start. When issuing Service vsftpd start it comes up with failed. I am using the default RPM to install it, also using the default vsftpd.conf
View 8 Replies View RelatedIm trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:
[code]...
but still no dice.
I made a "test" server recently, put a samba + apache + vsftp server on it. The first 2 work but the VSFTP server is troubling me. On my lan it works. but on a wan: My ISP blocks port 21 so I changed it to 2200, my friend tried to connect earlier (With "ftp://myip:2200") and he had to type in a name and password, he did that (I made him an account)he got 425 failed to establish connection. Now I Re-installed vsftpd again, did the exact same thing and now it just wouldn't connect. saying the webpage can't be found. Question 1: What should I do to let a user acces from outside of my LAN? I think it's because of passive mode: but I have no idea what ports I should open for passive mode? My ftp port is 2200.
FileZilla tells me.
Entering passive mode
Command: List
And than that it can't find directory's
By default httpd will automatically start when reboot..?? Is there any command to stop it automatically when reboot??
View 5 Replies View RelatedI just made a Ubuntu Server install in a virtual machine and am having trouble setting up FTP to transfer files. I've installed LAMP and vsftp. The web server works great, but FTP gives a connection refused error locally and remotely from the host machine. 'Connection attempt failed with "ECONNREFUSED - Connection refused by server".' nmap localhost doesn't list FTP as open even though I have vsftpd set to listen. I've tried restarting vsftpd with no luck.
View 9 Replies View RelatedI have used for a long time Filezilla FTP Server on a windows server, for multiple users in my company around the country.Lately the windows box died and I said let's try ubuntu server 9.10. I configured to my best as a Samba file server and from a speed point of view it works even faster than the Winbox.Now getting to FTP setup, I had the following problem when setting vsftpd.How can I enable more directories for the user, each with its own rights. By example, in Filezilla I had two folders for each user: one was a specific folder in which he could also write, and the other was read-only. They were setup with aliases, so that when user login, he sees one continous list of folders.I tried with symlink, but couldn't do it. Also I searched through the man page but also did not find something specific for this task I would appreciate any help you guys could give me in order to solve this issue, using the best practice for vsftpd. Also note that I am open to other FTP servers as well.
View 1 Replies View RelatedI am on Ubuntu 10.04, running Squid 2.7.STABLE7 Squid refuses to start on my machine unless I give it the -D argument (disable initial DNS tests). I think this is because my machine is offline while I'm testing it, so no DNS server. how to set Upstart to start Squid with the -D argument?
View 2 Replies View RelatedI'm completely new to Linux/Ubuntu, but I managed to create a FTP server by using apt-get vsftpd or something.I followed a tutorial and modified a file called vsftpd.conf.I tried to disable all kind ofblocking/permissions. From a Windows client, I can connect to it without any login (I enabled anonymous) and I can download from it, but I am unable to modify it or upload files. Unless there is a better way to transfer files between the computers, how can I enable writing on the FTP server?
View 3 Replies View RelatedAny clue? I'm using the same key for root login and it works fine (also works fine for SFTP but i hate using that cause its extremely slow)
View 2 Replies View RelatedI had recently setup an OpenVPN server on x64 10.04 via the guide found at: [url]
Everything was working perfectly, all clients were able to connect etc.
Today I needed to reboot for a completely unrelated issue - only to find that upon logging in, openVPN was no longer running.
When I tried to execute 'sudo /etc/init.d/openvpn start' I'm presented with an interesting message...
This *used* to say Server. I've double checked all the configs and scripts used in the config and they all check out OK. I purged and reinstalled openVPN to no avail...
We have three production websites running on RHEL 3 AS running tomcat 5. After a reboot last night Tomcat will not start and has the following in the catalina.out log:
Mar 20, 2011 4:09:31 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/naming/resources/ProxyDirContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308) .....
I have spoken with our Java Developers and they seem to think it is something up between httpd and tomcat at an OS level. Since Tomcat is not starting and giving an error that it is all ready running, I think you have a stale lock file. Look for the file /var/run/tomcat5.pid and cat or less it to see what the PID number is. If it matches the error, then delete the file and try to start Tomcat again. It should start this time.
Most common problem with Tomcat5. Try following :
1) Search PID in /tmp, if found delete it or else stop your tomcat.
2) Undeploy your application
3) Check out this link [URL] to know what causing tomcat to generate this error.
If none of them work then check your application configuration settings. [URL]. When I do start tomcat it appears to start:
[root@RPSI-2 san00]# service tomcat5 start
Starting tomcat5: Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/java/jdk1.6.0
[root@RPSI-2 san00]#
But then I try to find if it is running via ps -ef | grep tomcat5, I only receive my query. I perform the same query on Java and it also only returns my query.
Few days ago we had a server maintenance. The system was shutdown, we fix the CPU fan, and start the system again. But somehow when the system starts, our IMAP server - dovecot is not running. It just sit like a rock. Because the machine had a CPanel/WHM, I tried to restart dovecot using cpanel and got a message:
Code:
That was not really useful....
When I tried to restart dovecot using command line, I got nothing. really nothing.
Code:
How to find out what happens to my IMAP/dovecot? And anyway to make it run again?
I'm using CentOS 5.5 X64 with dovecot 1.2.16
I'm running vsftpd on a Ubuntu 10.4 server and noticed that my ftp server is getting brute force attacked. I usually check for the IP address and manually add it to my Smoothwall firewall but I was wondering if there is a way for vsftpd to automatically block denied access after certain number of attempts. Let's say 5.
View 2 Replies View RelatedWhen ever I reboot my server I always turn on the squid service. Is there any way that without giving command
Code:
#service squid start
my squid service should automatically start ?
Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
View 4 Replies View RelatedI am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.
The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.
Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.
I need help adding a nohup command in this command line: su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhyth" When I execute the script using root on the command line it works fine. But, when I reboot the server the process doesn't start. This script will go into the etc/init.d and rc2.d directory.
#!/bin/bash
case $i in
start)
su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhythx"
;;
[Code]...
I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.
View 2 Replies View RelatedI have configured heartbeat+DRBD on a SLES10 SP3 cluster and that's working fine except when both nodes are down and I turn on only one node. When this happens, the heartbeat don't starts automatically (the service status says it's unused, so the services, IP address and partition don't start automatically too).
I can turn on the heartbeat manually (service heartbeat start) and get the services, ip address and partition initialized too, but I'd like to make it starts automatically because it's possible to have one node broken and the person that will turn on the other node can forget to manually starts the service.
-When the heartbeat is unused on the first node and I turn on the second node, the heartbeat on the first node starts automatically and everything is fine.
-The command "chkconfig heartbeat on" was executed.
how to setup shoutcast to automatically start when i start my server?
i have installed it on /root/shoutcast ; configuration file /root/shoutcast/shoutcast_config
I installed apache 2.2 with centos 5.5. When I typed service httpd stop, apache stopped. Then in a minute, it automatic start again. I don't use crontab, and I tried 'chkconfig httpd off', but it still automatic start. I used 'ps -ef' to look process, I saw, httpd have PPID is 1, and then I find PID 1 have PPID 0.
View 1 Replies View RelatedI have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
I installed and configured mysql 5.0 on my opensuse 11.1 box. But I have no idea how to get it to start automatically when the server reboots.
View 3 Replies View RelatedI installed 11.04 server and had samba share /tmp (as advised by the server pdf doc) shared to my windows 7 laptop, which was all well and good, so copied some files to it and rebooted the server, and they had been removed.i guess i shouldnt have put anything in /tmp as i presume this is cleared on reboot, so why did the documentation advise to create /tmp share?
View 1 Replies View Related