2,228 Topics

Member Avatar for
Member Avatar for iamthesgt

In working on a logfile for an application, I needed to limit the size of the logfile to 1000 bytes. Since it is not possible to delete lines from a file in C++, I used the following steps: Rename the logfile to a temporary name. Read the temporary file. Write …

Member Avatar for iamthesgt
0
230
Member Avatar for Ritesh_4

Hello I've installed phpmyadmin using the command apt-get install phpmyadmin, however am unable to open its login page in my web-browser when I type [url]http://localhost/phpmyadmin[/url] Installation was done properly and I can view the MySQL server from the webmin page. Error is: Not Found The requested URL /phpmyadmin was not …

Member Avatar for tinker
0
795
Member Avatar for IndianaRonaldo

I have installed ubuntu 11.04 using wubi installer inside windows.I am not able to find sysconfig in etc folder.I need to change the auto eth0 settings.And I accidentally deleted the auto eth0 configuration.Any way i can get it back.Any help would be greatly appreciated. Thanks in advance, Prasanna

Member Avatar for aadesh.aakash
0
2K
Member Avatar for valero80

I have a problem with a Sony Vaio all in one desktop model number PCG-252L. Whenever I boot it up it briefly flashes the Sony logo for a second then quickly turns to black as if I turned the monitor off. The strange thing is that when I actually press …

Member Avatar for Pjieter
0
552
Member Avatar for shubham.joy

What is the error in this simple code: [CODE]#include <stdio.h> int main() { char a[100]; int c; int i = 0; int x = 0; while( ( c = getchar() ) != '\n' ) { a[x++] =c; } a[x] = '\0'; while( ( a[i] != '\0' ) || ( a[i] …

Member Avatar for zeroliken
0
115
Member Avatar for f.afridy

in the last post I told[QUOTE]hello my friends, 5 months ago my pc used to turn off automatically from 5-6 hours Later my pc's LCD broke and I changed my LCD. Then my pc used to shut off 1-2 hours or some random lines and colours come on the screen. …

Member Avatar for purplelily81
0
146
Member Avatar for cwarn23

I see in the tag cloud Ubuntu is liked a lot but perhaps the members think differently. So I thought I would ask which is the one true Linux distribution. From all the Linux distributions which one is the only one that can be titled pure Linux nothing more nothing …

Member Avatar for sonal_salkade
0
649
Member Avatar for ibthevivin

I'm completely new to Linux and I've been playing around with it for about 2 days. I've picked up on some things pretty quick, but I just can't seem to understand how to install the appropriate drivers for the wireless card I've installed. Currently the proprietary drivers are installed and …

Member Avatar for ibthevivin
0
373
Member Avatar for wolf29

I have a very simple wish, to dump all databases so I can lock up a backup of the databases, tables, users and so on. It looked like [CODE]mysqldump -v --all-databases -u root -p secret > "${directory2}""$h"_mysql_dumpall.sql[/CODE] worked, however the file contained a little error message telling me I had …

Member Avatar for wolf29
0
436
Member Avatar for Ismatus3

Hello everyone, I generate an executable for an application in Python with Tkinter interface , on my machine when I double click on the executable the application execute well. The problem arises when I move the entire file on another machine, while there on a machine that executable runs from …

Member Avatar for telmo96
0
127
Member Avatar for lpsarsam

Hi guys :D I have a windows 7 touchscreen tablet and I would like an ubuntu partition. The issue is that the bootloader that comes with windows 7 doesn't support touchscreen input so i will not be able to select which OS to boot into. I understand that the windows …

Member Avatar for rubberman
0
212
Member Avatar for rajesh1158

Hi..Earlier i was using Windows XP and used to access my company mails through MS Outlook. Now i'm using Ubuntu 11.10 and want to access my company mails. I thought of using Mozilla Thunderbird. During creating a mail account in Thunderbird, it is asking for various details like incoming server(IMAP …

Member Avatar for rajesh1158
0
232
Member Avatar for hakeemtunde

I was wandering if someone have ever install JMF on ubuntu before using the .bin package from sun site. I've being having problem while installing it. THe error it show was 309 file not found during extraction.

