You are not logged in.
Pages: 1
Forgive me for the complete newbie question, but how do I view error logs if there is an issue I am troubleshooting, i.e. why my cd/dvd drive does not mount?
Last edited by mynameisneo (2011-12-28 02:09:56)
Offline
The logs are in /var/log
Not sure what you mean by "cd/dvd drive does not mount". What kind of CD/DVD are you trying to mount (AudioCD, blank disc?) and how exactly - what command etc.
Offline
The `dmesg` command is also useful.
Offline
Are you referring to the errors.log file in /var/log? It only reports errors on startup...I am unable to troubleshoot problems with applications such as I am having with banshee unable to play audio or deluge in connecting.
How does dmesg work? I read the man pages and I did
sudo dmesg --console-onbut am at a loss.
Offline
When you e..g plug a pendrive in and then type 'dmesg', it should show you how the system sees the new device - if at all. You will get device name (e.g. /dev/sdb) and so on.
We may be having X-Y problem here [1], can you please say what exactly are you trying to achieve? Different application log things in different way, e.g. pacman does have a log and can be run as e.g. 'pacman -Syu --verbose --debug' to get more info.
Try running apps from the terminal and look at the output.
Offline
One of the issues I am having currently is playing DVD's or CD's in my combo drive. When I put in a DVD and open MPlayer to select the disc via FIle > Disc > Open DVD with Menus, I get the following error: Couldn't open DVD device: /dev/dvd (No such file or directory).
I have read the wiki on DVD Playing as well as Autofs in automounting removable media. However, I am unable to solve my problem. I get the following error in my /var/log/errors.log:
Dec 26 17:15:09 localhost automount[691]: mount_autofs_indirect: failed to read map for /media
Dec 26 17:15:09 localhost automount[691]: master_do_mount: failed to startup mountMy /etc/autofs/auto.master is:
/media /etc/autofs/auto.mediaPer the wiki, I have added
automount: filesto the end of my /etc/nsswitch.conf but when I run:
sudo rc.d start autofs, it fails to start daemon.
Offline
Does /dev/dvd exist on your system? It may not be symlinked. My CD/DVD drive, for example, is /dev/sr0. Maybe change the path in MPlayer?
Offline
...how do I view error logs if there is an issue I am troubleshooting, i.e. why my cd/dvd drive does not mount?
A couple things. When you say "CD", what do you mean? There are audio CDs, which have no file system. You are not able to mount them in the literal sense. If you are referring to a CD with a file system, it will mount on something like /dev/sr0 -- There are usually links back to the main node called /dev/cdrom, /dev/dvd, etc...
Conversely, DVDs have file systems, but, through the magic of DRM, "Files" on the disk may generate I/O errors, unless all of the DeCSS stuff is working correctly.
Now: As to what you are up to... Can you post the output of groups
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
...snip...
If you are referring to a CD with a file system, it will mount on something like /dev/sr0 -- There are usually links back to the main node called /dev/cdrom, /dev/dvd, etc...
Unless something changed recently, those symlinks are no longer created under Arch; The udev rules no longer exist.
mplayer can use flags like:
mplayer -dvd-device /dev/sr0
mplayer -cdrom-device /dev/sr0Last edited by skottish (2011-12-27 03:06:19)
Offline
Thank you for all your suggestions. I am able to play a DVD from the terminal with
mplayer -dvd-device /dev/sr0 dvd://1It is just the GUI interface that I am having trouble with. Can you explain how to change the path to correctly identify /dev/sr0?
Would I play an audio cd from /dev/sr0 as well? Does this mean that there is no need for me to use autofs?
I am a new linux user, but am enjoying my arch experience and am learning a lot. I appreciate all of the help from the community.
Offline
I think you can set the path in mplayer config use an alias.
Yes, it should play audioCDs just fine, but some users are having problems with mplayer https://bbs.archlinux.org/viewtopic.php?id=132538
Offline
I ended up using a symlink to solve my problem with mplayer's path. In the command line, I did:
sudo ln -s /dev/sr0 /dev/dvdBtw, I had the same problem playing audio CD's in gnome-mplayer as described in https://bbs.archlinux.org/viewtopic.php?id=132538. However, I will mark this thread as solved.
Last edited by mynameisneo (2011-12-28 02:10:57)
Offline
Pages: 1