Log in

No account? Create an account
Linux Help Desk [entries|archive|friends|userinfo]

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

(no subject) [Dec. 5th, 2009|09:08 pm]

I finally got around to checking this solution

To refresh, the machine seems to function perfectly in every way (this is why it's taken me so long to get around to the issue)... As long as I'm not using X locally. The machine appeared to crash when booting, but if I ssh in all programs work perfectly, even those in X).

I started the procedure to address what I was convinced was a HD issue. I started a liveCD boot, the machine started, got to X, then when I fired up a console to run fsck, it froze. Just prior to this there were freaky 'ghosty' images on some objects on the screen. Figuring the issue wasn't a HD issue (the box ran flawlessly as a file server for weeks) I tried booting in the 'safe' mode. I had the mode fix any issues, then try to fix X... They all worked perfectly. When I rebooted, I could actually get to the regular screen, then when I fired up, say a console and moved the window, screen froze. I still had the same freaky 'ghosty' images.

Here's my question(s):

1) I'm guessing it's a failing graphics card... I'm not sure why it's not crashing the box, and only the video... that's my question, I guess.
2) While I can yank the thing easily enough is it difficult to get ubuntu to recognize whatever ubuntu compatible one I buy?

Any comments, help would be appreciated.
Link1 comment|Leave a comment

Trouble with second IP on same nic [Nov. 19th, 2009|10:14 pm]

OS: RHEL 5.3
Poweredge 2490 server

Currently have a single cable running into one nic card (eth0). For the past two years this was configured to handle two IPs under eth0:

Code: and
Tonight I discovered that no longer works. Pinging fails, even though the profile is checked and activated under Network Configuration in the gui. Pinging returns satisfactory replies.

x  Active  eth0 live         Ethernet   []
x  Active  eth0 dev Ethernet   []
Both IPs are static, and the IP Address Settings are identical (except for the address) across both profiles:

nick: live
Subnet Mask:  (This is the correct subnet mask, as works fine)
Default Gateway:

nick: dev
Subnet Mask:
Default Gateway:
No routes are configured and both profiles are configured for hardware device eth0.

Suggestions on where to look next?
Link5 comments|Leave a comment

(no subject) [Nov. 4th, 2009|10:53 am]

I've got a box running Hardy Heron I've been using as a file server. It's been acting a little flaky lately, and today for some peculiar reason when it reboots the machine seems to just die. I can log in remotely, the shares still work, I just can't access the box locally.

When it does boot, just before the orange line gets to the end (on the splash screen) there's a peculiar system beep (i.e. not through the audio port), then nothing.

I've tried restarting in recovery mode, and there don't appear to be any obvious problems... until you get to the login screen, and the video gets wonky and it appears to hang.

I've tried booting from the live CD, but the options on what to repair aren't obvious... I strongly suspect a boot drive is failing, but what do I know?

I'd like to keep all the configurations as I've got a rather large OS RAID I'd hate to reconfigure, as well as the server settings. Is there an easy way to back up the relevant boot drive settings remotely, replace the boot drive, and install a more recent version of ubuntu (while still retaining the settings)?
Link13 comments|Leave a comment

removable media in ubuntu... [Oct. 22nd, 2009|08:41 am]

It isn't so much a problem, as a nuisence. My USB drive mounts perfectly to the /media/drive mount point. My problem is that it defaults to having 'root' be the group, and it keeps this assignment to all children files and directories.

I've tried changing this using:

sudo chown user:group /media/drive/

but, it won't let me. At first I thought this was because it was mounted, but it won't let me change subsequent directories (i.e. /media/drive/subsequentdirectory/) either. This only became apparent to me when I tried to use rsync to backup some stuff to a removable drive, and rsync wasn't able to retain the file/directory attributes.

I even went so far as to look for an entry in the /etc/fstab table see if there is some way address the issue here, but there isn't an obvious entry for removable media...

Comments? Suggestions?
Link3 comments|Leave a comment

Sendmail and smart_hosts... [Jul. 5th, 2009|02:19 pm]

So our mailers had mxhost3 listed as their smart_host. I change that to to mxhost1 in sendmail.mc, and rebuild the sendmail.cf file. I then restart sendmail. I rung "sendmail -bv address@externalsite.com" and it returns the relat is mxhost1. But when I sendmail it still goes out through mxhost3. Any idea why?
Link5 comments|Leave a comment

Loop Application? [May. 21st, 2009|10:54 am]

I've got a number of computers I'm intending to use rdesktop on. I've modified .xinitrc so it'll boot into it as soon as the x server loads. My problem is when to program closes (either by the session timing out server side, or when the user logs out). I'm looking for a way to loop the program (restart itself when it gets closed), or a way to restart x server when the application is terminated.
Link5 comments|Leave a comment

rename not working in Ubuntu? [May. 6th, 2009|09:54 pm]

I have a little script to remove spaces from file names, and it was working when I was using PCLinuxOS, but not on Ubuntu.
I used to be able to cd to a dir and do "nospace"(what I named the script), and it would ask me for a file extension, remove the space, and ask for a cookie. But on Ubuntu it does not rename the spaces.
I can't figure for the life of me why...

Here it is:

# nospace
# replace spaces with underscores

echo "What kind of files do you wish to rename. Please enter the file extension:"

read a

for i in $(ls -1 *$a)
rename \ _ *.$a

ls -1 *$a

echo "All done. Gimme a cookie!"


I have also tried to simply do