Member Avatar for rubberman
0
84
Member Avatar for winecoding

I am trying to use a Weka method, crossValidateModel, which is posted in the last. It looks like that the fifth parameter is referred to as varargs parameter. I tried the example usage given in Weka page, such as [CODE]eval.crossValidateModel(cls, data, folds, rand);[/CODE] It works just fine on one system,(eclipse+Ubuntu); …

Member Avatar for ~s.o.s~
0
213
Member Avatar for iamthesgt

For an assignment in a computer programming class, we have to install 3 linux distributions on one machine from three different trees. I chose to install Ubuntu, Fedora, and OpenSUSE. I already dual-boot Ubuntu and Windows 7, but I'm not sure about the partitioning. I have 460GB of space in …

Member Avatar for ranger_g
0
426
Member Avatar for warlord902

I want to setup Apache http server on my ubuntu machine, but as I am not good with linux, can't understand how to do that. Latest version is 2.2.21 I was trying to install that. There is a binary for window systems, I successfully installed and set it up on …

Member Avatar for peter_budo
0
139
Member Avatar for Jiggle

Hi guys, new to this region of the forums. I recently converted from Windows 7 to Ubuntu 11.04 - and an having a nightmare of a time getting free pascal to work. Lazarus is really not looking like a good option at the moment - I would be much happier …

Member Avatar for wpeckham
0
115
Member Avatar for anon0

Hi all, I installed Ubuntu Server with the LAMP package and there is behavior I don't understand. If I access the web server by its local IP, my browser will display the index.html file located at /var/www/index.html, and PHP apparently works. But if I try to access it over the …

Member Avatar for fobos
0
1K
Member Avatar for toantk_55

I have some problem I have a file .s with codes: [CODE] #double cel2fahr(double *temp) #{ #return 1.8 * (*temp) + 32.0; #} .section .data cel: .double 30.5 scale: .double 1.80 output: .asciz "The fahrenheit value is: %lf\n" .section .text .globl _start _start: mov $cel,%eax call proc_cel2fahrenheit movl $output , …

Member Avatar for gusano79
0
89
Member Avatar for Steven7

Hey guys, I am new to Java and recently developed a small GUI-based project in Windows using Netbeans IDE. So I try build the project and retrieve the .jar file and it runs well on my Windows computer. Then I copy the .jar file to a Ubuntu Linux computer and …

Member Avatar for JamesCherrill
0
177
Member Avatar for Dean_Grobler

Hi there, Last night I switched to Ubuntu 10.04 (no, not 10.10, long story). And I wanted to get started programming as soon as possible, so I'm trying to find out how to install Eclipse Helios and the Java JDK 1.6 on my machine? Please note that [B]my machine is …

Member Avatar for newpaulman
0
356
Member Avatar for nimboya1

I tried do download the package from the site. Extract it and still it did not complite and install. Please could someone help me It still did not work i am trying to install gambas3 on Ubuntu 11.04 please help me The sudo .configure -C is not working

Member Avatar for Rimeaccuche
0
190
Member Avatar for iamthesgt

I was writing a makefile for a web interface program that installs the cgi scripts to a (Linux) OS. The makefile works fine, but it needs to be able to install to different directories for different distributions (Fedora, Ubuntu). On Fedora, the scripts need to go to /var/www/cgi-bin and on …

Member Avatar for iamthesgt
0
1K
Member Avatar for usustarr

I have a .ksh script does a system call as follows. [CODE] recoveryProgram auto > /dev/null MYRESULT=$? if [ $MYRESULT != "0" ] ; then # If 'recovery' failed releaseBrokenStation $SYSTEM emailFailure fi[/CODE] Sometimes, this system call (recoveryProgram auto) gets hung. I would like to be able to have a …

Member Avatar for Fest3er
0
774
Member Avatar for brugernavn

Hello =), I can't understand why my dns server won't work. i get this, when i testing with "dig" [CODE]; <<>> DiG 9.7.3 <<>> connectioon.eu ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 54973 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: …

Member Avatar for brugernavn
0
151
Member Avatar for java_programmer

I am a newbie in linux. After installing ubuntu 10.04, I tried to install google talk in linux. For this, I installed Wine and then downloaded the gtalk exe. But when I am trying to open the gtalk exe using Wine, it blocks the application with message it is not …

Member Avatar for beth22
0
365
Member Avatar for java_programmer

Hi, I am a new users to Linux and I am using Ubuntu 11.04. In my laptop, I have two logical drive C:\ and D:\. I have installed Windows XP in C drive and Ubuntu in D drive. From Ubuntu, I can mount the C drive and can access the …

Member Avatar for java_programmer
0
331
Member Avatar for java_programmer

I have Ubuntu 10.04 installed in my machine. I have set up audio drivers properly so that it was working fine. But when I was listening music in Youtube, it suddenly stoped working. Though the headphone is working, but the speaker is not. I have checked, all the drivers are …

0
89
Member Avatar for schrei

Hi, I'm looking at shared memory in C and I seem to have encountered a bit of a problem. I'm fairly sure that I may be misunderstanding something here. I'm trying to send an array of structs to another process via shared memory. When the other process goes to read …

Member Avatar for schrei
0
307
Member Avatar for ahp@aol.in

Hi folks, I'd Windows 7(sda1) and Ubuntu 11.04(sda6) on my laptop. Ubuntu's grub was installed on MBR. Then I installed Fedora 15(sda2). But by mistake I installed Fedora's grub on MBR. Due to this Ubuntu's grub deleted from MBR. Now while booting I can see only Fedora and Windows option …

Member Avatar for JeoSaurus
0
256
Member Avatar for woody363

I'm having difficulty getting graphics into my C++ program. using Ubuntu 11.10 I /think/ my problem is simply my inability to download and install graphics libraries. Basically at the #include ... section of code i get an error every time about being unable to find xyz which i haven't managed …

Member Avatar for woody363
0
296
Member Avatar for Raion

Hi Guys, Im actually assigned a task and in a nutshell i have to implement cache coherence on Android. Now I have messed around with system calls and threads, etc on Linux Ubuntu, but I have never accessed Kernel level Processes or changed protocols before, so im facing a bit …

Member Avatar for peter_budo
0
140
Member Avatar for nchy13

i actually learned java only a day ago and we have to submit assignment after two days. i wanted to figure out what i did here with class and function definition is correct. if correct can you help me out with the compilation error. in fact all are similar. it …

Member Avatar for nchy13
0
349
Member Avatar for nchy13

