» Home » ubuntu » Page 1
play framework commands on ubuntu stopped working after updating packages on ubuntu
Category : Ubuntu

Has anyone else come across this at all? I used to be able to run play (v.1.2.3) commands in the command prompt using "play run" but now am unable to do so. Now I get the following error (after having updated ubuntu packages):


play FAIL formats: can't open input file


I am guessing one way would be to simply change the location of the play directory location in the path


View Replies


Mouse-click listener in headless Ubuntu (Ubuntu Server Edition)
Category : Ubuntu

I want to solve a pretty easy problem. I just want to detect a mouse click under Ubuntu Server(without GUI respectively windows management). Therefore, I use Ncurses and following code snippet, but it doesn't detect any mouse actions. I looked up the web for 2 days now without success. would be great to get your help.


#include <ncurses.h>
int main(int argc, char **

View Replies


how to programmatically detect whether current Ubuntu version is lower or greater than Ubuntu 12.04
Category : Ubuntu

I'm working on java web application where logic will be different based on the os version.


Currently we deploy our application both on Ubuntu 12.04 and Ubuntu 10. The Web App allows to change DNS nameservers through its UI. The application deployed in Ubuntu 10 keeps DNS name servers on etc/resolv.conf but Ubuntu 12.04 keeps them in etc/network/interfaces.


View Replies


httperf gives warning open file descriptor on ubuntu 12.04 but not in Ubuntu 10.04
Category : Ubuntu

I have been running load tests using httperf for a few weeks and getting this error -
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
when I fire query from OS - Ubuntu 12.04 LTS (64 bit machine).


But if I run the same command on from a 32 bit machine having OS - 10.04 LTS; I don't get the error message.


Also, I did


View Replies


How to install zend framework 2 in ubuntu + mod_rewite + ubuntu 12.04
Category : Ubuntu

I installed zf2 skeleton application some modules like zfcuser and zfcBase from https://github.com/ZF-Commons/ZfcUser and I installed it successfully in my local at the end I ran 192.168.3.12/myproject/user but I found simple 404 not found error not zend framework one so I did a research there are lot of people are showing about to make virtual host but I want to run it in simple way not with


View Replies


configuring Munin for Nginx 1.2.4 on ubuntu 10.04 ubuntu ec2 instances
Category : Ubuntu

I am running my ruby on rails app ubuntu 10.04 ec2 instance and I am using nginx 1.2.4. I am trying to configure munin to get stats fron nginx, I have recompiled nginx and its working fine but I am unable to run the munin. If I hit mydomain.com/munin/ I am getting error 404 page not found. Also I have installed all the necessary plugins for the munin like nginx-stats,nginx-memory and many more


View Replies


Different behavior from ubuntu server and ubuntu client on windows
Category : Ubuntu
#!/bin/bash
# Reading
cat /home/radiare/Desktop/first.txt | while read LINE
do
if [ "$LINE" == "false" ]; then
echo "Inside first loop"
break
fi
done
cat /home/radiare/Desktop/second.txt | while read LINE
do
if [ "$LINE" == "false" ]; then
echo "Inside second loop"
break
fi
done

In ubuntu client,


View Replies


How to Create An Ubuntu USB Boot Disk for Ubuntu 8.10
Category : Ubuntu
Ubuntu 8.10 comes packaged with a tool that allows you to create a USB startup disk that behaves like the Ubuntu 8.10 Live CD. This can be very useful if you want to install Ubuntu on a computer that has no CD or DVD-ROM drive.Difficulty:Moderately EasyInstructions Boot into your Ubuntu 8.10 system. Once your desktop opens, insert your USB flash drive and your Ubuntu 8.10 Live CD onto your CD-R

View Replies


Comparing VirtualBox(Ubuntu) with Actual Ubuntu
Category : Operating Systems

I am having Window 7 OS with Virtual Box which has Ubuntu .
When i am executing the code in Virtual box it takes 5.9sec .
When i am executing the same code on actual ubuntu OS it takes 2.9sec.
I have checked CPU info .In Virtual Box it gives CPU Speed 2968.448 MHZ and on actual ubuntu OS it gives 1600 MHz.


Can anybody pls explain the reason for this?


View Replies


Move ubuntu Apt-Cacher-Server archive to new ubuntu Apt-Cacher-Server
Category : Ubuntu

I had 2 Ubuntu machine on different place. I installed Apt-Cacher-Server on both of them.
On the one of them I had 2gig of packages and apt info.
Now I wanna to import any existing apt-get package from old machine to new machine.
I knew this command "sudo */apt-cacher/apt-cacher-import.pl -s /var/cache/apt/archives" for import,but What is I don't know is How I export Apt-Cacher


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .