Showing posts with label Cannot. Show all posts
Showing posts with label Cannot. Show all posts

Wednesday, 11 February 2015

[ubuntu] Cannot access time machine backup on external HDD after switching from OS X to Ubuntu topic






Hi,

I apologize in advance if this has already been figured out - I've put a few hours into this and tried many of the solutions found here and on the rest of the web with no success.

My current situation:
- MacBook got water damaged and is no longer able to be powered on
- Swapped out the SSD from the MB into my new ThinkPad (already had an Ubuntu partition on it)
- Have two years worth of backups on a 2 TB Seagate external drive (the entire thing is journaled / used for time machine only, I believe)
- Do not have permission to move/copy files off of the external drive

I have a lot of valuable things on my old drives, both the SSD in this computer and the external HD with my time machine backups. I want to back them up into the cloud so that I can erase this current SSD to give Ubuntu more than 30 gigs, something I can't do until I know for sure that my files are safe.

I've tried everything that I could find online including simple chmod'ing of the disk, running this script to copy from Time machine (https://gist.github.com/vjt/5183305), and almost anything else that has been suggested, to no avail. I simply don't have permission to copy them, even though the disk has "access" permissions for all users other than original. If I copy a directory using sudo -r cp, it simply creates a locked, 0 byte file at the destination with nothing in it / unable to open it.

If you have faced this problem before or have seen a solution, please reply and help me out. I apologize if some of the things I've said are incorrect, but I am new to Ubuntu (I love it!) and have not faced this problem before. I do not have access to OS X. Bonus points if I am able to change the permissions so that I can directly upload from the external drive to Google Drive / Mega without copying, since I only have 40 GB on this partition and have 300+ GB that I need to back up.

Any help is very much appreciated. Cheers :)






[ubuntu] Cannot boot from USB HDD with Ubuntu 12.04LTS installed topic






This probably has been answered before, but I cannot find a thread specific to my problem. If so, I appolgise.
I have an old laptop (Advent 5712) on which is installed Windows 7. I want to install Ubuntu 12.04LTS on a USB hard drive, which can be removed at any time without the Windows MBR having been overwritten (to enable me to boot into Windows without external HDD attached).


I have created bootable flash drive (memory stick) with Ubuntu on it. That's OK, it works.
I format the USB HDD in Windows to NTFS (to get rid of any residual remnants of Linux partitions previously installed on there).
I set the BIOS bootup order to USB HDD, then internal HDD, then USB flash drive. This will ensure on re-boot it will not boot to USB flash drive as a first choice.
On boot up, I can tell the system what device to boot to first (ie. over-riding the normal boot order): I select USB flash drive.
I do an Ubuntu installation on the USB HDD following the instructions as per:
http://www.linuxbsdos.com/2013/10/23...al-hard-drive/
The "Device for boot loader installation" I set to /dev/sdb (my USB HDD).
The only diference was I made the swap partition logical.
So far, all goes well. Everything installs.
Upon restarting after installation, lots of information flashes on the screen (too quick to read), then it reboots straight into Windows.
If I then remove the internal HDD from the BIOS boot menu, and remove the USB flash drive (so it can only boot from external HDD), it says no Operating System found.


So it cannot boot from the Ubuntu HDD. Examining the Ubuntu HDD using live Ubuntu on flash drive, the partitions are there.


I've also tried to create Ubuntu USB HDD with an initial /boot partition (sdb1) and putting the bootloader installation into there. It still does not work.


Please, where am I going wrong?


My next stage would be to shrink the Windows partition on the internal HDD, freeing up space for an extra partition and installing Ubuntu on there as a dual boot PC. But I want to try out Ubuntu on USB HDD first.


Many thanks and extremely frustrated :) .






Tuesday, 10 February 2015

Cannot install googlecli topic






Hi,

Any idea about the origin?

Code:


googlecl_0.9.14-2_all.deb
(Reading database ... 253123 files and directories currently installed.)
Preparing to unpack googlecl_0.9.14-2_all.deb ...
Unpacking googlecl (0.9.14-2) over (0.9.13-1) ...
dpkg-deb (subprocess): cannot copy archive member from 'googlecl_0.9.14-2_all.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive googlecl_0.9.14-2_all.deb (--install):
 cannot copy extracted data for './usr/bin/google' to '/usr/bin/google.dpkg-new': unexpected end of file or stream
Processing triggers for python-support (1.0.15) ...
Errors were encountered while processing:
 googlecl_0.9.14-2_all.deb








Monday, 9 February 2015

[ubuntu] Cannot remove OpenJDK, without installing other packages topic






Greetings,

I am running Ubuntu 14.04.1 64-bit and I would like to remove the packages openjdk-7-* since I already have Oracle Java installed. But when I try to remove them via the command line I get the following weird response which suggests to install the earlier releases of the very packages I would like to purge. How can I remedy this situation and remove OpenJDK for good? Any help and/or suggestions are welcome and appreciated.


Code:


$ sudo apt-get purge openjdk-7-*Reading package lists... Done
Building dependency tree     
Reading state information... Done
Note, selecting 'openjdk-7' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-jre-zero' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-jdk' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-jre-headless' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-dbg' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-jre-lib' for regex 'openjdk-7-*'
Note, selecting 'uwsgi-plugin-jvm-openjdk-7' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-jre' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-source' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-demo' for regex 'openjdk-7-*'
Note, selecting 'openjdk-7-doc' for regex 'openjdk-7-*'
Note, selecting 'uwsgi-plugin-jwsgi-openjdk-7' for regex 'openjdk-7-*'
Package 'openjdk-7' is not installed, so not removed
Package 'uwsgi-plugin-jvm-openjdk-7' is not installed, so not removed
Package 'uwsgi-plugin-jwsgi-openjdk-7' is not installed, so not removed
Package 'openjdk-7-dbg' is not installed, so not removed
Package 'openjdk-7-demo' is not installed, so not removed
Package 'openjdk-7-doc' is not installed, so not removed
Package 'openjdk-7-jdk' is not installed, so not removed
Package 'openjdk-7-source' is not installed, so not removed
Package 'openjdk-7-jre-lib' is not installed, so not removed
Package 'openjdk-7-jre-zero' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  launchpad-getkeys linux-image-3.13.0-43-generic
  linux-image-extra-3.13.0-43-generic python-keyring python-launchpadlib
  python-lazr.restfulclient python-lazr.uri python-oauth python-secretstorage
  python-wadllib xclip yad
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
  openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
Suggested packages:
  icedtea-plugin sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
  ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following packages will be REMOVED:
  default-jre* default-jre-headless* octave* openjdk-7-jre*
  openjdk-7-jre-headless*
The following NEW packages will be installed:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
  openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
0 upgraded, 7 newly installed, 5 to remove and 3 not upgraded.
Need to get 37.8 MB of archives.
After this operation, 3,014 kB disk space will be freed.
Do you want to continue? [Y/n]


Furthermore, what does the first part of the output mean?






Cannot decrypt file topic






Hi,

What would be the problem here


Code:


cr2 bk1.zip.enc
Error decrypting PKCS#7 structure
140322686195360:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:539:


Thank you






cannot type @ with xdotool topic






Hi,

When I do


Code:


xdotool type $(cat ~/email)

where


Code:


cat ~/email
naim.bougacha@gmail.com


I get


Code:


naim.bougacha⅛gmail.com

Why is it so?






Update: cannot load repository info topic






L-Ub 12.04 (I think). Ran update manager. Initial list was:

Changes for the versions:
Installed version: 5.09-2ubuntu0.5
Available version: 5.09-2ubuntu0.6

Version 5.09-2ubuntu0.6:

