User Profile

Collapse

Profile Sidebar

Collapse
mamoon
mamoon
Last Activity: Apr 11 '08, 04:25 AM
Joined: Sep 28 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mamoon
    started a topic "repair filesystem" error while booting

    "repair filesystem" error while booting

    I am using RHEL4. Last time while booting it shows "repair filesystem".
    i have used [e2fsck -v -y /dev/(partition)]
    in this way sda1,sda2 and others are ok. BUT when i run this command on sda7
    (which is mounted on root) it shows that "sda7 is mounted".
    plz give me way to correct the problem.
    With regard
    Mamoon
    See more | Go to post

  • mamoon
    replied to Red Hat EL AS 4 installation problem
    Sorry for late reply
    YES i have a RAID array set up....
    See more | Go to post

    Leave a comment:


  • mamoon
    started a topic Red Hat EL AS 4 installation problem

    Red Hat EL AS 4 installation problem

    Hi,
    I am using Redhat Enterprise Linux A4 since 2 yera. Here I am facing problem due to RAID problem. I am trying to install Redhat Enterprise A4 in new hard disk but it give error -
    An error has occured- no valid devices were found on which to create a new file system. Please check hard ware from the cause of this problem.
    I consulted with some other people they suggest me its due to RAID driver.
    Any budy suggest how...
    See more | Go to post

  • problem in executing JDBC program through form using PHP

    hi all,
    i am facing a serious problem in running JDBC programm in Apache server environment.
    Background Information-
    1, OS: Enterprise Linux4 running Apache2
    2. pgsql8.2
    3.JDBC driver: pg74.215.jdbc3. jar
    i am using jdbc client interface to pgsql database.
    Although i am able to connect to database server through java progm loading JDBC driver from my console(bash). BUT i am unable to run the same java...
    See more | Go to post

  • thanks alot Jos for basic understanding you supplied. would you suggest me any site or source from where i may learn the basics as well as advances regarding my work.
    mamoon...
    See more | Go to post

    Leave a comment:


  • hi Jos,
    thanks
    i have to launch a database on www. for that i want that JDBC should be client interface interacting with pgsql database server on my system on user request. you plz tell me the following queries:
    1. jdbc programming will be in JAVA, isnt it?
    2. i have to make quey form or search page in HTML.
    3. how would i connect user's query to my jdbc program in order to fetch something from database?
    ...
    See more | Go to post

    Leave a comment:


  • which jdk i should opt for pgsql8.2 to implement jdbc interface

    hi all,
    i am in urgent need of some expert suggestions regarding which jdk i install for my
    linux (EL4) , so as i write programs and applications to interact with pgsql8.2 databse server through JDBC.
    i went on
    sun developers network
    there are a lot of options-
    1. JDK 6u1
    2. JDK 6u1 with Java EE
    3. JDK 6u1 with NetBeans 5.5.1
    i am confused which one i opt.
    my motto is to launch...
    See more | Go to post

  • mamoon
    started a topic Trouble in 'javac' in EL4
    in Java

    Trouble in 'javac' in EL4

    hi all,
    background information:
    1. OS- RedHat Enterprise Linux4
    2. JDK installed- java-1.4.2-gcj

    hi, i am a newbie trying to compile my java programs. i checked whether any JDK is installed on my system (RHEL4) with following command as a root:
    Code:
    /usr/sbin/alternatives --config javac
    it replies:
    Code:
    There are 1 programs which provide 'javac'.
    
      Selection    Command
    -----------------------------------------------
    ...
    See more | Go to post

  • mamoon
    replied to Adding new column to existing table
    ohhh great,
    thanks alot to you really thanks.
    1.i have emptied data directory and simultaneously set selinux=disable d.
    2. after that i applied initdb to empty data directory.
    3. well worked
    4. then i started postmaster
    Code:
    postmaster -D /var/lib/pgsql/data
    it worked well.postmaster is running in foreground.
    now \d is operational.
    5. last but not least problem is that when i started postmaster...
    See more | Go to post

    Leave a comment:


  • mamoon
    replied to Adding new column to existing table
    hi
    i am not running SELinux. Instead i am running Red Hat Enterprise Linux.
    i think something wrong with initdb. when i run initdb from postgres user prompt
    it didnt show that initdb failed.i used the following command
    Code:
    initdb -D /var/lib/pgsql/data
    then following appeared on the terminal
    [HTML]The files belonging to this database system will be owned by user "postgres".
    This user must also...
    See more | Go to post

    Leave a comment:


  • mamoon
    replied to Adding new column to existing table
    hi,
    results of ur suggested SQL code:
    Code:
    1.select version();
    version
    ----------------------------------------------------------------------------------------------------------------------------- PostgreSQL 7.4.6 on i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.4.3 20041125 (Red Hat 3.4.3-6.EL4)
    (1 row)
    Code:
    2. VACUUM ANALYZE;
    VACUUM
    Code:
    3. VACUUM FULL;
    VACUUM

    ...
    See more | Go to post

    Leave a comment:


  • mamoon
    replied to Adding new column to existing table
    thanks michaelb,
    actually my problem is different. i wanted to update whole column (630 rows) in one turn which were vaccant earlier. moreover other columns are already filled.
    anyway i solved in other way. i manipulated source file and introduced new column with suitable data filled then i run COPY FROM command to already truncated fresh table.it worked.

    please tell me about \d command, when i execute \d at database...
    See more | Go to post

    Leave a comment:


  • mamoon
    started a topic Adding new column to existing table

    Adding new column to existing table

    hi all,
    Question:
    i have a table in a database of 6 columns and 630 rows.i want to add one new column to this table and also update this column starting from row 1 to row 630.

    System information:
    1.Linux ac8d7f39.ipt.ao l.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
    2. PostgreSQL 7.4.6

    My trial:
    1. i added one column with ALTER TABLE command
    Code:
    ALTER
    ...
    See more | Go to post

  • mamoon
    started a topic pattern match
    in Perl

    pattern match

    hello,
    i have a string(SADFDSFD SFLLSDFKFDLKFKL FDDSFLKDSKS) or something like this.
    and i have a pattern (AL???LW) of five characters where ? is any one out of the sixteen alphabets given.
    i have to search this pattern in the string.
    language=perl
    platform=linux( 32 bit i686).
    if anyone of u can help, plz help.
    waiting
    mamoon
    See more | Go to post

  • mamoon
    replied to sorting of array for duplicacy
    in Perl
    [HTML]hi sstouk,
    thanks alot. i got so many approaches to this problem. well puzzle still persists.
    i am giving input and output both. can u suggest some perl script.
    input [/HTML]
    Code:
    imp_185#0.0063
    imp_184#0.018
    imp_185#0.59
    imp_184#0.59
    amla_33#2.5
    imp_378#2.4
    imp_83#6.9
    output
    Code:
     
    amla_33#2.5
    imp_184#0.018
    imp_185#0.0063
    imp_378#2.4
    ...
    See more | Go to post

    Leave a comment:


  • mamoon
    replied to sorting of array for duplicacy
    in Perl
    hi,
    thanks.this script i tried earlier but it is too long.
    i needed a short script, that sort array without involving lots of file handling and redirecting.
    well the alternate script is-

    [system ("sort -u file.txt >file1.txt");]

    the above script will sort file.txt into file1.txt removing duplicacy.BUT the order will change.
    bye
    See more | Go to post

    Leave a comment:


  • mamoon
    started a topic sorting of array for duplicacy
    in Perl

    sorting of array for duplicacy

    i need a syntax to sort elements of an array to remove duplicacy if any.
    i tried sort -u to sort a file BUT i need to do this sorting on array.
    plz help me if it could be.
    with regard
    See more | Go to post
No activity results to display
Show More
Working...