Ubuntu :: OpenVPN Server Won't Start After Reboot

Jul 15, 2010

I 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...

View 2 Replies


ADVERTISEMENT

Fedora Networking :: F-12 Openvpn Server Does Not Start At Boot

Nov 23, 2009

This was working and stable on f-10 and f-11. Fresh f-12 install including openvpn, Copied /etc/openvpn/* to new system as root from working f-11 syatem. /etc/init.d/openvpn start (and stop) works as advertised HOWEVER when set to start at boot using chkconfig or Services Configuration program, openvpn does not start. I must manually start it every time. When started, it does work without error messages in the log.

I tried removing the NetworkManager-vpn module with no effect. Thought it could somehow be overriding the auto startup of openvpn at boot.

View 6 Replies View Related

CentOS 5 Server :: Start Jboss And Tomcat Automatically, When I Do Reboot The Server?

Sep 9, 2009

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 Related

Server :: OpenVPN Range Address / When Change Static IP To Dynamic IP In Config File OpenVPN Didn't Work?

Feb 13, 2010

I want to configure a VPN over the Internet.I installed the 'openvpn' package, generated the key file, transfered it by a secure way to the client, and setted up the configuration file.

So, in that configuration file I input the IP addresses of the tunneled interfaces. Both IPs are static in the tunnel.

Then, I've heard somewhere that I can assign a dynamic configuration IP for the client. I do this registering a range.

Well, when I tried to change static IP to dynamic IP (changing '192.168.0.2' to '192.168.0.0/24') in the configuration file, the OpenVPN didn't work.

Obviously I don't know what I'm doing, and I really, don't believe that simply changing the IP will make it work, but I tried.

I hope I explained my problem as well.

My configuration file:

# OpenVPN Server Configuration File
dev tun 0
ifconfig 192.168.0.1 192.168.0.2
cd /etc/openvpn
secret key_file

In client I execute the 'openvpn' without the '--daemon' parameter.Then I want that my client uses a IP in a range (192.168.0.0/24, for example), instead of a static IP (192.168.0.2).I also thought to use a DHCP server, but I'm not sure that will work.

View 6 Replies View Related

Ubuntu Servers :: VMWare Server Does Not Start After Reboot

Nov 30, 2010

Ok 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.

View 2 Replies View Related

Server :: After Reboot Tomcat 5 Will Not Start On RHEL3

Mar 20, 2011

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.

View 8 Replies View Related

Server :: Dovecot Failed To Start After Reboot

Mar 19, 2011

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

View 5 Replies View Related

Server :: Trying To Get Radius To Start After Reboot Automatically

Sep 30, 2010

I 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!

View 2 Replies View Related

Ubuntu Servers :: How To Start Automatically Vsftpd In Server After Reboot

Aug 5, 2010

how to start automatically vsftpd in my server after reboot?

View 5 Replies View Related

Ubuntu :: Automatically Start Lsyncd Daemon On Server Reboot?

Jun 14, 2011

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.

View 3 Replies View Related

General :: Reboot The Server The Process Doesn't Start?

Mar 5, 2011

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]...

View 2 Replies View Related

Ubuntu Networking :: OpenVPN Bridge Network Won't Work After Reboot / Sort It?

Oct 27, 2010

I followed this tutorial => https://help.ubuntu.com/community/OpenVPN
I'm working on ubuntu 10.10 OS

So everything is ok when i start the tutorial with my interface on code...

The only way I can make it work again is by setting the interfaces back to

auto lo
iface lo inet loopback

>> then reboot
and after that put back the br0 settings in the interfaces en restart the network.

View 4 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

Ubuntu :: Get US Openvpn To Start Before Opening Huludesktop

Mar 14, 2010

I'm trying to get my US openvpn to start before opening huludesktop. I can start my vpn from the command line:

sudo openvpn --cd /etc/openvpn --config client.ovpn

but if I put in a script vpnhulu.sh

#!/bin/bash
sudo openvpn --cd /etc/openvpn --config client.ovpn &
huludesktop %F

It doesn't work - huludesktop starts but the vpn client doesn't start

View 1 Replies View Related

Ubuntu Security :: Get Openvpn Start-up Script To Ask For A Password?

Jul 20, 2011

I have to say, I'm a little astonished at how anxious people are to bypass password checks on networks, all for the convenience of having things come up automatically. But given the world as we find it, I'm seeking a different approach.

I have an OpenVPN network. It works fine, but for my laptop, I've selected a client certificate that requires a password, so that if it falls into nefarious hands, the thief will not have immediate access to the VPN.

I'm trying not to have any data at all on the laptop (yes, a waste of a 500GB drive). So I want the VPN up even before I log in through the GUI.

It would be nice if the boot-up sequence would pause for the openvpn start script to ask for this password. I see the script contains a line "# X-Interactive: true" which I understand from documentation is supposed to accomplish this. But it doesn't. OpenVPN simply fails to start, which is better than the alternative, but a pain.

I have already disabled the splash screen (having been around Linux for over ten years, I am more comfortable seeing boot-up messages anyway, though even on this x86 they flash on so quickly I'm not sure I'm really gaining anything).

What am I missing?

View 2 Replies View Related

Fedora :: Why OpenVPN Service Can't Start Up

Nov 24, 2009

It is the first time have I used VPN. I installed OpenVPN in my Fedora 11 computer. I did it following:URL...And I stopped at step 16: service openvpn start . The service can not start up. Even if I disabled Selinux . Does anyone know how to treat this trouble.

View 1 Replies View Related

OpenSUSE :: After Reboot Suse10.2 Got A Error Message "Could Not Start The X Server"

Jul 12, 2010

I used init 0 to make server shutdown,and replaced the power cord when I boot the server,it can't enter the GUI then I used init 5 and get the following message

Could not start the X server (your graphical environment)due to some internal error. contact your system administrator or check your syslog to diagnose. In the meantime this display will be disabled. Please restart GDM when the problem is corrected.

View 7 Replies View Related

Ubuntu Networking :: Network-manager-openvpn And Static-key OpenVPN Connection In 9.10

Apr 5, 2010

i have some problems with configuring openvpn tunnel connection to my openvpn server. I'm using static-key tcp connection. Network manager always said to me that connection could not be established. Also, when i try to run openvpn from terminal, i got some strange permissions problem:

Code:

openvpn --config config.ovpn
Mon Apr 5 15:48:37 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009
Mon Apr 5 15:48:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Apr 5 15:48:37 2010 /usr/sbin/openvpn-vulnkey -q moj.key

[code]....

View 1 Replies View Related

Server :: Run An Openvpn Server On A Openvz VPS - Packets Doesn't Reach The Client

Oct 23, 2010

I'm trying hard to run an openvpn server on a openvz VPS, the problem is packets sent from openvpn server process, doesnt reach the client, so connection is never stablished (I run tcpdump on server and wireshark on client to carefully investigate whats wrong), the first guess is that a kind of firewall is blocking traffic (I tried connecting to server through different ISP's but it's possible the national network provider applied some filtering but it cant be on IP,src port or dst port as I'd tried different configuration.

what about deep packet inspection technics, is it possible to block my traffic?) but at exactly the same time I can transmit UDP packets using netcat from server to the guest. there is no firewall enabled in between, I had tried, tcp and udp, tried both open vpn and openvpnAS and tried any thing one can imagine! the VPN is configured as a routed (TUN) type on debian

View 9 Replies View Related

Fedora :: Openvpn Certificate \ Installed Openvpn And Config It For A Tunnel?

Aug 9, 2010

i have installed openvpn and config it for a tunnel. my server.conf and client,conf is as follow:

server.conf
port 1194
proto udp

[code]...

View 1 Replies View Related

Server :: OpenVPN And Local Computers \ Cant Make A //server/SHARED?

Jul 6, 2010

i just one to emulate the windows 2003 - windows XP easy VPN deployment, with my ubuntu server.I got my server side (ubuntu) and client side ( openVPN gui) and everything looks okbut now, i cant make a //server/SHARED and get from my house to the office's docs, despite the conection its ok... whats wrong?

View 14 Replies View Related

Server :: OpenVPN Access Server Error: 501 Not Implemented

Apr 12, 2011

We're setting up an OpenVPN access server, a quite straight-forward and very customizable system. Only we have a problem, I guess caused by Apache, when we try to reach the client web server via a custom port (see screenshot in attachement) we get the following error: Code: 501 Not Implemented. The requested method is not implemented by this server. Although we have added on the cisco router a port forwarding for port number 9943. It is working when we access the website : port with the local IP address [URL]...

View 2 Replies View Related

Ubuntu :: Can't Get ISCSI Initiator Start After A Reboot

Oct 19, 2010

I am currently wanting to connect to an NAS unit that I have. I have installed open-iSCSI and have made the following changes to the iscsi_conf file:

Quote:

# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
node.session.auth.username = "user"
node.session.auth.password = "12 digit pass"

[Code].....

My goal is to get the iSCSI initiator to connect after a reboot. Mounting after connecting I am sure this will be another challenge.

View 1 Replies View Related

Server :: Ubuntu 10.10 - OpenVPN And Masquerading

Dec 12, 2010

I have set up OpenVPN Server on a VM (Ubuntu 10.10) running virtualbox bridged to the host. Everything is working fine excepts the fact that I cant seem to be able to assign internal IP (VPN Server) to client connecting. Let me explain: All my clients are connecting and accessing the internet without any issue. Where I have an issue is that all my clients come out the other way on the internet with my server ip address which kind of defeat the purpose. Is there a way (keeping in mind that I am running the server in a VM) to have all my clients accessing the internet with an IP provided by the VPN Server?

View 4 Replies View Related

Server :: Client To Use On A MAC To Connect To An Openvpn Server?

Apr 26, 2010

What client can I use on a MAC to connect to an openvpn server?
All the client s seem to use password connections whereas the openvpn server uses certificates.

View 3 Replies View Related

Ubuntu Networking :: Proxy Wont Start Until A Reboot?

May 4, 2010

Everytime i start my computer, proxy server (with transparent proxy) wont start at first boot. It produces an error when i tried to start it manually (from webmin).

Code:
2010/05/05 05:51:58| parseConfigFile: squid.conf:4970 unrecognized: 'httpd_accel_host'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4971 unrecognized: 'httpd_accel_port'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4972 unrecognized: 'httpd_accel_with_proxy'
2010/05/05 05:51:58| parseConfigFile: squid.conf:4973 unrecognized: 'httpd_accel_uses_host_header'
Rebooting the computer fixed it.

Is there a way to make it work the first time i turn on my computer? Those errors, httpd_accel, i enter those manually in squid.conf.

View 1 Replies View Related

Ubuntu :: Gnome-schedule Doesn't Start At Reboot

Jun 6, 2010

I've scheduled a task in gnome-schedule to run at each reboot. When I click on "preview task" it initiates a one-time run just fine. However, after reboot it just doesn't want to start the task.

View 3 Replies View Related

Ubuntu :: Directory Is Corrupted During A Cold-start Reboot

Jul 3, 2010

I urgently need expert assistance. During a cold-start reboot, something corrupted my / directory making it impossible to access much of anything. I was able to log into a recovery console and do "ls /" which shows most of the critical directories although "media" is missing. However attempting to "ls /home" gets the "no such file or directory" error message, as do attempts to ls most of the others. Doing "ls -l /" gets one item listed, followed by a single record out of /var/log/syslog, then nothing at all.

Attempting a normal login (I've disabled the quiet and splash options, so I see all the startup messages) gets to doing fsck on the swap partition, and that stalls out at 14% complete. The fsck on the root partition completed okay, apparently. This machine is my router, firewall, FTP server, and also hosts VirtualBox VMs that contain all of my customer support tools. The VMs themselves are partially backed up on another box, fortunately, but it took me a couple of months to get the failed box configured properly so if possible I need to recover it. For lack of space, I've never been able to do a full backup of it -- and permissions have foiled portions of all my other backup attempts on it.

Complicating matters is the fact that I have a moderately large data recovery job scheduled to arrive this evening (July 3) to be done while the customer's business is shut down for the holiday. Without the FTP server I'm unable to receive the files, which will total from 100 to 200 MB in all. Is it likely that testdisk may be able to rebuild the borked main root directory, if run from a live CD? The system is Hardy LTS 8.04.4, with 3 GB of RAM and a 250 GB SATA drive. I'm posting this from my WinXP laptop, which doesn't get along with my LAN so connects from a different router than the one that's down.

View 3 Replies View Related

Ubuntu Security :: Can't Seem To Activate The Openvpn Server In The Gui?

Aug 4, 2010

I installed OpenVPN and gadmin-openvpn-server from the repos and I can't seem to activate the openvpn server in the gui. I have the server certificate generated, and all the information on encryption protocols setup, and accounts named and ready, despite accounts that were already there, such as www-data, bind, ossec, etc being listed. The server log states:

PLUGIN_INIT: could not load plugin shared object /usr/lib/openvpn-pam-auth.so: /usr/lib/openvpn/openvpn-pam-auth.so: cannot open shared object file: No such file or directory.

View 5 Replies View Related

Ubuntu Networking :: Get An OpenVPN Server Running?

Sep 6, 2010

Followed this guide to the letter:[URL]..

Tried to run command:
sudo /etc/init.d/openvpn restart
And just get a fail returned.
This is what the log-file says.

[Code]...

It says init bridge br0 does not exist. Do I need to create it in the network config or something?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved