Ubuntu Servers :: Read Server Log From Web ?
Feb 5, 2010
does anybody know if there is some web tool which allow the end user to read the server log ? I am a system administrator in my company and i would need to share the server log information to the developer team without allowing them to access to the server.I was thinking to some web applications .. i would try phpLogCon but unfortunately it reads only syslog . I need to share some application logs (php or java web application).
View 4 Replies
ADVERTISEMENT
Nov 2, 2010
I can't read the boot log In Ubuntu Server 10.10. I did this:
Code:
BOOTLOGD_ENABLE=yes in /etc/default/bootlogd
But the file /var/log/boot is empty:
Code:
cat /var/log/boot
(Nothing has been logged yet.)
View 4 Replies
View Related
Jul 27, 2011
I've restarted Apache after making changes to the php.ini file (/etc/php5/apache2) and no changes are reflected in phpinfo() which indicates that I am editing the correct file. I'm quite familiar with the process as I've done it many times before with no issues.
View 9 Replies
View Related
Jun 15, 2011
I've done a lot of search and already kind of fixed part of the problem, so this is where the fun comes in. I went away for the week, and not until the day I got back I lost power while out, and my computer rebooted after the power outage to Mac osx, which it's supposed to do as I'm using a Mac Pro and have a regular version of OSX 10.5 on there and my ubuntu server. I restart my computer and I get a few errors and my raid5(3 1tb drives) doesn't mount and says read only for everything else. I finally found a way to remount that raid which while in root I could create new folders and move folders, but only on that raid. I wasn't able to do anything with my boot drive. The weird part is, that now I can't ssh into the server and webmin won't even load. I'm still relatively new(little over a year, but honestly, not much has gone wrong to need to troubleshoot) to ubuntu server, so I'm not that best at troubleshooting it. I won't be home till later tonight, but any tips/tricks/ideas I can try when I get home would be great, or if you need any info, I can get it to you.
View 9 Replies
View Related
Jul 14, 2011
I've made a simple headless home server based on:
1. Motherboard Asus AT4NM10-I (Intel NM10, PCI)
2. CPU integrated Intel Atom D410
3. 2 Gb of RAM
4. Network Card D-Link DGE-528T 10/100/1000 Mbit/s
5. OS Ubuntu Server 10.04.2 (All installed packages are up to date)
Storage build under LVM based on:
1. Samsung HD103SI - 1 Tb, 5400/32 Mb.
2. Hitachi SATA 2000Gb Deskstar 7K3000 - 2 Tb, 7200/64 Mb.
So found one issue: When torrent upload speed reaches peak speed (160-200 Kbytes/s) huge read slowdown happens. Server becomes almost unreachable... It allows to connect via putty but it takes a lot of time.
Tested top stats during those lags (Deluge, Transmission) - 10-15% CPU usage.
So I think the problem is in LVM and not in CPU.
How is it possible to find weak place in system to avoid those lags... Cause if torrent is seeding it's impossible to watch movies through network form that server.
View 9 Replies
View Related
Mar 23, 2010
i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,
i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.
i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.
[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share
[Code]....
how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??
View 4 Replies
View Related
May 13, 2010
I have a 9.04 64bit Ubuntu server that I use for a home file server and for downloading duties, every few days the root filesystem gets remounted as read only, usually requiring a reboot and fsck to get everything running again. The box is tucked away in the roof space to keep the noise down so it's a bit of a pain to keep pulling it out to get console access.troubleshoot what might be causing this?/ is on a raid 1 array on 2 8GB usb sticks last few lines of DMESG EXT3-fs error (device md3): ext3_journal_start_sb: Detected aborted journal
Code:
[632280.290419] journal_bmap: journal block not found at offset 23180 on md3
[632280.290470] Aborting journal on device md3.
[code]....
View 9 Replies
View Related
Jun 23, 2010
My server is not accessible any longer locally (192.168.0.2). If I attach a keyboard and login (I have done one pass of recovery from the Ubuntu live CD which helped) and check the IP address it seems to be set. However looking at the syslog file there is a line which says ext3-fs: info: recovery required on read only files system.
Is there a more extensive ext3 recovery facility I can use bearing in mind I will not (?) be able to install it?
I think I'm running 8.6 but not sure where to look to find it.
View 4 Replies
View Related
Apr 16, 2011
I am using Fedora 14 64 bit with two 1T drives. There is a Raid 1 for the important information and I use a Raid 0 for cached files that can be generated on the fly. Yesterday my Raid 0 went into read only mode.
Here are a couple of tests:
What caused the Raid 0 drive from /dev/md1 to get removed? Is there a way to get it back to active sync?
I have tried:
But it can not open /dev/sda2: Device or resource busy.
View 9 Replies
View Related
Mar 28, 2010
I have an interesting issue Ubuntu Server 8.04, The server has been running for quite a while (not designed or put together by me) but recently it has started segfualting and now will not boot apart from in read-only mode. I see the following errors in dmesg.
[Code]....
View 3 Replies
View Related
Jun 26, 2010
On an Apache2 server someone else setup, I have a folder with drwx--x--x permission and the php file can still write in the folder. But on my own setup, I need to set the same folder to drwx--x-wx. Inside the folder, I have a index.php that runs just by setting rwx--x--x but on my own setup, I need to allow read permission for others/group before it can run: rwxr-xr-x (or else I get a blank page). I tried changing the folder and files to root but it's the same.
View 5 Replies
View Related
Jul 21, 2009
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
View 1 Replies
View Related
Nov 24, 2009
I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf
why I can't login samba from Windows:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24
[Code]....
View 3 Replies
View Related
Jan 19, 2010
I have a weird problem here with a 9.04 server. We have a raid 5 disk formatted in EXT4 which remounted automatically when we accessed to the lost+found folder which is in the root of that disk.
I tried to delete it but I can't. It's a bit annoying because I have to prevent all users and backups to access to that folder.
View 2 Replies
View Related
Dec 8, 2010
figure out this error?
Code:
kradalby@hpcompaq6530b-laptop ~/.ssh $ ssh -vvv -p 110 kradalby@dfekt.no
OpenSSH_5.5p1 Debian-5+b1, OpenSSL 0.9.8o 01 Jun 2010
[code]....
View 3 Replies
View Related
Feb 25, 2009
net ads join -U admin_name admin passwordgives the following error: Failed to join domain: failed to lookup DC info for domain 'domain_name' over rpc: Logon failureIn the log, is the error messagewinbindd/winbindd_ads.c:ads_cached_connection(127) ads_connect for domain SPCRANE failed: Cannot read passwordkinit admin@domain_name works correctly, so kerberos is working. The ticket is generated, and I can see it with klist. the smb.conf file has the matching realm. It is configured identically like a redhat 5 box that does work
View 2 Replies
View Related
Apr 8, 2011
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
View 1 Replies
View Related
Sep 2, 2010
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
View 2 Replies
View Related
Jul 14, 2011
I've a popular vbulletin forum (10k max in vbulletin stats 'whos online') runnin in two servers like this:
1) Web server running vBulletin.
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
12 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
Apache/2.2.17
PHP 5.2.16
2) MySQL 5.server
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
16 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
MySQL 5.0.77
Web server connects to MySQL using private LAN.
Web-php server works with xcache as recommended by vBulletin.
Image/avatars and other static files (css, js, etc) are on a CDN
MySQL server uses Memcached for caching common queries.
The problem I'm facing, is from time to time (let's say one or two times a week) the Web server goes into read only mode... then the server has to be rebooted in order to get online normally and be able to work. From the logs I've seen this:
Code:
This is a new server, and in the old server the 'read only mode' issue happened very often too... so I guess it's not a HD issue.. it's just the HD have a heavy I/O usage. What do you think?
I am thinking about this solutions to improve the webserver performance:
1) 75% of the vbulletin users are anonymous users, so I've been thinking about using Cloudflare as a cache for all that traffic, that would reduce the php-webserver process a lot.
2) Using an external email server is a good option I guess... as right now the webservers also handles the email notifications for all the vbulletin users and it is constantly sending email everywhere. So, email will be stopped to gain server performance.
3) Mounting partitions with 'noatime' at /etc/fstab seems to improve I/O performance.
View 3 Replies
View Related
Jun 3, 2010
Is there an app I can put on my website hosting server that will do the following:
1. Allow the user to view a DVD.
2. Pause / stop to view something in more detail.
3. Rewind to view something again.
4. Mark location so they can return to viewing in the same place at a later time.
I belong to a fly fishing club. We have tapes of fly tying sessions dating back to 1992. Since we are registered as an educational charter with the state, I would like to make the available to our web sight viewers for learning.The club owns all these tapes and they were filmed at club sponsored functions. There should be no copyright problems. I am in the process of converting them to digital.
View 1 Replies
View Related
Jan 14, 2009
I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:
Code:
Summary:
SELinux prevented httpd reading and writing access to http files.
Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.
Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"
Fix Command:
setsebool -P httpd_unified=1
I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>
<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>
Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.
View 10 Replies
View Related
Mar 24, 2010
localhost is now fine and localhost/test.php too. However php embedded in html files refused to save in /var/www? what is wrong with my server not being able to read .php strings?
View 2 Replies
View Related
May 10, 2010
i found this video, and i really want to do the same. *newbie needs to learn [URL]...my question is, what need to be installed and how?
is there any specific configuration to make it works?
and will it work if i want to connect from Ubuntu to Fedora ?
View 1 Replies
View Related
Jun 3, 2010
Is there an app I can put on my website hosting server that will do the following:
1. Allow the user to view a DVD.
2. Pause / stop to view something in more detail.
3. Rewind to view something again.
4. Mark location so they can return to viewing in the same place at a later time.
I belong to a fly fishing club. We have tapes of fly tying sessions dating back to 1992. Since we are registered as an educational charter with the state, I would like to make the available to our web sight viewers for learning. The club owns all these tapes and they were filmed at club sponsored functions. There should be no copyright problems. I am in the process of converting them to digital.
View 1 Replies
View Related
Apr 1, 2011
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
View 7 Replies
View Related
Feb 23, 2011
I have installed sendmail in my VPS machine, while i am sending mail from root to other user, i am able to send the mail. but the other user is not able to read the mail.
it is giving the following error: /var/spool/mail/root: Permission denied
View 1 Replies
View Related
Aug 7, 2011
I own a rather large website/forum devoted to Scuba utilizing vBulletin. The problem is that its become INCREDIBLY slow as of late. I have three Ubuntu web servers under a single Ubuntu load balancer and they draw from a CentOS 5 DB server running MYSQL. Here are my concerns:
-I am thinking that they are all 32 bit rather than 64 bit.
-I am thinking that the problem is an IO issue.
View 9 Replies
View Related
Feb 8, 2011
I have a machine which had a hardware fault and I want to read the disks by plugging them into a SATA-USB docking station in another machineWhen I do thisI can see the partitions on the old disk, but cannot read the LVM volumes on one of these physical partitions.Commands like pvscan do not find anything on this disk. Apparently you are supposed to export the volumes before trying to read them on a new system, but this was not performed. Does anyone know how to access the data on this disk? Surely it is possible.
View 1 Replies
View Related
Mar 28, 2011
I have a server that has a Fibre Channel mount that is having issues. When I can in this morning I found that it had switched to read only. Now looking through /var/log/messages I see that there are errors reported on the disk. I know that i will need to run fsck on it, but I do see lines about the device mapper failing for mpath0 first, which is the device which is mounted. I am wondering if someone can take a look and see if this is just a drive issue, or an issue with the fibre channel connection.
uname -a
Linux server 2.6.27.25-78.2.56.fc9.x86_64 #1 SMP Thu Jun 18 12:24:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Mar 28 00:12:36 server kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY driverbyte=DRIVER_OK,SUGGEST_OK
Mar 28 00:12:36 server kernel: end_request: I/O error, dev sdb, sector 314570452
Mar 28 00:12:36 server kernel: device-mapper: multipath: Failing path 8:16.
Mar 28 00:12:36 server multipathd: 8:16: mark as failed
[Code].....
View 1 Replies
View Related
Jun 5, 2011
how should I read below output of lm_sensors ? Im interested ONLY with temp1 and temp2.I suspect that temp1 presents motherboard chipset temp and temp2 CPU temp. I hope this is like this... but I have no 100% assurance.
Code:
~# /usr/local/bin/sensors
w83697hf-isa-0290
[code]....
View 3 Replies
View Related