Re: The results of your email commands

2011-11-20 Thread thanos trompoukis
I saw that the usb device is like a scsi  da
so now I am trying this:
# mount -t msdosfs /dev/da0 /mnt/usb
mount_msdosfs: /dev/da0: Invalid argument
now what?  how I have to refered on my usb device?
I do not understand a word here!



thanx!




2011/11/19 owner-freebsd-questi...@freebsd.org

 The results of your email command are provided below. Attached is your
 original message.

 - Results:
Ignoring non-text/plain MIME parts

 - Unprocessed:
doing the follow:
First I am giving:  mkdir mnt/usb
and then I am giving: mount -t msdos /dev/usb /mnt/usb
but I am seeing this on my screen:
mount: Using -t msdosfs, since -t msdos is deprecated.
mount_msdosfs: /dev/usb: Block device required
I also trying:  mount -t msdosfs /dev/usb /mnt/usb
But I am getting the same message:
mount_msdosfs: /dev/usb: Block device required
Any suggestions please? Because I am lost here, I have NO idea...
Thanx!

 - Done.



 -- Messaggio inoltrato --
 From: thanos trompoukis atr0...@gmail.com
 To: freebsd-questions-requ...@freebsd.org
 Date: Sat, 19 Nov 2011 17:33:09 +0200
 Subject: Can't mount usb disk
 Hi, I have freebsd 8.2  and I am trying to mount an external usb disk
 doing the follow:

 First I am giving:  mkdir mnt/usb

 and then I am giving: mount -t msdos /dev/usb /mnt/usb

 but I am seeing this on my screen:
 mount: Using -t msdosfs, since -t msdos is deprecated.
 mount_msdosfs: /dev/usb: Block device required


 I also trying:  mount -t msdosfs /dev/usb /mnt/usb
 But I am getting the same message:
 mount_msdosfs: /dev/usb: Block device required



 Any suggestions please? Because I am lost here, I have NO idea...


 Thanx!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: problem with startx..!

2009-07-29 Thread thanos trompoukis
It seems to be like an other desktop environment very simple.
Now when I try startx I can see the same background I could see before
but now there are 3 windows (x-term) like the console window on KDE 3.5

Why KDE not starts?







2009/7/29 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 thanos trompoukis atr0...@gmail.com writes:

  I removed .Xauthority and I still have the same problem

 Then the error messages will have changed; look at the log again.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: problem with startx..!

2009-07-29 Thread thanos trompoukis
Ok, thanks! Finaly figured it out.
It was missing .xsession and I create it.
Anyway Thank you very much for your help.
Thanx!





2009/7/29 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 thanos trompoukis atr0...@gmail.com writes:

  It seems to be like an other desktop environment very simple.
  Now when I try startx I can see the same background I could see before
  but now there are 3 windows (x-term) like the console window on KDE 3.5
 
  Why KDE not starts?

 Almost certainly because you didn't set it up to do so.
 Please read the documentation.  E.g.,
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


problem with startx..!

2009-07-28 Thread thanos trompoukis
*Hi all,

I login to my system and try to type: startx
I get a blank screen (grey colored) that I can see my mouse and nothing
else.
and after a few minutes I get this message:*

*AUDIT: Tue Jul 28 16:38:34 2009: 983 x: client 1 rejected from local host
Xlib: conneciton to :0.0 refused by Server
Xlib: No protocol specified


...
giving up
/usr/X11R6/bin/xinit  unable to connect to X server


waiting for X server to shut down FreeFontPath: FPE
/usr/X11R6/lib/X11/fonts/msc/ refcount is 2, should be 1; fixing.

/usr/X11R6/bin/xinit: Server error
/usr/X11R6/bin/Xauth: error in locking authority file
/home/efialtis/.Xauthority*



*I use KDE 3.5 But when I try startx as root it works, and is loading KDE
fine.
What's wrong?

*recently I change the font (I don't know if this related with)

Thanx!

*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can't login to the system...!

2009-07-23 Thread thanos trompoukis
Hi all, I am a noobie here.
I was in the system as root and I type this command:
chsh -s usr/local/bin/bash (without reason,by mistake)
when I reboot the system I give username  password  and I see this:


login:  usr/local/bin/bash:  No such file or directory

FreeBSD/i386  (leonidas.MSHOME) (ttyv0)

login:

But I can access the system as another user, and
when I type *su* I can login as root fine.
I have no idea what i've done. Give me your lights please.

Thanx!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mysql error

2009-06-28 Thread thanos trompoukis
Hi all, I am new with FreeBSD and I have a problem with mysql.

I have 6.2Release i386
I am running mysql 5.0.27 and It worked perfectly until the time that I
formated  /tmp (for some other reason)
and now when I am trying to connect on mysql *I get this:*

*[r...@leonidas:/]$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock2' (38)*

*and when I edit /var/db/mysql/leonidas.MSHOME.err  I see this:*

*090628 14:49:19  mysqld started
090628 14:49:19 [Warning] Ignoring user change to 'ser=mysql' because the
user was set to 'mysql' e

090628 14:49:20  InnoDB: Started; log sequence number 0 43655
090628 14:49:20 [ERROR] Can't start server : Bind on unix socket: Permission
denied
090628 14:49:20 [ERROR] Do you already have another mysqld server running on
socket: /tmp/mysql.soc
090628 14:49:20 [ERROR] Aborting

090628 14:49:20  InnoDB: Starting shutdown...
090628 14:49:22  InnoDB: Shutdown completed; log sequence number 0 43655
090628 14:49:22 [Note] /usr/local/libexec/mysqld: Shutdown complete

090628 14:49:22  mysqld ended

*I have checked /tmp and there is no mysql.sock file. (because I formated
/tmp immagine)
I wouldn't like to loose my database, and I have no idea
What I have to do?

Thanx!  :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mysql error

2009-06-28 Thread thanos trompoukis
2009/6/28 Matthew Seaman m.sea...@infracaninophile.co.uk

 thanos trompoukis wrote:

 Hi all, I am new with FreeBSD and I have a problem with mysql.

 I have 6.2Release i386
 I am running mysql 5.0.27 and It worked perfectly until the time that I
 formated  /tmp (for some other reason)
 and now when I am trying to connect on mysql *I get this:*

 *[r...@leonidas:/]$ mysql
 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
 '/tmp/mysql.sock2' (38)*

 *and when I edit /var/db/mysql/leonidas.MSHOME.err  I see this:*

 *090628 14:49:19  mysqld started
 090628 14:49:19 [Warning] Ignoring user change to 'ser=mysql' because the
 user was set to 'mysql' e

 090628 14:49:20  InnoDB: Started; log sequence number 0 43655
 090628 14:49:20 [ERROR] Can't start server : Bind on unix socket:
 Permission
 denied
 090628 14:49:20 [ERROR] Do you already have another mysqld server running
 on
 socket: /tmp/mysql.soc
 090628 14:49:20 [ERROR] Aborting

 090628 14:49:20  InnoDB: Starting shutdown...
 090628 14:49:22  InnoDB: Shutdown completed; log sequence number 0 43655
 090628 14:49:22 [Note] /usr/local/libexec/mysqld: Shutdown complete

 090628 14:49:22  mysqld ended

 *I have checked /tmp and there is no mysql.sock file. (because I formated
 /tmp immagine)
 I wouldn't like to loose my database, and I have no idea
 What I have to do?

 Thanx!  :D


 You've apparently got a copy of mysql still running, despite trashing
 everything
 in /tmp.  You can confirm that by:

  % sockstat | grep mysql

 Now, if sockstat shows that mysql is listening on a network interface,
 then you may just be able to log into it over a network connection and
 shut it down cleanly.  If not, then you have no alternative by to signal
 the process to death and then let it repair the datafiles as it restarts.

  * If you have to kill mysql by signalling it:

   At first, try:

   # kill -15 `ps -ax | grep mysqld | cut -d ' ' -f 2`

   If it doesn't work immediately, leave mysql for 5 minutes, and see if it
   has shut down yet.  Try again if not, possibly several times.  Failing
 that,
   use:

   # kill -9 `ps -ax | grep mysqld | cut -d ' ' -f 2`

   But this last really should be avoided, as it causes the process to crash
   without any opportunity to close itself down nicely.

  * If mysql is listening on a network interface -- preferably any of
 127.0.0.1:3306, [::1]:3306 or *:3306
   Try using mysqladmin to shut it down cleanly. Note that mysql does
   special shortcut things when hostname is localhost and tries to use the
   socket in /tmp/mysql.sock -- which doesn't help you at all.  You can
 force
   it to make a *network* connection to localhost by:

   # mysqladmin -h localhost -P 3306 --protocol=TCP -u root -p shutdown

   This will prompt you for the mysql root password. If mysqladmin doesn't
 work,
   then try using kill as above.

 Your data *should* survive MySQL being forcibly restarted in either of
 these ways.  MySQL takes very great pains to ensure data is written to
 persistent media (ie.
 disk) in order to provide proper ACID compliance.  However, if mysql does
 get killed, it will need to do some repair work on data structures when it
 next starts up, and
 that can take a while.  Because writing out its PID file is one of the last
 things
 mysql does in the startup sequence '/usr/local/etc/rc.d/mysql-server
 status' will
 report 'not running' during this repair work, so be a bit patient if you
 see that.

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW




Thanx! thank you very much guys..!
Finaly it was so simple!!!   aaa, god bless you!!

Thanx again..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr and /var was not properly dismounted...!

2009-01-31 Thread thanos trompoukis
Hi I am NEW here and I do not know anything about unix sytems...  :D

But i'd like to learn!





When I start my freebsd system I can see this:


WARNING:  /usr   was not properly dismounted...!
WARNING:  /usr   was not properly dismounted...!




and I have no idea about it.
Could you give me an explain to understand the situation and fix the
problem?

thanx!
thanos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org