Ubuntu Servers :: Not Giving Command Prompt

Feb 28, 2011

I have a pretty fresh install on Ubuntu 10.10 Server, with the LAMP bundle installed. Anyway, I just restarted the computer after changing the /etc/network/interfaces script to connect via dhcp. Now when I boot into the server, there is no command prompt and seems to hang there forever, with one blinking cursor in the top left hand corner of the screen. It will not respond to any input besides ctrl-alt-delete. I was able to press control-alt-delete and the computer automatically restarted itself, but it returns to the same state after each reboot. I booted from the grub menu into recovery mode and made sure the /etc/network/interfaces script was correct, and it is. Also I don't think an error in this file should cause the computer to not boot into the command prompt.

View 5 Replies


ADVERTISEMENT

Ubuntu Servers :: 'screen' Command Produces No Prompt

Sep 8, 2010

I am using Ubuntu 9.04 Server. I use screen alot for persistant sessions and suddenly I have a problem. When I type Code: screen -R -DD as usual, I get into screen but there is no command prompt. There is a cursor and I can type commands which work, eg ls. However I don't know which directory I am in, so it makes using it rather hard.

View 9 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

Aug 26, 2010

I have a question about using crontab with /etc/crontab...

I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).

Originally, my cron job looked like this:

30 * * * * root /my/batch/script &> /dev/null

After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.

So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).

How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)

View 2 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

Ubuntu :: Setup Command Not Found In 10.04 Command Prompt?

May 6, 2010

In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?

View 2 Replies View Related

Server :: Multiple Command In Ssh Giving Error?

Apr 23, 2011

I have prepared a script which will login to each server and search for a keyword.I want output on same machine from where m running script.When i try to run command on any machine.. It works well.

