/.xinitrc does not exist
location:
ubuntuforums.com - date:
September 5, 2014
Hello guyes i'm trying to use the qmon ( a gui interface for sun grid engine ) first i had a fonts problem it apprears that qmon is using a very old font stayls that no longer exists in recent linux systems so i googled it and follow this solution :
http://talby.rcs.manchester.ac.uk/~rcs/_bits/sge_qmon_fonts.html
it worked for me but the another problem appeared :
Code:
[email protected]:/home/master# qmon
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 791
Current serial number in output stream: 802
[B][SIZE=4]i searched for that problem and find this one :
https://bbs.archlinux.org/viewtopic.php?id=168742
as shown in the link a pacman test (pacman -Ssq font) for 100dpi and 75dpi so i downloaded the pacman and do the test and everything was fine (even if i didn't know what is that in the first place !) then as shown i try to do the steps that apprears to solve the proble
sed: add to LAST line if string does not exist
location: ubuntuforums.com - date: September 1, 2010
Good day!
Well, I'm new to sed and want a quick solution now. The line below adds 'string2' if 'string1' does not exist.
Code:
sed -i '/[.]*string1[.]*/!a\string2\' file
But how do I add it only once in the end of the file? I know I should use '$' but where do I put it?
Thanks in advance!
Check if directory DOES NOT exist in BASH
location: linuxquestions.com - date: May 10, 2010
Well...anytime 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).
Here is what I tried:
1. First try:
if [ -d $DIR ] ; then
echo " " #NOW I WANT TO GET RID OF THIS LINE AND SIMPLY
#DO NOTHING BUT I CANT just dont put nothign, it
#gives em some error when
#running the bash.
else
mkdir $DIR
fi
2nd try:
if ! [ -d $DIR ]; then
mkdir $DIR
fi
#Still tells me that the directory is created as output:
mkdir: cannot create directory `./MAY2010': File exists
3rd try:
if [ ! -d $DIR]; then
mkdir $DIR
fi
#Still the sam
mount problem /dev/hda1 does not exist
location: linuxquestions.com - date: October 31, 2006
hi friend.
cant mount my 2 ntfs partition.
here are a few outputs to show you the picture:
linux-hsob:~ # mount -a
mount: special device /dev/hda1 does not exist
mount: special device /dev/hda5 does not exist
---------------------------------------------------------------
linux-hsob:~ # fdisk -l
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5805 46628631 7 HPFS/NTFS
/dev/hda2 5806 10011 33784695 f W95 Ext'd (LBA)
/dev/hda5 5806 10011 33784663+ 7 HPFS/NTFS
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 97 779121 82 Linux swap / Sol
LVM cant Boot ALERT /dev/mapper/ubuntuvgroot does not exist DROPPING to Shell
location: ubuntuforums.com - date: February 11, 2015
Help needed - hopefully someone has had this issue where after a reboot the server just goes to BusyBox
(initramfs)
What I've tried already unsuccessfully is:
from Live Disk
==================
sudo su
apt-get install lvm2
vgchange -a y
(do any lvm management you need here, I didn't need any.)
mkdir /mnt/system
mount /dev/mapper/ubuntu--vg-root /mnt/system
mount /dev/sda1 /mnt/system/boot
for i in /dev/pts /dev /proc /sys; do mount -B $i /mnt/system$i; done
chroot /mnt/system
update-initramfs -k all -c
exit
for i in /dev/pts /dev /proc /sys; do umount /mnt/system$i; done
umount /mnt/system/boot
umount /mnt/system
==================
Second Thing I've tried is:
Last resort was to use BootRepair :
http://sourceforge.net/p/boot-repair-cd/home/Home/
Also not happy - same result
Here's the Boot info and copied into the post at the bottom
http://paste.ubuntu.com/10172826/
=========== What I'm trying next Fixing LVM in initfs ============
from the post:
http://askubuntu.com/questions/268
[SOLVED] RHEL7 installation fails: /dev/root does not exist
location: linuxquestions.com - date: August 22, 2014
Hello,
I'm trying to make an unattended installation of RHEL7 using kickstart-file and booting from a DVD, and I get the somewhat classical error message:
Code:
Resolve Error default site does not exist after update to Ubuntu 13.10 and apache 2.4
location: linuxexchange.com - date: November 23, 2013
I updated my ubuntu lately, I wanted to program in my Ubuntu 13.10, and was setting up apache2, and every time I run the command:
sudo a2ensite default
I get the following error:
Error default site does not exist
how can I fix this issue?
a2ensite 'Site: does not exist' error, even with .conf file
location: linuxexchange.com - date: February 18, 2015
System: Ubuntu 14.04 LAMP running on Parallels VM set up with Vagrant
I'm writing my first non-trivial shell script to add new web projects to a dev VM on my Mac laptop.
Create a default folder structure in /var/www/
Add a .conf vhost file to /etc/apache2/sites-available with the new domain replacing placeholders via sed
Enable the new site and restart apache
I've got the folders and files copying over and sed seems happy customizing my index.html and .conf vhost file, but a2ensite doesn't seem to see the .conf file in /etc/apache2/sites-available/
I test for its existence and even print a debug listing: ls -al /etc/apache2/sites-available/ | grep $CONFFILE before attempting to enable the site.
I've read here and elsewhere about the importance of having the .conf extension since Ubuntu 13 (or 14) which seems to be a very common issue. My vhost file has the .conf extension so this seems like a different issue.
Can anyone point me in the right direction? I haven't been able to f
adding subdomain to apache2 with a2ensite causes error: ERROR: Site domain.com does not exist
location: linuxexchange.com - date: May 11, 2012
I'm trying to add subdomains to my home server.
svn.domain.com
trac.domain.com
Due to dynamic IP I use dyndns service, on top of that I have domain.com hosted somewhere else. I created CNAME for subdomains on remote host to point to my user.dyndns.org domain.
So now when I visit either of subdomains: trac or svn, I see "It works!" message.
This done, I created two virtual host files under /etc/apache2/sites-enabled
file1: svn.domain.com and file2: trac.domain.com
contents:
<VirtualHost *:80>
ServerName trac.domain.com
DocumentRoot = /var/www/trac/repos
<Directory /var/www/trac/repos>
Order allow,deny
allow from all
</Directory>
</VirtualHost>
And
<VirtualHost *:80>
ServerName svn.domain.com
DocumentRoot = /var/svn/repos
<Directory /var/svn/repos>
Order allow,deny
allow from all
</Directory>
</VirtualHost>
But I get error: ERROR: Site trac.domain.com does not exist!
what am I doing
Cygwin: sshhostconfig fails with 'local group does not exist'
location: linuxexchange.com - date: January 7, 2015
I am trying to install Hbase on a VM under Windows 7.
I followed the instructions and everything is OK until i do the ssh-host-config.
I see the following:
>Should privilege separation be used? Yes
>new local account ‘sshd’? Yes
>Do you want to install sshd as a service? Yes
>Enter the value of CYGWIN for the daemon?[] just <enter>
>Do you want to use a different name? No
>create new privileged user account ‘cyg_server’ account? Yes
>Please enter the password:
>Reenter:
>User has been created
>System error 1376 has occurred
>The specified local group does not exist.
>Adding user cyg_server to local group root failed
>Please add cyg_server to local group before
please wait...
Page: 1 2 3 4 5 6 7 8 9 10