How do I ensure my upgraded server remains on the LTS?

I’d like to upgrade my server from non-LTS (Saucy) to the new LTS (Trusty Tahr). In other words, once Ubuntu 14.10 will be out (next scheduled release after 14.04), I would like to remain on the LTS branch and not go to 14.10. Is there anything special I should do (or should not do)? Is […]

MongoDB: Setting up Windows Service

I have just installed MongoDB 2.6 and I am trying to run it as a Windows Service on Windows 8, by following the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/. Here’s my directory structure within the C drive: MongoDB (MongoDB installation) bin Project DB Log mongo.conf mongod.cfg The contents of mongo.conf is: storage: dbPath: “C:\Project\DB” And the contents of […]

MongoDB: Setting up Windows Service

I have just installed MongoDB 2.6 and I am trying to run it as a Windows Service on Windows 8, by following the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/. Here’s my directory structure within the C drive: MongoDB (MongoDB installation) bin Project DB Log mongo.conf mongod.cfg The contents of mongo.conf is: storage: dbPath: “C:\Project\DB” And the contents of […]

MongoDB: Setting up Windows Service

I have just installed MongoDB 2.6 and I am trying to run it as a Windows Service on Windows 8, by following the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/. Here’s my directory structure within the C drive: MongoDB (MongoDB installation) bin Project DB Log mongo.conf mongod.cfg The contents of mongo.conf is: storage: dbPath: “C:\Project\DB” And the contents of […]

MongoDB: Setting up Windows Service

I have just installed MongoDB 2.6 and I am trying to run it as a Windows Service on Windows 8, by following the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/. Here’s my directory structure within the C drive: MongoDB (MongoDB installation) bin Project DB Log mongo.conf mongod.cfg The contents of mongo.conf is: storage: dbPath: “C:\Project\DB” And the contents of […]

Low resolution on Lubuntu?

I just installed Lubuntu 13.10 and I have a problem – On Windows I can go up to 2048×1536, but the display setting on Lubuntu only lets me go up to 1024×768. I already ran the update and upgrade, and the software thing shows no additional updates. My display thing on this is: Intel G965 […]

jboss 7 java.lang.OutOfMemoryError: Java heap space

salem, I work with jboss 7 , spring ,hibernate, under eclipse I make this config in order to increase the memory : -Xms1024M this is the config of VM arguments -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true “-Dorg.jboss.boot.log.file=C:/test/jboss-as-7.1.1.Final/standalone/log/boot.log” “-Dlogging.configuration=file:/C:/test/jboss-as-7.1.1.Final/standalone/configuration/logging.properties” “-Djboss.home.dir=C:/test/jboss-as-7.1.1.Final” -Xms1024M and when I work in my application I have this error […]

Crop tool with high resolution

I am now using Shutter in Ubuntu 13.10 for crop different selections and to select windows, but the problem is that the resolution is very low after I check it saving in all formats. Please tell me software, that I can save crop selections and images in high resolution.   Asked By – Muhammad Toseef […]

Cannot get full resolution with Geforce 210

I have GeForce 210 on Ubuntu 13.10 connected with HDMI to a 29 AOC display. The display can do 2560×1080 resolution, the maximum resolution the video card can provide is 2560×1600. However, the best I can get is 1920×1080. How can I get 2560×1080? I have tried to switch the display drivers using Software & […]

ssh -L (error: bind: Address already in use)

Pretty simple, I know that this has happened to me before. Couldn’t find a good answer on AU. I was running an ssh session with ports bound: ssh -L 3000:<server_name>:22 I just lost my connection. When I try to reconnect using the same command, I get the following error: bind: Address already in use channel_setup_fwd_listener: […]

Partitioning an external hard drive for Linux

I want to partition an external SSD hard drive (30GB) for Ubuntu. What is the proper size for main partition, Swap partition and for the rest? I want to use remaining disk space to store files, so this also should have proper filesystem. How to make this with GParted?   Asked By – triwo        […]

SKYPE install deleted folders

I removed folders accidently from skype manually, now if im trying to install by sudo apt-get install skype it is actually installing but I dont have an icon to run it any ideas?   Asked By – Gan        Read Answers     0   

Does the Radeon HD 8570M work with Ubuntu (Saucy/Trusty)? (no hybrid)

I’m planning to buy a new computer. It uses a AMD A8 processor with a Radeon HD 8570M. I’ve read lots of discussions on how to get this card work using Ubuntu or Mint. However, all of them were talking about usage of the HD 8570M as an additional graphics card and a Intel HD […]

Previous file in ubuntu one

I have a huge problem. I accidentally sync broken files to ubuntu one. Is there a way to get previous file (that are not broken) from ubuntu one?   Asked By – lapor        Read Answers     0   

Aliases in Synapse

Is there any way to add aliases / change items’ priority in Synapse? For example, I want it to oper Firefox and not LibreOffice when I type ff <return>. Another example is that I want to open Final Term instead of plain Terminal or Terminator when I search for term, yet I still want both […]

How do you transfer quickly a link from your computer to an android smart phone

I need a way to transfer links quickly in order to open them from my android terminal. Any ideas? Note it’s not about files, It’s just links and I’m looking for a manner to do it properly, easily and quickly. It could be preferably through internet. But other possibilities would be through: phone network, bluetooth, […]

Configuring sendmail in 12.04 server

I have some WordPress sites hosted in my Ubuntu 12.04, so that contact forms and general email sending works alright, I tried to install sendmail since it seems a simple and straightforward way to get this working. sudo apt-get install sendmail I tested this on my ubuntu 13.10 and the experience was quite nice, working […]

Cannot access internal HDD error mounting /dev/sdb2

I just installed Ubuntu 13.10. My pc cpu AMD A10-7700K APU with Radeon(TM) R7 Graphics × 4 motherboard gigabyte ga-f2a88xm-d3h ram 8GB have two internal HDD primary =128GB secondary 2TB Just after installation, I quick formatted secondary with NTFS file system and I started copying files. When I rebooted the system, the 2nd HDD was […]

youtube videos not working on chromium

