Ubuntu Servers :: Sudo Contrab Script To Ping Ebox
May 3, 2010
I have a DHCP server that I only mildly trust, but its nice because it is an eBox server (I use it for DNS, DHCP, and smtp relay for my internals). I want it to issue all addresses (simply because I like the way it displays its leases in the WebUI's dashboard), but I want a fail-safe too. I have another server that is strictly an Ubuntu Hardy server (I use it for openVPN and nothing else) so I would like it as my backup dhcp server. I figure I'll install all the dhcp stuff on it and just stop the service (to include a sudo crontab @reboot script to stop it when rebooted).
And simple use a sudo crontab script to ping the eBox every 5 minutes to make sure its live, and if not then start the dhcp server. My questions: If I put the entry in my sudo crontab will the script execute even if no session is currently running (its obviously a server so won't have anyone logged in except for administration)? Also since it is in the root crontab it will be able to start the init.d service without having to sudo it right (IE the script only needs to say "/etc/init.d/dhcp3-server start" not "sudo /etc/init.d/dhcp3-server start")?
View 4 Replies
ADVERTISEMENT
Sep 27, 2010
Installing file sharing using eBox and get the following error:
[Code]///
View 1 Replies
View Related
May 13, 2010
I just installed eBox on the Ubuntu server 10.version, server reports is successfully finished installation, but I received warning message Not Found
The requested URL /ebox was not found on this server. Apache/2.2.14 (Ubuntu) Server at 192.168.1.100 Port 80
when I tried to open ebox web based panel in firefox on my laptop.
my Apache web server is running well, see,
It works!
This is the default web page for this server. The web server software is running but no content has been added, yet.
View 2 Replies
View Related
Jul 3, 2010
this is a simple fix i hope. all i need is for someone to give me the terminal command to install a module onto ebox.
View 3 Replies
View Related
Apr 28, 2010
I am using eBox at my Ubuntu Studio laptop to manage the manage server application configuration, but in the firefox browser, I put the Ubuntu server 9.10 ip address 192.168.122.1/ebox into the firefox, but firefox can not connect the server, but I saw my Ubuntu server icon in the network of the studio admin menu. and I put command sudo ebox at the command line of the server, but the server says 'command not found'
View 1 Replies
View Related
Jul 18, 2010
I upgraded my Ubuntu 8.04 LTS server to 10.04 LTS - rebooted and things ran good. I knew I had a few problems, but DHCP and DNS were booting up and working fine for me.I went to take a look at Webmin, but apparently that's been removed from support for Ubuntu 10.04 - so I thought, I'll use eBox. I realized that Ebox didn't have the network module turned on, so I tried to turn it on. I found out the installation was missing scriptaculous, so I got that and installed that and then turned on the network module.I then rebooted the machine - and now nothing. It hangs when I get to the load for Apache. I would like to disable the network module for eBox, but can't find documentation for how to do that from the command line - which I have to use because the damn box won't boot and I'm running from a Live CD.
View 4 Replies
View Related
Sep 20, 2010
In my ongoing hunt for a Samba GUI that is feature packed, well supported, easy to use, yet doesn't suck, I found myself tinkering with eBox. I have it installed and fired up but I'm a little confused. I can add a Samba share - okay great. But I sorta need to add users. Where on earth can I add users? The users and group section of eBox doesn't appear to be related to what I need, and I also cannot get into the access control section of the very share I just created.
View 3 Replies
View Related
Aug 5, 2010
When i ping www.google.es, i get something like:Quote:
ping www.google.es
(wait 20 seconds)
64 bytes from 66.249.92.104: icmp_seq=2 ttl:53 time=80 ms
[code].....
View 2 Replies
View Related
Jul 15, 2011
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
View 2 Replies
View Related
Jan 3, 2010
I have installed a ubuntu 9.10 server to use mostly as a fileserver. When I installed the server I set it up as DHCP and later on I have changed the /etc/network/interfaces file, the /etc/hosts file and the /etc/hostname file. I have the ip 192.168.1.100 set on the server and I can ping and SSH this address. But I can not ping my server by it's hostname enighet. I am setting up a NFS server and I would like to use my servers hostname when I do this. Why can I not ping my server by it's hostname? These are the 3 files I have changed...
Code:
johan@enighet:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
[Code]....
View 2 Replies
View Related
Jul 10, 2011
I am running Ubuntu Server 10.10. I have enabled UFW with the following rules:
Code:
To Action From
-- ------ ----
80/tcp ALLOW Anywhere
22 ALLOW Anywhere
8080/tcp ALLOW Anywhere
[Code]....
I am unable to ping from the server. What do I have to add to ping from the server? Do I need to Allow from 127.0.0.1 to Anywhere? I would like this server to be as secure as possible.
View 5 Replies
View Related
Jan 12, 2009
I have an IBM Bladecenter HS21 with 3 blade servers. All 3 blade servers were initially installed with RedHat Linux 4. I then installed ixMOS on one of the blade servers, and Mandriva Linux was also installed (over RedHat) automatically along with ixMOS.
Now, I have some network problems. The other 2 servers with RedHat can ping each other, but it appears that the server with ixMOS/Mandriva Linux is isolated, that is, I can't ping the other 2 servers from it, and I can't ping it from the other 2 servers.
Does anyone have any ideas on what is wrong and how I can solve this problem? One more thing, my installation of Mandriva Linux has no GUI, so I have to do everything using the command line interface.
View 4 Replies
View Related
Dec 24, 2010
able to ping the debian servers? I haven't been able to for aver 24 hours.
View 6 Replies
View Related
Mar 30, 2010
I have set up UEC on a single machine 64 bit blade. I have followed the steps as per the documentation.I am using Managed NOVlan mode. I have installed the Karmic kola image. When I try to run the instance, I get an error "no resources available. Try --addressing private". When I try addressing private, an ip address 172.19.1.2 is assigned and the instance was running.
a) When trying to ping the ip, error displayed that the host is unreachableb) I am also unable to connect to ubuntu@172.19.1.2 using ssh. Error message is displayed that " No route to host".I have searched the forums but couldnt find any solutionPS: I suppose everyone is very busy. I see very limited responses to posts. Sharing your experience and expertise will be helpful for all and will reiterate the meaning of ubuntu
View 1 Replies
View Related
May 2, 2010
I am playing with openvpn, and I got stuck.I am using ubuntu server for openvpn server, which has 2 physical NICs, one is directly on internet and other is LAN, where few pcs are connected on.
View 5 Replies
View Related
May 2, 2010
I have configured DNS on ubuntu server 8.10 and it is working fine. There is one question I have though. Everytime I ping a LAN device by name I get the reply from the server with only the IP Address.
View 2 Replies
View Related
Jun 9, 2011
For clairification, I can ping. I have tried several IP addresses and 100% success rate. When I noticed the problem I was trying to run sudo apt-get update && apt-get upgrade After some time I noticed these error messages to start with
[Code]
I tried to ping the adddress security.ubuntu.com from my Windows machine to verify that I could connect and was surprised when I could. I then pinged the address 91.189.92.167 which is what my windows machine resolved the name as and it went though.
My thoughts on this are that when my Ubuntu Router came up, for some reason it did not incorporate the ISP's DHCP servers into the ip address it obtained. Sadly I know to view ALL IP infomation in windows via ipconfig /all command but I do not know what this is in the *nix world. need commands that I can use to check and troubleshoot this apparently DHCP issue so I Can start to update my server and expand on its services?
View 1 Replies
View Related
Mar 17, 2010
We've recently created 3 new RHEL5 servers and added them to the existing workgroup which all our other 7 RHEL4 servers run on. (All servers have been added into DNS). We seem to be having a few issues pinging 3 of the RHEL5 servers.
Below is an example of our ping tests:
WinsSrv1: Can ping all but RHELSrv1
WinsSrv2: Can ping all REHL Servers
WinsSrv3: Can ping all but RHELSrv2
WinsSrv4: Can ping all but RHELSrv2 & RHELSrv4
WinsSrv5: Can ping all RHEL Servers
There is no real pattern as to what server we can ping. We can ping all RHEL4 servers with no issues. All REHL5 servers can ping themselves with no issues.
View 1 Replies
View Related
Oct 24, 2010
I have a set of servers that I have to manage and I thought that pssh (parallel-ssh) would be a great tool for the job. Except that I can not see how to use that with 'sudo'. I can set password-less ssh between multiple servers for a given user. But I cannot see how to do administrative work if I cannot call SUDO as it requires a password to be entered firstly.
View 5 Replies
View Related
Mar 16, 2011
I wanted to installed transmission on my buntu server box 10.10 tonite so from my laptop top i ssh'd into it...which took an unordinary amount of time.. went to type in sudo apt-get install transmission half way through each word at the terminal prompt it would just hang...had to wait then it would recognize my typing and i could continue....pressed enter waited a long time; then noticed i coulnd't connect to the repos?
So i manually (as in sitting at the box not over ssh) tried to ping google nothing....sudo apt-get update....nothing....
- i restarted the machine twice
-sudo ifdown eth0 /sudo ifup eth0
sudo nano /etc/networking/interfaces made sure it said
Quote:
I have my router saved to assign 192.168.0.100 to the machines eth0 MAC of 00:14:2a:e9:15:0b so i can always use my webUI w/o having to guess my ip ifconfig shows my broadcast running i dunno i'm sooo confused and lost scared...a lil' cold....kinda hungry..pretty tired....
I'm on cli no gui anyone ever have this?
Quote:
View 8 Replies
View Related
Jul 13, 2011
I'm trying to set up my mythtv backend on a headless box. The many tutorials out there tell you to run mythtv-setup from a machine with a display by x forwarding through ssh.
Code:
ssh -X username@ipaddress /usr/bin/mythtv-setup
The x forwarding works fine except that the first part of the mythtv-setup requires you to stop the mythtv-backend process which you have to do as root. It brings up a box asking for your password (much like is would if you just typed sudo xxxxxxx in the terminal) but it won't accept the password. Looking in the auth log it seems that it can't authenticate
Code:
Jul 13 11:21:08 server su[21869]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=administrator rhost= user=root
Jul 13 11:21:10 server su[21869]: pam_authenticate: Authentication failure
[code].....
Now I know that my account (administrator) can have root privileges because I can sudo xxxx to my hearts content via ssh in the terminal, but it seems to not work when it's being requested from a forwarded X window....
View 2 Replies
View Related
Mar 17, 2011
I have a Dell Dimension 690 with a LSI raid controller. I just added two 2Tb drives to the 2 160Gb drives that I currently have. The 160Gb drives used to be set up in a redundant raid configuration and are now set up as stand alone drives. The 2Tb drives are redundant raid. I installed Zentyal server software (formally eBox). It seems that the system is starting up OK but on booting I am getting the following errors:
[Code]....
I do not want to put data files back on the server if it has some errors that will bite me later.
View 2 Replies
View Related
Jul 29, 2010
I want to install CentOS on my ebox 3300. Ebox has this hardware:
* 1Ghz x86 CPU
* 256 MB RAM (512 MB available on Q2/2009)
* Support for 2nd NIC
* Integrated Full Clock FPU
[code]....
The specs below is for my Jr DX which includes the wireless option and 2x RS232 ports, plus I have a 1 GB Compact Flash and a USB-Serial usb unit (PL2303) plugged in.
cat /proc/cpuinfo:
processor : 0
vendor_id : Vortex86 SoC
cpu family : 5
[code]....
I want to install it from my 4 GB usb stick onto my 4 GB CF card. I dunno how to get CentOS correctly onto my usb stick. I have tried unetbootin method and method from centos wiki, but it does same thing - after loading vmlinuz and initrd.gz it reboots. But when I tried to boot from that same usb stick on my laptop, it worked. Has anyone some experiences with installing centos on ebox? Or does anyone know what to do with it? Gentoo for example boots correctly, but gentoo can't install of CF cards (live instalation CD hasn't it in kernel enabled) and doesn't know my ethernet card (same).
View 1 Replies
View Related
Jan 7, 2010
I have been logging into a server remotely and trying to set up a mailing list on it. The server is the newest version of ubuntu server: uname -a: Linux Themis 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux.I noticed I could not download packages with apt-get or ping domain names, and I can't even ping 127.0.0.1.And do you think there is something wrong with the network card?
View 9 Replies
View Related
Apr 25, 2010
Not sure if this post belongs here, but here it is.
Host: Win server 2003
Guest: Ubuntu server
Host: IS able to ping guest. Firewall is OFF. NOT able to access guest (which is a web-server) at browser.
Guest: NOT able to ping host. Running a web server, you can check the website: (pegajosa.com) is running under that virtual Linux server.
Problem: guest needs to access host's sql database and/or any resources.
Network: is bridged.
At the Linux box ifconfig -a code...
View 7 Replies
View Related
Sep 11, 2010
I have an embedded server running Ubuntu which is on a network with a lot of wireless AP's. The AP's doesn't support SNMP or anything else, so I monitor if they are up or down by simply pinging them continuously.
My question is if there is anything I could install on the server that could provide me with a webpage where I could see the ping time to the AP's? So it just shows a list of the IP's I have told it to ping, and what their latest response time is. This is what I basically need, but if it were more advanced than that, and could give warnings if ping time were to high etc.
View 6 Replies
View Related
Apr 13, 2010
windows servers 2003 can ping linux system,while linux system can not do that? why?
View 4 Replies
View Related
Mar 7, 2011
I have two linux servers, I tried to ping from one linux box to another and vice versa but error message is "connect: Network is unreachable" Where as If I tried from windows machine I am getting the reply from both the servers.
C:Documents and Settings>ping bnkprod
Pinging bnkprod.softtech.com [172.20.40.141] with 32 bytes of data:
Reply from 172.20.40.141: bytes=32 time=16ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Ping statistics for 172.20.40.141:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 16ms, Average = 4ms
View 2 Replies
View Related
Mar 3, 2010
how to get tab completion working with sudo in JeOS (Ubuntu Hardy) 8.04? Assuming I have the command '/usr/bin/svnadmin'. As a normal user I can type:
Code:
svnad + TAB
and it auto-completes as 'svnadmin'. If I type:
Code:
sudo svnad + TAB
nothing happens. My 'echo $SHELL' is '/bin/bash'. I tried enabling the following in '/etc/bash.bashrc':
Code:
if [ -f /etc/bash_completion ]; then
[Code]...
auto-completes as I'd expect. I think I once read that there's some kind of configuration variable for sudo that causes it to use a 'more secure' path rather than the current path in the user's environment. I can't find any info on it though. I'm executing the commands from my home directory.
View 5 Replies
View Related
Jul 27, 2010
I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.
Fortunately I have a root account and can login as root or su to root.
I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.
I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.
auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.
View 3 Replies
View Related