w=$(grep -irH "keyword.com" /home/*/public_html/*);if [ $? -eq 0 ];then echo -e "
$HOSTNAME";echo $(grep -irH "keyword.com" /home/*/public_html/* | cut -d: -f1 | uniq | awk '{for (i=1;i<=NF;i++) printf "%s

[code]....

View 3 Replies View Related

Programming :: Giving Output Of A Command As The Input To Another

Sep 7, 2010

While making a shell ,there is the following problem Im facing:

I am expecting the user to enter commands in the following format :

I am to separate these and the output of ls -l should be given as input to grep and the output of both to more.

But I am allowed (by our instructor) to use dup/dup2 or any other command(but not pipe or tees).

How to connect the file descriptors after successful execution of each command?

View 5 Replies View Related

General :: Giving The Command Service Nfs Restart In Fedora14

Jan 5, 2011

When ever i am giving the command service nfs restart in fedora14 iam getting the following:

And when typing the command service portmap restart in fedora 14 i am getting the following:

When i tried this in redhat and centos it was working in my class room but when i am trying it in real time it is not working so what does it mean and how to resolve the issue.

View 2 Replies View Related

Fedora :: After Giving Reboot Command System Hangs During Booting

Mar 2, 2011

today i installed nvidia graphic card drivers for fedora13 using yum, after giving reboot command the system hangs during bootin.

View 1 Replies View Related

Fedora Installation :: SU Command - Root Account Login Giving Error

Jan 5, 2010

In the freshly installed Fedora 12, I installed java and maven and added following files into /etc/profile.d folder:
java.sh

Code:
export JAVA_HOME=/opt/jdk1.6
export PATH=$JAVA_HOME/bin:$PATH
maven.sh

Code:
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH

Now when I try to login to "root" account giving "su" command , it gives me the error :
bash: /root: is a directory

View 1 Replies View Related

Ubuntu Servers :: Consequences Of Giving PHP Scripts A High Memory Limit?

May 28, 2010

I have an Ubuntu server running in our small office. Among its many duties is report generation. It uses PHP and DOMPDF (a PHP library for converting HTML/CSS to PDFs for printing). PHP's default memory limit of 32MB is not even close to being enough to pull large amounts of data from the database and generate images/tables/PDFs with that data.

I increased the memory limit to 64MB and that is adequate for reports under 3 pages or so (varies based on table complexity, images, etc). If any user tries to generate a report longer than that, PHP just throws a "out of memory" error and doesn't make the report.

My question is: what are the possible consequences of increasing the memory limit yet again to 128MB or maybe even higher? The server isn't terribly powerful. It has 2GB RAM and 4GB swap space. I know that isn't much but this is a small office and at most I can only see two or three people trying to run reports at the same time. As for security, apache is currently only serving pages in the local network, but sometime within the next year I'll probably have it hosting a public website (currently using a hosting service). Is a high memory limit a potential security risk when exposed to the internet?

EDIT: Sorry, PHP's default memory limit is 16 not 32 as I said. Question still stands, however

View 5 Replies View Related

Software :: Hard Drive Missing - Giving Grub Safety Command Line

Feb 5, 2011

I've been dual-booting win7 and ubuntu on my comp for a while, but didn't bother updating grub. I just updated to grub 2, but it wouldn't let me boot and said my hard drive was missing, also giving me a grub safety command line.

View 3 Replies View Related

Ubuntu Servers :: Smbd Not Running - Reinstall It But Still Giving The Erroneous (?) Status Message ?

Feb 3, 2010

Here's the background info -- I recently installed Ubuntu server 8.04 on TWO machines that are exactly identical.On one machine, all seems perfect.On the other, when I execute "/etc/init.d/samba status" it always shows that smbd is NOT running.But it would seem that it IS running, since I can access the shares I've set up without difficulty either from smbclient on the server or from the windows boxes on the network.ps ax lists smbd as a process as well.The log tells me nothing -- it just reports that samba started. No errors. Not much of anything in there. And if I execute smbstatus, that works just like you'd expect.since the two machines are identical (and I mean exactly the same), and only one is doing this.

I guess I should be happy since they both work (seemingly perfectly).But it still bothers me that I'm getting the message that smbd isn't running on one of them. I tried uninstalling samba and reinstalling it on the machine giving me the erroneous (?) status message. But that changed nothing.Right now there's no data on the machine, and it's not in production, so just doing a bare metal reinstall of the OS is an option. But I'd like to understand what's happening.

View 5 Replies View Related

OpenSUSE Hardware :: Hybrid Graphics Driver / Giving Aticonfig Command It Says No Adapters Detected?

Apr 30, 2011

I'm running a hybrid graphics card (AMD Radeon HD 6630m) so naturally I'd like to have full functionality between the two.

Here's what I've done so far:
Downloaded the .run file from AMD's website
Built packages for both AMD and Intel side of the card
Unpackaged said packages

I used ATI Catalyst's GUI to install (in hindsight terminal might have been better and more informative) and it is now saying

After installation of the generated package, it is important to save your X Window configuration file, and then run 'aticonfig --initial' (in a console window) to complete the basic configuration, please run aticonfig from a console window or AMD CCC:LE from the Desktop Manager Menu

So how and why do i save my X Window config and when I give the aticonfig command it says no adapters detected

View 9 Replies View Related

Ubuntu :: Creating A New Command Prompt?

Feb 6, 2010

Is it possible to create a new command prompt in Ubuntu? I have a assignment and I don't fully understand it. I have to make c files and then open them in the command prompt. Would this happen in a new command prompt or I'd have to use the already existing one? Is this even possible?

View 4 Replies View Related

Ubuntu :: Command Prompt Appears Instead Of Gui?

May 16, 2010

When i boot to ubuntu 10.04 lts. command prompt appears instead of gui interface is this a bug. I had made a new installation of ubuntu 10.04 lts 64 bit.

View 1 Replies View Related

Ubuntu :: Get To The Gui From The Command Line Prompt?

Jun 5, 2010

Is there a way to get to the gui from the command line prompt? I am using Ubuntu 8.04, my computer us telling me there is an error and will only boot to the cli not gui.

View 1 Replies View Related

Ubuntu :: 10.10 Boots Only To The Command Prompt?

Oct 13, 2010

I just upgraded my desktop to 10.10. All seemed to go fine. The computer then prompted for a reboot, and on rebooting it boots to the shell prompt.

View 6 Replies View Related

Ubuntu :: How To Edit In A Command Prompt

Dec 18, 2010

i somehow managed to mess up my install of 10.10 I used the alternate AMD 64 install so now when I login it is only a text prompt. This leads me to believe that I am running in Ubuntu Server. I read this article:

[URL] but my network is not setup!! So I tried to do this: [URL] but when I get to:

Code:

sudo vi /etc/network/interfaces

I dont realy know how to edit the file.I basicaly see

Code:

# The loopback network interface
auto lo
iface lo inet loopback

[code]....

View 9 Replies View Related

Ubuntu :: Command Line Prompt Available On The Desktop?

Mar 27, 2010

is it possible to have a command line prompt available on the desktop, operating sort of like conky?

View 5 Replies View Related

Ubuntu :: When Login Via Ssh To A Server Only A $ At The Command Prompt

Aug 13, 2010

I'm getting some weird behavior when I log in via ssh to a ubuntu server. When I log in, there is only a $ at the command prompt, no user name. The arrows don't work, they just put the arrow characters in the prompt. Everything else seems to be ok. Also, when I say logged in as User, I meant a new user I just created.

View 2 Replies View Related

Ubuntu Installation :: Only Get Command Prompt After Upgrade?

Oct 17, 2010

After upgrade to 10.10, I only get the command prompt. Fortunately, all my XP Pro machines are running, and I am using one of them to access this Forum. I suspect that nVidia graphics driver did not load correctly. running startx at the command line gives numerous lines of text apparently understandable xorg gurus. It looks like nvidia_drv.so did not load and module "nvidia" did not load [loader failed, 7] and next line says no drivers loaded.

View 4 Replies View Related

Ubuntu :: Open Terminal From Command Prompt?

Oct 29, 2010

I want to open another terminal from typing a command to one terminal.
can anyone tell me a command for this..

View 5 Replies View Related

Ubuntu :: Running A Command In The Alt+F2 Prompt Possible In Bash Scripts?

Jan 5, 2010

Is running a command in the Alt+F2 prompt possible in a bash script?I need this for a launcher for gnome-shell.For it I have written a little script to check if the process gnome-shell is alive and act accordingly.The script works fine, I just don't know how to write "debugexit" to the Alt+F2 prompt, as that is the only decent way I have found to shut gnome-shell down and going back to gdm desktop smoothly.

View 1 Replies View Related

Ubuntu :: Different Results When Running In Command Prompt And Via Script?

May 26, 2010

i wonder if it is usual that the results of running commands via the command line is different from running them in a script file. my problem is that, i've to run 'modprobe -r e100' and 'modprobe e100' before suspend my machine via pmi in order to resume it properly. i wrote a script containg EXACTLY the same commands as i typed in the terminal/console but the result was not the same. the machine cannot be resumed as expected if i run the script file.

View 2 Replies View Related

Ubuntu :: Unable To Install GUI - Restarted Into Command Prompt

Dec 1, 2010

Installed OS, it told me I should install nVidia drivers. I told it to go ahead, it told me to restart - I did. I restart into a command prompt... No GUI. Turn off PC, on again, still - same thing. Asks me to login, but no GUI.

View 4 Replies View Related

Ubuntu :: Find Drives To Mount From Command Prompt?

Mar 18, 2010

So, I plugged in two hard drives to my server. I started with two, an IDE and an SATA. Then I plugged in another SATA and an external SATA using a PCI controller card.

I currently only have command prompt (Putty) access. How can I set the drives up to be usable. They were on another server that died.

View 9 Replies View Related

Ubuntu :: Command Prompt On Startup After Installing Freevo?

Jun 6, 2010

I've just done a clean install of Ubuntu 10.04 and installed Freevo on it from the Medibuntu repositories. After rebooting I get a shell window with no frame in the top-left corner of the screen with the Ubuntu loading screen still taking up the rest of the screen. Typing 'startx' gave a error that there is already a display running on the port.

View 2 Replies View Related

Debian :: How To Go To Command Prompt And Update

Jun 12, 2011

I am new to linux. I have mounted debian on vmware. Now I would like to get the updates on linux on the desktop all I can see it computer, my home, and trash icons. How can I get the updates. How can I go to command prompt.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved