Ubuntu Servers :: Figure Out Which Ubuntu Are Running Through Ssh
Jul 24, 2011I am sure that this is a simple fix, but how do you figure out which Ubuntu you are running through ssh? Can I easily figure out if I have 10 or 11?
View 3 RepliesI am sure that this is a simple fix, but how do you figure out which Ubuntu you are running through ssh? Can I easily figure out if I have 10 or 11?
View 3 RepliesFor some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l
Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[code]...
so I know this is probably one of the most asked questions from Slackware noobs, but i can't seem to find an acceptable answer to this question. How to get wireless networking, working under Slackware linux.I know the tools i should be using(ifconfig, iwconfig) but I have no idea how to use them. I know the init script that I need to edit but I'm not to sure where to get the information it requires, such as the ESSID.I am running 13.1 64bit. I know that the wireless network I want to connect to uses WPA encryption.As well I have never used Slackware before, I've had the most experience with CrunchBang, the problem being wireless worked out of the box for that.
View 14 Replies View RelatedI'm trying to figure out if a box is running just a single sda disk. or if it actually has hardware RAID setup and Linux just sees this virtual sda disk which is actually composed of several drives hidden behind the card. for software raid i know that doing mount command would show something like
/home mounted on /dev/mapper/ddfadasdf34234234234
and for nvidia card it would say something like
/home mounted on /dev/mapper/nvidia_34324234234
but in my case i just see /dev/sda1 mounted on /home
cat /proc/scsci/scsi however see several drives being on the system, dmesg shows the same. But I only see this one drive when doing mount. So basically I have conflicting information. What would be the sure way to figure out if i do have a raid array and if so what raid level I'm running.
[Code]...
I think I can eliminate Media Companion as the problem since all other samba servers work with it.
I want to trouble shoot this but don't even know where to start. How do I figure out what makes OPENWRT samba server different from the other 100% working FREENAS and PC-01 Servers?
How would you go about trouble shooting this?
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
View 5 Replies View RelatedI am running apache2 and tornado web servers on the same server with one ip address.
The apache2 listens on port 80. Tornado listens on port 8888. I want to redirect requests from a specific ip port 80 to port 8888. I don't have the ability to change the port request on the device. It wants is looking for a web server on port 80.
Any other web server request should go to the apache.
I tried adding the following to /etc/ufw/before.rules
When I run iptables -L it doesn't appear. I have disabled and enabled ufw with no help.
I'm running my own webserver at home. I've also bought a domain (it's .nl because I'm Dutch). But now I need to change the nameservers from my domain.
I've read a lot of things about running your own authoritative nameserver and things like that. I also experimented with bind9 but I can't get it.
So, I've got a Webserver running Ubuntu Server. I've bought a domain. Nothing more and nothing less. So is it possible to run a nameserver or something else to get it work in this situation?
when i go to my server's IP address, the index.php files is downloaded, not run, how can I fix this? I have php5 installed and enabled.
Quote:
root@ubuntu:~$ ls /etc/apache2/mods-enabled/
alias.conf authz_user.load dir.load php5.load
alias.load autoindex.conf env.load reqtimeout.conf
auth_basic.load autoindex.load mime.conf reqtimeout.load
[Code]....
I'm looking to run some R scripts on a mysql database (engine =csv) from the apache webserver.
The goal is to record some statistics/numbers while someone is logged in, pass those numbers to r, run some statistics algorithms on the passed set of data and output an image file back to the logged-in user's html web page.
Doing this along with knowledge on how to call general r functions from within a php framework would be great.
My application environment which is made of jdk1.6,Tomcat 6, my sql 5.0. When i deployed my project in ubuntu 8.4, it was running fine.
But when i added
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar
jar file in my application and deployed it in ubuntu10.4 then also it run smoothly.
But when i m trying to deploy it in ubuntu8.4 it shows an error
"resource not found"
I recently got a second-hand ProLiant DL380 G3. Currently it has no storage on it. So I was wondering, if and how I could run Ubuntu Server 10.10 (or any free server distro really) from PXE boot until I can get a hard drive. After I get the drive I will also need to install it using PXE as well.
View 1 Replies View RelatedI currently have an Ubuntu Server setup with a CF card that has / and /boot on their own partitions. I also have a single 1TB drive that is dedicated to the /home partition, however it's a drive that I have run out of space on.
I just purchased a 1.5TB drive to throw in the server, but I am not sure how to set this drive up so that it's seamlessly integrated with the 1TB drive. I would like it setup so that my /home partition is expanded from 1Tb to 2.5TB. I know what I am explaining is similar to raid 0, of which I am not opposed to, except that everything I have searched for online solely explains a raid setup during installation, and I don't have the time (due to school) to reinstall and reconfigure my system.
So in a nutshell, is there a way to setup raid 0 without doing a re-install or is there a way to setup 'fstab' to accomadate my request?
I have had a LAMP setup on my computer for a while without any trouble but I have suddenly become unable to access it through either localhost or my IP address. I have tried removing and reinstalling the packages but it still doesn't work and the /var/log/apache2/error.log does not give me any errors.
Here is my apache2.conf
[URL]
I installed Apache by using the following command:
Code:
sudo apt-get install apache2
I later realized that there are two (or more versions) of Apache, MPM Worker (threadsafe) and Prefork. Since I'm trying to get both Tomcat and PHP working on the same system I need to know what version is installed of Apache, Worker or Prefork?
Looking in the package documentation, it said something about a virtual package... Looking inthe mods-enable directory, I don't see anything that indicates one or the other.
I'm also wondering if Tomcat integration can work with prefork?
I have two computers on a LAN. (This is history not a Bazaar question, although I have one of those too) One of them (Ubuntu 9.04) Im using as a Bazaar repository over sftp. Its been working fine for about a year. Then we had a thunderstorm that knocked out our Internet service for a couple of days. When it came back up everything is working fine accept I could no longer commit to the server. A little detective work showed that ssh was not running on the server. I started it and Bazaar then couldnt find the repository files. I still suspected an ssh problem, but port scans from both computers showed port 22 open on the server and I could do a ssh login from the client ok. Then I started fiddling with ssh on the server and now I have ssh problems on top of the Bazaar problems.
On the server I deleted then regenerated the ssh keys. Ive done
sudo /etc/init.d/ssh reload
sudo /etc/init.d/ssh start
I get a normal starting message and ps ef |grep ssh
shows /usr/sbin/sshd running. But the port scan does not show 22 open and I get connection refused at the client.
I recently hired a new tech guy to start managing our servers. In doing this I went ahead and upgraded all the servers. It has been awhile now since I sent him the details of the new server and the last time I talked to him he was joking around with one of the other clients not realizing how long it took.
I know on other server moves, my old guy could have everything setup and running in a couple days as a good amount of time is waiting for the data to copy over. I am starting to wonder if this guy is going to try and throw a huge bill at me, so I would like to know what hes doing on the server with time stamps just so I can get a idea of how much time he has been logged into the server. Does this server OS have anything like this built in?
I have telnet service intalled(apt-get install telnetd), but when I type telnet, I'm getting the following error:
bash: /usr/bin/telnet: No such file or directory
I've accidentally removed (rm -r) the ubuntu-kvm folder that stores the virtual partitions of my VM. The VM itself is still running. The machine is still accessible over the net (it is a webserver) but since there is no more virtual storage I guess there is no way to regain its contents. Are there any steps I can do to regain the machine? I guess if I just reinstall the machine by means of vmbuilder all newly created discs will be more or less blank.
View 3 Replies View RelatedI've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.
View 9 Replies View RelatedI'm attempting to get svn over apache running on maverick server. Here is my site config
Code:
<VirtualHost *:80>
ServerName common.subversion.xxx.xxx
ServerAdmin xxxxxxx
DocumentRoot /var/www/SVN
AddExternalAuth pwauth /usr/sbin/pwauth
SetExternalAuthMethod pwauth pipe
[Code]...
While the redhat posts indicated selinux, when I checked it with sestatus (after first installing sestatus), it came back disabled. So what is locking down the /var/www directory?
Cron seems to be running the script below (According to /var/log/syslog) but I'm not receiving the email it should send. This does work when I invoke it manually. checkraid (-rwxr-xr-x 1 root root)
Code:
#!/bin/bash
echo `/sbin/dmraid -s > /etc/check-raid/check_state`
index=0
while read line; do
[Code]...
I have a Ubuntu 8.10 perfect server and I made a stupid decision at install. I selected only 160 gb for /var partition and now it's 99% full. I added another mail domain and they came with alot of emails from the old server. How can I manage this? I got /home partition that's double in size and it's almos empty. Can I create a shortcut for the whole domain and move it to /home? Right now it resides in [URL]. I would like to make this move without affecting the files properties nor users passwords. Most perfect would be to remake the whole system on a single / partition. I have configured a soft raid thou using 2 hard-disks in mirror. So I prefer to get a new hard-disk, format it for a single / partition and swap and move the whole system on that. Would it be too complicated? Or make a new Perfect Ubuntu 10.04 LTS server with ispconfig 2 and move the whole domains with the users passwords and emails and websites?
View 9 Replies View RelatedI am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this
$ java -version
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ javac -version
[code].....
i think this is not the right place for this post, but i can not figure out how to post a bug. i am talking about the permissions of: /tmp/orbit-root. please don't tell me now "don't" log in as root if you once login as user root from the login screen the permissions of /tmp/orbit-root are set to: drwx root but if log out the permissions are not set back / or the entry will be deleted. this will end for the next login as a normal user that you will get a bulp of error messages. easy to reproduce. this is not a feature - it's a bug.
View 1 Replies View RelatedI've been troubled by the high amount of RAM that is used by my Ubuntu desktop. Before I installed Ubuntu 10.04 (desktop, 64-bit) my system used around 500MB of RAM when no applications were open (just cold boot into the GNOME under 9.10). But when I installed Lucid, I've noticed that my used memory is now reported as 1GB or more as soon as I log into the system.
I want to figure out what is using all the extra RAM but I can't seems to find the culprit. I looked at all of the processes and numbers just don't add up. I exported the list of processes into a file and summed up the memory used by every process in a spreadsheet. The total came to around 700MB. Yet, both System Monitor and "free" reported the time that system was using over 1GB of memory. This means that at least 300MB of RAM are used but not by any process, at least as reported by "ps".
i am trying to learn though i have a powercolor ATI radeon hd 5570 video card and i have never installed one in a pc with ubuntu having trouble figuring out how to get drivers.
View 3 Replies View Related[URL]I can't get it going.
View 8 Replies View RelatedI made a bootable usb drive that I would like to test on my sony viao laptop. I cannot seem to figure out how to get into the bios so I could set it to boot from the usb. I tried pressing F10 and F12 while booting but these were all guesses as I do not know which key combination is used to go to bios on this machine.
View 9 Replies View RelatedI know this has been asked, but I can't seem to figure out which answer will work for me.I'm not a programmer. I am an experienced computer user, and have been using 10.04 for about 6 months.I rarely use my Vista OS, and have to sit with my computer as it boots up, so I can select Ubuntu during the process.Vista was on the machine when I installed 10.04, but I would really like it (10.04) to boot first.
View 4 Replies View Related