i dont know whats wrong with this program...the compiler compiles the program but when i run it it shows: j[B]ohnrambo@ubuntu:~/Desktop$ java lora Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:443) at lunda.l2read(lora.java:24) at lora.main(lora.java:124)[/B] [CODE] class lunda{ String[] la=new String[2048]; String[] lb=new String[2048]; int[] lvalid_a=new int[2048]; int[] lvalid_b=new int[2048]; int[] …

Member Avatar for leodash
0
155
Member Avatar for nchy13

can anybody help me what is wrong in syntax of following [CODE]ihex=Integer.parseInt(s5,16); String bin=Integer.toBinaryString(ihex); System.out.println(bin); if(bin.length()-10 > 0) String orgpc=bin.substring(bin.length()-10); else String orgpc=new String(bin);[/CODE] this is what compiler shows [B]nchy@ubuntu:~/Desktop$ javac bpbc.java bpbc.java:61: error: Syntax error on token "orgpc", delete this token String orgpc=bin.substring(bin.length()-10); ^^^^^ bpbc.java:63: error: Syntax error, insert …

Member Avatar for nchy13
0
217
Member Avatar for fmatin

Hello! I just made a LAMP server out of an old computer, Ubuntu 10.04. Everything is set up properly, or so I thought. Whenever I upload a file to the "public_html" folder via ftp, the permissions are reset so that it says "Forbidden" when I try to access it. Then …

0
133
Member Avatar for nchy13

i am wondering what is the problem here. here text.txt is the input file. any help will be highly appreciated. [CODE]import java.io.*; public class Main{ public static void main(String[] args) throws Exception { File f= new File("text.txt"); BufferedReader in = new BufferedReader( new FileReader(f)); String line = new String(); line …

Member Avatar for NormR1
0
105
Member Avatar for nchy13

i am quite new to java i used to code in c++ but now we have to program in java which has not been taught. i browsed net but casn't get enough information this is my first code which i managed to get from net [B]i am using GNU java …

Member Avatar for nchy13
0
407
Member Avatar for wanguard

I tried to tether my Samsung SGH-L700 phone in Ubuntu 11.04.I successfully created the connection and configured it correctly. The problem is that, whenever I try to connect to the internet using the phone, the phone restarts and I'm not able to connect. Any workaround for it?

Member Avatar for wanguard
0
310
Member Avatar for dinhunzvi

i have recently migrated to Linux Ubuntu from Windows. how do i install software using source code

Member Avatar for Stefano Mtangoo
0
252
Member Avatar for dinhunzvi

how do i install gnu compiler collection on ubuntu 11.10? i have tried the commands [CODE] sudo apt-get build-essential[/CODE] and it's saying invalid operation on build-eesential.

Member Avatar for rch1231
0
86
Member Avatar for abshah

Hi, I am facing a bit of issue in writing a network software. When I try to send or receive a struct that contains a data type of 8 bytes the next sent or received struct is somehow affected. I have a few things in mind but first I wanted …

Member Avatar for abshah
0
481
Member Avatar for nchy13

i don't know why but my compiler reads only upto insert statement. this is what compiler looks like: [B]nchy@ubuntu:~/Desktop$ g++ tree.cpp nchy@ubuntu:~/Desktop$ ./a.out 2 insert 0 14 10 85 15 70 20 60 30 50 65 80 90 40 5 55[/B] [COLOR="Red"]i want to implement following input format[/COLOR] 2 insert …

Member Avatar for jmichae3
0
120
Member Avatar for Roebuc

Hello, Trying to see if this is possible. I have a Dell Vostro I bought a while back that came with Windows 7 32 bit. I removed Windows 7 and put Ubuntu on the Vostro. I recently orded all the hardware for a new gaming PC. I would like to …

Member Avatar for caperjack
0
329
Member Avatar for victor1244

Hello, Here's my story and I hope someone can help me. I purchased a brand new 320gb sata hard drive for a Compaq laptop. I want to have the original drive with Windows and have another (different drive)that I can swap out and run Ubuntu. I removed the old drive …

Member Avatar for Stefano Mtangoo
0
245
Member Avatar for sercio

Hi guys. We are a small company with a network of 5 local and 5 remote pc's (connected via VPN). Our current server (or better to say, kinda-server, since I built it up on a regular pc) is not enough for us anymore so we plan to upgrade to a …

Member Avatar for sercio
0
309
Member Avatar for selma_ter

I use this part to make transparent the JFrame: [CODE] GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice(); boolean opacity_supported = gd.isWindowTranslucencySupported(java.awt.GraphicsDevice.WindowTranslucency.TRANSLUCENT); if( !opacity_supported ) { System.out.println("Your platform does not support opacity."); } else { setOpacity((float) 0.85); }[/CODE] It works perfect on Windows. On the same machine I use also …

Member Avatar for woodenduck
0
177
Member Avatar for cskinittest

hi I want to chat application on my website develop by using (php, mysql, ajax),for chat server iam using ejabber and jwchat . I am using synaptic package manager to install ejabber and jwchat Ubuntu 11.04. I want to know how to configure and how to integrate ejabber and jwchat …

0
70
Member Avatar for rotten69

I have installed SQLPlus on my ubuntu 10.10 and now I want to install Oracle server.. I was following a tutorial on that and at the end of it, I got lost because I don't have access to certain files that were mentioned in the tutorial and I changed permissions …

Member Avatar for rotten69
0
182
Member Avatar for mariko

I open the Ubuntu Software Center and I search for Scribus. It shows three options and I choose one. A blank window appears. The window should, instead, give me the option to download what I chose. I am a total noob and I apologize in advance. Thanks!

Member Avatar for rithu.soumyaj
0
513

The End.