rename \ _ *.pdf (or whatever extension)
, which, to my knowledge, without the loop, would remove the first
space in any such file name, and have to be repeated, of course, to remove all spaces,
but, it does nothing.

I get no errors, but I also get no results.
It appears to read the variable "a" for the file extension, and
ls -1 *&a seems to list the files of that extension.
So, the only thing that isn't productive here is rename.

I've even tried to do
rename pdf PDF *.pdf
just to test rename, then I get an error, which I would not have seen in PCLOS.
In PCLOS, this would have changed file.pdf to file.PDF without a hiccough.
In Ubuntu I get "Bareword "pdf" not allowed while "strict subs" in use at (eval 1) line 1."

So, apparently I'm confused about why rename seems completely useless in Ubuntu.



Did some googling....

I found that a much simple rename script does the job in Ubuntu, and removes spaces from all files in a dir without specifying the extension.

rename 's/ /_/g' *

Sort of simpler...
The thing is, rename clearly works differently in Ubuntu than PCLOS, and I'd like to know how to do simple extension renames, now,
such as rename all .JPG and .jpeg files to .jpg files.
In PCLOS it would have been:
rename JPG jpg *.JPG
rename jpeg jpg *.jpeg

pretty simple...but those don't work with ubuntu's rename, which is apparently a bit of perly magic, and in order for me to learn to make good use of it, I would have to learn a bit something of perl expressions.
I don't know diddely about perl.
PCLOS rename utility was much simpler to use, in many respects, as such.
Link3 comments|Leave a comment

cp -ruv [May. 5th, 2009|07:27 am]

I'm running a backup here, which I've been doing by using
cp -ruv /home/tony /media/disk/loshome
where /media/storage is where I mount my 320gb USB storage hdd, loshome being the backupdir.
Thus I have a dir, /media/disk-1/loshome/tony that mirrors my /home/tony on the main box.
Now, to my understanding, cp -ruv means
copy recursively, only updating target files when source files are newer or a corresponding target file does not exist, verbosely-telling me what you're doing as you do it.

I use this, and it copies new or updated files to the already existent back on the USB hdd.
I don't use rsync, because, in my understanding that would sync the backup to my home dir, whereas, frequently I delete stuff in my home dir that I want to keep in the backup, whereas rsync would make a copy of the home dir, deleting stuff in the backup that has been deleted in the home dir.

Now, in the past this little command (cp -ruv) has happily done precisely what I want without further intervention on my part.
But, today it keeps asking me if I want to overwrite certain files. I don't understand why.
It should just overwrite files that are newer in my home dir than the target copy on the usb storage device.
Why is it asking me now?

Now, perhaps this is significant.
Something has happened at PCLinuxOS that has hosed autmounting of USB storage devices, since recent updates, and I haven't been able to fix the issue, just yet.
So, this time, instead of mounting the usb storage device to my main box, I have mounted it to my laptop (which is also PCLOS, but not updated as recently), used sshfs to mount my main box /home dir to /mount/storage on my laptop, and am using:
cp -ruv /media/storage/tony /media/disk-1/loshome
(/media/storage is where /home on the main box is mounted, /media/disk-1/loshome is backupdir on the usb storage device).
To my knowledge, it should simply be doing what it's always done, even despite this slight alteration in configuration.

Mostly it's asking about overwriting logs, config files, and some documents that I have worked on since the last backup. It never used to second guess me, and just did its job.
Why is it asking me now?
Link2 comments|Leave a comment

openSuSE [Mar. 21st, 2009|07:33 pm]

So...my name is Lindsey and I am new to linux. My husband has been using linux for years and since he has been in Iraq, he has been getting on his linux version of messenger. It has been crashing my messenger and the webcams haven't been working. So I made an openSuSE 11.0 live cd and then installed linux so I am now on a dual boot system. I am doing pretty good and had been doing pretty good with everything until I downloaded some of the updates openSuSE said were necessary. Well the issue is that knetwork will not connect to the wireless connection anymore. It was doing fine before I updated but now my world just stays grey no matter what i do and it won't connect even though it recognizes the pci card for the wireless internet and the router. Is there anyone who knows how to resolve this or had the same issue? Thanks for any help you can give me!

cross posted in linuxnewbies 
Link3 comments|Leave a comment

lxpanel and openbox questions [Jan. 26th, 2009|07:44 am]

Is there a way to change the color of lxpanel, and/or, the font on it's clock?
I'm not finding anything on the lxde site, nor am I confident in editing the config file, in which I only see a color reference for transparency.
It comes with a bg image option, and when that is used, the clock can't be read, because the image is dark and the font is black.
The options in preferences have only
- none - use system theme (I don't know what system theme it is using, because it is not obeying the openbox theme...)
- transparency (in which one can set a color)
- bgimage.

I suppose I could alter the bg image and make one of the color I want, but that seems like a lot of work.

Also, setting the wallpaper in openbox with nitrogen isn't persistent...meaning that when I log out and back in, I have to set the wallpaper, again. Is there a way to make that stick? Google isn't helping me there.

Also, I can open a wallpaper image in gthumb or gimp or a browser, and it looks great, but once I use it in openbox, it looks crappy...Like a nice png image with gradients suddenly looks like a degraded gif image with the gradient deteriorate...why? Is this an openbox failure of some sort to render the image, or nitrogen or something?

This is all on Linguas OS (essentially a remaster of PCLinuxOS).

thanks in advance.
Link3 comments|Leave a comment

[ viewing | 10 entries back ]
[ go | earlier/later ]