Showing posts with label server. Show all posts
Showing posts with label server. Show all posts

Thursday, 12 February 2015

LVM Setup on an already installed Ubuntu gnome server topic






Hello everyone, I'm trying to set up an LVM on my File sharing server. The server has ubuntu 14.04 lts 64 bit running on a pentium dual core E2140 @ 1.60Z GHz with 1gb of memory (will be getting upgraded to 2 gb). The server is also running the latest version of Gnome. For drives right now I have 7 drives in the server:

Model: ATA IC35L04AVVA07-0
Size: 31.50 GB
Path: /dev/sda
File System: NTFS

Model: ATA IC35L04AVVA07-0
Size: 31.50 GB
Path: /dev/sdb
File System: NTFS

Model: ATA WDC WD400BB-60DG
Size: 37.27 GB
Path: /dev/sdc (this is the OS hard drive)
File Systems: sdc1 - ext4 sdc2 - extended sdc5 - linux-swap

Model: ATA Quantum Fireball
Size: 19.01 GB
Path: /dev/sdd
File Systems: sdd1 - extended (unallocated)

Model: ATA ST3250310AS
Size: 232.83 GB
Path: /dev/sde
File System: NTFS

Model: ATA WDC WD3200AAJS-6
Size: 298.09 GB
Path: /dev/sdf
File System: NTFS

Model: WD I HDS72 External
Size: 465.76 GB
Path: /dev/sdg
File Systems: sdg1 - extended New Partition #1 - lvm2 pv

I have no cd roms in the tower and no usb flash drives to do a live cd boot. what I want to do is first setup the group with sdd and sdg and move the files from the other drives to it (except the os drive) then I want to add the other drives to the group making it act as a drive with a little over a TB is there any way to do this without having to do a clean install or boot from a live cd? (I really don't want to do a clean install it takes a long time to get everything running correctly) if any other info is needed please let me know and I will get it for you. Thank you for your time and help :-) Christopher J. Crandall






Wednesday, 11 February 2015

Install OpenGL on Ubuntu Server Edition (14.4) topic






Hello, I have installed Ubuntu Server Edition 14.4. When I run the command "glxinfo" I get the output "Error: unable to open display". So I was wondering how can I install OpenGL on my system?

What I am trying to do is run Kodi on Ubuntu Server Edition 14.4. I did install and configure Kodi but when I try to run Kodi I get the error message

Error: unable to open display
Kodi needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.






[server] vsftpd Solution topic






I am pretty new to linux and could use some help. I'm using Ubuntu server 14.04 LTS. I work for an adult mental health facility and we need to find a way to allow clients to access their records (It has to do with Insurance and lawyers :mad:). Anyway, One option I have looked at is vsftpd. From what I know it seems like the best option because of it's security. This has to available to the outside world, so the server will be in our DMZ. Currently I am testing from my test environment and am having challenges. From a management standpoint, the request for access will come to our medical records department, they will gather all the data and format it into pdf.

Here's what is required for clients...

  1. username/password authentication
  2. Confined to one directory
  3. Only download, no upload
  4. SSL


Here's what I would like for Medical Records Staff...
  1. Ability to Create accounts
  2. Ability to set client credentials
  3. Ability to upload files to the clients directory
  4. simple and easy to use Web based / client based administration would be best



Is this possible? Any and all suggestions are appreciated!!

Scott






[server] winbind: net command: Could not connect to server 127.0.0.1 topic






Hi, (Ubuntu server 14.04)

Does anybody know what winbind and/or the net command was even looking for at the localhost address? ldap, smbd, nmbd, and krb5-kdc are all up and running and responding to command line requests on localhost.


Code:


sudo net domain join -U root
Enter root's password:
Could not connect to server 127.0.0.1
Connection failed: NT_STATUS_NO_LOGON_SERVERS


Prompted by the following error in the logs for winbind, which was failing to start up:


Code:


winbindd version 4.1.6-Ubuntu started
../source3/winbindd/winbindd_util.c:634(init_domain_list) Could not fetch our SID - did we join?
../source3/winbindd/winbindd.c:1204(winbindd_register_handlers) unable to initialise domain list


I had provisioned the domain with samba-tool successfully, so I had assumed I had run the net command to join the domain. Guessing not, although getlocalsid does return the correct SID stored against the domain record in the LDAP database.

Any help would appreciated.

Regards,
Rob.






[server] Correct procedure for extending disk topic






Hello,
I have many server with Ubuntu Server 14.04 LTS.
I have 2 Virtual Disk: one for S.O. Ubuntu, second for my data.
Many times I need to extend second disk.
I follow this guide (VMware KB: Extending a logical volume in a virtual machine running Red Hat or Cent OS ) but after 4 primary partitions can no longer extend the disk.


What is the procedure / method to extend a linux disk ?
create partitions of type extended rather than primary?
Or is there another way?


Tnx
Manuel






Tuesday, 10 February 2015

[server] Installed Ubuntu 1404.1 LTS Server and KDE, can't login to KDE topic






I just came back to Linux 4 days ago. I want to host my own private website and can't figure out what to do with a blank terminal screen. (Though I have found some info on how to host a site it is not ready yet.)

So I also installed KDE because I used it on Simply Mepis for two years and loved it, about seven years ago. I have plenty of room for both KDE and a server on my current installation. (I searched online for answers and found mostly "don't do it," as in don't install a GUI on a server. I want to play Linux games, I miss them. Now on to the actual problem.

When Ubuntu loads it goes straight to KDE with an option to login as me (with my first name) or guest. To login as me requires a password which I was not asked to make during the KDE install process so I tried my ubuntu password and my mysql password with no luck. The only other option is logging in as guest which isn't much fun as I cannot make any changes that stick.

Thanks in advance for any help.






[server] Unable to ping local vpn from server topic






Hi,

I'm using Open VPN to connect my server. I'm able to connect my Opn Vpn, through that I can connect my server but when i tried to access resources of that server i am unable to access them.

I have installed "ambari server" on server. And when I tried to access ambari server through VPN, I can not connect to it. Also, I found that i'm not able to ping even the VPN Ip from server.

Anyone there to help me in resolving this issue??

Thanks in advance.






[ubuntu] Unable to install Ubuntu server on a Fujitsu-Siemens Rx100 first gen topic






Hi folks,

I am pretty new to Linux in general, but still I hope you you will be able to help me solve an issue that is really frustrating.

I would like to install Ubuntu Server 14 on a Fujitsu-Siemens RX100 Gen1 server HW unit.

Specs:
Intel® Pentium® 4 processor with up to
2.66 GHz and 533 MHz FSB, or Intel®
Celeron® with 2.0 GHz and 400 MHz FSB
ƒ Up to 3 Gbyte ECC protected DDR-SDRAM
memory
ƒ Onboard 2-channel IDE controller with
RAID-0/1 functionality for striping and
mirroring of the hard disks
ƒ Max. 240 Gbyte internal hard disk
capacity with up to 2 hard disks (IDE)
ƒ 2 free PCI slots, 64-bit / 33 MHz
ƒ Onboard 1 Gbit and 10/100 Mbit Ethernet
LAN controller
ƒ http://www.erkawe.be/hardware/datash...ergy-rx100.pdf



Every time i try to install this system it fails.
I believe the main problem is the Onboard 2-channel IDE controller. It is a Fasttrak controller based on a Promise 20270 chipset.
This SATA raid environment is not recognised and therefor there is nowhere for Linux to install.

Surely there must be a way to install this system with Ubuntu? Eventually I would like to use it as a webserver.

All help is much appreciated.

Regards






[lubuntu] x11vnc server is not quitting after use topic






I've installed x11vnc server on my Trusty machine. I connect through SSH with a command like this:

Code:


ssh -L  5900:localhost:5900 remotehost 'x11vnc -localhost -display :0'

But if I press Ctrl+C in the local terminal, x11vnc does not stop properly. Running ps aux on the remote system shows several instances still running. What is the correct way to stop it?






[server] ssl certs topic






I tested enable ssl in apache2 and made a ssl cert. But in chrome that warning comes up "The Connection is not private"
Do need to buy ssl certs or is there a way to make one thats dosent show that warning?

I have serached but there are så many hits on ssl certs for apache2.






[server] Web Tools for vsftpd topic






Hello everyone!! I'm pretty new to Linux. I need to set up a secure ftp server for clients to download their medical records. It looks like vsftpd is a good option for what I need, but I need a little guidance. I'm using Ubuntu 14.0.4.1 LTS. I have installed vsftpd with no issues at all. I'm looking for web interface options... Once the client has made a request Medical records will compile all of the data into pdf, so I'm looking for a way that they can easily create the clients user account, password, create home directories, etc... from a web console if possible. Webmin seems to be pretty popular, but I want to dumb it down for the staff so they only access what they need in order to complete the task.

Thanks in advance for your help!!






Server Forums Sticky, Documentation, duplicate topics suggestions topic






Greeting!

Ubuntu server 10.04 reaches end of life soon, yet the linked server documentation point to 10.04
in the Server Forum sticky.

Will this be updated to 12.04 or 14.04 any time soon?

Perhaps there aren't significant changes between the versions. I can think of two
related to Apache
  1. Required to have .conf appended to vhost filename
  2. moved default Document root to /var/www/html


These changes are not reflected in the documentation.

I also have a suggestion. There are many posts with the same or similar request or solution.
Perhaps when clicking on "create new post" button the user should be redirect to the top 10
queries and also pointed to the documentation. Many new users are not familiar with the sticky
function in a forum.






Ubuntu server 14.04lt - HP Gen8 topic






I am currently working with a HP microserver Gen8, 16gb RAM and 4 x 1tb HDD

I am new to ubuntu server, without GUI, and would like to know if anyone can help me.

I am trying to work with Plex server on ubuntu but i cant figure out how to enable my other 3 disks to be able to be read by plex

my plan is to have 3 1tb hard drives and use them for different media, i.e. 1tb music 1tb films and 1tb tv programs. the reason for having them on different HDD is because my c: drive 1tb drive filled in the space of 2 days with the films and music, and I am planning to set up sickbeard to download tv programs automatically and couchpotato to download films

i am not sure if to set them up in LVM setup or buy a raid card and use them in a RAID5 configuration






[server] postfix and dovecot issue connecting with thunderbird, outlook and similars topic






I was setting up a postfix and a dovecot mail server. Now I can send and receive mails reading and sending them with

Code:


mail

but I'm not able to configure postfix and dovecot to connect with pop3/imap and smtp with outlook or thunderbird.
with

Code:


netstat ln4

i get:

Code:


tcp        0      0 0.0.0.0:110            0.0.0.0:*              LISTEN   
tcp        0      0 0.0.0.0:143            0.0.0.0:*              LISTEN   
tcp        0      0 127.0.0.1:53            0.0.0.0:*              LISTEN   
tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN   
tcp        0      0 0.0.0.0:25              0.0.0.0:*              LISTEN   
tcp        0      0 127.0.0.1:953          0.0.0.0:*              LISTEN   
tcp        0      0 0.0.0.0:993            0.0.0.0:*              LISTEN   
tcp        0      0 0.0.0.0:995            0.0.0.0:*              LISTEN   
tcp        0      0 127.0.0.1:3306          0.0.0.0:*              LISTEN   
udp        0      0 127.0.0.1:53            0.0.0.0:*


I don't see secure smtp port bind.
any ideas? Thank you






[server] Cron skips jobs topic






Hi,

I'm seeing a weird problem at my main server. I have the following entries:

Code:


# - Weekdays ---------------------------------------------------------------------------
00  07  *    *    1-5  root    /usr/bin/wol bc:ae:c5:bf:45:7c >/dev/null 2>&1

45  05  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/FirstCall.mp3 >/dev/null 2>&1
00  06  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/Reveille.mp3 A3 >/dev/null 2>&1
45  06  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/Reveille.mp3 A3 >/dev/null 2>&1
00  08  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/Assembly.mp3 >/dev/null 2>&1
00  18  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/Retreat.mp3 >/dev/null 2>&1
00  22  *    *    1-5  sgofferj /storage/exec/soundalarm.pl Army/CallToQuarters.mp3 >/dev/null 2>&1


However, during yesterday and today, some of those were skipped. This is an exempt from today's syslog:

Code:


Feb 10 06:45:01 nostromo CRON[19627]: (sgofferj) CMD (/storage/exec/soundalarm.pl Army/Reveille.mp3 A3 >/dev/null 2>&1)
Feb  8 05:10:01 nostromo CRON[19558]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:42:01 nostromo CRON[19559]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:43:01 nostromo CRON[19583]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:44:01 nostromo CRON[19595]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:45:01 nostromo CRON[19626]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:45:01 nostromo CRON[19627]: (sgofferj) CMD (/storage/exec/soundalarm.pl Army/Reveille.mp3 A3 >/dev/null 2>&1)
Feb 10 06:45:01 nostromo CRON[19628]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 06:45:01 nostromo CRON[19633]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 06:45:01 nostromo CRON[19634]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 06:47:01 nostromo CRON[20326]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:48:01 nostromo CRON[20351]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:49:01 nostromo CRON[20364]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:50:01 nostromo CRON[20386]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb  7 05:40:01 nostromo CRON[20389]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:50:01 nostromo CRON[20389]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 06:50:01 nostromo CRON[20390]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:50:01 nostromo CRON[20391]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 06:53:01 nostromo CRON[21047]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:54:01 nostromo CRON[21067]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:55:01 nostromo CRON[21088]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 06:55:01 nostromo CRON[21089]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 06:55:01 nostromo CRON[21091]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 06:55:01 nostromo CRON[21095]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:56:01 nostromo CRON[21713]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:57:01 nostromo CRON[21732]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 06:58:01 nostromo CRON[21748]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  6 08:07:01 nostromo CRON[21773]: message repeated 2 times: [ (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)]
Feb 10 06:59:01 nostromo CRON[21774]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:00:01 nostromo CRON[21798]: (root) CMD (    /storage/exec/siptop.sh 2>/dev/null 1>/dev/null)
Feb 10 07:00:01 nostromo CRON[21797]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:00:01 nostromo CRON[21801]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:00:01 nostromo CRON[21804]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:00:01 nostromo CRON[21803]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:01:01 nostromo CRON[22459]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  4 22:05:01 nostromo CRON[22504]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:03:01 nostromo CRON[22505]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:04:01 nostromo CRON[22522]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  8 16:28:01 nostromo CRON[22543]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:05:01 nostromo CRON[22543]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:05:01 nostromo CRON[22545]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:05:01 nostromo CRON[22546]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:06:01 nostromo CRON[23170]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:09:01 nostromo CRON[23227]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:09:01 nostromo CRON[23229]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 10 07:10:01 nostromo CRON[23307]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:10:01 nostromo CRON[23310]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:10:01 nostromo CRON[23315]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:13:01 nostromo CRON[23991]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:14:01 nostromo CRON[24011]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  8 01:57:01 nostromo CRON[24019]: message repeated 2 times: [ (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)]
Feb 10 07:15:02 nostromo CRON[24034]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:15:02 nostromo CRON[24035]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb  8 01:58:01 nostromo CRON[24033]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:15:02 nostromo CRON[24039]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:15:02 nostromo CRON[24044]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:16:01 nostromo CRON[24657]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 03:40:02 nostromo CRON[24676]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:17:01 nostromo CRON[24676]: (root) CMD (  cd / && run-parts --report /etc/cron.hourly)
Feb 10 07:17:01 nostromo CRON[24677]: (root) CMD (    /usr/sbin/ntpdate ntp2.ptb.de >/dev/null 2>&1)
Feb 10 07:18:01 nostromo CRON[24693]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:19:01 nostromo CRON[24713]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:20:01 nostromo CRON[24733]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:20:01 nostromo CRON[24736]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Jan 29 18:43:01 nostromo CRON[24731]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  5 12:20:01 nostromo CRON[24744]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:20:01 nostromo CRON[24744]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb  6 19:35:01 nostromo CRON[25346]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:21:01 nostromo CRON[25347]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:22:01 nostromo CRON[25362]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:23:01 nostromo CRON[25377]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:24:01 nostromo CRON[25389]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:25:01 nostromo CRON[25415]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:25:01 nostromo CRON[25416]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:25:01 nostromo CRON[25419]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:25:01 nostromo CRON[25418]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:28:01 nostromo CRON[26067]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:29:01 nostromo CRON[26078]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:30:01 nostromo CRON[26108]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:30:01 nostromo CRON[26109]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:30:01 nostromo CRON[26112]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:30:01 nostromo CRON[26113]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:31:01 nostromo CRON[26740]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:32:01 nostromo CRON[26763]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:33:01 nostromo CRON[26782]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:34:01 nostromo CRON[26793]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:35:01 nostromo CRON[26820]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:35:01 nostromo CRON[26826]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:35:01 nostromo CRON[26828]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:35:01 nostromo CRON[26827]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:36:01 nostromo CRON[27426]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:37:01 nostromo CRON[27442]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:38:01 nostromo CRON[27464]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:39:01 nostromo CRON[27479]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:39:01 nostromo CRON[27480]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 10 07:40:01 nostromo CRON[27546]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:40:01 nostromo CRON[27549]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:40:01 nostromo CRON[27548]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:40:01 nostromo CRON[27552]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:41:01 nostromo CRON[28181]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:42:01 nostromo CRON[28200]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:43:01 nostromo CRON[28217]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Jan 29 00:59:01 nostromo CRON[28248]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:44:01 nostromo CRON[28249]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Jan 27 22:57:01 nostromo CRON[28285]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:45:01 nostromo CRON[28285]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:45:01 nostromo CRON[28286]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:45:01 nostromo CRON[28289]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:45:01 nostromo CRON[28290]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:47:01 nostromo CRON[28944]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:49:01 nostromo CRON[28984]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:50:01 nostromo CRON[29007]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:50:01 nostromo CRON[29009]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:50:01 nostromo CRON[29010]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:50:01 nostromo CRON[29012]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:51:01 nostromo CRON[29623]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  7 17:38:01 nostromo CRON[29636]: message repeated 2 times: [ (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)]
Feb 10 07:52:01 nostromo CRON[29637]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:54:01 nostromo CRON[29671]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb  5 16:28:01 nostromo CRON[29695]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:55:01 nostromo CRON[29699]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 07:55:01 nostromo CRON[29700]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 07:55:01 nostromo CRON[29711]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 07:56:01 nostromo CRON[30314]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 07:57:01 nostromo CRON[30328]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:00:01 nostromo CRON[30395]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:00:01 nostromo CRON[30396]: (sgofferj) CMD (/storage/exec/soundalarm.pl Army/Assembly.mp3 >/dev/null 2>&1)
Feb 10 08:00:01 nostromo CRON[30400]: (root) CMD (    /storage/exec/siptop.sh 2>/dev/null 1>/dev/null)
Feb  6 05:28:01 nostromo CRON[30401]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:00:01 nostromo CRON[30401]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 08:00:01 nostromo CRON[30402]: (root) CMD (    /storage/webserver/weather/grads/getdata.sh 00)
Feb 10 08:00:01 nostromo CRON[30406]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 08:00:01 nostromo CRON[30412]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 08:01:01 nostromo CRON[31062]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:02:01 nostromo CRON[31076]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:03:01 nostromo CRON[31104]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:04:01 nostromo CRON[31117]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:05:01 nostromo CRON[31148]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 08:05:01 nostromo CRON[31150]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:05:01 nostromo CRON[31151]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 08:05:01 nostromo CRON[31152]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 00:46:01 nostromo CRON[31761]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:06:01 nostromo CRON[31762]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:07:01 nostromo CRON[31792]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:08:01 nostromo CRON[31825]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:09:01 nostromo CRON[31840]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:09:01 nostromo CRON[31841]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 10 08:10:01 nostromo CRON[31921]: (root) CMD (    /storage/exec/checktorrents.sh 2>/dev/null 1>/dev/null)
Feb 10 08:10:01 nostromo CRON[31922]: (root) CMD (    /storage/exec/status-nostromo.sh >/dev/null 2>&1)
Feb 10 08:10:01 nostromo CRON[31923]: (root) CMD (    /storage/exec/checkip.sh 2>/dev/null 1>/dev/null)
Feb 10 08:10:01 nostromo CRON[31925]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:11:01 nostromo CRON[32556]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:12:01 nostromo CRON[32581]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)
Feb 10 08:13:01 nostromo CRON[32600]: (root) CMD (    /storage/exec/checkinternet.sh 2>/dev/null 1>/dev/null)


Did you notice the wrong dates in between? What could be the issue here?






Monday, 9 February 2015

Wireless Used to Install Server 14.04 Now Wireless Connects but no Internet topic






I have an old laptop that I wanted to take with me to my Linux Classes to test some of the stuff on real equipment. I didn't have a patch cable so I used my wireless card to connect to my wireless network. I chose OpenSSH, LAMP, MAIL, SAMBA. As soon as I logged into the command line I downloaded the Ubuntu-desktop package. Once into the desktop the wireless would connect, but there was no internet, yet it was working fine before the extras were put in.

My laptop is an HP Pavilion G7-1328DX. Its about 3 1/2 years old.

I would like to update this post to mention that last night my Ethernet card was working. Now when I connect, it doesn't show up anymore. I have no idea what's going. I tested all of this in a virtual machine and it was fine until I tried installing it on an actual machine.






[server] SpamAssassin errors after nightly update topic






Topic says it....seeing the below now on startup and every email that comes in:

Code:


Feb  9 05:38:45 gateway spamd[23236]: rules: failed to run T_SPF_PERMERROR test, skipping:
Feb  9 05:38:45 gateway spamd[23236]:  (Can't locate object method "check_for_spf_permerror" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1192) line 357.
Feb  9 05:38:45 gateway spamd[23236]: )
Feb  9 05:38:45 gateway spamd[23236]: rules: failed to run T_SPF_HELO_PERMERROR test, skipping:
Feb  9 05:38:45 gateway spamd[23236]:  (Can't locate object method "check_for_spf_helo_permerror" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1192) line 560.
Feb  9 05:38:45 gateway spamd[23236]: )
Feb  9 05:38:45 gateway spamd[23236]: rules: failed to run T_SPF_HELO_TEMPERROR test, skipping:
Feb  9 05:38:45 gateway spamd[23236]:  (Can't locate object method "check_for_spf_helo_temperror" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1192) line 1049.
Feb  9 05:38:45 gateway spamd[23236]: )
Feb  9 05:38:45 gateway spamd[23236]: rules: failed to run T_SPF_TEMPERROR test, skipping:
Feb  9 05:38:45 gateway spamd[23236]:  (Can't locate object method "check_for_spf_temperror" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1192) line 1694.
Feb  9 05:38:45 gateway spamd[23236]: )


Anyone else seeing this?






Sunday, 8 February 2015

[server] Enter http:// goes to webmail.domain.com topic






Hi

Software
apache2
roundcube webmail

When enter my ip like http://85.30.159.249 I come to webmail.mydomain.com instead of my www.linuxburken.com. Have tryed alot of ways to change it but need help cant sort it out.

Virutalhosts confs:


Code:


<VirtualHost *:80>       
        ServerAdmin webmaster@localhost
        ServerName www.linuxburken.com
        ServerAlias linuxburken.com
        ServerAlias *.linuxburken.com
        DocumentRoot /var/www/html


        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn


        #


        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined


        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf


 AssignUserId anders anders


</VirtualHost>



Code:


<VirtualHost *:80>
ServerName webmail.linuxburken.com
DocumentRoot /usr/share/roundcube/
</VirtualHost>




# Access to tinymce files
<Directory "/usr/share/tinymce/www/">
      Options Indexes MultiViews FollowSymLinks
      AllowOverride None
      <IfVersion >= 2.3>
        Require all granted
      </IfVersion>
      <IfVersion < 2.3>
        Order allow,deny
        Allow from all
      </IfVersion>
</Directory>


<Directory /var/lib/roundcube/>
  Options +FollowSymLinks
  # This is needed to parse /var/lib/roundcube/.htaccess. See its
  # content before setting AllowOverride to None.
  AllowOverride All
  <IfVersion >= 2.3>
    Require all granted
  </IfVersion>
  <IfVersion < 2.3>
    Order allow,deny
    Allow from all
  </IfVersion>
</Directory>


# Protecting basic directories:
<Directory /var/lib/roundcube/config>
        Options -FollowSymLinks
        AllowOverride None
</Directory>


<Directory /var/lib/roundcube/temp>
        Options -FollowSymLinks
        AllowOverride None
        <IfVersion >= 2.3>
          Require all denied
        </IfVersion>
        <IfVersion < 2.3>
          Order allow,deny
          Deny from all
        </IfVersion>
</Directory>


<Directory /var/lib/roundcube/logs>
        Options -FollowSymLinks
        AllowOverride None
        <IfVersion >= 2.3>
          Require all denied
        </IfVersion>
        <IfVersion < 2.3>
          Order allow,deny
          Deny from all
        </IfVersion>
</Directory>


Anything out of the order here or? Tyed all differnt things but still when enter ip i get to webmail.






Friday, 6 February 2015

[ubuntu] Slow ethernet speeds on fresh install of ubuntu server 14.04 topic






Hi all,

I just set up a server on my apt, but I am finding that any transfers over the network are very slow, capping at 15 megabytes/s. For reference, I can download faster on my wireless network from steam, capping at just under 18 megabytes/s.

First thing I though was the problem was the ZFS volume, however, testing directly on the drives I get 500MB/s without compression. Then I tried transferring files to the SSD and the speed was the same, the download speed is also the same in either case.

SMB, FTP and SFTP all cap at the same speed around 15MB/s. It is driving me nuts, I am using GigE and Cat5e cable which should support speeds faster than what I am seeing, heck even my wireless is faster.

At first I thought it might be the driver for the NIC, so I downloaded the latest version from Intel (my network chip on my motherboard is Intel I210), got the tar file and used # make install, modprobe igb, then added the modprobe igb to rc.local and ethtool confirms it is using igb driver. So I saw no difference at all.

Here is some output I get:

Code:


oscar@HTPC:~$ uname -mr
3.13.0-45-generic x86_64



Code:


oscar@HTPC:~$ sudo lshw -C network  *-network
      description: Ethernet interface
      product: I210 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: p2p1
      version: 03
      serial: d0:50:99:53:4f:e6
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.0.5-k duplex=full firmware=3.16, 0x800004d6 ip=192.168.1.252 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:18 memory:f7200000-f727ffff ioport:d000(size=32) memory:f7280000-f7283fff
  *-network DISABLED
      description: Ethernet interface
      product: I210 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: p3p1
      version: 03
      serial: d0:50:99:53:4f:e7
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.0.5-k firmware=3.16, 0x800004d6 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:19 memory:f7100000-f717ffff ioport:c000(size=32) memory:f7180000-f7183fff



Code:


oscar@HTPC:~$ ifconfiglo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:747 errors:0 dropped:0 overruns:0 frame:0
          TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:225195 (225.1 KB)  TX bytes:225195 (225.1 KB)


p2p1      Link encap:Ethernet  HWaddr d0:50:99:53:4f:e6
          inet addr:192.168.1.252  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5530817 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1171981 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8018837238 (8.0 GB)  TX bytes:98825929 (98.8 MB)
          Memory:f7200000-f7280000


virbr0    Link encap:Ethernet  HWaddr 0e:af:01:68:17:5b
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



Code:


oscar@HTPC:~$ route -nKernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 p2p1
192.168.122.0  0.0.0.0        255.255.255.0  U    0      0        0 virbr0



Code:


oscar@HTPC:~$ sudo ethtool p2p1Settings for p2p1:
        Supported ports: [ TP ]
        Supported link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                              drv probe link
        Link detected: yes



Code:


oscar@HTPC:~$ ethtool -i p2p1driver: igb
version: 5.0.5-k
firmware-version: 3.16, 0x800004d6
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no








Myth server drive runs out of space topic






I have set up the mythbuntu server 14.04 on a headless server 3 times. The hard drive is 240Gb. After about a week of viewing live TV and recording a few shows, the hard drive runs out of space and then freezes. I was under the impression that the recorded shows would auto-delete before this happens. I have re-installed each time. What am I doing wrong? Is the drive not large enough? Is there a way to export the files to a NAS with more drive space?