I have latest flash-plugin intalled and have also installed extra-codecs for Chromium and have no extra media plugins enabled but still sometimes can`t get Youtube videos to run. A black screen comes with ‘undefined learn more’. I am using ubuntu 12.04lts   Asked By – pulkit        Read Answers     0   

Windows 8 and Ubuntu OS installation possible on the same computer?

I have a simple question: “If I install Ubuntu 13.10 on my Windows 8 PC and lets say I need/want to go back to Windows 8, could I use recovery discs to remove Ubuntu and simply reinstall Windows”? Also I really would like to play my steam games on Ubuntu, but they are all Windows […]

How to create a keybord shortcut for toggling mouse touchpad?

I am trying to create a keyboard shortcut for [enabling] or [disabling] my mouse-pad, since it is very annoying to have it while typing especially when you have a mouse. I have tried with xinput command: xinput set-prop <id> “Device Enabled” 0 This has not worked for me, also I have tried nearly everything in […]

Is there a way to form network connections using shell script?

I want to form a network connection to a website and read the data line by line and store it in a text file in my system using shell scripting. I have done it using java where I can read using a URLConnection object to that particular resource. In shell scripting is WGET Spider the […]

Satisfy dependencies on autoremove

Based on man apt-get for autoremove we got autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed. Can any one tell me what is satisfy dependencies meaning ? I see this command widly used also in somewhere which we do not instsall […]

Php doesnt work on Apache server

I installed LAMP sudo tasksel install lamp-server I can run my site, but the php code is just displayed as text. I have tried this solution, but it didn’t help me. When I try to run php script with terminal: user@pc:~/ooo$ php index.htm I get just php code. When sudo /etc/init.d/apache2 status php -v I […]

Entity Framework 6.1 SP Result Objects not being generated

When I add a SP to my EDMX object using the “Update model from database” option in the context menu of the designer, the Result object is not generated. If I try and add it manually, by right clicking the SP in the model browser and selecting “Add Function Import”, it returns “The selected stored […]

ERROR: executing command ant – After installation and setting ANT_HOME

After wrestling with my environment variables to get the proper directory set, I can now get the version with: C:\Projects\TestProj>ant -version Apache Ant(TM) version 1.8.4 compiled on May 22 2012 Ant appears to be working: C:\Projects\TestProj>ant Buildfile: build.xml does not exist! Build failed I still get the error when I try: C:\Projects\TestProj>cordova -d platform add […]

net-snmp-create-v3-user: not found

I’m having a hard time adding a user to smpd v3. The following command: net-snmp-config –create-snmpv3-user -a <mypass> <myuser> ends up with a /usr/bin/net-snmp-config: 236: /usr/bin/net-snmp-config: net-snmp-create-v3-user: not found error. snmpd, libsmp-dev, libsmp-base are all at the newest available versions 5.7.2. Ubuntu version: 13.10 Server   Asked By – kroolik        Read Answers     0 […]

Cannot decrypt hardrive. Password not accepted

I have been tackling this for at least 5 days now. Initially I couldn’t get Ubuntu to recognise my already installed partition LVM with an Arch, Home, and Swap logical volume. I have now got Ubuntu installed in another logical volume with the help of this guide: How can I install Ubuntu encrypted with LUKS […]

NEW NV 337.12 BETA drivers (optimus)

Update: This is now solved. Thank you @Luis Alvarado for pointing out those guides and the PPA. I really appreciate it. I can now overclock with the new beta drivers. I have an optimus system. HD4000 and NV 660M. Its an Asus G46vw notebook. I have the nvidia-prime package with NV 331.38 drivers installed. This […]

Ubuntu heat up too much my computer when it uses the integrated intel graphics

My machine is a Lenovo G580 with these specifications: Processor: intel core i7 3520M Graphics: intel core HD graphics 4000 + nvidia Geforce 710M RAM: 6GB I’m on ubuntu 13.04 64 bits and I’ve set up bumblebee. The computer gets too heat (more than 70ºc) when I leave the cpufreq in “ondemand” mode and it […]

opencv installation ffmpeg error

I have been trying to install opencv for a long time in my fedora 20 32 bit system.I followed the instructions from http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_fedora/py_setup_in_fedora.html#install-opencv-python-in-fedora But after all cmake commands when I m trying to make it I am getting an error again and again. scanning dependencies of target opencv_createsamples [100%] Building CXX object apps/haartraining/CMakeFiles/opencv_createsamples.dir/createsamples.cpp.o Linking CXX […]

Can classic asp / vbscript be used to generate or a file descriptor for a locally stored image?

Im working on a project where I need to make an api call and one aspect requires I send the API a ‘file descriptor’ for an image stored locally on the users machine so the api can perform an ‘upload’ routine for that specified image… Im posting data to and receiving data from the API […]

focus back to parent object failing in latest version of chrome

background: i have developed and maintain and a web based sales system using classic asp, javascript and sql server for internal use. to minimise my workload I restrict access to system so that only IE and Chrome browsers can be used. problem following latest chrome upgrade (Version 34.0.1847.116), routines that have been working perfectly are […]

My sound card is no recognized

I just installed ubuntu on my new laptop(toshiba c55-a-1px) and it works fine, the problem is that my head phones doesn’t work. After a bit of reserarching I found out that my sound card is not recognized: . My sound card is Realtek ALC269Q-VB5-GR. What should I do? I have tried to install the driver […]

Not able to use opencv2.4.8 in Xcode 5.1

I self update MacPorts the other day. After that, opencv is upgraded from 2.4.6 to 2.4.8. Then I replace all opencv*2.4.6.dylib with the new ones in my project. However, opencv is not available anymore. It used to work well. Every time I try to use opencv, ‘Undefined symbols for architecture x86_64:’ errors occur. Basic configurations […]

Use modalbox for delete confirmation in place of alert in cakephp2.x

I baked a cakephp project where i want to use nifty-modalbox for delete confirmation in place of normal alert. Anyone have idea how to do that. Here is the scenario: Bootstrap 3 jquery.niftymodals.js Here is the desired html code. <a class=”btn btn-primary btn-mono2 btn-flat md-trigger” data-modal=”dark-primary”>Delete</a> <!– Nifty Modal –> <div class=”md-modal md-dark md-effect-3″ id=”dark-primary”> […]

Encrypted 2013 Access Database Password will not validate on Windows 8 using Classic ASP

Trying to use Classic ASP to access a 2013 Access Database that is encrypted with a password. I have tried a number of different approaches to rule out the problems. Here is the ASP page <%@ Language=”VBScript”%> <% Option Explicit %> <% Dim objConn Dim strVersion Set objConn = CreateObject(“ADODB.Connection”) strVersion = objConn.Version With objConn […]

Datetime from timestamp in locale time

Please see the code: Core.php date_default_timezone_set(‘Asia/Calcutta’); Controller $value = “2014-04-12 07:41:41″ echo date(“d M Y – d:i:s”, strtotime($value)); Output 12 Apr 2014 – 12:41:41 It should be 12 Apr 2014 – 07:41:41 Please tell me what I am doing wrong?   Asked By – Anubhav        Read Answers     0   

Classic ASP Request.Form not working

I have my 1 form as follows <form action=”ForPT.asp” target=”_top” method=”post” id=”frm1″ name=”frm1″> <input type=”hidden” id=”cname” name=”cname” value=”<%=cname%>”/ > <input type=”hidden” id=”HDate” name=”HDate” value=”<%=ReqStartDate%>” /> <input type=”hidden” id=”Log” name=”Log” value=”<%=EventLogID%>”/> </form> I am trying to get the above 3 values in the ForPT.asp form using Request.Form.But it no way works. The ForPT.asp is as follows. […]

Add days from a date in timestamp

I’m trying to get an date in timestamp format and add 5 days on it. $dataCriado = $this->Solicitation->find(‘first’, array(‘conditions’ => array(‘id’ => $id), ‘fields’ => array(‘data’))); $prazo = CakeTime::format($dataCriado['Solicitation']['data'], ‘+ 5 days’); in the book i just see functions to add days from current date. But I need to add in a past date. Thanks […]

Access Connection String From File Generated by Server.Execute

I have a file header.asp that has an server side include head.asp. Inside head.asp my connection to my database is created and is accessible from the header.asp file and pages that use the header.asp file as an server side include (in this case my core.asp file). Inside core.asp I have the following: if request.querystring(“page”) = […]

upload file to server and make a pointer to it using xml

My web application allow the web admin to upload file to the server and name this file “input for file name and input for the file”. On the files page the user can click the file name and get the file uploaded by the admin. My question is how I can upload a file and […]

upload file to server and make a pointer to it using xml

My web application allow the web admin to upload file to the server and name this file “input for file name and input for the file”. On the files page the user can click the file name and get the file uploaded by the admin. My question is how I can upload a file and […]

session id changes periodically (nginx / tomcat / mamcached / MSM)

I met a problem when working on the group of servers: 1 – linux_01.xx –> nginx (proxy_pass) 2 – linux_02.xx –> tomcat01(8081) / tomcat02(8082) / memcached 2 – linux_03.xx –> tomcat01(8081) / tomcat02(8082) the 4 tomcats use MSM (non-sticky mode) to share the session. in those tomats there is only 1 simple webapp, index.jsp with […]

Please help me setting up my new 3G usb modem "D-Link DWP 156 in ubuntu 13.10

This USB modem has official support for Linux OS(Ubuntu 10.04 or above). I have tried all the methods shown on various sites.Nothing worked please help me. In the terminal I typed isusb and the output is as given below. lsusb Bus 001 Device 010: ID 2001:7d01 D-Link Corp. I also tried to install the 3g_modem_connect_DTLW2_D300A_amd64.deb […]

CakePHP – insert into multiple tables error

I’m trying to save data to more tables using CakePHP (2.4.6). I have Posts/add.tcp file: <?php echo $this->Form->create(‘Post’); echo $this->Form->input(‘title’); echo $this->Form->input(‘body’, array(‘rows’ => ’3′)); echo $this->Form->end(‘Save Post’); ?> And method add in PostsController file: public function add() { if ($this->request->is(‘post’)) { $this->request->data['Post']['user_id'] = $this->Auth->user(‘id’); $titulek = $this->request->data['Post']['title']; $uid=$this->request->data['Post']['user_id']; $body=$this->request->data['Post']['body']; $sqla = “INSERT INTO posts […]

CakePHP 2.x Saving multiple models with foreign keys

I’m currently building a multi-step form submission website that involves a single form going through several steps and being updated by several users (not concurrently). For example a student fills out and submits a form, which might get sent to a professor who needs to fill out fields for the same form, which then gets […]

Redactor clips plugin does not paste the exact html

I was trying to use the clips plugin in Redactor. My needs is: create some templates using the Twitter Bootstrap syntax/classes. I create this clip: <li> <a href=”#” class=”redactor_clip_link”>Template 2 Colunas</a> <div class=”redactor_clip” style=”display: none;”> <div class=”row”> <div class=”span4″> <h2>Digite o titulo aqui</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, sequi ea rerum […]

Linking static page in CakePhp

I just want to create a static page to my website and link that page to the home page button. I managed to create the page but when I link it like this <li><a href=”about”>About</a></li> following error appears. Missing Controller Error: AboutController could not be found. How should I put the link between home and […]

CakePHP correct syntax to print out variable

I have a beginners question about CakePHP. I’m trying to print out data I got from database to view but I cannot figure out correct syntax how to do it. I have variable $title in the view.ctp in which there are data I need to print out. I used debug on the $title variable and […]

Next Page »