* SECURITY UPDATE: DoS via insufficient note headers
- debian/patches/CVE-2014-3710.patch: handle running out of not headers
in src/readelf.c.
- CVE-2014-3710
* SECURITY UPDATE: DoS in ELF parser
- debian/patches/CVE-2014-8116.patch: limit number of headers and
capabilities in src/elfclass.h, src/readelf.c.
- CVE-2014-8116
* SECURITY UPDATE: DoS via missing recursion limits
- debian/patches/CVE-2014-8117.patch: lower recursion level and allow
it to be set from the command line in src/file.{c,h},
src/file_opts.h, src/funcs.c, src/magic.c, src/magic.h,
src/softmagic.c, add new option to documentation in
doc/file.man, doc/libmagic.man.
- CVE-2014-8117
* SECURITY UPDATE: DoS via long pascal strings
- debian/patches/pr398-truncate-pascal-strings.patch: correctly
calculate size in src/softmagic.c.
- No CVE number




Check button produced these errors:

Failed to download repository info:

W:Failed to fetch http://ppa.launchpad.net/michael-gru...source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/michael-gru...-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.



Please any advice? Thank you






Sunday, 8 February 2015

[ubuntu] cannot elevate privilege in gui in a xrdp session topic






whenever I click a button that requires elevated privilege, a windows asking for password is supposed to prompt. But it never prompt when I am connected using xrdp.
I can use sudo in terminal without any problem using xrdp.
If i use sudo to call the gui out, for example, sudo mate-control-center, the window will stop responding...

login locally:
click mate-control-center>click users and groups>click change>asked for password

login remotely using xrdp:
click mate-control-center>click users and groups>click change>nothing happen

login remotely using xrdp:
sudo mate-control-center>click users and groups>users settings window stop responding


I am using ubuntu14.04
unity cannot work with xrdp, so I installed ubuntu-mate






Saturday, 7 February 2015

[ubuntu] Cannot mount Drive after Electrical Spike topic






Hello everyone :-)

I have my PC on a UPS because we have cuts in electricity very often lately due to weather.
Just a few minutes ago, there was an cut for a split second, and my PC turned off!!

I really don't know why! I didn't think that was even possible.

The worst thing though was that I get the error while booting that
"There was a problem mounting the Drive, press S to skip or M to manually fix"

I am not entirely sure about the wording but it's pretty close.

I tried rebooting a couple of times and it didn't fix it.

I am able to boot but when I try to access the 240GB HD that is mounted under my /home I get this error message :

Error mounting system-managed device /dev/sda2: Command-line `mount "/home/evans/Data240GB"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda2': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.


I am very afraid that my disk is dead. Nooooooooooooooooo !!!!!!!

I don't have windows on that machine... I am windows clean for some years now.

Could someone please direct me to a resource explaining what I need to do, maybe software to help me diagnose, or anything that could help me find out what happened with the HD.

Is there any hope for the disk to be fine, and need smt really simple?

Maybe someone can help me with the "Manual" procedure of mounting the Disk...

Please help!!






Postfix cannot receive emails from external domain topic






I know this question has been asked umpteen times, but after lot of research, it did not solve my problem, so I thought of posting it.


I've installed postfix on a server. I use ssh to log into the server and perform tasks. I can send/receive e-mails from local users and I can send e-mail to external domain using Python script.


However, when I send email from gmail to my account on the server, I do not see anything in Maildir/new folder. Also, I do not receive any errors from gmail (such as delivery failure). Can anyone please help me out.


I've replaced my original hostname and domain name.
Here's my postconf -n output:


alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = myserver, localhost.localdomain, localhost, myserver.xx.xyzw.edu
myhostname = myserver.xx.xyzw.edu
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 , 192.168.0.0/24
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes


Output of master.conf file:


/etc/postfix/master.cf
::::::::::::::
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
#smtp inet n - - - 1 postscreen
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
#submission inet n - - - - smtpd
# -o syslog_name=postfix/submission
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated ,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated ,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup unix n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ================================================== ==================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ================================================== ==================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ================================================== ==================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ================================================== ==================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}


There are no rules in my iptables -nL, so I guess firewall is not a problem here:






Chain INPUT (policy ACCEPT 15949 packets, 2260K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 15694 packets, 2593K bytes)
pkts bytes target prot opt in out source destination







I checked my domain on mxtools - it's not blacklisted.


port 25 listens to postfix as well.


netstat -a -n -p | grep :25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 16941/master
tcp6 0 0 :::25 :::* LISTEN 16941/master


I can provide more information if required. Please help. Thanks.

P.S. I do not have dovecot installed on the server (Do I need that to receive emails ?? I am not sure!!)






[ubuntu] Cannot see Samba configuration tool in the Dash after frech ubuntu 14.04 install topic






After a fresh instal of ubuntu 14.04 (my previous installation has seen to be broken somewhere reading .wmv file with VLC), I've installed Samba GUI tool from the software center.
It briefly appears in the launchpad then disappears. From this time I cannot the see in in the dash.
I've found this in askUbuntu Cannot run samba interface after installing 13.04

but the command sudo apt-get install samba samba-common gives me nothing to install.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
samba est déjà la plus récente version disponible.
samba passé en « installé manuellement ».
samba-common est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
kde-l10n-engb kde-l10n-fr
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.

The following guide Install and Configure Samba share in Ubuntu 13.10 ‘Saucy Salamander’ , 13.04| Howto has no result either.
sudo apt-get install system-config-samba
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
system-config-samba est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
kde-l10n-engb kde-l10n-fr
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.


Any idea ?
Laurent06000






14.10 LUKS cannot enter passphrase topic






Hi

I have done clean install of 14.10 on an IBM W540 laptop with and SSID and a harddrive.
SSID = /boot (uenencrypted)
/ (encrypted)
Hard drive = swap (encrypted)
/home (encrypted)

Installation went fine but on boot the splash screen prompts for the passphrase but when I type it nothing shows in the box. Ctl F7 shows that the keypresses are being echoes to this screen. The system never boots and I am never prompted for the passphrase for any of the other two partitions.

If I hit shift on boot and then choose the first option it boots and prompts me for the passphrases for all three partitions, accepts them and boots correctly.

It looks like an issue with splash any ideas ? Am I supposed tp press some key combination to give teh passphrase box focus before typing the passphrase ?

PS I am only using the laptops built in keyboard not a USB keyboard.

Thanks

Pat






Friday, 6 February 2015

Cannot mount HDD topic






Dear All,

Variant of this problem may be common but I couldn't solve it.

I have a 1 TB Silicon Power External hdd. It is formatted with gparted, using ext4 and gpt.

Everything was working fine till today. I unmounted it with

sudo umount /media/directory

Since then, I cannot mount it by any means.

Here I post the outputs of commands I tried.


Code:


sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0004d6da

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *        2048    97867775    48932864  83  Linux
/dev/sda2        97869822  976771071  439450625    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5        97869824  898648063  400389120  83  Linux
/dev/sda6      898650112  976771071    39060480  82  Linux swap / Solaris

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000bf9e3

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              63  1953520064  976760001  83  Linux
Partition 1 does not start on physical sector boundary.



Code:


sudo mount -t ext4 /dev/sdb /media/peptid/
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so



HTML Code:


/usr/bin/udisks --mount /dev/sdb
Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
      missing codepage or helper program, or other error


I opened gparted, and it says 'filesystem is unknown'


Code:


/usr/bin/udisks --mount /dev/sdb --mount-fstype ext4
Mount failed: Not a mountable file system


I have very important data in it, so I have to save.

Any help would be greatly appreciated.






[ubuntu] iscsi initiator cannot be discovered topic






when I set "ALL ALL" in initiator.allow on target, all LUNs can be discovered from initiator but when I specified "iqn.domain:storage 192.168.1.10", it returns no portal found on initiator.

initiator is on different VLAN than target but I can telnet port 3260 to target

any tips/help would be appreciated.






[ubuntu] Upgraded to LTS 14.04 now cannot start tor topic






I prevoiusly clicked to tor run a file called start-tor-browser

Code:


!/bin/sh
#
# GNU/Linux does not really require something like RelativeLink.c
# However, we do want to have the same look and feel with similar features.
#
# To run in debug mode simply pass --debug
#
# Copyright 2011 The Tor Project.  See LICENSE for licensing information.

complain_dialog_title="Tor Browser Bundle"

# First, make sure DISPLAY is set.  If it isn't, we're hosed; scream
# at stderr and die.
if [ "x$DISPLAY" = "x" ]; then
    echo "$complain_dialog_title must be run within the X Window System." >&2
    echo "Exiting." >&2
    exit 1
fi

# Do not (try to) connect to the session manager
unset SESSION_MANAGER

# Determine whether we are running in a terminal.  If we are, we
# should send our error messages to stderr...
ARE_WE_RUNNING_IN_A_TERMINAL=0
if [ -t 1 -o -t 2 ]; then
    ARE_WE_RUNNING_IN_A_TERMINAL=1
fi

# ...unless we're running in the same terminal as startx or xinit.  In
# that case, the user is probably running us from a GUI file manager
# in an X session started by typing startx at the console.
#
# Hopefully, the local ps command supports BSD-style options.  (The ps
# commands usually used on Linux and FreeBSD do; do any other OSes
# support running Linux binaries?)
ps T 2>/dev/null |grep startx 2>/dev/null |grep -v grep 2>&1 >/dev/null
not_running_in_same_terminal_as_startx="$?"
ps T 2>/dev/null |grep xinit 2>/dev/null |grep -v grep 2>&1 >/dev/null
not_running_in_same_terminal_as_xinit="$?"

# not_running_in_same_terminal_as_foo has the value 1 if we are *not*
# running in the same terminal as foo.
if [ "$not_running_in_same_terminal_as_startx" -eq 0 -o \
    "$not_running_in_same_terminal_as_xinit" -eq 0 ]; then
    ARE_WE_RUNNING_IN_A_TERMINAL=0
fi

# Complain about an error, by any means necessary.
# Usage: complain message
# message must not begin with a dash.
complain () {
    # Trim leading newlines, to avoid breaking formatting in some dialogs.
    complain_message="`echo "" | sed '/./,$!d'`"

    # If we're being run in a terminal, complain there.
    if [ "$ARE_WE_RUNNING_IN_A_TERMINAL" -ne 0 ]; then
        echo "$complain_message" >&2
        return
    fi


when I click it now it trys to open the program with an application and this is despite under proerties the permission still shows Allow excecuting file as a program.

Have I mised something obvious?






Thursday, 5 February 2015

[ubuntu] cannot get bluetooth speaker to play topic






I have two BT speakers, one seems to work OK.. The other connects and pairs but the sound control will not switch to the BT speaker. The sound control will switch from HDMI to onboard speakers, and back again, but it will not switch to earphones (BT). With the one BT speaker when it switches I have to change from 'Telephony-Duplex" to "High Fidelity Playback", but I don't get that with the other BT speaker and the sound still goes through the computer speakers. the Pulse Audio has noting on it for that, it all seems to be in the speaker pull down sound menu.

Why is Linux so dis-jointed when it comes to sound control. I have to use the Pulse Audion, the Speaker symbo pulldown menu sound control and sometimes something else to get the voulume correct and the sound going to the desired speakers/earphone.






[ubuntu] Sumsung SCX-4725F Printer - Cannot Use Fax topic






I am using an All-In-One Sumsung SCX-4725F Printer with Fax and Scanner.
I am using Ubuntu 14.04.
I need to use the Fax to send and receive fax but was not able to do so.
Can someone please help.