General :: Shell Script Does Not Exist?
Jul 11, 2011
c@c-laptop:~$ locate /.bashrc
/etc/skel/.bashrc
/home/c/.bashrc
/root/.bashrc
I need to edit /home/c/.bashrc
However when I go to place> Home folders to go to /home/c , the file is not there.
What should I do to make the file appear so that I can edit it?
It is obviously a system file.
View 14 Replies
ADVERTISEMENT
Feb 14, 2011
I have search and there is similar topic but for 9.10 and the problem contains "UUID" [URL]I was wondering if the fix listed there will help my problem.
View 1 Replies
View Related
May 6, 2011
I have two machines running SQUEEZE, both installed and configured within the same week (not simultaneously). Both get the users info from a NIS server. In one of the machines (named "corona"), users cannot login, neither locally nor by ssh, in the other one ("xxlager") there is no problem. Both mount the users home directories by NFS. I have not found much useful info in the web. /etc/passwd, /etc/group/, /etc/shadow, are equally configured. The only difference I have found is when I use getent. Using "getent passwd isaenz" on xxlager yields:
isaenz:x:1001:1001:User Name,,,:/home/isaenz:/bin/tcsh
but on corona the result is
isaenz:x:1001:1001:User Name,,,:/home/isaenz:
so the shell info is empty.
Checking /var/log/auth.log I see a message saying:
"User isaenz not allowed because shell does not exist"
But "ypmatch isaenz passwd" returns complete information for isaenz, both on xxlager and corona.
View 3 Replies
View Related
Jun 17, 2010
I have a 64 bit ubuntu 9.10 / 64 bit windows 7 dual boot setup, each installed on different drives.Everything worked fine for weeks, but after booting into windows for maybe the third time, when I tried to boot back into ubuntu, the splash screen and xwindows failed to start, dropping me to a terminal to log in.After rebooting a few more times to see if i could wish the problem away, some kind of fix/recovery screen came up and gave me the chance to try to update/repair installed packages, which I took.Now, when I boot, I get:
ata_id[428]:HDIO_GET_IDENTITY failed for '/dev/.tmp-block-8:80'
ata_id[427]:HDIO_GET_IDENTITY failed for '/dev/.tmp-block-8:64'
usplash: Settomg ,pde 1152x864 failed
[code]....
View 9 Replies
View Related
Nov 17, 2010
I installed ubuntu netbook 10.10 on my acer aspire one with the "install inside windows" option. The first time it booted into ubuntu properly and completed the installation, then it automatically restarted and now when I try to boot ubuntu, I get the following error message:
Code:
Gave up waiting for root device. Common problems:
- Boot args (cat/proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules(cat/proc/modules; ls/dev)
Alert! /dev/sbd2 does not exist. Dropping to a shell!
View 3 Replies
View Related
Oct 13, 2010
Just tried installing Ubuntu 10.10 from a USB device on my Windows 7 machine but something goes wrong. Far into the installation the computer restarts, asks me which operating system I want to start (it had already done this once before) and I choose Ubuntu. Then I get three alternatives:
Ubuntu, Linux 2.6.35-22-generic
Ubuntu, Linux 2.6.35-22-generic (recovery mode)
Windows 7 (loader) (on /dev/sdb1)
I pick the top choice, and get the following message:
ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell.
If I start recovery-mode i get the same message. There's some text above the message that reads "new low speed USB device using ohci_hcd and address"... Could there be a problem with the usb-drive? If I remove the USB drive I get the message: Gave up waiting for root device.
View 2 Replies
View Related
Feb 10, 2011
my laptop doesnt have any cdrom drive and all usbs are broken so wubi is my only option. oh and i use win 7 starter. i tried to install netbook edition to my laptop but i always get error. i can install with only "acpi workarounds". i dont even understand what it is the error and why i'm getting this error.
error is
Quote:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda2 does not exist. Dropping to a shell!
BusyBox v.1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands
(initramfs)
View 4 Replies
View Related
Aug 22, 2010
/host/ubuntu/disks/root.disk not exist. Dropping to shell.i install ubuntu as a dual boot with xp.this msg occur a few times after i select ubuntu to boot up from...i reboot my pc a few time and even did a "update grub" finally get the ubuntu to start...but same problem occur again just now...
View 1 Replies
View Related
Jun 15, 2011
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies
View Related
Apr 27, 2011
I would like know when it is necessary or advisable to write a shell script instead of shell function ?
View 3 Replies
View Related
Jan 18, 2011
I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?
View 3 Replies
View Related
Sep 28, 2010
I have a compiled program, a tagger to identify parts of text, which claims it does not exist.This executable has to be called by a generated script, which is how I ran into this issue. What are the reasons this error could show up?The executable was copied from another machine.The file does have execution privileges (it gives a proper not-allowed message without them)I've tried copying the file to a different location (same problem)I've tried replacing the file with a fresh copy (same problem)The file does exist. Opening it with pico shows a file with binary data.
View 4 Replies
View Related
Jan 25, 2011
I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.
View 4 Replies
View Related
Mar 12, 2010
apt-get does not exist on my server: when i run this command: apt-get install php5-dev i get: Code: apt-get: command not found information: Plesk 9.3.0 | PHP Version 5.1.6 | CentOS release 5.4 | Linux 2.6.28.7 | GenuineIntel, Intel(R) Atom(TM) CPU 330 in usr/bin there's nothing called apt-get i have root access (SSH)
View 14 Replies
View Related
Jul 28, 2010
Code:
[Thu Jul 29 04:47:50 2010] [notice] mod_chroot: changed root to /var/www.
[Thu Jul 29 04:47:50 2010] [notice] Apache/2.2.15 (Debian) PHP/5.3.2-1 with Suhosin-Patch mod_chroot/0.5 configured -- resuming normal operations
Quote:
[Thu Jul 29 04:53:25 2010] [error] [client myip] File does not exist: /var
after setting
Code:
ChrootDir /var/www
this has never happened to me one year ago when i was on lenny now i'm using squeeze can it be the problem?(nevermind what i type in httpd.conf it always gives var error.)
View 7 Replies
View Related
Aug 6, 2011
I am trying to run Memtest86+ on my Linux computer. I use Grub 2, and Memtest86+'s core is located in /boot/memtest86plus/memtest.bin file.It seems to be pretty newbie error, but I can't find any documentation covering this problem.If I use linux16 instead of netbsd, computer just restarts without any error.
View 9 Replies
View Related
Jan 25, 2011
What is difference between BSD and Linux exist?when i want install bsd i see some details that exist in linux like partition type,swap partition and etc.if PC-BSD is free why in pcbsd.org it have price?what is good for desktop pc?
View 12 Replies
View Related
Jul 3, 2011
I want to copy a file from an old directory to a new directory and ideally I would like that the 'mv' command itself could create the directory for me in one step...That is to say that the directory would not exist until 'mv' has been called as in:Code:mv olddirectory/file.dat newdirectory/file.datso mv would create the directory 'newdirectory' in the above call....I am not sure if this is possible however, that is to say I think it may be necessary that the directory 'newdirectory' already exists before I make the above call to mv, as when I make try the above call when 'newdirectory' doesn't exist I get the following error:Quote:mv: cannot move `test1/4215/4215-001R.fit' to `test2/test.fit': No such file or directoryso to sum up, my question is:is there some paramater for 'mv' that I can change so that it will create the new directory as well as copy the file and if not, are there other commands that might do this?
View 3 Replies
View Related
Jul 21, 2010
i have installed postgresql to my fedora10-distribution. when i would to access to this database by using the command #su postgres as is mentioned at [URL]..3/install/wiff/createcontext to install freedom , an error message is shown to tell me that user postgres does not exist. what is the likely problem.
View 15 Replies
View Related
Sep 14, 2010
For our class project we are going to use HyperTerminal to communicate to something we are building that is attached to our laptops using USB. We're supposed to use HyperTerminal.URL...I can't believe that a program that does the same thing doesn't exist in Linux. What programs that can do the same thing are available in Linux and Mac OSX?
View 5 Replies
View Related
Feb 28, 2011
I have RHEL3 on of my old system.the OS is not start because the Volume group is not exist.
The single mode is not work either.the onlly shell i have is by rescue mode.and either the sysimage is not exist!should i use vgimport command?how ?I never use this command before?!?!
Part of the error that i received during start the OS is :
vgscan --ERROR "vg_read_with_pv_and_lv():current PV cant get data of volume group "vg00" from physical volume(s)
vgchange -- no volume groups found
[code]...
View 1 Replies
View Related
Apr 24, 2010
when I reviewed the error_log I found that it is logging thousands of errors which are similar. I've included a sample of the errors. The following error seems to happen constantly, from many different ip's...
Code:
[Thu Apr 22 01:02:06 2010] [error] [client (the ip address removed)]
File does not exist: /home/virtual/site4/fst/var/www/html/colombia-news,
View 2 Replies
View Related
Apr 28, 2010
I made a script that contains repetitious commands (snmpget and awk are the only ones at the moment. Running these commands from standard terminal work, but when run within a script, I get:
./reg_sm_count: line 10: snmpget: command not found
./reg_sm_count: line 10: awk: command not found
./reg_sm_count: line 10: snmpget: command not found
[code]...
View 2 Replies
View Related
Oct 31, 2010
I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,
[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
[code]...
View 3 Replies
View Related
May 10, 2010
i tried to create a if else statements or either an else statement I get a message saying that the directory exists (mkdir: cannot create directory `./MAY2010': File exists I am running this in a crontab file and I dont want any output telling me that the directory exists. I just want to check if the directory doesnt exist, create one else do nothing (not even a message telling me that the directory exists).
[Code]....
View 8 Replies
View Related
Apr 27, 2011
I have one file called test.sh and in that file I have the below code. All this code is, is paths to three directories (as you can you can clearly see!).
Code:
#!/bin/bash
BACKUP="Documents /bin /sbin"
Now I have this other file which reads the directories (by using $BACKUP) and creates a tar file of everything in that folder. But what I am unsure of what to is create a bit of code that will simply look in test.sh, read all the directories and print a line saying either they all exist or some are missing. If possible it would be good to know which directories are missing too!
I have fiddled around with using -d but I can only get it to work for one directory or manually having to write out each directory.
View 4 Replies
View Related
Nov 21, 2010
I unable to start the httpd service coz i try to configure a subdomain. It prompt the error below:
[root@server conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/etc/httpd/var/www/html] does not exist
[code]...
View 7 Replies
View Related
Dec 7, 2010
I was using the following command to search for tmp files older than 15 days for deletionI used "ls -l" first just in case
Code:
find somedirectory/ -type f -ctime +15 -exec ls -l {} ;
then i noticed that occasionally i get a "No such file or directory" error
When I looked at the directory, the file was not there.How does "find" find a file that doesn't exist?Is it possible that the file can be deleted right at the moment after a file is found and before the command executed?
View 3 Replies
View Related
Nov 19, 2010
I want to install kindle in kubuntu. I seem to have successfully installed wine and and added ms explorer.exe. but when I click on Browse C drive...
Unable to run the command specified. The file or folder file:////Documents/.wine/dosdevices/c: does not exist.
View 1 Replies
View Related
Dec 14, 2010
Not sure whether is feasible or not...
Any idea how to script to detect whether are there any tape media loaded in the tape drive ?
View 3 Replies
View Related